Update NEWS
[glibc.git] / ChangeLog
blobc2d99a027b41586805ef3319d2dc801bf07064a2
1 2014-12-10  Andreas Schwab  <schwab@suse.de>
3         [BZ #12847]
4         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5         user-controlled locks.
7 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10         register.
12 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14         * configure.ac (--disable-werror): New configure option.
15         (enable_werror): New AC_SUBST.
16         * configure: Regenerated.
17         * config.make.in (enable-werror): New variable.
18         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19         -Wno-error=undef.
20         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21         * manual/install.texi (Configuring and compiling): Document
22         --disable-werror.
23         * INSTALL: Regenerated.
24         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25         (CFLAGS-tst-chk2.c): Likewise.
26         (CFLAGS-tst-chk3.c): Likewise.
27         (CFLAGS-tst-chk4.cc): Likewise.
28         (CFLAGS-tst-chk5.cc): Likewise.
29         (CFLAGS-tst-chk6.cc): Likewise.
30         (CFLAGS-tst-lfschk1.c): Likewise.
31         (CFLAGS-tst-lfschk2.c): Likewise.
32         (CFLAGS-tst-lfschk3.c): Likewise.
33         (CFLAGS-tst-lfschk4.cc): Likewise.
34         (CFLAGS-tst-lfschk5.cc): Likewise.
35         (CFLAGS-tst-lfschk6.cc): Likewise.
37         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38         (main): Disable -Wdeprecated-declarations around calls to
39         register_printf_function.
41         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42         (do_test): Disable -Wdiv-by-zero around some calls to
43         fwrite_unlocked and fread_unlocked.
45         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
46         (DIAG_POP_NEEDS_COMMENT): Likewise.
47         (_DIAG_STR1): Likewise.
48         (_DIAG_STR): Likewise.
49         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
50         * stdio-common/bug21.c: Include <libc-internal.h>.
51         (do_test): Disable -Wformat around call to sscanf.
52         * stdio-common/scanf14.c: Include <libc-internal.h>.
53         (main): Disable -Wformat around some calls to scanf functions.
55 2014-12-09  Torvald Riegel  <triegel@redhat.com>
57         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
59 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
62         stack variable alignment.
64 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
66         [BZ #17682]
67         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
68         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
69         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
70         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
71         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
72         __getrlimit instead of getrlimit.
73         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
74         __gettimeofday instead of gettimeofday.
75         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
76         Likewise.
77         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
78         Likewise.
79         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
81         Remove variable.
82         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
83         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
85 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
88         for wide-character tests.
90 2014-12-04  Roland McGrath  <roland@hack.frob.com>
92         * io/openat64.c: #include <libc-internal.h>
93         (__openat64): Prototypify.  Use ignore_value on MODE.
94         * io/openat.c: Likewise.
95         * misc/reboot.c: #include <libc-internal.h>
96         (reboot): Prototypify.  Use ignore_value on HOWTO.
97         * misc/ptrace.c: #include <libc-internal.h>
98         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
100 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
102         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
103         XPG4, UNIX98 and XOPEN2K.
104         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
105         Remove variable.
106         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
108 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
110         * libio/fileops.c: Use ISO C style for function definitions.
111         * libio/iofopen.c: Likewise.
112         * libio/wfileops.c: Likewise.
114         [BZ #17653]
115         * libio/fileops.c (_IO_new_file_underflow): Unset cached
116         offset on EOF.
117         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
118         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
119         (fgets_func): Function pointer to fgets and fgetws.
120         (do_ftell_test): Add test to verify ftell value after read
121         EOF.
122         (do_test): Set fgets_func.
124         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
125         O_TRUNC flag for w and w+ modes.
126         (do_rewind_test): Likewise.
127         (do_ftell_test): Likewise.
128         (do_write_test): Likewise.
130         [BZ #17647]
131         * libio/fileops.c (do_ftell): Seek only when there are
132         unflushed writes.
133         * libio/wfileops.c (do_ftell_wide): Likewise.
134         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
135         test case.
136         (do_one_test): Call it.
138 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
140         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
141         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
142         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
143         Remove variable.
144         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
145         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
146         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
148 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
150         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
151         Remove variable.
152         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
154         [BZ #17668]
155         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
156         as weak alias of __getifaddrs.  Use libc_hidden_weak.
157         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
158         __freeifaddrs.  Use libc_hidden_weak.
159         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
160         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
161         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
162         __freeifaddrs.  Use libc_hidden_weak.
163         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
164         __getifaddrs and define as weak alias of __getifaddrs.  Use
165         libc_hidden_weak.
166         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
167         __freeifaddrs.  Use libc_hidden_weak.
168         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
169         Remove variable.
170         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
171         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
173 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
175         [BZ #17601]
176         * sysdeps/mips/start.S (__start): Use indirect jump to call
177         __libc_start_main.
179 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
181         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
183         * nptl/tst-mutex1.c: Include <stdbool.h>.
184         [!ATTR] (ATTR_NULL): New macro.
185         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
186         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
187         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
189         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
190         to char *.
192         [BZ #17665]
193         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
194         Change conditional to [__USE_MISC].
196         [BZ #17664]
197         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
198         fgets_unlocked.
199         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
200         __fgets_unlocked.
201         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
202         fgets_unlocked.
203         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
204         Remove variable.
205         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
206         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
207         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
208         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
209         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
210         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
211         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
212         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
213         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
215         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
217 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
220         Remove strpbrk objects.
221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
222         (__libc_ifunc_impl_list): Remove strpbrk implementation.
223         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
224         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
225         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
226         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
228         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
229         Remove strcspn objects.
230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
231         (__libc_ifunc_impl_list): Remove strcspn implementation.
232         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
233         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
234         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
235         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
237         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
238         Remove strspn objetcs.
239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
240         (__libc_ifunc_impl_list): Remove strspn implementation.
241         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
242         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
243         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
244         * sysdeps/powerpc/powerpc64/strspn.S: New file.
246 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
248         [BZ #17581]
249         * malloc/hooks.c
250         (mem2mem_check): Add a terminator to the chain of checking blocks.
251         (malloc_check_get_size): Use it here.
252         (mem2chunk_check): Ditto.
254 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
256         * sysdeps/powerpc/powerpc64/strtok.S: New file.
257         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
259 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
261         * bits/ioctl-types.h: Indent preprocessor directives correctly.
263         * nptl/nptl-init.c: Include libc-internal.h.
264         (__pthread_initialize_minimal_internal): Use ROUND_UP.
266         * elf/ldconfig.c (search_dir): Expand comment.
268 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
270         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
271         variable.
272         (linknamespace-symlist-stdlibs-tests): Likewise.
273         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
274         instead of $(objpfx)symlist-stdlibs.
275         (linknamespace-libs-isoc): New variable.
276         (linknamespace-libs): Use $(linknamespace-libs-isoc).
277         (linknamespace-libs-ISO): New variable.
278         (linknamespace-libs-ISO99): Likewise.
279         (linknamespace-libs-ISO11): Likewise.
280         (linknamespace-libs-XPG3): Likewise.
281         (linknamespace-libs-XPG4): Likewise.
282         (linknamespace-libs-POSIX): Likewise.
283         (linknamespace-libs-UNIX98): Likewise.
284         (linknamespace-libs-XOPEN2K): Likewise.
285         (linknamespace-libs-POSIX2008): Likewise.
286         (linknamespace-libs-XOPEN2K8): Likewise.
287         ($(objpfx)symlist-stdlibs): Replace by
288         $(linknamespace-symlist-stdlibs-tests).  Use
289         $(linknamespace-libs-$*) as set of libraries.
290         ($(linknamespace-header-tests)): Update dependencies.  Use
291         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
292         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
293         * conform/linknamespace.pl: Remove comment about considering
294         definitions of symbols from irrelevant libraries.
296 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
298         [BZ #13862]
299         * elf/dl-tls.c: Include <atomic.h>.
300         (oom): Remove #ifdef SHARED/#endif.
301         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
302         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
303         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
304         big enough.
305         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
306         * nptl/Makefile (tests): Add tst-stack4.
307         (modules-names): Add tst-stack4mod.
308         ($(objpfx)tst-stack4): New.
309         (tst-stack4mod.sos): Likewise.
310         ($(objpfx)tst-stack4.out): Likewise.
311         ($(tst-stack4mod.sos)): Likewise.
312         (clean): Likewise.
313         * nptl/tst-stack4.c: New file.
314         * nptl/tst-stack4mod.c: Likewise.
316 2014-11-27  J. Brown  <jb999@gmx.de>
318         * sysdeps/x86/bits/string.h: Add recent CPUs.
320 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
322         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
323         sigblock.
325         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
326         feof.
328         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
329         variable.
331 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
333         * nscd/connections.c: Include libc-internal.h because of macro
334         usage ignore_value.
336 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
338         * string/bits/string3.h (__warn_memset_zero_len): Don't
339         declare for gcc newer than 5.0.
340         (memset): Don't test for zero-length __LEN for gcc newer than
341         5.0.
343 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
345         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
346         size_t for %zu format.
348         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
349         difference, not %ju.
351 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
353         * include/libc-internal.h (ignore_value): New macro.
354         * nscd/connections.c (restart): Wrap calls to setuid and setgid
355         with ignore_value.
357         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
358         definition.
360         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
361         pthread_cleanup_push to void *.
363         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
364         Undefine.
366         [BZ #16619]
367         [BZ #16740]
368         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
369         instead of 1L << 52.
371         * libio/bug-rewind.c (do_test): Check fwscanf return values.
372         * libio/bug-rewind2.c (do_test): Likewise.
374         * debug/test-stpcpy_chk-ifunc.c: Remove file.
375         * debug/test-strcpy_chk-ifunc.c: Likewise.
376         * wcsmbs/test-wcschr-ifunc.c: Likewise.
377         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
378         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
379         * wcsmbs/test-wcslen-ifunc.c: Likewise.
380         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
381         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
382         * Rules [$(multi-arch) = no] (tests): Do not filter out
383         $(tests-ifunc).
384         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
385         * debug/Makefile (tests-ifunc): Remove variable.
386         (tests): Do not add $(tests-ifunc).
387         * wcsmbs/Makefile (tests-ifunc): Remove variable.
388         (tests): Do not add $(tests-ifunc).
389         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
390         [TEST_IFUNC]: Remove conditionals.
391         * string/test-string.h (TEST_IFUNC): Remove macro.
392         [TEST_IFUNC]: Remove conditionals.
394         * string/test-strchr.c [!WIDE] (L): New macro.
395         [WIDE] (L): Likewise.
396         (check1): Use CHAR instead of char.  Use L on string and character
397         constants.
399 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
401         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
402         tests.
403         * sysdeps/powerpc/bits/atomic.h
404         (__arch_atomic_exchange_and_add_32_acq): Add definition.
405         (__arch_atomic_exchange_and_add_32_rel): Likewise.
406         (atomic_exchange_and_add_acq): Likewise.
407         (atomic_exchange_and_add_rel): Likewise.
408         * sysdeps/powerpc/powerpc32/bits/atomic.h
409         (__arch_atomic_exchange_and_add_64_acq): Add definition.
410         (__arch_atomic_exchange_and_add_64_rel): Likewise.
411         * sysdeps/powerpc/powerpc64/bits/atomic.h
412         (__arch_atomic_exchange_and_add_64_acq): Add definition.
413         (__arch_atomic_exchange_and_add_64_rel): Likewise.
415 2014-11-26  Torvald Riegel  <triegel@redhat.com>
417         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
418         Change synchronization of __sched_fifo_min_prio and
419         __sched_fifo_max_prio.
420         * nptl/pthread_mutexattr_getprioceiling.c
421         (pthread_mutexattr_getprioceiling): Likewise.
422         * nptl/pthread_mutexattr_setprioceiling.c
423         (pthread_mutexattr_setprioceiling): Likewise.
424         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
425         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
426         Likewise.
428 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
430         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
431         void.
433 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
435         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
436         third argument const.
438 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
440         fnmatch: work around GCC compiler warning bug with uninit var
441         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
442         This works around a bug with x86-64 GCC 4.9.2 and earlier
443         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
444         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
445         used uninitialized in this function [-Wmaybe-uninitialized]".
447 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
449         * posix/bug-regex31.c (main): Return RES not 0.
451 2014-11-25  Anton Blanchard <anton@samba.org>
453         * sysdeps/powerpc/bits/atomic.h
454         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
456 2014-11-24  Sterling Augustine  <saugustine@google.com>
458         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
460 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
462         [BZ #17608]
463         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
465 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
467         [BZ #17633]
468         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
469         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
470         variable.
471         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
472         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
474 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
476         * string/strncpy.c (strncpy): Improve performance by using memset.
478 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
480         * string/strcpy.c (strcpy):
481         Improve performance by using strlen and memcpy.
483 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
485         * string/strcoll_l.c (get_next_seq): __always_inline.
486         * string/strcoll_l.c (do_compare): __always_inline.
488 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
490         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
491         defined.
492         * include/mqueue.h: Likewise.
493         * include/stdlib.h: Likewise.
495         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
496         (get_null_defines): Adjust.
497         * sunrpc/Makefile: Adjust comment.
498         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
499         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
500         (CFLAGS-interp.c): Likewise.
501         (CFLAGS-ldconfig.c): Likewise.
502         (CPPFLAGS-.os): Likewise.
503         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
504         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
505         * extra-modules.mk (extra-modules.mk): Likewise.
506         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
507         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
508         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
509         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
510         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
511         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
512         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
513         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
514         * iconvdata/Makefile (CPPFLAGS): Likewise.
515         (cpp-srcs-left): Add libof for all iconvdata routines.
516         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
517         * include/assert.h: Likewise.
518         * include/ctype.h: Likewise.
519         * include/errno.h: Likewise.
520         * include/libc-symbols.h: Likewise.
521         * include/math.h: Likewise.
522         * include/netdb.h: Likewise.
523         * include/resolv.h: Likewise.
524         * include/stdio.h: Likewise.
525         * include/stdlib.h: Likewise.
526         * include/string.h: Likewise.
527         * include/sys/stat.h: Likewise.
528         * include/wctype.h: Likewise.
529         * intl/l10nflist.c: Likewise.
530         * libidn/idn-stub.c: Likewise.
531         * libio/libioP.h: Likewise.
532         * nptl/libc_multiple_threads.c: Likewise.
533         * nptl/pthreadP.h: Likewise.
534         * posix/regex_internal.h: Likewise.
535         * resolv/res_hconf.c: Likewise.
536         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
537         * sysdeps/arm/memmove.S: Likewise.
538         * sysdeps/arm/sysdep.h: Likewise.
539         * sysdeps/generic/_itoa.h: Likewise.
540         * sysdeps/generic/symbol-hacks.h: Likewise.
541         * sysdeps/gnu/errlist.awk: Likewise.
542         * sysdeps/gnu/errlist.c: Likewise.
543         * sysdeps/i386/i586/memcpy.S: Likewise.
544         * sysdeps/i386/i586/memset.S: Likewise.
545         * sysdeps/i386/i686/memcpy.S: Likewise.
546         * sysdeps/i386/i686/memmove.S: Likewise.
547         * sysdeps/i386/i686/mempcpy.S: Likewise.
548         * sysdeps/i386/i686/memset.S: Likewise.
549         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
550         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
551         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
552         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
553         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
554         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
555         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
556         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
557         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
558         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
559         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
560         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
561         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
562         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
563         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
564         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
565         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
566         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
567         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
568         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
569         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
570         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
571         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
572         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
573         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
574         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
575         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
576         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
577         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
578         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
579         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
580         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
581         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
582         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
583         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
584         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
585         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
586         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
587         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
588         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
589         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
590         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
591         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
592         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
593         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
594         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
595         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
596         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
597         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
598         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
599         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
600         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
601         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
602         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
603         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
604         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
605         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
606         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
607         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
608         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
609         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
610         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
611         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
612         * sysdeps/nptl/bits/libc-lock.h: Likewise.
613         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
614         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
615         * sysdeps/posix/closedir.c: Likewise.
616         * sysdeps/posix/opendir.c: Likewise.
617         * sysdeps/posix/readdir.c: Likewise.
618         * sysdeps/posix/rewinddir.c: Likewise.
619         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
620         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
621         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
622         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
623         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
624         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
625         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
626         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
628         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
630         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
631         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
632         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
633         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
634         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
635         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
636         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
637         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
638         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
639         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
641         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
642         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
644         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
647         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
652         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
654         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
655         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
656         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
657         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
658         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
659         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
660         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
661         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
663         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
664         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
665         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
666         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
667         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
668         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
669         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
670         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
671         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
673         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
675         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
676         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
677         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
678         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
679         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
680         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
682         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
683         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
684         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
685         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
686         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
687         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
688         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
689         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
690         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
691         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
692         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
693         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
694         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
695         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
696         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
697         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
698         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
699         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
700         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
701         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
703         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
705         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
706         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
707         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
709         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
710         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
711         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
712         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
713         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
715         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
716         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
717         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
718         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
719         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
720         * sysdeps/unix/alpha/sysdep.S: Likewise.
721         * sysdeps/unix/alpha/sysdep.h: Likewise.
722         * sysdeps/unix/make-syscalls.sh: Likewise.
723         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
725         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
726         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
727         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
728         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
729         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
730         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
731         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
732         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
733         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
734         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
735         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
736         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
737         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
738         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
739         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
740         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
741         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
742         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
743         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
744         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
745         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
746         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
747         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
748         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
752         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
753         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
757         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
758         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
760         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
761         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
762         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
763         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
764         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
765         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
766         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
767         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
769         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
770         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
773         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
774         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
775         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
776         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
777         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
779         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
780         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
781         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
782         * sysdeps/x86_64/memcpy.S: Likewise.
783         * sysdeps/x86_64/memmove.c: Likewise.
784         * sysdeps/x86_64/memset.S: Likewise.
785         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
786         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
787         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
788         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
789         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
790         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
791         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
792         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
793         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
794         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
795         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
796         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
797         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
798         * sysdeps/x86_64/multiarch/memset.S: Likewise.
799         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
800         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
801         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
802         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
803         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
804         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
805         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
806         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
807         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
808         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
809         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
810         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
811         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
812         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
813         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
814         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
815         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
816         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
817         * sysdeps/x86_64/strcmp.S: Likewise.
819         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
821         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
822         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
823         * elf/rtld-Rules: Likewise.
824         * elf/setup-vdso.h: Likewise.
825         * include/assert.h: Likewise.
826         * include/bits/stdlib-float.h: Likewise.
827         * include/errno.h: Likewise.
828         * include/sys/stat.h: Likewise.
829         * include/unistd.h: Likewise.
830         * sysdeps/aarch64/setjmp.S: Likewise.
831         * sysdeps/alpha/setjmp.S: Likewise.
832         * sysdeps/arm/__longjmp.S: Likewise.
833         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
834         * sysdeps/arm/setjmp.S: Likewise.
835         * sysdeps/arm/sysdep.h: Likewise.
836         * sysdeps/generic/_itoa.h: Likewise.
837         * sysdeps/generic/dl-sysdep.h: Likewise.
838         * sysdeps/generic/ldsodefs.h: Likewise.
839         * sysdeps/i386/dl-tls.h: Likewise.
840         * sysdeps/i386/setjmp.S: Likewise.
841         * sysdeps/m68k/setjmp.c: Likewise.
842         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
843         * sysdeps/mach/hurd/opendir.c: Likewise.
844         * sysdeps/posix/getcwd.c: Likewise.
845         * sysdeps/posix/opendir.c: Likewise.
846         * sysdeps/posix/profil.c: Likewise.
847         * sysdeps/powerpc/dl-procinfo.h: Likewise.
848         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
849         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
850         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
851         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
852         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
854         * sysdeps/s390/dl-tls.h: Likewise.
855         * sysdeps/s390/s390-32/setjmp.S: Likewise.
856         * sysdeps/s390/s390-64/setjmp.S: Likewise.
857         * sysdeps/sh/sh3/setjmp.S: Likewise.
858         * sysdeps/sh/sh4/setjmp.S: Likewise.
859         * sysdeps/unix/alpha/sysdep.h: Likewise.
860         * sysdeps/unix/arm/sysdep.S: Likewise.
861         * sysdeps/unix/i386/sysdep.S: Likewise.
862         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
863         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
864         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
865         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
867         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
868         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
869         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
870         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
871         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
872         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
873         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
874         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
877         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
880         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
881         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
882         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
885         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
886         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
887         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
889         * sysdeps/unix/x86_64/sysdep.S: Likewise.
890         * sysdeps/x86_64/setjmp.S: Likewise.
892         * include/math.h: Use IS_IN instead of IS_IN_libm.
893         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
894         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
895         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
896         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
897         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
898         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
899         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
900         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
901         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
902         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
903         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
904         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
905         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
906         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
907         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
908         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
909         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
910         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
911         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
912         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
913         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
914         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
915         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
916         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
917         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
918         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
919         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
920         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
921         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
922         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
923         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
924         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
925         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
927         Likewise.
928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
929         Likewise.
930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
931         Likewise.
932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
933         Likewise.
934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
935         Likewise.
936         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
937         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
938         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
939         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
940         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
941         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
947         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
948         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
949         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
950         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
951         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
952         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
954         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
955         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
956         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
957         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
959         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
960         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
962         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
964         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
965         * nptl/pthreadP.h: Likewise.
966         * nptl_db/structs.def: Likewise.
967         * sysdeps/arm/sysdep.h: Likewise.
968         * sysdeps/nptl/bits/libc-lock.h: Likewise.
969         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
970         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
971         * sysdeps/unix/alpha/sysdep.h: Likewise.
972         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
974         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
975         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
976         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
977         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
978         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
979         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
980         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
981         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
982         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
983         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
984         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
985         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
988         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
990         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
993         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
994         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
995         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
996         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
997         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
999         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1000         * nptl/pthreadP.h: Likewise.
1001         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1002         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1003         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1004         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1005         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1006         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1007         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1008         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1009         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1010         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1011         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1012         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1016         Likewise.
1017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1019         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1020         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1022         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1023         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1026         * dlfcn/dladdr.c: Use IS_IN.
1027         * dlfcn/dladdr1.c: Likewise.
1028         * dlfcn/dlclose.c: Likewise.
1029         * dlfcn/dlerror.c: Likewise.
1030         * dlfcn/dlinfo.c: Likewise.
1031         * dlfcn/dlmopen.c: Likewise.
1032         * dlfcn/dlopen.c: Likewise.
1033         * dlfcn/dlsym.c: Likewise.
1034         * dlfcn/dlvsym.c: Likewise.
1036         * include/ifaddrs.h: Use IS_IN.
1037         * inet/check_pf.c: Likewise.
1038         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1039         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1041         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1042         IS_IN_ldconfig.
1043         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1044         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1046         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1047         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1048         IS_IN (libc).
1050         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1052         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1053         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1054         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1055         * include/libc-symbols.h (IS_IN_LIB): New macro.
1056         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1057         * include/netdb.h: Likewise.
1058         * include/stap-probe.h: Remove all uses of IN_LIB.
1060         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1061         instead of IN_MODULE.
1062         * include/libc-symbols.h (IN_MODULE): Define using
1063         MODULE_NAME.
1064         (PASTE_NAME, PASTE_NAME1): New macros.
1065         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1066         of IN_LIB.
1067         (STAP_PROBE_ASM): Likewise.
1069 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1071         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1072         __mach_init in dlopened libc.
1074 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1076         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1077         * sysdeps/arm/preconfigure: Regenerate.
1079 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1081         * nptl/pthread_create.c (__pthread_create_2_1): Set
1082         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1083         when copying values from IATTR into PD.
1085 2014-11-21  Will Newton  <will.newton@linaro.org>
1086             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1088         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1089         Refactor inline-asm.  Also add comment.
1091         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1092         ElfW macro instead of hardcoded Elf64 types.
1093         (la_aarch64_gnu_pltenter): Likewise.
1094         * sysdeps/aarch64/dl-machine.h
1095         (elf_machine_runtime_setup): Use ElfW(Addr).
1097         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1098         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1099         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1100         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1101         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1102         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1103         (R_AARCH64_TLS_DTPMOD): This.
1104         (R_AARCH64_TLS_DTPREL64): Rename to ...
1105         (R_AARCH64_TLS_DTPREL): This.
1106         (R_AARCH64_TLS_TPREL64): Rename to ...
1107         (R_AARCH64_TLS_TPREL): This.
1108         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1109         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1110         R_AARCH64_TLS_TPREL64.
1111         (elf_machine_rela): Likewise.
1113 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1115         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1116         by setting it to 0.  64b atomics are not supported currently.
1118 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1120         [BZ #16469]
1121         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1122         search domain names.
1124 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1126         [BZ #16469]
1127         * NEWS: Update.
1128         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1129         trailing dot.
1130         * posix/tst-getaddrinfo5.c: New.
1131         * posix/Makefile (tests): Add it.
1133 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1135         [BZ #14498]
1136         * NEWS: Fixed.
1137         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1138         after parsing line but before break_if_match.
1139         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1140         if there is a protocol mismatch.
1142 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1144         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1145         because the potential race is on the user-supplied stream.
1147 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1149         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1150         string literal if not passed a buffer.
1151         * manual/job.texi (ctermid): Update reasoning, note deviation
1152         from posix, suggest mtasurace when not passed a buffer, for
1153         future non-preliminary safety notes.
1155 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1157         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1158         of not passing it a buffer.
1159         Reported by Peng Haitao.
1161 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1163         * manual/Makefile ($(objpfx)stamp-summary): Require
1164         check-safety.sh to pass.
1165         * manual/check-safety.sh: Wish for verification that every
1166         @deftypefn and @deftypefun is followed by a @safety remark.
1168 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1170         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1172         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1173         PTHREAD_CANCEL_ASYNCHRONOUS.
1174         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1175         send SIGCANCEL.
1177         * nptl/default-sched.h: New file.
1178         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1179         * nptl/pthread_create.c: Include it.
1180         (__pthread_create_2_1): Use collect_default_sched instead of making
1181         Linux syscalls here directly.
1183 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1185         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1186         __pthread_once): Use C11 atomics.
1188 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1190         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1192 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1194         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1195         atomic_thread_fence_acquire, atomic_thread_fence_release,
1196         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1197         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1198         atomic_compare_exchange_weak_relaxed,
1199         atomic_compare_exchange_weak_acquire,
1200         atomic_compare_exchange_weak_release,
1201         atomic_exchange_acquire, atomic_exchange_release,
1202         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1203         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1204         atomic_fetch_and_acquire,
1205         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1207 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1209         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1210         USE_ATOMIC_COMPILER_BUILTINS): Define.
1211         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1213         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1215         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1217         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1219         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1220         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1221         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1222         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1223         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1224         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1225         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1227         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1229         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1231         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1233         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1235         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1236         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1237         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1238         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1239         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1241         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1242         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1243         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1244         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1245         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1246         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1247         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1248         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1249         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1250         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1252 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1254         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1255         the sched_priority value here.  It was already checked when the user
1256         called pthread_attr_setschedparam.
1258         * nptl/tst-bad-schedattr.c: New file.
1259         * nptl/Makefile (tests): Add it.
1261 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1262             Florian Weimer  <fweimer@redhat.com>
1263             Joseph Myers  <joseph@codesourcery.com>
1264             Adam Conrad  <adconrad@0c3.net>
1265             Andreas Schwab  <schwab@suse.de>
1266             Brooks  <bmoses@google.com>
1268         [BZ #17625]
1269         * wordexp-test.c (__dso_handle): Add prototype.
1270         (__register_atfork): Likewise.
1271         (__app_register_atfork): New function.
1272         (registered_forks): New global.
1273         (register_fork): New function.
1274         (test_case): Add 3 new tests for WRDE_CMDSUB.
1275         (main): Call __app_register_atfork.
1276         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1277         fork count is non-zero fail the test.
1278         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1279         is set.
1280         (parse_dollars): Remove check for WRDE_NOCMD.
1281         (parse_dquote): Likewise.
1283 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1285         * Makeconfig (built-modules): List non-library modules to be
1286         built.
1287         (module-cppflags): Include libc-modules.h for
1288         everything except shlib-versions.v.i.
1289         (CPPFLAGS): Use it.
1290         (before-compile): Add libc-modules.h.
1291         ($(common-objpfx)libc-modules.h,
1292         $(common-objpfx)libc-modules.stmp): New targets.
1293         (common-generated): Add libc-modules.h and libc-modules.stmp.
1294         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1295         * include/libc-symbols.h: Don't include libc-modules.h.
1296         * include/libc-modules.h: Remove file.
1297         * scripts/gen-libc-modules.awk: New script to generate
1298         libc-modules.h.
1299         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1300         Depend on libc-modules.stmp.
1302         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1304         * Makeconfig (in-module): Get value of libof set for the
1305         translation unit.
1306         (CPPFLAGS): Use $(in-module).
1307         * Makerules: Don't suffix routine names for nonlib.
1308         * include/libc-modules.h: New file.
1309         * include/libc-symbols.h: Include libc-modules.h
1310         (IS_IN): New macro to replace IS_IN_* macros.
1311         * elf/Makefile: Set libof-* for each routine.
1312         * elf/rtld-Rules: Likewise.
1313         * extra-modules.mk: Likewise.
1314         * iconv/Makefile: Likewise.
1315         * iconvdata/Makefile: Likewise.
1316         * locale/Makefile: Likewise.
1317         * malloc/Makefile: Likewise.
1318         * nss/Makefile: Likewise.
1319         * sysdeps/gnu/Makefile: Likewise.
1320         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1321         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1322         * sysdeps/s390/s390-64/Makefile: Likewise.
1323         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1324         CPPFLAGS for nscd instead of nonlib.
1326 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1328         * nptl/createthread.c: New file.
1330         * nptl/createthread.c: Moved ...
1331         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1333         * nptl/createthread.c: Add proper top-line comment.
1334         (do_clone): Folded into ...
1335         (create_thread): ... here.  Take new arguments STOPPED_START and
1336         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1337         increment __nptl_threads, do event-reporting logic, do
1338         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1339         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1340         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1341         just send SIGCANCEL.
1342         * nptl/pthread_create.c: Forward-declare create_thread before
1343         including createthread.c.
1344         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1345         declaration, and new macro START_THREAD_SELF to replace argument.
1346         Remove return statement.
1347         (report_thread_creation): New function.
1348         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
1349         synchronization logic, and __nptl_nthreads increment here, around
1350         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
1351         PD->parent_cancelhandling here, before create_thread.  When
1352         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1353         __deallocate_stack, and ENOMEM translation here.
1355 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
1357         [BZ #17616]
1358         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1359         (mptwo): Rename to __mptwo.
1360         (__inv): Use __mptwo instead of mptwo.
1361         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1362         (mptwo): Rename to __mptwo.
1363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1364         of mpone and __mptwo instead of mptwo.
1365         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1366         instead of mpone.
1367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1368         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1369         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1370         of mpone and __mptwo instead of mptwo.
1371         (__mpranred): Use __mpone instead of mpone.
1372         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1373         variable.
1374         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1375         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1376         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1377         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1378         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1379         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1380         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1381         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1382         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1383         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1384         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1385         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1386         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1387         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1388         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1389         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1390         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1391         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1392         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1394 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1396         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1397         replace BSD Handler xref with BSD Signal Handling.
1399 2014-11-17  Richard Henderson  <rth@redhat.com>
1401         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1402         (_FP_PACK_RAW_2): Remove.
1403         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1404         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1405         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1406         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1407         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1408         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1409         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1410         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1411         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1412         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1413         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1414         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1415         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1416         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1417         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1418         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1420 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1422         * signal/signal.h [__USE_MISC]
1423         (struct sigvec): Remove type.
1424         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1425         (sigvec): Remove declaration.
1426         * sysdeps/posix/sigvec.c: Moved ...
1427         * signal/sigvec.c: ... here, replacing old file.
1428         (struct sigvec): New type, copied from old signal.h definition.
1429         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1430         (__sigvec): Convert definition to prototype.
1431         (sigvec): Replace weak_alias with compat_symbol.
1432         * signal/Versions (libc: GLIBC_2.21): New version set.
1433         * include/signal.h: Remove __sigvec declaration.
1434         * sysdeps/unix/bsd/sigvec.c: Remove file.
1435         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1436         * manual/signal.texi (BSD Handler): Remove subsection.
1437         Move siginterrupt up to ...
1438         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1439         (Blocking in BSD): Fold subsection into its parent.
1440         * NEWS: Mention sigvec removal.
1442 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1444         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1445         (DLA_FMS): Make definition conditional only on [__FMA4__].
1446         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1447         definition.
1449         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1450         Make definition conditional only on [PROF].
1451         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1452         definition.
1453         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1454         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1456         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1457         !__GNUC__].
1458         * include/signal.h (__sigpause): Move declaration above call to
1459         libc_hidden_proto.
1460         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1461         variable.
1462         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1463         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1465 2014-11-14  David S. Miller  <davem@davemloft.net>
1467         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1468         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1470 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1472         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1473         * configure: Regenerated.
1474         * manual/install.texi (Tools for Compilation): Document a
1475         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1476         compiler verified to work.
1477         * INSTALL: Regenerated.
1479         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1480         redeclare with asm name.
1481         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1482         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1483         including <string.h>.
1484         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1485         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1486         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1487         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1488         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1490         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1492 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1494         * stdlib/strtol.c (__strtol): Use prototype definition.
1496         [BZ #17594]
1497         * stdlib/strtol.c (SYM__): New macro.
1498         (SYM__1): Likewise.
1499         (__strtol): Likewise.
1500         (strtol): Rename to __strtol and define as weak alias of
1501         __strtol.  Use libc_hidden_weak.
1503 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1505         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1506         Use numbered labels in inline assembly.
1508 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1510         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1511         Add setjmp LIBC_PROBE.
1512         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1513         Likewise.
1514         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1515         Add longjmp, longjmp_target LIBC_PROBE.
1516         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1517         Likewise.
1519 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1521         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1522         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1523         to get rid of unused variable warning.
1525 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1527         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1528         Check for unwind_backtrace ==  NULL only in SHARED case.
1529         (__backchain_backtrace): Compile only in SHARED case.
1530         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1531         Likewise.
1532         (__backchain_backtrace): Declare as static.
1534 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1536         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1537         (__libc_multiple_threads_ptr): Variable moved ...
1538         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1540 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1542         * conform/GlibcConform.pm: New file.
1543         * conform/conformtest.pl: Use GlibcConform module.
1544         * conform/linknamespace.pl: New file.
1545         * conform/list-header-symbols.pl: Likewise.
1546         * conform/Makefile (linknamespace-symlists-base): New variable.
1547         (linknamespace-symlists-tests): Likewise.
1548         (linknamespace-header-base): Likewise.
1549         (linknamespace-header-tests): Likewise.
1550         (tests-special): Add new tests.
1551         ($(linknamespace-symlists-tests)): New rule.
1552         (linknamespace-libs): New variable.
1553         ($(objpfx)symlist-stdlibs): New rule.
1554         ($(linknamespace-header-tests)): Likewise.
1555         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1556         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1557         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1558         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1559         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1560         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1561         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1562         (test-xfail-ISO/math.h/linknamespace): Likewise.
1563         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1564         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1565         (test-xfail-ISO/time.h/linknamespace): Likewise.
1566         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1567         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1568         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1569         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1570         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1571         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1572         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1573         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1574         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1575         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1576         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1577         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1578         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1579         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1580         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1581         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1582         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1583         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1584         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1585         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1586         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1587         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1588         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1589         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1590         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1591         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1592         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1593         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1594         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1595         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1596         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1597         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1598         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1599         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1600         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1601         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1602         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1603         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1604         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1605         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1606         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1607         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1608         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1609         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1610         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1611         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1612         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1613         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1614         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1615         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1616         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1617         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1618         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1619         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1620         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1621         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1622         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1623         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1624         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1625         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1626         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1627         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1628         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1629         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1630         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1631         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1632         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1633         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1634         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1635         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1636         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1637         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1638         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1639         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1640         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1641         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1642         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1643         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1644         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1645         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1646         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1647         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1648         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1649         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1650         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1651         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1652         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1653         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1654         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1655         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1656         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1657         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1658         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1659         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1660         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1661         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1662         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1663         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1664         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1665         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1666         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1667         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1668         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1669         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1670         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1671         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1672         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1673         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1674         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1675         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1676         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1677         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1678         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1679         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1680         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1681         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1682         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1683         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1684         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1685         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1686         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1687         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1688         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1689         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1690         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1691         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1692         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1693         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1694         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1695         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1696         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1697         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1698         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1699         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1700         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1701         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1702         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1703         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1704         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1705         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1706         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1707         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1708         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1709         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1710         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1711         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1712         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1713         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1714         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1715         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1717         [BZ #17589]
1718         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1719         of fgets_unlocked.
1721         [BZ #17585]
1722         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1723         (memmem): Rename to __memmem and define as weak alias of
1724         __memmem.  Use libc_hidden_weak.
1725         (__memmem): Use libc_hidden_def.
1726         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1727         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1728         memmem.
1730         [BZ #17582]
1731         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1732         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1733         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1734         and define as weak alias of __fgets_unlocked.  Use
1735         libc_hidden_weak.
1736         (__fgets_unlocked): Use libc_hidden_def.
1737         * include/stdio.h (__fgets_unlocked): Declare.  Use
1738         libc_hidden_proto.
1739         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1740         __fgets_unlocked instead of fgets_unlocked.
1741         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1742         (GET_NPROCS_CONF_PARSER): Likewise.
1743         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1744         (GET_NPROCS_CONF_PARSER): Likewise.
1746         [BZ #17574]
1747         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1748         weak alias of __wmemset.  Use libc_hidden_weak.
1749         (__wmemset): Use libc_hidden_def.
1750         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1751         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1752         of wmemset.
1754         [BZ #17573]
1755         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1756         with asm name __mempcpy.
1757         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1759         [BZ #17572]
1760         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1761         and define as weak alias of __rawmemchr.
1762         (__rawmemchr): Do not define as strong alias of rawmemchr.
1764         [BZ #17571]
1765         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1766         alias of __qsort_r.
1767         (qsort): Call __qsort_r instead of qsort_r.
1768         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1769         (__qsort_r): Declare.  Call libc_hidden_proto.
1770         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1771         instead of qsort_r.
1772         * nscd/gai.c (__qsort_r): Define to qsort_r.
1773         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1774         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1775         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1777         [BZ #17570]
1778         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1779         define as weak alias of __malloc_info.
1781         [BZ #17584]
1782         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1783         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1784         (__rewinddir): Use libc_hidden_def.
1785         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1786         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1787         (__rewinddir): Use libc_hidden_def.
1788         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1789         weak alias of __rewinddir.  Don't use libc_hidden_def.
1790         (__rewinddir): Use libc_hidden_def.
1791         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1792         (__rewinddir): Use libc_hidden_proto.
1793         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1794         rewinddir.
1795         (__getcwd): Use __rewinddir instead of rewinddir.
1797         [BZ #17583]
1798         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1799         alias of __fileno.  Use libc_hidden_weak.
1800         (__fileno): Use libc_hidden_def.
1801         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1802         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1803         alias of __ftello.
1804         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1805         __ftello.
1806         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1807         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1808         libc_hidden_def.
1809         (fread_unlocked): Don't use libc_hidden_ver.
1810         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1811         and define as weak alias of __fread_unlocked.  Don't use
1812         libc_hidden_def.
1813         (__fread_unlocked): Use libc_hidden_def.
1814         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1815         (ftello): Don't use libc_hidden_proto.
1816         (__ftello): Declare.  Use libc_hidden_proto.
1817         (fread_unlocked): Don't use libc_hidden_proto.
1818         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1819         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1820         and __ftello instead of fileno, fread_unlocked and ftello.
1822 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1824         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1825         GOT12.
1826         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1827         Likewise.
1828         (_dl_start_user): Likewise.
1829         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1831 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1832             Siddhesh Poyarekar  <siddhesh@redhat.com>
1834         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1835         Move argv and envp down instead of moving argc up.
1836         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1838 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1840         [BZ #17506]
1841         * test-skeleton.c (main): Return successful if one of
1842         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1843         * string/tst-strcoll-overflow.c: Define expected status.
1845 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1847         [BZ #17475]
1848         * locale/iso-639.def: Define Bhili and Tulu language codes.
1850 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1852         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1854 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1856         [BZ #17555]
1857         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1859 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1861         * configure.ac: Updated check of minimal required version to
1862         2.22.
1863         * manual/install.texi (Tools for Compilation): Updated version
1864         number.
1865         * configure: Regenerated.
1866         * INSTALL: Likewise.
1868 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1870         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1871         __tls_get_addr.
1873 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1875         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1876         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1877         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1878         libc_hidden_weak.
1879         (waitpid): Define as alias of __waitpid.
1880         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1881         __waitpid.
1882         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1883         libc_hidden_weak.
1884         (waitpid): Define as alias of __waitpid.
1885         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1886         __libc_waitpid alias.
1887         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1888         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1891         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1892         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1893         alias.
1894         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1895         __waitpid.
1896         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1897         libc_hidden_weak.
1898         (waitpid): Define as alias of __waitpid.
1900 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1902         * manual/llio.texi: Add comment that write safety has been
1903         fixed in Linux.
1905         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1906         (localplt-build-dso): Add elf/ld.so.
1907         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1908         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1909         and free for ld.so.
1910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1911         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1913         Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1915         Likewise.
1916         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1917         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1918         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1919         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1920         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1921         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1922         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1923         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1924         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1925         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1926         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1928 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1930         [BZ #14132]
1931         * include/libc-symbols.h (INTUSE): Remove macro.
1932         (INTDEF): Likewise.
1933         (INTVARDEF): Likewise.
1934         (_INTVARDEF): Likewise.
1935         (INTDEF2): Likewise.
1936         (INTVARDEF2): Likewise.
1937         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1938         rtld_hidden_def instead of INTVARDEF.
1939         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1940         (_dl_starting_up_internal): Remove declaration.
1941         (_dl_starting_up): Use rtld_hidden_proto.
1942         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1943         declaration.
1944         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1945         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1946         _dl_starting_up.
1947         * elf/dl-writev.h (_dl_writev): Likewise.
1948         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1949         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1950         _dl_starting_up_internal.
1952 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1954         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1955         test-skeleton.c.
1957 2014-11-05  Will Newton  <will.newton@linaro.org>
1959         * benchtests/Makefile: (bench-malloc): Add malloc thread
1960         scalability benchmark.
1961         * benchtests/bench-malloc-threads.c: New file.
1963 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1965         * sysdeps/aarch64/strchrnul.S: New file.
1967 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1970         definition.
1971         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1972         Likwise.
1973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1974         Likewise.
1975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1976         Likewise.
1977         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1978         Likewise.
1979         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1980         Likewise.
1982 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1984         * catgets/test-gencat.c: Use test-skeleton.c.
1985         * catgets/tst-catgets.c: Likewise.
1986         * csu/tst-empty.c: Likewise.
1987         * elf/tst-audit2.c: Likewise.
1988         * elf/tst-global1.c: Likewise.
1989         * elf/tst-pathopt.c: Likewise.
1990         * elf/tst-piemod1.c: Likewise.
1991         * elf/tst-tls10.c: Likewise.
1992         * elf/tst-tls11.c: Likewise.
1993         * elf/tst-tls12.c: Likewise.
1994         * gnulib/tst-gcc.c: Likewise.
1995         * iconvdata/tst-e2big.c: Likewise.
1996         * iconvdata/tst-loading.c: Likewise.
1997         * iconv/tst-iconv1.c: Likewise.
1998         * iconv/tst-iconv2.c: Likewise.
1999         * inet/test-inet6_opt.c: Likewise.
2000         * inet/tst-gethnm.c: Likewise.
2001         * inet/tst-network.c: Likewise.
2002         * inet/tst-ntoa.c: Likewise.
2003         * intl/tst-codeset.c: Likewise.
2004         * intl/tst-gettext2.c: Likewise.
2005         * intl/tst-gettext3.c: Likewise.
2006         * intl/tst-ngettext.c: Likewise.
2007         * intl/tst-translit.c: Likewise.
2008         * io/test-stat.c: Likewise.
2009         * libio/test-fmemopen.c: Likewise.
2010         * libio/tst-freopen.c: Likewise.
2011         * libio/tst-sscanf.c: Likewise.
2012         * libio/tst-ungetwc1.c: Likewise.
2013         * libio/tst-ungetwc2.c: Likewise.
2014         * libio/tst-widetext.c: Likewise.
2015         * localedata/tst-ctype.c: Likewise.
2016         * localedata/tst-digits.c: Likewise.
2017         * localedata/tst-leaks.c: Likewise.
2018         * localedata/tst-mbswcs1.c: Likewise.
2019         * localedata/tst-mbswcs2.c: Likewise.
2020         * localedata/tst-mbswcs3.c: Likewise.
2021         * localedata/tst-mbswcs4.c: Likewise.
2022         * localedata/tst-mbswcs5.c: Likewise.
2023         * localedata/tst-setlocale.c: Likewise.
2024         * localedata/tst-trans.c: Likewise.
2025         * localedata/tst-wctype.c: Likewise.
2026         * localedata/tst-xlocale1.c: Likewise.
2027         * login/tst-grantpt.c: Likewise.
2028         * malloc/tst-calloc.c: Likewise.
2029         * malloc/tst-malloc.c: Likewise.
2030         * malloc/tst-mallocstate.c: Likewise.
2031         * malloc/tst-mcheck.c: Likewise.
2032         * malloc/tst-mtrace.c: Likewise.
2033         * malloc/tst-obstack.c: Likewise.
2034         * math/atest-exp2.c: Likewise.
2035         * math/atest-exp.c: Likewise.
2036         * math/atest-sincos.c: Likewise.
2037         * math/test-matherr.c: Likewise.
2038         * math/test-misc.c: Likewise.
2039         * math/test-powl.c: Likewise.
2040         * math/tst-definitions.c: Likewise.
2041         * misc/tst-dirname.c: Likewise.
2042         * misc/tst-efgcvt.c: Likewise.
2043         * misc/tst-fdset.c: Likewise.
2044         * misc/tst-hsearch.c: Likewise.
2045         * misc/tst-mntent2.c: Likewise.
2046         * nptl/tst-sem7.c: Likewise.
2047         * nptl/tst-sem8.c: Likewise.
2048         * nptl/tst-sem9.c: Likewise.
2049         * nss/test-netdb.c: Likewise.
2050         * posix/tst-fnmatch.c: Likewise.
2051         * posix/tst-getlogin.c: Likewise.
2052         * posix/tst-gnuglob.c: Likewise.
2053         * posix/tst-mmap.c: Likewise.
2054         * pwd/tst-getpw.c: Likewise.
2055         * resolv/tst-inet_ntop.c: Likewise.
2056         * rt/tst-timer.c: Likewise.
2057         * stdio-common/test-fseek.c: Likewise.
2058         * stdio-common/test-popen.c: Likewise.
2059         * stdio-common/test-vfprintf.c: Likewise.
2060         * stdio-common/tst-cookie.c: Likewise.
2061         * stdio-common/tst-fileno.c: Likewise.
2062         * stdio-common/tst-gets.c: Likewise.
2063         * stdio-common/tst-obprintf.c: Likewise.
2064         * stdio-common/tst-perror.c: Likewise.
2065         * stdio-common/tst-sprintf2.c: Likewise.
2066         * stdio-common/tst-sprintf3.c: Likewise.
2067         * stdio-common/tst-sprintf.c: Likewise.
2068         * stdio-common/tst-swprintf.c: Likewise.
2069         * stdio-common/tst-tmpnam.c: Likewise.
2070         * stdio-common/tst-unbputc.c: Likewise.
2071         * stdio-common/tst-wc-printf.c: Likewise.
2072         * stdlib/tst-environ.c: Likewise.
2073         * stdlib/tst-fmtmsg.c: Likewise.
2074         * stdlib/tst-limits.c: Likewise.
2075         * stdlib/tst-rand48-2.c: Likewise.
2076         * stdlib/tst-rand48.c: Likewise.
2077         * stdlib/tst-random2.c: Likewise.
2078         * stdlib/tst-random.c: Likewise.
2079         * stdlib/tst-strtol.c: Likewise.
2080         * stdlib/tst-strtoll.c: Likewise.
2081         * stdlib/tst-tls-atexit.c: Likewise.
2082         * stdlib/tst-xpg-basename.c: Likewise.
2083         * string/test-ffs.c: Likewise.
2084         * string/tst-bswap.c: Likewise.
2085         * string/tst-inlcall.c: Likewise.
2086         * string/tst-strtok.c: Likewise.
2087         * string/tst-strxfrm.c: Likewise.
2088         * sysdeps/x86_64/tst-audit10.c: Likewise.
2089         * sysdeps/x86_64/tst-audit3.c: Likewise.
2090         * sysdeps/x86_64/tst-audit4.c: Likewise.
2091         * sysdeps/x86_64/tst-audit5.c: Likewise.
2092         * time/tst-ftime_l.c: Likewise.
2093         * time/tst-getdate.c: Likewise.
2094         * time/tst-mktime3.c: Likewise.
2095         * time/tst-mktime.c: Likewise.
2096         * time/tst-posixtz.c: Likewise.
2097         * time/tst-strptime2.c: Likewise.
2098         * time/tst-strptime3.c: Likewise.
2099         * wcsmbs/tst-btowc.c: Likewise.
2100         * wcsmbs/tst-mbrtowc.c: Likewise.
2101         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2102         * wcsmbs/tst-wchar-h.c: Likewise.
2103         * wcsmbs/tst-wcpncpy.c: Likewise.
2104         * wcsmbs/tst-wcrtomb.c: Likewise.
2105         * wcsmbs/tst-wcsnlen.c: Likewise.
2106         * wcsmbs/tst-wcstof.c: Likewise.
2108 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2110         [BZ #14132]
2111         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2112         INTDEF.
2113         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2114         declaration.
2115         (_dl_mcount): Use rtld_hidden_proto.
2116         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2117         _dl_mcount.
2118         * elf/rtld.c (_rtld_global_ro): Likewise.
2120         [BZ #14132]
2121         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2122         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2123         of _dl_init_internal.
2124         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2125         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2126         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2127         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2128         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2129         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2130         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2131         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2132         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2133         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2134         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2135         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2136         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2137         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2138         * sysdeps/tile/dl-start.S (_start): Likewise.
2139         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2140         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2142         [BZ #14132]
2143         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2144         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2145         (rtld_progname): Make macro definition unconditional.
2146         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2147         INTDEF.
2148         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2149         (dl_main): Likewise.
2150         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2151         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2152         instead of _dl_argv_internal.
2153         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2154         __GI__dl_argv instead of INTUSE(_dl_argv).
2155         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2156         __GI__dl_argv instead of _dl_argv_internal.
2158         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2159         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2160         macro.
2161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2162         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2163         New macro.
2164         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2165         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2166         macro.
2167         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2168         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2170 2014-11-04  Andreas Schwab  <schwab@suse.de>
2172         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2174 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2176         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2177         mtvsrd instruction in binary form.
2179 2014-11-03  Andreas Schwab  <schwab@suse.de>
2181         [BZ #17522]
2182         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2183         for less than MB_LEN_MAX use a local buffer of that size.
2184         * libio/tst-fputws.c: New file.
2185         * libio/Makefile (tests): Add tst-fputws.
2187 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2189         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2190         the size of the fpu_fr.fpu_dregs[] array.
2192 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2194         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2195         (__nanosleep): Do not define as alias.
2196         (nanosleep): Define as alias of __nanosleep.
2197         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2198         __libc_nanosleep name.
2200 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2202         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2203         install.texi in comment.
2205 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2207         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2208         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2209         ... add here and use lwsync or sync ...
2210         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2211         ... and add here using lwsync.
2213 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2215         * elf/dl-machine-reject-phdr.h: New file.
2216         * elf/dl-load.c: #include that.
2217         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2218         if that returned true.
2220 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2222         [BZ #17496]
2223         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2224         gen-as-const-headers chunk.  Add a big scare comment after the last
2225         safe place to touch before-compile.
2227 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2229         * manual/install.texi (Tools for Compilation): Update autoconf
2230         version requirements.
2231         * INSTALL: Regenerated.
2233         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2234         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2235         (__libc_pselect): Likewise.
2237         [BZ #14138]
2238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2243 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2245         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2246         correct barrier instruction.
2247         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2248         Likewise.
2249         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2250         Likewise.
2252 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2254         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2255         after defining inlines.  Instead, just use parens to defeat macro
2256         expansion of __isctype in its declaration.
2258 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2260         * include/sys/uio.h (__libc_readv): Remove declaration.
2261         (__libc_writev): Likewise.
2262         * misc/readv.c (__libc_readv): Rename to __readv.
2263         (__readv): Do not define as alias.
2264         (readv): Define as alias of __readv.
2265         * misc/writev.c (__libc_writev): Rename to __writev.
2266         (__writev): Do not define as alias.
2267         (writev): Define as alias of __writev.
2268         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2269         (__readv): Do not define as alias.
2270         (readv): Define unconditionally as alias of __readv.
2271         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2272         (__writev): Do not define as alias.
2273         (writev): Define unconditionally as alias of __writev.
2274         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2275         name.
2276         (writev): Do not define __libc_writev name.
2278 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2280         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2281         (convert_charseq): New function, broken out of ...
2282         (use_from_charmap): ... here.  Call it.
2283         (use_to_charmap): Use convert_charseq and free instead of duplicating
2284         its code with a variable-length stack struct.
2286 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2288         * include/fcntl.h (__libc_creat): Remove declaration.
2289         * io/creat.c (__libc_creat): Rename to creat.
2290         (creat): Do not define as alias.
2291         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2292         of creat instead of __libc_creat.
2293         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2294         to creat.
2295         (creat): Do not define as alias.
2296         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2297         __libc_creat.
2298         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2299         __libc_creat name.
2300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2301         Likewise.
2303 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2305         * manual/llio.texi: Add comments discussing why write() may be
2306         considered MT-unsafe on Linux.
2308 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2310         * dl-load.c (local_strdup): Remove.
2311         (expand_dynamic_string_token): Use __strdup.
2312         (decompose_rpath): Likewise.
2313         (_dl_map_object): Likewise.
2315 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2317         [BZ #14132]
2318         * sysdeps/generic/unwind-dw2-fde.c
2319         (__register_frame_info_bases_internal): Do not declare.
2320         (__register_frame_info_table_bases_internal): Likewise.
2321         (__deregister_frame_info_bases_internal): Likewise.
2322         (__register_frame_info_bases): Declare and use hidden_proto before
2323         definition.  Use hidden_def instead of INTDEF.
2324         (__register_frame_info_table_bases): Likewise.
2325         (__deregister_frame_info_bases): Likewise.
2326         (__register_frame_info): Do not use INTUSE.
2327         (__register_frame): Likewise.
2328         (__register_frame_info_table): Likewise.
2329         (__register_frame_table): Likewise.
2330         (__deregister_frame_info): Likewise.
2331         (__deregister_frame): Likewise.
2333 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2336         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2337         not undefine.
2338         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2339         Likewise.
2340         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2341         Likewise.
2343 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2345         [BZ #14138]
2346         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2347         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2348         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2349         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2350         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2351         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2352         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2353         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2354         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2355         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2356         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2357         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2358         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2359         syscall.
2360         (setfsuid): Likewise.
2361         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2362         (setfsuid): Likewise.
2363         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2364         (setfsuid): Likewise.
2365         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2366         Likewise.
2367         (setfsuid): Likewise.
2368         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2369         (setfsuid): Likewise.
2370         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2371         Likewise.
2372         (setfsuid): Likewise.
2374 2014-10-27  Andreas Schwab  <schwab@suse.de>
2376         [BZ #17501]
2377         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2378         check for Slow_SSE4_2 feature bit.
2379         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2380         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2381         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2382         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
2384 2014-10-24  Roland McGrath  <roland@hack.frob.com>
2386         * configure.ac: Validate compiler version with a empirical test of
2387         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2388         $CC -v output.
2389         * configure: Regenerated.
2391         * inet/htons.c (htons): Prototypify.
2392         * inet/htonl.c (htonl): Likewise.
2394 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2396         * string/strncat.c (strncat): Improve performance by using strlen.
2398 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2400         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2402 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2404         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2405         Call libc_fetestexcept_aarch64.
2407 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2409         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2410         Call libc_feholdexcept_aarch64.
2412 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2414         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2415         Call get_rounding_mode.
2417 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2419         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2420         Simplify logic.
2422 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2424         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2425         Simplify logic.
2427 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2429         [BZ #14138]
2430         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2431         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2432         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2433         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2434         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2435         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2436         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2437         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2438         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2439         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2440         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2441         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2442         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2443         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2444         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2445         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2446         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2447         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2448         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2449         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2450         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2451         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2452         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2453         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2454         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2455         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2456         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2457         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2458         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2459         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2460         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2461         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2462         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2463         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2464         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2465         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2466         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2467         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2468         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2469         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2470         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2471         syscall.
2472         (geteuid): Likewise.
2473         (getgid): Likewise.
2474         (getuid): Likewise.
2475         (getresgid): Likewise.
2476         (getresuid): Likewise.
2477         (getgroups): Likewise.
2478         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2479         (geteuid): Likewise.
2480         (getgid): Likewise.
2481         (getuid): Likewise.
2482         (getresgid): Likewise.
2483         (getresuid): Likewise.
2484         (getgroups): Likewise.
2485         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2486         (geteuid): Likewise.
2487         (getgid): Likewise.
2488         (getuid): Likewise.
2489         (getresgid): Likewise.
2490         (getresuid): Likewise.
2491         (getgroups): Likewise.
2492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2493         Likewise.
2494         (geteuid): Likewise.
2495         (getgid): Likewise.
2496         (getuid): Likewise.
2497         (getresgid): Likewise.
2498         (getresuid): Likewise.
2499         (getgroups): Likewise.
2500         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2501         (geteuid): Likewise.
2502         (getgid): Likewise.
2503         (getuid): Likewise.
2504         (getresgid): Likewise.
2505         (getresuid): Likewise.
2506         (getgroups): Likewise.
2507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2508         Likewise.
2509         (geteuid): Likewise.
2510         (getgid): Likewise.
2511         (getuid): Likewise.
2512         (getgroups): Likewise.
2514         [BZ #14138]
2515         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2516         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2517         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2518         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2519         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2520         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2521         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2522         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2523         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2524         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2525         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2526         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2527         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2528         __chown.
2529         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2530         (lchown): Likewise.
2531         (fchown): Likewise.
2532         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2533         Likewise.
2534         (lchown): Likewise.
2535         (fchown): Likewise.
2536         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2537         (lchown): Likewise.
2538         (fchown): Likewise.
2539         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2540         Likewise.
2541         (lchown): Likewise.
2542         (fchown): Likewise.
2544 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2546         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2547         Simplify logic.
2549 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2551         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2552         Cleanup logic.
2554 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2556         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2557         Remove unused include.
2559 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2561         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2562         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2563         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2564         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2566 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2567             Helge Deller <deller@gmx.de>
2569         [BZ #17508]
2570         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2571         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2572         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2574 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2576         [BZ #14132]
2577         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2578         Remove macro definition.
2579         (__ashrdi3_v_glibc20): Likewise.
2580         (__lshrdi3_v_glibc20): Likewise.
2581         (__cmpdi2_v_glibc20): Likewise.
2582         (__ucmpdi2_v_glibc20): Likewise.
2583         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2584         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2585         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2586         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2587         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2588         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2590 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2592         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2593         old GNU extension [0] syntax.
2594         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2595         alloca rather than an array member with variable length.
2596         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2597         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2598         (parse_opt): ... here.  Likewise use alloca there.
2599         Validate the -i argument before checking for rootness.
2600         (send_shutdown): New function, broken out of ...
2601         (parse_opt): ... here.
2603 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2605         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2606         macro to get at the _rt_local_ro field.
2607         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2608         ([PIC] case) or _dl_hwcap ([!PIC] case).
2609         * sysdeps/arm/setjmp.S: Likewise.
2611         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2612         * sysdeps/arm/configure.ac: New check to define it.
2613         * sysdeps/arm/configure: Regenerated.
2614         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2615         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2616         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2617         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2618         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2619         Use move/movt pair instead of a load.
2620         (LDST_GLOBAL): Macro removed.
2621         (LDR_GLOBAL): New macro replaces it.
2622         (LDR_HIDDEN): New macro.
2623         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2624         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2626         * setjmp/tst-setjmp-static.c: New file.
2627         * setjmp/Makefile (tests): Add it.
2628         (tests-static): New variable.
2630 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2632         [BZ #17485]
2633         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2635 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2637         [BZ #14132]
2638         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2640 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2642         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2644 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2646         * io/fts.c (dirent_not_directory): New function.
2647         (fts_build): Call it.
2649 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2651         * nptl/version.c (__nptl_main): Use normal __write rather than
2652         INTERNAL_SYSCALL.
2653         (banner): Update copyright years.
2655         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2656         gettimeofday.
2657         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2658         * nptl/pthread_cond_timedwait.c: Likewise.
2659         * nptl/pthread_mutex_timedlock.c: Likewise.
2660         * nptl/sem_timedwait.c: Likewise.
2662         * sysdeps/nptl/bits/libc-lock.h
2663         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2664         (__libc_lock_init_recursive): Return void, not 0.
2665         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2666         (__libc_rwlock_init): Likewise.
2667         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2669 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2671         [BZ #15215]
2672         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2673         (__pthread_once_slow): ... here.
2674         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2675         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2677 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2679         [BZ #15215]
2680         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2681         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2682         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2683         * nptl/pthread_once.c (__pthread_once): Likewise.
2684         Update comments.
2686 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2688         [BZ #14138]
2689         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2690         name.
2691         (writev): Use __libc_writev as strong name.
2692         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2693         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2695 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2697         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2699         * sysdeps/i386/nptl/tls.h
2700         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2701         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2702         New macros.
2703         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2704         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2705         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2706         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2707         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2708         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2710         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2711         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2712         on [__NR_futex].
2713         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2714         broken out of ...
2715         (__pthread_mutex_init): ... here.  Call it.
2716         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2717         Conditionalize PI cases on [__NR_futex].
2718         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2719         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2720         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2722         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2723         conditional on [SIGSETXID].
2724         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2725         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2726         is defined.  Likewise for SIGSETXID.
2727         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2728         Conditionalize definitions on [SIGSETXID].
2729         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2730         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2731         unblocking on [SIGCANCEL].
2733         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2734         [__NR_set_robust_list].
2736 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2738         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2739         (do_compare): Likewise.
2741 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2743         [BZ #15884]
2744         * string/strcoll_l.c: Don't include stdio.h.
2745         (coll_seq): Remove members idxarr and rulearr.
2746         (get_next_seq_cached): Remove function.
2747         (get_next_seq): Likewise.
2748         (get_next_seq_nocache): Rename to get_next_seq.
2749         (do_compare): Remove function.
2750         (do_compare_nocache): Rename to do_compare.
2751         (STRCOLL): Remove weight and rules cache.
2753 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2755         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2756         * sysdeps/arm/sfp-machine.h: ... to here.
2757         * sysdeps/arm/Implies: Remove arm/soft-fp.
2759 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2761         * conform/data/sys/utsname.h-data (*_t): Allow.
2762         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2763         [POSIX] (WEXITED): Do not expect constant.
2764         [POSIX] (WSTOPPED): Likewise.
2765         [POSIX] (WNOHANG): Likewise.
2766         [POSIX] (WNOWAIT): Likewise.
2767         [POSIX] (siginfo_t): Do not expect type or elements.
2768         [POSIX] (pid_t): Do not expect type.
2769         [POSIX] (signal.h): Do not allow header.
2770         [POSIX] (sys/resource.h): Likewise.
2771         [POSIX] (si_*): Do not allow pattern.
2772         [POSIX] (W*): Likewise.
2773         [POSIX] (P_*): Likewise.
2774         [POSIX] (BUS_*): Likewise.
2775         [POSIX] (CLD_*): Likewise.
2776         [POSIX] (FPE_*): Likewise.
2777         [POSIX] (ILL_*): Likewise.
2778         [POSIX] (POLL_*): Likewise.
2779         [POSIX] (SEGV_*): Likewise.
2780         [POSIX] (SI_*): Likewise.
2781         [POSIX] (TRAP_*): Likewise.
2782         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2783         variable.
2785 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2787         [BZ #12926]
2788         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2789         infinite loop when __recvmsg returns 0.
2791 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2793         * CANCEL-FCT-WAIVE: Remove file.
2794         * CANCEL-FILE-WAIVE: Likewise.
2796         [BZ #14132]
2797         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2798         instead of INTVARDEF.
2799         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2800         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2801         rtld_hidden_data_def instead of INTVARDEF.
2802         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2803         * elf/dl-deps.c (expand_dst): Likewise.
2804         * elf/dl-load.c (_dl_dst_count): Likewise.
2805         (_dl_dst_substitute): Likewise.
2806         (decompose_rpath): Likewise.
2807         (_dl_init_paths): Likewise.
2808         (open_path): Likewise.
2809         (_dl_map_object): Likewise.
2810         * elf/rtld.c (dl_main): Likewise.
2811         (process_dl_audit): Likewise.
2812         (process_envvars): Likewise.
2813         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2814         Remove declaration.
2815         (__libc_enable_secure): Use rtld_hidden_proto.
2817 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2819         * elf/dl-load.c
2820         (add_path): New function broken out of _dl_rtld_di_serinfo.
2821         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2823 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2825         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2826         parentheses around macro arguments.
2827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2832         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2833         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2838         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2839         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2840         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2841         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2842         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2843         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2850         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2854         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2856         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2857         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2858         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2859         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2860         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2861         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2862         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2863         Likewise.
2864         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2865         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2866         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2868         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2869         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2870         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2871         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2872         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2873         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2874         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2875         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2876         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2879         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2880         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2883         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2884         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2885         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2886         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2887         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2888         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2889         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2890         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2891         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2892         (_FP_FRAC_SRS_1): Likewise.
2893         (_FP_FRAC_CLZ_1): Likewise.
2894         (_FP_MUL_MEAT_1_imm): Likewise.
2895         (_FP_MUL_MEAT_1_wide): Likewise.
2896         (_FP_MUL_MEAT_1_hard): Likewise.
2897         (_FP_SQRT_MEAT_1): Likewise.
2898         (_FP_FRAC_ASSEMBLE_1): Likewise.
2899         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2900         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2901         (__FP_CLZ_2): Likewise.
2902         (_FP_MUL_MEAT_2_wide): Likewise.
2903         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2904         (_FP_MUL_MEAT_2_gmp): Likewise.
2905         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2906         (_FP_SQRT_MEAT_2): Likewise.
2907         (_FP_FRAC_ASSEMBLE_2): Likewise.
2908         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2909         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2910         (_FP_FRAC_CLZ_4): Likewise.
2911         (_FP_MUL_MEAT_4_wide): Likewise.
2912         (_FP_MUL_MEAT_4_gmp): Likewise.
2913         (_FP_SQRT_MEAT_4): Likewise.
2914         (_FP_FRAC_ASSEMBLE_4): Likewise.
2915         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2916         * soft-fp/op-common.h (_FP_CMP): Likewise.
2917         (_FP_CMP_EQ): Likewise.
2918         (_FP_CMP_UNORD): Likewise.
2919         (_FP_TO_INT): Likewise.
2920         (_FP_FROM_INT): Likewise.
2921         [!__FP_CLZ] (__FP_CLZ): Likewise.
2922         (_FP_DIV_HELP_imm): Likewise.
2923         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2924         Likewise.
2925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2929         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2936         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2937         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2938         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2939         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2940         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2941         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2947         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2948         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2951         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2952         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2953         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2954         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2955         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2956         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2957         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2958         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2959         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2960         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2961         (FP_UNPACK_RAW_SP): Likewise.
2962         (FP_PACK_RAW_S): Likewise.
2963         (FP_PACK_RAW_SP): Likewise.
2964         (FP_UNPACK_S): Likewise.
2965         (FP_UNPACK_SP): Likewise.
2966         (FP_UNPACK_SEMIRAW_S): Likewise.
2967         (FP_UNPACK_SEMIRAW_SP): Likewise.
2968         (FP_PACK_S): Likewise.
2969         (FP_PACK_SP): Likewise.
2970         (FP_PACK_SEMIRAW_S): Likewise.
2971         (FP_PACK_SEMIRAW_SP): Likewise.
2972         (_FP_SQRT_MEAT_S): Likewise.
2973         (FP_CMP_S): Likewise.
2974         (FP_CMP_EQ_S): Likewise.
2975         (FP_CMP_UNORD_S): Likewise.
2976         (FP_TO_INT_S): Likewise.
2977         (FP_FROM_INT_S): Likewise.
2979         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2981         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2982         (FP_EX_INVALID_IMZ): Likewise.
2983         (FP_EX_INVALID_IMZ_FMA): Likewise.
2984         (FP_EX_INVALID_ISI): Likewise.
2985         (FP_EX_INVALID_ZDZ): Likewise.
2986         (FP_EX_INVALID_IDI): Likewise.
2987         (FP_EX_INVALID_SQRT): Likewise.
2988         (FP_EX_INVALID_CVI): Likewise.
2989         (FP_EX_INVALID_VC): Likewise.
2990         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2991         "invalid" exceptions.
2992         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2993         (_FP_ADD_INTERNAL): Likewise.
2994         (_FP_MUL): Likewise.
2995         (_FP_FMA): Likewise.
2996         (_FP_DIV): Likewise.
2997         (_FP_CMP_CHECK_NAN): Likewise.
2998         (_FP_SQRT): Likewise.
2999         (_FP_TO_INT): Likewise.
3000         (FP_EXTEND): Likewise.
3002 2014-10-09  Allan McRae  <allan@archlinux.org>
3004         * po/fr.po: Update French translation from translation project.
3006 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3008         [BZ #14132]
3009         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3010         of INTDEF.
3011         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3012         (__cxa_atexit): Use libc_hidden_proto.
3013         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3015         [BZ #14132]
3016         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3017         declaration.
3018         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3019         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3020         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3021         [!_ISOMAC] (__iswctype_internal): Likewise.
3022         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3023         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3024         alias.
3025         (fcntl): Remove __fcntl_internal alias.
3026         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3027         __connect_internal alias.
3028         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3029         Likewise.
3031         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3032         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3033         FP_DENORM_ZERO.
3034         (_FP_CHECK_FLUSH_ZERO): New macro.
3035         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3036         (_FP_CMP): Likewise.
3037         (_FP_CMP_EQ): Likewise.
3038         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3039         FP_DENORM_ZERO.
3040         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3041         (FP_TRUNC): Likewise.
3043         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3044         treated as invalid conversion, not as normal exponent.
3046         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3047         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3048         (_FP_CMP_EQ): Likewise.
3049         (_FP_CMP_UNORD): Likewise.
3050         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3051         (FP_CMP_EQ_D): Likewise.
3052         (FP_CMP_UNORD_D): Likewise.
3053         * soft-fp/extended.h (FP_CMP_E): Likewise.
3054         (FP_CMP_EQ_E): Likewise.
3055         (FP_CMP_UNORD_E): Likewise.
3056         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3057         (FP_CMP_EQ_Q): Likewise.
3058         (FP_CMP_UNORD_Q): Likewise.
3059         * soft-fp/single.h (FP_CMP_S): Likewise.
3060         (FP_CMP_EQ_S): Likewise.
3061         (FP_CMP_UNORD_S): Likewise.
3062         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3063         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3064         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3065         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3066         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3067         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3068         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3069         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3070         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3071         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3072         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3073         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3074         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3075         to FP_CMP_Q.
3076         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3077         FP_CMP_Q.
3078         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3079         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3080         FP_CMP_EQ_Q.
3081         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3082         FP_CMP_Q.
3083         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3084         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3085         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3086         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3087         FP_CMP_EQ_Q.
3088         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3089         FP_CMP_Q.
3090         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3091         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3092         FP_CMP_EQ_Q.
3093         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3094         FP_CMP_Q.
3095         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3096         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3097         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3098         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3099         FP_CMP_EQ_Q.
3101         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3102         a subnormal result, set the underflow exception if trapping on
3103         underflow is enabled.
3104         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3105         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3106         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3107         redefine to 0.
3108         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3109         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3110         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3111         * soft-fp/extendxftf2.c (__extendxftf2): Use
3112         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3114         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3115         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3116         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3117         FP_HANDLE_EXCEPTIONS.
3118         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3119         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3120         FP_HANDLE_EXCEPTIONS.
3121         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3122         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3123         FP_HANDLE_EXCEPTIONS.
3124         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3125         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3126         FP_HANDLE_EXCEPTIONS.
3128 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3130         [BZ #14132]
3131         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3132         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3133         use INTUSE.
3134         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3135         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3136         Remove alias.
3137         (__adjtimex): Define using libc_hidden_ver.
3138         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3139         Remove declaration.
3140         (ntp_gettime): Call __adjtimex directly.
3141         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3142         Remove declaration.
3143         (ntp_gettimex): Call __adjtimex directly.
3144         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3145         __adjtimex_internal alias.
3147 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3149         [BZ #17460]
3150         * nscd/nscd.c (more_help): Rewrite list of tables collection
3151         using xstrdup and asprintf.
3153         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3155 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3156             Roland McGrath  <roland@hack.frob.com>
3158         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3159         (do_lookup_unique): ... local function 'enter' here; update callers.
3161 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3163         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3164         compat_symbol calls on [SHARED].
3165         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3166         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3167         Remove.
3168         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3169         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3170         (oldsetrlimit): Remove.
3171         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3173         (lchown): New syscall entry.
3174         (oldsetrlimit): Remove.
3175         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3176         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3177         (oldsetrlimit): Remove.
3178         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3180         [BZ #14138]
3181         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3182         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3183         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3184         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3185         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3186         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3187         (fchown): Likewise.
3188         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3189         (fchown): Likewise.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3191         Likewise.
3193 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3195         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3196         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3197         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3198         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3199         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3200         Likewise.
3201         (__old_sem_post): Likewise.
3203 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3205         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3206         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3207         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3208         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3209         Use INLINE_VSYSCALL macro.
3210         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3211         __vdso_clock_gettime.
3212         * sysdeps/unix/sysv/linux/tile/init-first.c
3213         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3214         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3215         __vdso_clock_gettime.
3217         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3218         to set up frame more cleanly.
3220         * sysdeps/tile/memcmp.c: New file.
3222         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3224         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3225         * sysdeps/tile/tilegx/strcasestr.c: New file.
3226         * sysdeps/tile/tilegx/strnlen.c: New file.
3227         * sysdeps/tile/tilegx/strstr.c: New file.
3229         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3231 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3233         * nptl/tst-setuid3.c: Write errors to stdout.
3235 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3237         * elf/dl-deps.c
3238         (preload): New functions broken out of _dl_map_object_deps.
3239         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3241 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3243         [BZ #14138]
3244         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3245         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3247 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3249         * sysdeps/mips/strcmp.S: New.
3251 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3253         [BZ #14138]
3254         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3255         (linkat): Likewise.
3256         (mkdirat): Likewise.
3257         (readlinkat): Likewise.
3258         (renameat): Likewise.
3259         (symlinkat): Likewise.
3260         (unlinkat): Likewise.
3261         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3262         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3263         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3264         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3265         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3266         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3267         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3269 2014-09-30  Will Newton  <will.newton@linaro.org>
3271         * math/math.h: Define long double math functions if
3272         _LIBC_TEST is defined.
3273         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3275         * localedata/Makefile: Move assignment to tests-special
3276         into an ifdef testing run-built-tests.
3277         * timezone/Makefile: Likewise.
3279 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3281         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3282         with $(BASH) not $(SHELL).
3284 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3285             Matthew LeGendre  <legendre1@llnl.gov>
3287         [BZ #17411]
3288         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3289         l_reloc_result.
3291 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3293         * stdio-common/printf_fp.c
3294         (hack_digit): New function, broken out of ...
3295         (__printf_fp): ... local function here.  Update call sites.
3296         hack_digit now takes an additional parameter that is a pointer
3297         to a struct of the referenced locals.  Those locals moved inside
3298         the struct and references updated.
3300 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3302         * aclocal.m4: Require autoconf 2.69.
3303         * configure: Regenerated.
3304         * sysdeps/aarch64/configure: Likewise.
3305         * sysdeps/alpha/configure: Likewise.
3306         * sysdeps/arm/armv7/configure: Likewise.
3307         * sysdeps/arm/configure: Likewise.
3308         * sysdeps/ia64/configure: Likewise.
3309         * sysdeps/mach/configure: Likewise.
3310         * sysdeps/mips/configure: Likewise.
3311         * sysdeps/s390/configure: Likewise.
3312         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3315         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3316         file.
3317         * sysdeps/ia64/configure.ac: Likewise.
3319 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3322         specify symbol version for ld.so.  Do not include entry for
3323         libpthread.
3324         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3325         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3326         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3328         [BZ #14171]
3329         * Makeconfig [$(build-shared) = yes]
3330         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3331         makefiles.
3332         [$(build-shared) = yes && $(soversions.mk-done) = t]
3333         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3334         [$(build-shared) = yes && $(soversions.mk-done) = t]
3335         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3336         to Makerules.
3337         [$(build-shared) = yes && $(soversions.mk-done) = t]
3338         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3339         here.
3340         [$(build-shared) = yes && $(soversions.mk-done) = t]
3341         (common-generated): Don't append gnu/lib-names.h and
3342         gnu/lib-names.stmp here.
3343         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3344         (lib-names-h-abi): New variable.
3345         [$(build-shared) = yes && $(soversions.mk-done) = t]
3346         (lib-names-stmp-abi): Likewise.
3347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3348         abi-variants] (before-compile): Append
3349         $(common-objpfx)$(lib-names-h-abi).
3350         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3351         abi-variants] (common-generated): Append gnu/lib-names.h.
3352         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3353         abi-variants] (install-others-nosubdir): Depend on
3354         $(inst_includedir)/$(lib-names-h-abi).
3355         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3356         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3357         [$(build-shared) = yes && $(soversions.mk-done) = t]
3358         ($(common-objpfx)$(lib-names-h-abi)): New rule.
3359         [$(build-shared) = yes && $(soversions.mk-done) = t]
3360         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3361         [$(build-shared) = yes && $(soversions.mk-done) = t]
3362         (common-generated): Append $(lib-names-h-abi) and
3363         $(lib-names-stmp-abi).
3364         * scripts/lib-names.awk: Do not handle multi being set.
3365         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3366         Remove variable.
3367         (abi-lp64_be-ld-soname): Likewise.
3368         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3369         Likewise.
3370         (abi-hard-ld-soname): Likewise.
3371         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3372         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3373         Remove variable.
3374         (abi-o32_hard-ld-soname): Likewise.
3375         (abi-o32_soft_2008-ld-soname): Likewise.
3376         (abi-o32_hard_2008-ld-soname): Likewise.
3377         (abi-n32_soft-ld-soname): Likewise.
3378         (abi-n32_hard-ld-soname): Likewise.
3379         (abi-n32_soft_2008-ld-soname): Likewise.
3380         (abi-n32_hard_2008-ld-soname): Likewise.
3381         (abi-n64_soft-ld-soname): Likewise.
3382         (abi-n64_hard-ld-soname): Likewise.
3383         (abi-n64_soft_2008-ld-soname): Likewise.
3384         (abi-n64_hard_2008-ld-soname): Likewise.
3385         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3386         Likewise.
3387         (abi-64-v2-ld-soname): Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3389         ld.so entries.
3390         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3391         variable.
3392         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3393         entry.
3394         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3395         variable.
3396         (abi-64-ld-soname): Likewise.
3397         (abi-x32-ld-soname): Likewise.
3398         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3399         entry.
3400         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3402 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3404         [BZ #14138]
3405         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3406         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3407         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3408         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3409         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3410         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3411         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3412         syscall entry for GLIBC_2.2 symbol version.
3413         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3414         Likewise.
3415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3416         (setrlimit): Likewise.
3417         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3418         Likewise.
3420 2014-09-23  Will Newton  <will.newton@linaro.org>
3422         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3423         _LINUX_ARM_SYSDEP_H include guard too.
3424         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3425         define.
3427 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3429         * sysdeps/unix/sysv/linux/eventfd.c:
3430         Make first argument unsigned.
3431         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3432         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3434 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3436         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3437         * socket/sys/socket.h: Likewise
3438         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3440 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3442         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3444 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3446         * time/tst-ftime.c: New test.
3447         * time/Makefile (tests): Add tst-ftime.
3449 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3451         * soft-fp/extended.h: Fix comment formatting.
3452         * soft-fp/op-1.h: Likewise.
3453         * soft-fp/op-2.h: Likewise.
3454         * soft-fp/op-4.h: Likewise.
3455         * soft-fp/op-8.h: Likewise.
3456         * soft-fp/op-common.h: Likewise.
3457         * soft-fp/soft-fp.h: Likewise.
3459         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3461 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3463         [BZ #6652]
3464         * Makeconfig (soversions-default-setname): Remove variable.
3465         ($(common-objpfx)soversions.i): Don't pass default_setname to
3466         soversions.awk.
3467         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3468         oldest_abi to abi-versions.awk.
3469         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3470         * config.make.in (oldest-abi): Remove variable.
3471         * configure.ac (--enable-oldest-abi): Remove configure option.
3472         * configure: Regenerated.
3473         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3474         text.
3475         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3476         * scripts/soversions.awk: Do not handle default_setname variable.
3477         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3478         variable.
3479         * sysdeps/mach/hurd/configure: Regenerated.
3480         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3481         variable.
3482         * sysdeps/unix/sysv/linux/configure: Regenerated.
3484 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3486         * elf/Makefile (CFLAGS-interp.c): Remove.
3487         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3488         path string.
3489         * elf/interp.c: Include generated runtime-linker.h
3491         * Makerules (lib%.so): Don't include $(+interp) in
3492         prerequisites.
3493         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3494         * dlfcn/eval.c: Remove file.
3496         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3497         macros.
3499         [BZ #17266]
3500         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3501         4.2 and newer.
3503         [BZ #17370]
3504         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3506 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3507             Jakub Jelinek  <jakub@redhat.com>
3509         [BZ #17266]
3510         * libio/stdio.h: Check definition of __fortify_function
3511         instead of __extern_always_inline to include bits/stdio2.h.
3512         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3513         check if __extern_always_inline is defined.
3514         [__USE_MISC || __USE_XOPEN]: Likewise.
3515         [__USE_ISOC99] Likewise.
3516         * misc/sys/cdefs.h (__fortify_function): Define only if
3517         __extern_always_inline is defined.
3518         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3519         __extern_always_inline and __extern_inline only for g++-4.3
3520         and newer or a compatible gcc.
3522 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3524         [BZ #17371]
3525         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3526         last change to handle zero prefix length.
3528 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3530         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3531         _SC_REGEX_VERSION.
3533         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3534         _POSIX_RAW_SOCKETS.
3536 2014-09-13  Allan McRae  <allan@archlinux.org>
3538         * po/ru.po: Update Russian translation from translation project.
3540 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3542         * locale/programs/locale.c (show_locale_vars): Inline local function
3543         into its sole call site.  Clean up some style nits.
3544         (print_item): New function, broken out of ...
3545         (show_info): ... local function here.  Clean up style nits.
3547         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3548         out of ...
3549         (set_class_defaults): ... local function set_default here.
3550         Define set_default as a macro locally to pass constant parameters.
3551         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3552         rather than a shared local.
3554         * stdlib/rpmatch.c (try): New function, broken out of ...
3555         (rpmatch): ... local function here.  Also, prototypify definition.
3557 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3559         * scripts/soversions.awk: Do not handle configuration names.
3560         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3561         vendor and os variables to soversions.awk.
3562         * configure.ac: Do not modify gnu-* host_os.
3563         * configure: Regenerated
3564         * shlib-versions: Remove first column with configuration names.
3565         * nptl/shlib-versions: Likewise.
3566         * nptl_db/shlib-versions: Likewise.
3567         * sysdeps/hppa/shlib-versions: Likewise.
3568         * sysdeps/m68k/shlib-versions: Likewise.
3569         * sysdeps/mach/hurd/shlib-versions: Likewise.
3570         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3571         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3572         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3573         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3574         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3575         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3576         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3577         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3579         Likewise.
3580         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3581         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3582         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3583         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3584         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3585         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3586         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3587         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3590         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3592         Regenerated.
3593         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3595         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3597         * shlib-versions: Remove OS-specific entries.  Moved to files in
3598         sysdeps.
3599         * sysdeps/mach/hurd/shlib-versions: New file.
3600         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3602         * nptl/shlib-versions: Remove architecture-specific entries.
3603         Moved to files in sysdeps.
3604         * shlib-versions: Likewise.
3605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3606         file.
3607         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3608         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3609         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3610         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3612         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3613         (UDP_NO_CHECK6_RX): Likewise.
3615 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3617         * sysdeps/posix/sysconf.c (__sysconf): Spell
3618         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3620 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3622         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3623         loading.
3624         * iconv/Versions (__gconv_transliterate): Export for use from
3625         gconv modules.
3626         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3627         (struct __gconv_trans_data, __gconv_trans_fct,
3628         __gconv_trans_context_fct, __gconv_trans_query_fct,
3629         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3630         definitions.
3631         (struct __gconv_step_data): Remove __trans member.
3632         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3633         longer hidden.  Remove unused trans_data argument.
3634         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3635         (__gconv_translit_find): Remove declaration.
3636         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3637         prototype.
3638         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3639         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3640         trans_data argument.  Add hidden definition.
3641         (__gconv_translit_find): Remove.
3642         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3643         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3644         * iconv/skeleton.c: Remove transliteration initialization.
3645         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3646         __gconv_step_data initialization.
3647         * libio/iofwide.c (__libio_translit_): Remove.
3648         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3649         * wcsmbs/btowc.c (__btowc): Likewise.
3650         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3651         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3652         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3653         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3654         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3655         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3656         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3657         * wcsmbs/wctob.c (wctob): Likewise.
3659 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3661         [BZ #16194]
3662         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3663         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3664         register usage.
3665         * sysdeps/x86/Makefile: Adjust.
3667 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3668             Roland McGrath  <roland@hack.frob.com>
3670         * locale/weight.h: Add include guard.
3671         (findidx): Make static rather than auto; take new parameters
3672         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3673         * locale/weightwc.h: Likewise.
3674         * posix/fnmatch_loop.c
3675         (FCT): Change type of EXTRA from int32_t to wint_t.
3676         Don't include either header inside the function.
3677         Call FINDIDX rather than findidx, and pass new arguments.
3678         #undef FINDIDX at the end of the file.
3679         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3680         FINDIDX before including fnmatch_loop.c for the non-wide version.
3681         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3682         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3683         for the wide version.
3684         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3685         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3686         Pass new arguments to findidx.
3687         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3688         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3689         Don't #include it inside the function.  Pass new arguments to findidx.
3690         * posix/regex_internal.h
3691         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3692         (re_string_elem_size_at): Don't #include it inside the function.
3693         Pass new arguments to findidx.
3694         * string/strcoll_l.c: #include WEIGHT_H at top level.
3695         (get_next_seq): Don't #include it inside the function.
3696         Pass new arguments to findidx.
3697         (get_next_seq_nocache): Likewise.
3698         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3699         (STRXFRM): Don't #include it inside the function.
3700         Pass new arguments to findidx.
3702 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3704         [BZ #17344]
3705         * malloc/malloc.c (unlink): Turn asserts into a call to
3706         malloc_printerr.
3708 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3710         [BZ #17370]
3711         * libio/wfileops (do_ftell_wide): Free OUT.
3713 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3715         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3717 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3719         [BZ #17363]
3720         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3721         group if the current group is empty.
3723 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3725         * benchtests/bench-memset.c (test_main): Add more test from size
3726         from 32 to 512 bytes.
3727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3728         Add POWER8 memset object.
3729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3730         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3731         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3732         implementation.
3733         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3734         Likewise.
3735         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3736         multiarch POWER8 memset optimization.
3737         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3738         POWER8 memset optimization.
3740         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3741         Remove bzero multiarch objects.
3742         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3743         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3744         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3745         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3746         Remove define.
3747         [__bzero]: Redefine to specific name.
3748         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3749         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3750         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3751         define.
3752         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3753         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3755 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3757         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3758         warnings into errors.
3760         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3761         __cxa_thread_atexit_impl prototype.
3763 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3765         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3766         Fix capitalization of error message.
3768 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3770         * sysdeps/mips/preconfigure: Modify ABI tests.
3772 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3774         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3776 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3777             Carlos O'Donell  <carlos@systemhalted.org>
3779         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3780         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3781         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3782         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3783         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3784         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3785         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3786         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3787         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3788         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3790         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3792         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3793         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3794         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3795         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3796         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3797         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3798         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3799         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3800         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3801         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3802         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3803         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3804         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3805         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3806         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3807         Deconditionalize the code that was previously under [RESET_PID].
3808         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3809         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3810         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3811         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3812         include sysdep.h.
3814 2014-09-08  Allan McRae  <allan@archlinux.org>
3816         * version.h (RELEASE): Set to "development".
3817         (VERSION): Set to "2.20.90"
3819 2014-09-07  Allan McRae  <allan@archlinux.org
3821         * version.h (RELEASE): Set to "stable".
3822         (VERSION): Set to "2.20"
3823         * include/features.h (__GLIBC_MINOR__): Set to 20.
3825         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3826         Liebler.
3828         * po/ko.po: Update Korean translation from translation project.
3830 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3832         [BZ #17354]
3833         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3834         macro for handling signed relocations.
3836 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3838         [BZ #17325]
3839         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3840         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3841         assert.
3842         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3843         * iconvdata/ibm935.c (BODY): Likewise.
3844         * iconvdata/ibm937.c (BODY): Likewise.
3845         * iconvdata/ibm939.c (BODY): Likewise.
3846         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3847         assert.
3848         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3849         script.
3850         * iconvdata/run-iconv-test.sh: New test loop for checking for
3851         decoder crashers.
3853 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3855         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3856         libm_hidden_ver.
3858 2014-09-01  Allan McRae  <allan@archlinux.org>
3860         * po/eo.po: Update Esperanto translation from translation project.
3862         * po/ca.po: Update Catalan translation from translation project.
3864 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3866         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3867         __proc_dostop call.
3869 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3871         [BZ #17319]
3872         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3873         to call set_thread_area instead of hand written asm.
3874         (__NR_set_thread_area): Removed define.
3875         (TLS_FLAG_WRITABLE): Likewise.
3876         (__ASSUME_SET_THREAD_AREA): Remove check.
3877         (TLS_EBX_ARG): Remove define.
3878         (TLS_LOAD_EBX): Likewise.
3880 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3882         Simplify atomicity of socket creation in bind.
3884         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3885         looking up the name after linking the file.
3887 2014-08-27  Allan McRae  <allan@archlinux.org>
3889         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3891 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3893         [BZ #17187]
3894         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3895         trans_compare, open_translit, __gconv_translit_find):
3896         Remove module loading code.
3898 2014-08-26  Allan McRae  <allan@archlinux.org>
3900         * po/vi.po: Update Vietnamese translation from translation project.
3902         * po/uk.po: Update Ukrainian translation from translation project.
3904         * po/fr.po: Update French translation from translation project.
3906         * po/ru.po: Update Russian translation from translation project.
3908         * po/pl.po: Update Polish translation from translation project.
3910         * po/cs.po: Update Czech translation from translation project.
3912         * po/de.po: Update German translation from translation project.
3914         * po/bg.po: Update Bulgarian translation from translation project.
3916         * po/sv.po: Update Sweedish translation from translation project.
3918         * po/nl.po: Update Dutch translation from translation project.
3920         * po/es.po: Update Spanish translation from translation project.
3922 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3924         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3926         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3927         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3928         (CPPFLAGS-iconvconfig): Likewise.
3929         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3931         * include/libc-symbols.h: Remove unnecessary check for
3932         NOT_IN_libc.
3933         * nptl/pthreadP.h: Likewise.
3934         * sysdeps/aarch64/setjmp.S: Likewise.
3935         * sysdeps/alpha/setjmp.S: Likewise.
3936         * sysdeps/arm/sysdep.h: Likewise.
3937         * sysdeps/i386/setjmp.S: Likewise.
3938         * sysdeps/m68k/setjmp.c: Likewise.
3939         * sysdeps/posix/getcwd.c: Likewise.
3940         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3941         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3942         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3943         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3944         * sysdeps/sh/sh3/setjmp.S: Likewise.
3945         * sysdeps/sh/sh4/setjmp.S: Likewise.
3946         * sysdeps/unix/alpha/sysdep.h: Likewise.
3947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3948         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3949         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3950         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3955         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3956         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3958         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3959         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3960         * sysdeps/x86_64/setjmp.S: Likewise.
3962 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3964         [BZ #17263]
3965         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3966         <stdint.h>.
3967         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3968         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3970 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3972         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3974         [BZ #17262]
3975         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3976         and __x86_64__ when disabling x87 inline functions.
3978 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3980         [BZ #17259]
3981         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3982         asm statement with __cpuid_count.
3984 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3986         * configure.ac: Change __ehdr_start code to dereference the struct.
3987         Run readelf on the output to look for relocations.
3988         * configure: Regenerated.
3990 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3992         [BZ #17261]
3993         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3994         value to 0.
3995         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3997 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3999         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4001 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4003         [BZ #16892]
4004         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4005         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4007 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4009         * malloc/malloc.c: Fix typo in comment.
4011 2014-08-09  Allan McRae  <allan@archlinux.org>
4013         * Regenerate libc.po.
4015 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4017         * intl/tst-gettext2.sh: Check every lang file for creation.
4019 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4021         * sysdeps/aarch64/fpu/math_private.h
4022         (libc_feholdsetround_noex_aarch64_ctx): New function.
4024 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4026         * sysdeps/arm/armv6/strcpy.S (strcpy):
4027         Fix performance issue in misaligned cases.
4029 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4031         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4032         Move definition from termios.h.
4033         (struct termio): Likewise.
4034         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4035         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4036         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4037         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4038         Likewise.
4039         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4040         Move definition to ioctl-types.h
4041         (struct termio): Likewise.
4042         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4043         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4044         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4045         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4046         Likewise.
4048 2014-08-05  Richard Henderson  <rth@redhat.com>
4050         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4051         exceptions.
4052         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4053         Add fraiseexcpt.
4054         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4055         Use __feraiseexcept.
4056         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4057         Protect libm symbols with IS_IN_libm.
4059         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4061 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4063         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4065 2014-08-04  Will Newton  <will.newton@linaro.org>
4067         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4068         file.
4070 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4072         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4073         variants for each function.
4075 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4077         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4078         appended ...
4079         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4080         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4081         appended ...
4082         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4083         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4084         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4085         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4086         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4087         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4088         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4089         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4090         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4091         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4092         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4093         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4094         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4095         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4096         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4097         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4098         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4099         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4100         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4101         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4102         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4103         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4104         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4106         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4107         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4108         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4109         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4110         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4111         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4112         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4113         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4114         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4115         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4116         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4117         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4118         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4119         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4120         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4121         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4122         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4123         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4124         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4126         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4128         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4129         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4130         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4131         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4132         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4133         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4134         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4135         Update #include.
4136         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4137         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4139 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4141         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4142         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4144         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4145         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4146         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4148 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4150         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4151         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4152         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4153         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4155 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4157         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4158         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4159         (__libc_vfork): Define function under this name.
4160         (__vfork): Define as an alias.
4161         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4162         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4164 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4166         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4167         that was previously under [RESET_PID].
4168         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4170 2014-08-04  Andreas Schwab  <schwab@suse.de>
4172         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4174 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4176         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4177         (main): Likewise.
4179 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4181         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4183 2014-08-01  Richard Henderon  <rth@redhat.com>
4185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4186         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4187         typo in exact zero test.
4188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4189         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4192 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4194         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4195         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4196         * sysdeps/arm/sysdep.h: ... here.
4197         [!__ASSEMBLER__]: Include <stdint.h>.
4199 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4201         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4202         (HAVE_WCTYPE_H): Likewise.
4203         (HAVE_ISWCTYPE): Likewise.
4204         (ENABLE_NLS): Likewise.
4205         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4206         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4208         * posix/regex_internal.c: Check if DEBUG is defined and is
4209         set.
4211         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4212         (HAVE_MBSRTOWCS): Likewise.
4213         * posix/fnmatch.c: Include string.h unconditionally.
4215 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4217         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4218         reversal.
4220 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4222         * sysdeps/generic/safe-fatal.h: New file.
4223         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4224         * nptl/forward.c: Include it.
4225         (__pthread_unwind): Use __safe_fatal as default action, rather
4226         than a bogus use of INTERNAL_SYSCALL that could never work.
4228         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4229         * configure.ac (libc_cv_builtin_trap): New test.
4230         * configure: Regenerated.
4231         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4232         (ABORT_INSTRUCTION): Define using __builtin_trap.
4234         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4235         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4236         * sysdeps/nptl/nptl-signals.h: New file.
4237         * nptl/pthreadP.h: Include <nptl-signals.h>.
4239 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4241         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4242         (ONE_DIRECTION): Define.
4243         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4244         (ONE_DIRECTION): Define.
4245         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4246         (ONE_DIRECTION): Define.
4248 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4250         * sysdeps/s390/Makefile: Delete file.
4251         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4252         * sysdeps/s390/__longjmp.c: Delete file.
4253         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4254         Remove fields __flags and __reserved.
4255         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4256         and add versioning.
4257         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4258         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4259         * sysdeps/s390/rtld-setjmp.S: Likewise.
4260         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4261         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4262         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4263         * sysdeps/s390/s390-32/setjmp.S: ... here.
4264         Add versioning.
4265         (__sigsetjmp): Remove setting __flags field.
4266         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4267         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4268         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4269         * sysdeps/s390/s390-64/setjmp.S: ... here.
4270         Add versioning.
4271         (__sigsetjmp): Remove setting __flags field.
4272         * sysdeps/s390/setjmp.S: Delete file.
4273         * sysdeps/s390/sigjmp.c: Likewise.
4274         * sysdeps/s390/v1-longjmp.c: Likewise.
4275         * sysdeps/s390/v1-setjmp.h: Likewise.
4276         * sysdeps/s390/v1-sigjmp.c: Likewise.
4277         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4278         Remove v1-longjmp_chk.
4279         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4280         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4281         Include debug/longjmp_chk.c and add versioning.
4282         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4283         Include nptl/pt-longjmp.c and add versioning.
4284         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4285         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4286         Include __longjmp.c.
4287         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4288         Move to ...
4289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4290         (__getcontext): Remove setting __flags field.
4291         Add versioning.
4292         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4293         Don't restore upper high grps.
4294         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4295         Likewise.
4296         (__swapcontext): Remove setting uc_flags field.
4297         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4298         Delete file.
4299         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4300         Include __longjmp.c.
4301         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4302         Move to ...
4303         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4304         (__getcontext): Remove setting __flags field.
4305         Add versioning.
4306         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4307         (__swapcontext): Remove setting uc_flags field.
4308         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4309         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4310         Remove fields uc_high_gprs and __reserved.
4311         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4312         New file with reverted content.
4313         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4314         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4315         Regenerated.
4316         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4317         Regenerated.
4319 2014-07-31  Andreas Schwab  <schwab@suse.de>
4321         * config.h.in (HAVE_IFUNC): Define to 0.
4322         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4323         definedness.
4325 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4328         memmove-avx-unaligned, memcpy-avx-unaligned and
4329         mempcpy-avx-unaligned.
4330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4331         Add tests for AVX memcpy functions.
4332         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4333         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4334         memcpy_chk.
4335         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4336         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4337         memmove_chk.
4338         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4339         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4340         mempcpy_chk.
4341         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4342         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4343         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4345 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4347         [BZ #17213]
4348         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4349         powerpc64le.
4351 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
4353         [BZ #16839]
4354         * manual/llio.texi: Add section about open file description locks.
4355         * manual/examples/ofdlocks.c: Example of open file description
4356         lock usage.
4357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4358         F_OFD_SETLK, and F_OFD_SETLKW.
4360 2014-07-23  Allan McRae  <allan@archlinux.org>
4362         * po/es.po: Update Spanish translation from translation project.
4364 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
4366         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4368 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
4370         [BZ #17078]
4371         * sysdeps/arm/dl-machine.h (elf_machine_rela)
4372         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4373         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4375 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
4377         [BZ #17088]
4378         * math/fesetenv.c (__fesetenv)
4379         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4380         * math/feupdateenv.c (__feupdateenv)
4381         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4383         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4384         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4385         (__ASSUME_SOCKETCALL): Do not define.
4387         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4388         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4389         (__ASSUME_SOCKETCALL): Do not define.
4390         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4391         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4392         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4393         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4395         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4396         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4397         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4399         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4400         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4401         (__ASSUME_SOCKETCALL): Do not define.
4402         (__ASSUME_IPC64): Define unconditionally.
4403         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4404         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4405         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4406         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4407         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4408         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4409         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4410         Likewise.
4412         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4413         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4414         (__ASSUME_SOCKETCALL): Do not define.
4415         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4416         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4417         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4418         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4419         (__ASSUME_REQUEUE_PI): Define unconditionally.
4420         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4421         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4422         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4423         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4425         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4427         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4428         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4429         (__ASSUME_SOCKETCALL): Do not define.
4430         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4431         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4432         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4433         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4434         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4435         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4437         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4438         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4439         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4440         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4441         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4442         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4443         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4444         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4445         (__ASSUME_GETCPU_SYSCALL): Likewise.
4447         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4448         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4449         cases for individual architectures.
4450         * sysdeps/gnu/configure: Regenerated.
4451         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4452         LIBC_SLIBDIR_RTLDDIR.
4453         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4454         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4455         LIBC_SLIBDIR_RTLDDIR.
4456         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4458         LIBC_SLIBDIR_RTLDDIR.
4459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4460         Regenerated.
4461         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4462         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4463         file.
4464         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4465         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4466         file.
4467         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4468         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4469         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4470         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4472         * sysdeps/aarch64/shlib-versions: Move to ...
4473         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4474         * sysdeps/alpha/shlib-versions: Move to ...
4475         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4476         * sysdeps/arm/shlib-versions: Move to ...
4477         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4478         * sysdeps/hppa/shlib-versions: Move all contents except for
4479         libgcc_s entry to ...
4480         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4481         entry from ...
4482         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4483         * sysdeps/ia64/shlib-versions: Move to ...
4484         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4485         entry from ...
4486         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4487         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4488         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4489         * sysdeps/microblaze/shlib-versions: Move to ...
4490         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4491         * sysdeps/mips/shlib-versions: Move to ...
4492         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4493         entry from ...
4494         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4495         * sysdeps/tile/shlib-versions: Move to ...
4496         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4497         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4498         from ...
4499         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4500         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4501         entry from ...
4502         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4504 2014-07-17  Will Newton  <will.newton@linaro.org>
4506         * sysdeps/arm/bits/atomic.h
4507         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4508         (__arch_compare_and_exchange_bool_16_int): Likewise.
4509         (__arch_compare_and_exchange_bool_64_int): Likewise.
4511         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4512         into an #else block.
4514 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4516         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4517         just Linux configurations.  Test empirically that the compiler sets
4518         __ARM_EABI__, rather than using the tuple to decide.
4519         * sysdeps/arm/preconfigure: Regenerated.
4520         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4521         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4522         contents appended ...
4523         * sysdeps/arm/configure.ac: ... here.
4524         * sysdeps/arm/configure: Regenerated.
4526 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4528         * nptl/pthread_kill.c: New file.
4529         * nptl/pthread_sigmask.c: New file.
4530         * nptl/pthread_sigqueue.c: New file.
4532         * sysdeps/nptl/lowlevellock.h: New file.
4533         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4534         * sysdeps/nptl/lowlevellock-futex.h: New file.
4536         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4537         Remove dead declarations.
4539 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4541         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4542         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4543         config-cflags-avx2.
4544         * sysdeps/x86_64/configure.ac: Likewise.
4545         * sysdeps/i386/configure: Regenerated.
4546         * sysdeps/x86_64/configure: Likewise.
4547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4548         memset-avx2 only if config-cflags-avx2 is yes.
4549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4550         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4551         defined.
4552         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4553         only if HAVE_AVX2_SUPPORT is defined.
4554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4556 2014-07-14  Alan Modra  <amodra@gmail.com>
4558         [BZ #17153]
4559         * elf/elf.h (DT_PPC64_NUM): Correct value.
4560         * NEWS: Add to fixed bug list.
4562 2014-07-13  Jim Meyering  <meyering@fb.com>
4564         [BZ 17150]
4565         regex: don't deref NULL upon heap allocation failure
4566         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4567         failure in one more place.
4568         To trigger the segfault, configure grep -with-included-regex,
4569         build it, and run these commands:
4570         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4572 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4574         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4576 2014-07-11  Richard Henderson  <rth@redhat.com>
4578         * sysdeps/aarch64/libm-test-ulps: Update.
4580 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4582         [BZ #17135]
4583         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4584         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4585         (__nptl_setxid): Initialize error member.  Call
4586         __nptl_setxid_error.
4587         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4588         * nptl/descr.h (struct xid_command): Add error member.
4589         * nptl/tst-setuid3.c: New file.
4590         * nptl/Makefile (tests): Add it.
4592 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4595         New define.
4596         (__lll_trylock): Use __lll_base_trylock.
4597         (__lll_cond_trylock): Likewise.
4599 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4601         * nptl/pthread_create.c (start_thread): Use atomic_or and
4602         lll_futex_wake directly rather than lll_robust_dead.
4603         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4604         (lll_robust_dead): Macro removed.
4605         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4606         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4607         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4608         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4609         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4610         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4611         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4612         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4613         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4614         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4615         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4616         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4617         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4618         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4619         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4621         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4622         Use atomic_compare_and_exchange_val_acq directly rather than
4623         lll_robust_trylock.
4624         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4625         (__lll_robust_trylock, lll_robust_trylock): Removed.
4626         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4627         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4628         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4629         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4630         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4631         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4632         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4633         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4635         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4636         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4637         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4638         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4639         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4641 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4643         * manual/locale.texi (Locale Names): New section documenting
4644         locale name syntax.  Adjust menu and node chaining accordingly.
4645         (Choosing Locale): Reference Locale Names, Locale Categories.
4646         Mention setting LC_ALL=C.  Reflect that name syntax is now
4647         documented.
4648         (Locale Categories): New section title.  Reference Locale Names.
4649         LC_ALL is an environment variable, but not a category.
4650         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4651         description, now in Locale Name.  Reference that section.  Locale
4652         name syntax is now documented.
4654 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4656         [BZ #17137]
4657         * locale/findlocale.c (name_present, valid_locale_name): New
4658         functions.
4659         (_nl_find_locale): Use the loc_name variable to store name
4660         candidates.  Call name_present and valid_locale_name to check and
4661         validate locale names.  Return an error if the locale is invalid.
4663 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4665         * locale/setlocale.c (setlocale): Use strdup for allocating
4666         composite name copy.
4668 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4670         Sync up with gnulib.
4671         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4672         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4673         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4674         and _GL_ARG_NONNULL.
4675         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4676         [!_LIBC]: Include code for Windows and Cygwin.
4677         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4678         Include prototype for int strerror_r.
4679         [!_LIBC] (is_open): New function.
4680         (flush_stdout): New function.
4681         (print_errno_message): Use it.
4682         (error): Likewise.
4683         (error_at_line): Likewise.
4684         (error_tail) Add function attribute macros.  Use
4685         __builtin_expect.
4687         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4689         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4691         * io/ftw.c: Include sys/param.h unconditionally.
4693         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4695         [BZ #17125]
4696         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4697         libc_freeres_ptr.
4698         (freecache): New function to free CACHE on exit.
4700         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4701         initialization.
4703 2014-07-09  David S. Miller  <davem@davemloft.net>
4705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4707         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4708         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4709         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4710         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4711         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4712         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4713         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4714         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4715         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4716         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4717         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4718         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4719         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4721 2014-07-09  Andreas Schwab  <schwab@suse.de>
4723         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4724         output.
4725         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4726         (do_test): Likewise.
4728         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4730 2014-07-09  Will Newton  <will.newton@linaro.org>
4732         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4733         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4734         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4735         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4736         * sysdeps/hppa/start.S (_start): Likewise.
4738 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4740         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4742         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4743         defined.
4745 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4747         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4748         after checking that it is non-NULL.
4750         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4752 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4754         * sysdeps/powerpc/memmove.c: Remove file.
4755         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4756         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4757         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4758         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4760         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4761         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4762         string memmove instead of removed powerpc one.
4764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4765         [weak_alias]: Fix compiler warning due trailing data.
4766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4767         [weak_alias]: Likewise.
4768         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4769         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4772         (__libc_ifunc_impl_list): Add memmove functions.
4774 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4776         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4777         Remove code.
4778         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4779         Likewise
4780         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4781         Likewise
4782         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4783         Likewise
4784         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4785         Likewise
4786         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4787         Likewise
4788         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4789         Likewise
4790         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4791         Likewise
4792         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4793         Likewise
4794         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4795         Likewise
4796         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4797         Likewise
4798         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4799         Likewise
4800         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4801         Likewise
4802         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4803         Likewise
4804         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4805         Likewise
4806         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4807         Likewise
4808         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4809         Likewise
4811 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4813         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4814         to avoid alignment traps in non-cacheable memory.
4815         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4818         multiarch objects.
4819         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4820         file: multiarch power7 memmove.
4821         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4822         multiarch default memmove.
4823         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4824         multiarch memove for powerpc32/power4.
4826         * string/bcopy.c: Use full path to include memmove.c.
4827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4828         multiarch objects.
4829         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4830         bcopy for powerpc64.
4831         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4832         bcopy for powerpc64.
4833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4834         and memmove implementations.
4835         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4836         optimized multiarch memmove for POWER7/powerpc64.
4837         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4838         default multiarch memmove for powerpc64.
4839         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4840         multiarch for powerpc64.
4841         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4842         for POWER7/powerpc64.
4843         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4844         memmove for POWER7/powerpc64.
4846         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4847         glibc default one.
4849         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4850         __ELF_NATIVE_CLASS equal to 64.
4852 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4854         * sysdeps/nptl/lowlevellock.h: File removed.
4856         * NEWS: NPTL is no longer an add-on!
4857         * nptl/internaltypes.h: Moved ...
4858         * sysdeps/nptl/internaltypes.h: ... here.
4859         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4860         * sysdeps/nptl/fork.c: Likewise.
4861         * sysdeps/nptl/gai_misc.h: Likewise.
4862         * sysdeps/nptl/librt-cancellation.c: Likewise.
4863         * sysdeps/nptl/jmp-unwind.c: Likewise.
4864         * sysdeps/nptl/setxid.h: Likewise.
4865         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4866         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4867         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4868         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4869         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4870         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4871         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4872         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4873         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4874         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4875         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4876         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4877         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4878         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4879         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4880         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4881         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4882         * nptl/Makeconfig: Moved ...
4883         * sysdeps/nptl/Makeconfig: ... here.
4884         * nptl/configure: File removed.
4885         * nptl/ANNOUNCE: File removed.
4886         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4887         * sysdeps/unix/sysv/linux/configure: Regenerated.
4889         * nptl/Makefile (routines): Add libc_pthread_init,
4890         libc_multiple_threads, register-atfork and unregister-atfork.
4891         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4892         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4893         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4894         pthread-pi-defines.sym, structsem.sym.
4895         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4896         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4897         [$(subdir) = nptl] (tests): Add tst-setgetname.
4898         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4899         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4900         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4901         [!LIBC_SIGACTION]: Remove aliases.
4902         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4903         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4904         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4905         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4906         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4907         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4910         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4911         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4912         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4913         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4914         __libc_allocate_rtsig_private.
4915         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4916         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4917         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4918         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4919         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4920         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4921         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4922         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4923         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4924         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4925         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4926         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4927         * nptl/internaltypes.h: ... here.
4928         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4929         * sysdeps/nptl/jmp-unwind.c: ... here.
4930         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4931         * nptl/libc-lowlevellock.c: ... here.
4932         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4933         * nptl/libc_multiple_threads.c: ... here.
4934         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4935         * nptl/libc_pthread_init.c: ... here.
4936         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4937         * nptl/lowlevelbarrier.sym: ... here.
4938         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4939         * nptl/lowlevelcond.sym: ... here.
4940         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4941         * nptl/lowlevellock.c: ... here.
4942         * nptl/lowlevellock.h: Moved ...
4943         * sysdeps/nptl/lowlevellock.h: ... here.
4944         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4945         * nptl/lowlevelrobustlock.c: ... here.
4946         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4947         * nptl/lowlevelrobustlock.sym: ... here.
4948         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4949         * nptl/lowlevelrwlock.sym: ... here.
4950         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4951         * nptl/pt-fork.c: ... here.
4952         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4953         * nptl/pthread-pi-defines.sym: ... here.
4954         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4955         * nptl/pthread_attr_getaffinity.c: ... here.
4956         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4957         * nptl/pthread_attr_setaffinity.c: ... here.
4958         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4959         * nptl/pthread_mutex_cond_lock.c: ... here.
4960         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4961         Update #include.
4962         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4963         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4964         * nptl/pthread_once.c: ... here, replacing old file.
4965         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4966         * nptl/pthread_yield.c: ... here.
4967         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4968         * nptl/register-atfork.c: ... here.
4969         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4970         * nptl/sem_post.c: ... here.
4971         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4972         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4973         * nptl/sem_timedwait.c: ... here.
4974         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4975         * nptl/sem_trywait.c: ... here.
4976         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4977         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4978         * nptl/sem_wait.c: ... here.
4979         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4980         * nptl/structsem.sym: ... here.
4981         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4982         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4983         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4984         * nptl/unregister-atfork.c: ... here.
4985         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4986         * nptl/unwindbuf.sym: ... here.
4987         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4988         * sysdeps/nptl/fork.c: ... here.
4989         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4990         * sysdeps/nptl/fork.h: ... here.
4991         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4992         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4993         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4994         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4995         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4996         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4997         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4998         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4999         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5000         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5001         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5002         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5003         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5004         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5005         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5006         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5007         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5008         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5009         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5010         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5011         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5012         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5013         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5014         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5015         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5016         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5017         * sysdeps/unix/sysv/linux/raise.c: ... here.
5018         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5019         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5020         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5021         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5022         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5023         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5024         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5025         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5026         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5027         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5028         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5029         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5030         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5031         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5032         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5034 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5036         * sysdeps/generic/memcopy.h: Add comment for
5037         MEMCPY_OK_FOR_FWD_MEMMOVE.
5039 2014-07-04  Will Newton  <will.newton@linaro.org>
5041         * string/memchr.c: Merge from gnulib.
5042         [_LIBC]: Remove conditionals.
5043         (__ptr_t): Remove define.
5044         (LONG_MAX_32_BITS): Likewise.
5045         (LONG_MAX): Likewise.
5046         (MEMCHR): Use ANSI prototype and optimize algorithm.
5048         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5050 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5052         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5053         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5055         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5056         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5057         in a bare environment with no <stdlib.h> installed.
5058         * sysdeps/nptl/configure: Regenerated.
5060         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5062         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5063         AC_EGREP_CPP for kernel header checks, so they only succeed if
5064         including <linux/version.h> actually works right.
5065         * sysdeps/unix/sysv/linux/configure: Regenerated.
5067         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5068         value so it's not diagnosed as unused.
5070         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5071         thing) with "ifeq ($(subdir),rt)".
5073 2014-07-03  Richard Henderson  <rth@redhat.com>
5075         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5076         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5077         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5079         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5080         (math_force_eval): New.
5082         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5083         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5085         * sysdeps/alpha/fpu/s_round.c: Remove file.
5086         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5088         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5089         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5090         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5091         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5092         (_dl_start, print_statistics): Likewise.
5093         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5094         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5096         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5097         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5098         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5099         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5100         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5101         (HP_SMALL_TIMING_AVAIL): Define.
5102         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5103         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5104         (HP_SMALL_TIMING_AVAIL): Define.
5105         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5106         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5108         * sysdeps/aarch64/hp-timing.h: New file.
5110         * sysdeps/generic/hp-timing.h: Remove dead comment.
5111         * sysdeps/generic/hp-timing-common.h: New file.
5112         * sysdeps/alpha/hp-timing.h: Include it.
5113         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5114         * sysdeps/i386/i686/hp-timing.h: Likewise.
5115         * sysdeps/ia64/hp-timing.h: Likewise.
5116         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5117         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5118         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5119         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5120         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5121         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5122         (hp_timing_t): New.
5124         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5125         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5126         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5127         * elf/rtld.c (_dl_start_final): Likewise.
5128         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5129         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5130         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5131         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5132         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5133         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5134         (HP_TIMING_DIFF_INIT): Remove.
5135         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5136         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5137         (HP_TIMING_DIFF_INIT): Remove.
5138         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5139         * sysdeps/i386/i686/hp-timing.c: Remove file.
5140         * sysdeps/x86_64/hp-timing.c: Remove file.
5141         * sysdeps/ia64/hp-timing.c: Remove file.
5142         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5143         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5145         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5147         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5148         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5149         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5150         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5151         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5152         (HP_TIMING_ACCUM): Remove.
5153         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5154         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5155         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5157         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5158         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5159         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5160         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5162         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5163         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5164         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5166         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5168 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5170         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5172 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5174         Sync up with gettext.
5175         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5176         [_MSC_VER]: Include malloc.h
5177         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5178         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5179         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5180         TEMP_FAILURE_RETRY.  Cast return of alloca.
5181         [!_LIBC] Call gl_rwlock_init.
5182         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5184 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5186         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5187         before checking its value.
5189 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5191         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5193         * debug/memcpy_chk.c: Don't include pagecopy.h.
5194         * debug/mempcpy_chk.c: Likewise.
5195         * string/memcpy.c: Likewise.
5196         * string/memmove.c: Likewise.
5197         * sysdeps/powerpc/memmove.c: Likewise.
5198         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5199         definition of PAGE_COPY_FWD_MAYBE here...
5200         * sysdeps/generic/pagecopy.h: ... from here.
5201         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5203 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5204             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5206         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5208         optimizations.
5209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5210         (__libc_ifunc_impl_list): Likewise.
5211         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5212         multiarch strcat for PPC64.
5213         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5214         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5216 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5218         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5220 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5222         * intl/loadmsgcat.c: Remove declaration of
5223         get_sysdep_segment_value.
5224         (get_sysdep_segment_value): Use ISO C style.
5225         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5226         semicolon.  Fix typo and formatting in comment.
5227         (_nl_unload_domain): Use ISO C style.
5229         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5231 2014-07-02  Will Newton  <will.newton@linaro.org>
5233         * malloc/obstack.c: Merge from gnulib master.
5234         [HAVE_CONFIG_H]: Remove conditional code.
5235         [!_LIBC]: Include config.h.
5236         [!ELIDE_CODE]: Don't include inttypes.h, include
5237         stdint.h unconditionally.
5238         (print_and_abort): Mark as _Noreturn.
5239         (_obstack_allocated_p): Mark as __attribute_pure__.
5240         (obstack_free): Rename to __obstack_free.
5241         [!__attribute__]: Remove conditional code.
5242         * malloc/obstack.h: Merge from gnulib master.
5243         [__cplusplus]: Move conditional down.
5244         [!__attribute_pure__]: Define __attribute_pure__ here
5245         if it is not already defined.
5246         (_obstack_memory_used): Mark as __attribute_pure__.
5247         [!__obstack_free]: Define as obstack_free.
5248         [__GNUC__]: Remove check for ancient NeXT gcc.
5250 2014-07-02  Will Newton  <will.newton@linaro.org>
5251             Paul Eggert  <eggert@cs.ucla.edu>
5253         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5255 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5257         * resolv/gethnamaddr.c: Add comment warning that the file is
5258         not maintained.
5260 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5262         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5263         entries.
5265         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5266         entry for aio_cancel and aio_cancel64.
5267         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5268         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5269         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5270         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5271         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5272         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5273         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5274         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5275         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5276         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5277         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5278         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5279         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5281 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5283         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5284         * nptl/pthread_mutex_lock.c: Likewise.
5285         * nptl/pthread_mutex_timedlock.c: Likewise.
5286         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5288 2014-07-01  Richard henderson  <rth@redhat.com>
5290         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5291         (__isnan, __isnanl): Remove.
5292         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5294         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5296 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5298         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5300 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5302         * resolv/nss_dns/dns-host.c (getanswer_r)
5303         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5305 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5308         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5309         undefine.
5310         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5311         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5313 2014-07-01  Roland McGrath <roland@hack.frob.com>
5315         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5316         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5318         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5319         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5321         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5322         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5323         ... here.
5324         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5325         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5327         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5328         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5329         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5330         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5332         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5333         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5334         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5335         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5336         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5337         Moved ...
5338         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5339         ... here.
5340         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5341         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5342         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5343         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5344         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5345         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5346         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5347         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5348         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5349         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5350         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5351         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5352         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5353         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5354         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5355         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5356         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5357         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5358         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5359         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5360         ... here.
5361         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5362         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5363         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5364         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5365         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5366         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5367         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5368         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5370 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
5372         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5373         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5374         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5375         Add sysdep.
5377 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5381 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5383         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5384         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5386         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5388         * sysdeps/arm/libm-test-ulps: Regenerated.
5390 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5391             Roland McGrath <roland@hack.frob.com>
5393         * test-skeleton.c (signal_handler): Kill the whole process group
5394         before killing the child individually.
5395         (main): Report any failure on `setpgid'.
5397 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5399         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5400         from _TLS_H to _ARM_NPTL_TLS_H.
5401         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5402         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5404 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5406         [BZ #16539]
5407         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5408         (__expm1l): Return argument unchanged when small but not
5409         subnormal.
5411         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5412         include macro name.
5413         (_FP_UNPACK_RAW_1_P): Likewise.
5414         (_FP_PACK_RAW_1): Likewise.
5415         (_FP_PACK_RAW_1_P): Likewise.
5416         (_FP_MUL_MEAT_1_wide): Likewise.
5417         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5418         (_FP_MUL_MEAT_1_hard): Likewise.
5419         (_FP_DIV_MEAT_1_imm): Likewise.
5420         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5421         (_FP_DIV_MEAT_1_udiv): Likewise.
5422         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5423         (_FP_UNPACK_RAW_2): Likewise.
5424         (_FP_UNPACK_RAW_2_P): Likewise.
5425         (_FP_PACK_RAW_2): Likewise.
5426         (_FP_PACK_RAW_2_P): Likewise.
5427         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5428         (_FP_MUL_MEAT_2_wide): Likewise.
5429         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5430         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5431         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5432         (_FP_MUL_MEAT_2_gmp): Likewise.
5433         (_FP_DIV_MEAT_2_udiv): Likewise.
5434         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5435         (_FP_FRAC_SRL_4): Likewise.
5436         (_FP_FRAC_SRST_4): Likewise.
5437         (_FP_FRAC_SRS_4): Likewise.
5438         (_FP_UNPACK_RAW_4): Likewise.
5439         (_FP_UNPACK_RAW_4_P): Likewise.
5440         (_FP_PACK_RAW_4): Likewise.
5441         (_FP_PACK_RAW_4_P): Likewise.
5442         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5443         (_FP_MUL_MEAT_4_wide): Likewise.
5444         (_FP_MUL_MEAT_4_gmp): Likewise.
5445         (umul_ppppmnnn): Likewise.
5446         (_FP_DIV_MEAT_4_udiv): Likewise.
5447         (__FP_FRAC_ADD_4): Likewise.
5448         (__FP_FRAC_SUB_3): Likewise.
5449         (__FP_FRAC_SUB_4): Likewise.
5450         (__FP_FRAC_DEC_3): Likewise.
5451         (__FP_FRAC_DEC_4): Likewise.
5452         (__FP_FRAC_ADDI_4): Likewise.
5453         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5454         (_FP_FRAC_SRL_8): Likewise.
5455         (_FP_FRAC_SRS_8): Likewise.
5457         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5458         include macro name.
5459         (FP_UNPACK_RAW_EP): Likewise.
5460         (FP_PACK_RAW_E): Likewise.
5461         (FP_PACK_RAW_EP): Likewise.
5462         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5463         (_FP_ISSIGNAN): Likewise.
5464         (_FP_ADD_INTERNAL): Likewise.
5465         (_FP_FMA): Likewise.
5466         (_FP_CMP): Likewise.
5467         (_FP_SQRT): Likewise.
5468         (_FP_TO_INT): Likewise.
5469         (_FP_FROM_INT): Likewise.
5470         (FP_EXTEND): Likewise.
5471         (_FP_DIV_MEAT_N_loop): Likewise.
5473 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5475         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5476         throughout.
5478 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5480         [BZ #17097]
5481         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5482         result with correct sign in case of exponents that produce
5483         overflow except for X very close to 1.
5485 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5487         mktime: merge #if/#ifdef usage from glibc
5488         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5489         as that works with both Glibc's and Gnulib's style.
5490         See thread starting at Siddhesh Poyarekar's bug report at:
5491         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5493 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5495         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5496         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5497         * sysdeps/tile/tilegx/memmove.c: Remove file.
5499 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5501         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5502         abi-name definition.
5503         * scripts/soversions.awk: Do not handle or generate ABI lines.
5504         * shlib-versions: Remove ABI entries.
5505         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5506         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5508 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5511         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5512         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5513         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5515         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5517         Moved ...
5518         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5519         ... here.
5520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5521         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5525         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5527         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5529         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5538         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5540         Moved ...
5541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5543         Moved ...
5544         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5546         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5548         Moved ...
5549         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5551         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5553         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5555         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5557         Moved ...
5558         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5560         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5561         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5562         Moved ...
5563         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5565         Moved ...
5566         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5567         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5568         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5569         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5570         Moved ...
5571         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5572         ... here.
5573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5574         Identical file removed.
5575         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5576         Moved ...
5577         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5579         Identical file removed.
5580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5581         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5583         Moved ...
5584         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5585         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5586         Identical file removed.
5587         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5588         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5590         Identical file removed.
5591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5592         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5594         Identical file removed.
5595         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5596         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5598         Identical file removed.
5599         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5600         Moved ...
5601         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5603         Identical file removed.
5604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5605         Moved ...
5606         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5608         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5609         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5610         Identical file removed.
5611         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5612         Moved ...
5613         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5614         ... here.
5615         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5616         Identical file removed.
5617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5618         Moved ...
5619         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5621         Identical file removed.
5622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5623         Moved ...
5624         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5625         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5626         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5628         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5630         Moved ...
5631         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5632         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5633         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5635         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5636         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5637         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5638         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5639         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5641 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5643         [BZ #17092]
5644         * nscd/nscd.c (monitor_child): Return exit status of child
5645         instead of return value from wait syscall.
5647 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5649         * configure.ac (libc_commonpagesize): Remove variable.
5650         (libc_relro_required): Likewise.
5651         (libc_cv_z_relro): Remove configure test.
5652         * configure: Regenerated.
5653         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5654         variable.
5655         (libc_relro_required): Likewise.
5656         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5657         (libc_relro_required): Likewise.
5658         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5659         (libc_relro_required): Likewise.
5660         * sysdeps/arm/preconfigure: Regenerated.
5661         * sysdeps/ia64/preconfigure: Remove file.
5662         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5663         variable.
5664         (libc_relro_required): Likewise.
5666         [BZ #16561]
5667         [BZ #16562]
5668         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5669         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5670         recompute overflowing results in original rounding mode.
5671         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5672         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5673         recompute overflowing results in original rounding mode.
5674         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5675         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5676         recompute overflowing results in original rounding mode.
5677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5678         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5679         recompute overflowing results in original rounding mode.
5680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5681         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5682         recompute overflowing results in original rounding mode.
5683         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5684         (libc_feholdsetround_ctx): New macro.
5685         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5686         * sysdeps/i386/fpu/libm-test-ulps: Update.
5687         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5689 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5691         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5692         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5693         corresponding .cpsetup call.
5695 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5697         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5698         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5699         * sysdeps/arm/Makefile [$(subdir) = csu]
5700         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5701         (static-only-routines): Add aeabi_read_tp here.
5702         (shared-only-routines): Add libc-aeabi_read_tp here.
5703         (CFLAGS-libc-start.c): Add -fexceptions here.
5704         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5705         (sysdep_routines, static-only-routines, shared-only-routines):
5706         Don't add to these here.
5707         (CFLAGS-libc-start.c): Likewise.
5709         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5710         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5711         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5712         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5713         * sysdeps/arm/Makefile [$(subdir) = rt]
5714         (librt-sysdep_routines, librt-shared-only-routines):
5715         Append rt-aeabi_unwind_cpp_pr1 here.
5716         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5717         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5718         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5719         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5720         Append nptl-aeabi_unwind_cpp_pr1 here.
5721         (tests): Filter out tst-cleanupx4 here.
5722         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5723         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5724         Don't do those here.
5726 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5728         * scripts/list-sources.sh: Do not handle ports specially.
5730 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5732         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5733         * sysdeps/arm/feupdateenv.c: Likewise.
5735         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5737 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5739         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5740         trailing whitespace removed.
5741         * scripts/config.guess: Update to version 2014-03-23.
5742         * scripts/config.sub: Update to version 2014-05-01
5743         * scripts/install-sh: Update to version 2013-12-25.23.
5744         * scripts/move-if-change: Update from gnulib.
5746 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5748         * debug/memmove_chk.c: Remove pagecopy.h include.
5750 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5752         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5753         identical to gnulib mktime.
5755 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5757         * configure.ac: Do not test for machine being rs6000.  Do not test
5758         for powerpc*-*soft.
5759         * configure: Regenerated.
5761         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5762         test.
5763         * configure: Regenerated.
5764         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5765         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5766         Remove configure test.
5767         * sysdeps/arm/configure: Regenerated.
5768         * sysdeps/nptl/configure.ac: Do not check
5769         libc_cv_asm_cfi_directives.
5770         * sysdeps/nptl/configure: Regenerated.
5771         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5772         * sysdeps/x86_64/nptl/configure: Remove generated file.
5773         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5774         unconditional.
5775         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5777 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5779         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5780         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5781         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5782         it is defined.
5784         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5785         instead of whether it is defined.
5786         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5787         * sysdeps/hppa/dl-machine.h: Likewise.
5788         * sysdeps/ia64/dl-machine.h: Likewise.
5789         * sysdeps/m68k/dl-machine.h: Likewise.
5790         * sysdeps/microblaze/dl-machine.h: Likewise.
5791         * sysdeps/mips/dl-machine.: Likewise.
5792         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5793         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5794         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5795         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5796         * sysdeps/sh/dl-machine.h: Likewise.
5797         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5798         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5799         * sysdeps/tile/dl-machine.h: Likewise.
5800         * sysdeps/x86_64/dl-machine.h: Likewise.
5802         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5803         code.
5804         (verify_persistent_db): Likewise.
5806 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5809         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5811         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5813         Moved ...
5814         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5815         ... here.
5816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5817         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5819         Identical file removed.
5820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5821         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5823         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5825         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5827         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5829         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5831         Moved ...
5832         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5834         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5836         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5838         Moved ...
5839         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5841         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5843         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5845         Identical file removed.
5846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5847         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5849         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5851         Moved ...
5852         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5853         ... here.
5854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5855         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5857         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5859         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5861         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5863         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5865         Moved ...
5866         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5868         Moved ...
5869         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5871         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5873         Moved ...
5874         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5876         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5878         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5879         folded into ...
5880         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5881         * sysdeps/unix/sysv/linux/s390/Versions
5882         (libpthread: GLIBC_2.19): New version set.
5883         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5884         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5885         (librt: GLIBC_2.3.3): New version set.
5886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5887         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5888         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5889         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5890         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5891         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5892         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5893         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5894         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5896         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5898         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5900         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5901         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5902         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5903         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5904         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5906         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5910         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5912         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5914         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5916         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5920         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5922         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5924         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5926         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5928         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5930         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5932         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5933         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5934         (__libc_vfork): Define the function under this name.
5935         [!NOT_IN_libc] (__vfork): Make this an alias.
5936         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5938         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5939         (__libc_vfork): Define the function under this name.
5940         [!NOT_IN_libc] (__vfork): Make this an alias.
5941         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5942         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5943         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5945         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5946         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5948         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5949         code that was previously under [RESET_PID].
5950         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5951         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5954         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5955         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5956         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5957         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5958         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5959         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5960         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5961         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5962         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5963         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5964         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5965         Moved ...
5966         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5967         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5968         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5969         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5970         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5971         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5972         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5973         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5974         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5975         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5976         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5977         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5978         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5979         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5980         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5981         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5982         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5983         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5984         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5985         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5986         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5987         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5988         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5989         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5990         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5991         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5992         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5993         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5994         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5996 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5998         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5999         that was previously under [RESET_PID].
6000         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6002 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6004         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6005         not undefine and redefine.
6006         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6007         [O_CLOEXEC]: Make code unconditional.
6008         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6009         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6010         <kernel-features.h>.
6011         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6012         conditional variable definition.
6013         (shm_open) [O_CLOEXEC]: Make code unconditional.
6014         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6015         code.
6017         * configure.ac (USE_REGPARMS): Don't define here.
6018         * configure: Regenerated.
6019         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6020         * sysdeps/i386/configure: Regenerated.
6022         * nptl/createthread.c: Don't include kernel-features.h.
6023         * nptl/pthread_cancel.c: Likewise.
6024         * nptl/pthread_condattr_setclock.c: Likewise.
6025         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6026         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6027         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6028         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6029         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6030         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6031         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6032         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6033         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6034         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6035         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6036         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6037         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6038         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6039         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6040         * nscd/gai.c: Likewise.
6041         * nss/nss_db/db-open.c: Likewise.
6042         * sysdeps/generic/ldsodefs.h: Likewise.
6043         * sysdeps/sh/nptl/tls.h: Likewise.
6044         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6045         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6046         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6047         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6048         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6049         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6050         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6051         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6053         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6054         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6055         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6056         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6057         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6058         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6059         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6060         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6061         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6062         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6063         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6066         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6067         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6072         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6073         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6074         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6075         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6076         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6077         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6078         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6079         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6080         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6081         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6082         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6083         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6084         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6085         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6086         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6087         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6088         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6089         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6090         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6091         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6092         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6093         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6094         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6095         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6096         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6097         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6098         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6099         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6100         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6101         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6124         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6125         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6126         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6127         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6128         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6130         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6131         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6132         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6133         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6134         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6135         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6136         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6137         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6138         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6139         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6140         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6141         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6142         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6143         * sysdeps/unix/sysv/linux/system.c: Likewise.
6144         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6145         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6146         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6147         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6148         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6149         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6150         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6152         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6153         * configure: Regenerated.
6154         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6156         * configure.ac (base_machine): Do not set specially for particular
6157         machines here.
6158         * configure: Regenerated.
6159         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6160         settings from configure.ac.
6161         * sysdeps/i386/preconfigure: New file.
6162         * sysdeps/s390/preconfigure: Likewise.
6163         * sysdeps/sh/preconfigure: Likewise.
6164         * sysdeps/sparc/preconfigure: Likewise.
6166 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6168         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6169         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6170         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6171         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6172         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6173         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6174         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6175         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6176         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6177         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6178         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6179         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6180         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6182         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6183         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6185         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6186         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6188         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6189         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6190         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6191         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6192         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6193         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6194         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6195         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6196         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6197         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6198         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6199         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6200         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6201         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6202         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6203         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6204         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6205         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6206         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6207         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6209         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6212         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6213         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6215         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6217         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6219         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6221         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6223         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6224         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6225         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6228         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6230         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6232         Moved ...
6233         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6234         ... here.
6235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6236         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6238         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6240         Moved ...
6241         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6243         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6245         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6247         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6252         Moved ...
6253         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6255         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6257         Moved ...
6258         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6260         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6262         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6264         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6266         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6268         Moved ...
6269         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6270         ... here.
6271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6272         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6274         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6276         Moved ...
6277         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6279         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6281         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6283         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6285         Moved ...
6286         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6288         Moved ...
6289         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6291         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6293         Moved ...
6294         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6296         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6298         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6300 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6302         * timezone/checktab.awk: Update from tzcode 2014e.
6303         * timezone/private.h: Likewise.
6304         * timezone/tzfile.h: Likewise.
6305         * timezone/zdump.c: Likewise.
6306         * timezone/zic.c: Likewise.
6308         * sysdeps/unix/sysv/linux/kernel-features.h
6309         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6310         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6311         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6312         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6313         Remove conditional code.
6315 2014-06-25  Will Newton  <will.newton@linaro.org>
6317         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6318         (_dl_arm_cap_flags): Add HWCAP2 values.
6319         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6320         (_DL_HWCAP_COUNT): Increase to 37.
6321         (_DL_HWCAP_LAST): New define.
6322         (_DL_HWCAP2_LAST): New define.
6323         (_dl_procinfo): Add support for printing
6324         AT_HWCAP2 entries.
6325         (_dl_string_hwcap): Use _dl_hwcap_string.
6327 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6331 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6333         * README: Do not mention ports directory.
6335         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6336         Remove macro.
6337         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6338         <kernel-features.h>.
6339         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6340         conditional variable definition.
6341         (__futimes): Update comment.
6342         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6343         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6345         [BZ #16560]
6346         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6347         arguments close to 0.
6348         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6349         Likewise.
6350         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6351         Likewise.
6352         * math/auto-libm-test-in: Add more tests of exp10.
6353         * math/auto-libm-test-out: Regenerated.
6354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6356         * sysdeps/unix/sysv/linux/kernel-features.h
6357         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6358         * sysdeps/unix/sysv/linux/readv.c: Do not include
6359         <kernel-features.h>.
6360         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6361         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6362         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6363         unconditional.
6364         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6365         conditional code.
6366         * sysdeps/unix/sysv/linux/writev.c: Do not include
6367         <kernel-features.h>.
6368         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6369         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6370         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6371         unconditional.
6372         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6373         conditional code.
6375 2014-06-25  Will Newton  <will.newton@linaro.org>
6377         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6378         comment changes throughout the file.  Remove checks
6379         for HAVE_*_H definitions that are not required.
6380         (__gen_tempname): Call abort if an unknown kind value is
6381         passed.
6383 2014-06-25  Andreas Schwab  <schwab@suse.de>
6385         [BZ #17086]
6386         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6387         scalbln, scalblnf, scalblnl in libc.
6389 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6391         [BZ #17086]
6392         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6393         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6394         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6396 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6398         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6399         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6400         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6401         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6402         Update #include.
6403         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6404         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6405         Update #include.
6406         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6407         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6408         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6409         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6410         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6411         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6412         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6413         * sysdeps/x86/bits/semaphore.h: ... here.
6414         * sysdeps/x86/nptl/elide.h: Moved ...
6415         * sysdeps/x86/elide.h: ... here.
6416         * sysdeps/x86_64/nptl/Implies: File removed.
6417         * sysdeps/i386/nptl/Implies: File removed.
6419 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6421         [BZ #16539]
6422         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6423         return the argument for normal arguments with exponent below -64.
6424         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6425         Likewise.
6426         * math/auto-libm-test-in: Add another test of expm1.
6427         * math/auto-libm-test-out: Regenerated.
6429         [BZ #16287]
6430         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6431         calling __erfcl for arguments at least 16.
6432         * math/auto-libm-test-in: Add more tests of erf.
6433         * math/auto-libm-test-out: Regenerated.
6435         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6436         individual architectures.
6437         * sysdeps/unix/sysv/linux/configure: Regenerated.
6438         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6439         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6440         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6441         (ldd_rewrite_script): Define variable.
6442         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6444         file.
6445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6446         generated file.
6447         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6448         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6449         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6450         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6451         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6452         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6453         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6454         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6456 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6458         [BZ #17084]
6459         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6460         Rename member __data.d to __data.__elision_data.
6462 2014-06-24  Wilco  <wdijkstr@arm.com>
6464         * NEWS: Add 16918 to fixed bug list.
6466 2014-06-24  Wilco  <wdijkstr@arm.com>
6468         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6470 2014-06-24  Wilco  <wdijkstr@arm.com>
6472         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6473         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6474         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6475         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6476         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6477         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6478         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6479         Use _FPU_MASK_RM.
6481 2014-06-24  Wilco  <wdijkstr@arm.com>
6483         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6485 2014-06-24  Wilco  <wdijkstr@arm.com>
6487         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6488         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6489         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6490         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6492 2014-06-24  Wilco  <wdijkstr@arm.com>
6494         [BZ #16918]
6495         * sysdeps/arm/feupdateenv.c (feupdateenv):
6496         Rewrite to reduce FPSCR accesses and fix return value.
6498 2014-06-24  Wilco  <wdijkstr@arm.com>
6500         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6501         Optimize to avoid unnecessary FPSCR writes.
6502         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6503         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6504         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6505         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6507 2014-06-24  Wilco  <wdijkstr@arm.com>
6509         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6510         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6511         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6512         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6513         Call libc_fetestexcept_vfp.
6514         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6515         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6516         __SOFTFP__ ifdef so that they can be built for softfp.
6518 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6520         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6521         argument type signed char.
6523         * Makerules (check-abi): Dump diff of symlist if the test
6524         fails.
6526 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6528         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6529         using abort.
6531         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6532         Remove unused variable ST.
6534 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6536         [BZ #16354]
6537         [BZ #17061]
6538         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6539         small arguments before calling __expm1.
6540         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6541         small arguments before calling __expm1f.
6542         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6543         small arguments before calling __expm1l.
6544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6545         Likewise.
6546         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6547         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6548         spurious underflow for some cosh tests.
6549         * math/auto-libm-test-out: Regenerated.
6550         * sysdeps/i386/fpu/libm-test-ulps: Update.
6552         [BZ #17050]
6553         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6554         (__ieee754_y1): Set errno if return value overflows.
6555         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6556         (__ieee754_y1f): Set errno if return value overflows.
6557         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6558         (__ieee754_y1l): Set errno if return value overflows.
6559         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6560         (__ieee754_y1l): Set errno if return value overflows.
6561         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6562         * math/auto-libm-test-out: Regenerated.
6564         * math/gen-auto-libm-tests.c: Document use of
6565         ignore-zero-inf-sign.
6566         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6567         (input_flags): Add ignore-zero-inf-sign.
6568         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6569         * math/gen-libm-test.pl (generate_testfile): Handle
6570         ignore-zero-inf-sign.
6571         * math/auto-libm-test-in: Mark some cpow tests with
6572         ignore-zero-inf-sign and some with xfail-rounding.
6573         * math/auto-libm-test-out: Regenerated.
6574         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6575         * sysdeps/i386/fpu/libm-test-ulps: Update.
6576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578         [BZ #16315]
6579         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6580         overflowing or underflowing operations take place with sign of
6581         result.
6582         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6583         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6584         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6585         (__ieee754_pow): Recompute overflowing and underflowing results in
6586         original rounding mode.
6587         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6588         (__powl_helper): Allow negative argument X and scale negated value
6589         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6590         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6591         overflowing or underflowing operations take place with sign of
6592         result.
6593         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6594         Include <math.h>.
6595         * math/auto-libm-test-in: Add more tests of pow.
6596         * math/auto-libm-test-out: Regenerated.
6597         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6598         (pow_tonearest_test_data): Remove.
6599         (pow_test_tonearest): Likewise.
6600         (pow_towardzero_test_data): Likewise.
6601         (pow_test_towardzero): Likewise.
6602         (pow_downward_test_data): Likewise.
6603         (pow_test_downward): Likewise.
6604         (pow_upward_test_data): Likewise.
6605         (pow_test_upward): Likewise.
6606         (main): Don't call removed functions.
6607         * sysdeps/i386/fpu/libm-test-ulps: Update.
6608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6610 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6613         Moved ...
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6616         Moved ...
6617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6619         Moved ...
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6622         Moved ...
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6625         File removed.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6627         File removed.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6629         File removed.
6630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6631         File removed.
6632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6633         File removed.
6634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6635         File removed.
6636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6637         File removed.
6638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6639         File removed.
6640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6641         File removed.
6642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6643         File removed.
6644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6645         File removed.
6646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6647         File removed.
6648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6649         Moved ...
6650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6652         Moved ...
6653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6654         ... here.
6655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6656         Moved ...
6657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6659         Moved ...
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6662         Moved ...
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6665         Moved ...
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6668         Moved ...
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6671         Moved ...
6672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6674         Moved ...
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6678         ... here.
6679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6680         Moved ...
6681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6683         Moved ...
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6685         ... here.
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6687         Moved ...
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6689         ... here.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6691         Moved ...
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6693         ... here.
6694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6695         Moved ...
6696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6698         Moved ...
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6703         Moved ...
6704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6705         ... here.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6707         Moved ...
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6709         ... here.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6711         Moved ...
6712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6714         Moved ...
6715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6717         Moved ...
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6720         Moved ...
6721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6723         Moved ...
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6725         ... here.
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6727         Moved ...
6728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6730         Moved ...
6731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6733         Moved ...
6734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6736         Moved ...
6737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6741         Moved ...
6742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6744         Moved ...
6745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6747         Moved ...
6748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6749         ... here.
6750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6751         Moved ...
6752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6753         ... here.
6754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6755         Moved ...
6756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6757         ... here.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6759         Moved ...
6760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6762         Moved ...
6763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6765         Moved ...
6766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6768         Moved ...
6769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6770         ... here.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6772         Moved ...
6773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6774         ... here.
6775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6776         Moved ...
6777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6778         ... here.
6779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6780         Moved ...
6781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6783         Moved ...
6784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6786 2014-06-23  Will Newton  <will.newton@linaro.org>
6787             Wilco  <wdijkstr@arm.com>
6789         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6790         implementation.  Include get-rounding-mode.h.
6791         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6792         [!libc_feholdsetround_noex_ctx]: Define
6793         libc_feholdsetround_noex_ctx.
6794         [!libc_feholdsetround_noexf_ctx]: Define
6795         libc_feholdsetround_noexf_ctx.
6796         [!libc_feholdsetround_noexl_ctx]: Define
6797         libc_feholdsetround_noexl_ctx.
6798         (libc_feholdsetround_ctx): New function.
6799         (libc_feresetround_ctx): New function.
6800         (libc_feholdsetround_noex_ctx): New function.
6801         (libc_feresetround_noex_ctx): New function.
6803 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6805         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6806         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6807         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6808         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6809         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6810         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6812         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6813         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6814         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6815         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6816         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6817         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6819         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6821         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6823         Moved ...
6824         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6825         ... here.
6826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6827         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6829         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6831         Moved ...
6832         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6834         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6836         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6838         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6839         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6840         Moved ...
6841         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6843         Moved ...
6844         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6846         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6848         Moved ...
6849         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6851         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6852         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6853         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6854         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6855         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6856         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6857         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6858         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6859         Moved ...
6860         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6861         ... here.
6862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6863         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6865         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6867         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6869         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6871         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6873         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6875         Moved ...
6876         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6878         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6880         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6881         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6882         Moved ...
6883         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6885         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6886         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6887         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6889         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6890         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6891         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6892         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6893         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6894         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6895         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6896         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6897         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6898         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6899         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6900         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6901         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6902         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6903         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6904         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6905         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6906         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6907         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6908         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6909         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6910         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6911         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6912         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6913         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6914         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6915         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6916         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6918 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6920         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6921         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6922         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6923         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6924         (IPV6_PMTUDISC_INTERFACE): Likewise.
6925         (IPV6_PMTUDISC_OMIT): Likewise.
6927 2014-06-23  Andreas Schwab  <schwab@suse.de>
6929         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6930         Remove unused errout label.
6932 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6934         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6935         macro: hardware supports Vector Crypto instructions.
6937 2014-06-23  Will Newton  <will.newton@linaro.org>
6939         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6940         rather than __builtin_expect.
6942         * elf/dl-lookup.c (undefined_msg): Remove variable.
6943         (_dl_lookup_symbol_x): Replace undefined_msg with string
6944         literal.
6946         * elf/dl-lookup.c (do_lookup_unique): New function.
6947         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6948         to a separate function.
6950 2014-06-23  Andreas Schwab  <schwab@suse.de>
6952         [BZ #17079]
6953         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6954         before reading the next line.
6956 2014-06-23  Will Newton  <will.newton@linaro.org>
6958         * test-skeleton.c (signal_handler): Use printf and %m
6959         rather than perror.  Use printf rather than fprintf to
6960         stderr.  Use puts rather than fputs to stderr.
6961         (main): Likewise.
6963 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6965         * nscd/nscd.c (thread_info_t): Remove typedef.
6966         (thread_info): Remove variable.
6968 2014-06-21  Allan McRae  <allan@archlinux.org>
6970         * NEWS: Mention CVE-2014-4043.
6972 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6974         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6975         * nptl/smp.h: ... here.
6977         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6979         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6980         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6981         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6982         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6984         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6985         * nptl/stack-aliasing.h: New file.
6986         * sysdeps/i386/i686/stack-aliasing.h: New file.
6987         * sysdeps/i386/i686/nptl/Makefile: File removed.
6988         * sysdeps/x86_64/stack-aliasing.h: New file.
6989         * sysdeps/x86_64/nptl/Makefile
6990         (CFLAGS-pthread_create.c): Variable removed.
6992         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6993         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6994         old file.
6995         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6996         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6997         old file.
6999 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7002         (__ASSUME_SIGFRAME_V2): Remove macro.
7003         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7004         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7005         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7006         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7007         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7008         Declare as function.  Remove conditional macro definitions.
7009         (__default_rt_sa_restorer): Likewise.
7010         (__default_sa_restorer_v1): Remove declaration.
7011         (__default_sa_restorer_v2): Likewise.
7012         (__default_rt_sa_restorer_v1): Likewise.
7013         (__default_rt_sa_restorer_v2): Likewise.
7014         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7015         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7016         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7018 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7020         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7021         (libpthread-routines): Add sysdep.
7022         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7023         * sysdeps/unix/sysv/linux/sparc/Versions
7024         (libpthread: GLIBC_2.3.3): New version set.
7025         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7026         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7027         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7028         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7029         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7030         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7031         Moved ...
7032         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7033         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7034         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7035         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7036         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7037         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7038         * sysdeps/sparc/nptl/sem_init.c: ... here.
7039         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7040         * sysdeps/sparc/nptl/sem_post.c: ... here.
7041         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7042         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7043         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7044         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7045         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7046         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7047         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7048         (libpthread-routines): Add cpu_relax.
7049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7050         File removed.
7051         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7052         (librt: GLIBC_2.3.3): New version set.
7053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7054         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7055         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7056         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7059         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7061         Moved ...
7062         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7064         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7066         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7068         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7070         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7072         Moved ...
7073         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7074         Update #include.
7075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7076         Moved ...
7077         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7078         Update #include.
7079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7080         Moved ...
7081         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7082         Update #include.
7083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7084         Moved ...
7085         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7086         Update #include.
7087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7088         Moved ...
7089         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7090         Update #include.
7091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7092         Moved ...
7093         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7094         Update #include.
7095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7096         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7100         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7104         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7106         Moved ...
7107         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7109         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7111         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7113 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7115         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7116         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7117         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7118         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7119         * nscd/nscd.c: Likewise.
7120         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7121         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7122         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7123         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7125         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7126         <kernel-features.h>.
7127         (init_mq_netlink): Remove conditional have_sock_cloexec
7128         definitions.  Remove code conditional on have_sock_cloexec < 0.
7129         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7130         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7131         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7132         <kernel-features.h>.
7133         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7134         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7136 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7139         Add tests for memset_chk and memset.
7141         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7142         with AVX2_Usable.
7144 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7146         [BZ #16046]
7147         * elf/tst-dl-iter-static.c: New file.
7148         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7150         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7151         error.
7153 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7155         * sysdeps/unix/sysv/linux/kernel-features.h
7156         (__ASSUME_F_GETOWN_EX): Remove macro.
7157         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7158         <kernel-features.h>.
7159         (miss_F_GETOWN_EX): Remove variable or macro.
7160         (do_fcntl): Do not check miss_F_GETOWN_EX.
7161         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7164         Remove macro.
7165         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7166         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7167         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7169         * sysdeps/unix/sysv/linux/kernel-features.h
7170         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7171         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7172         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7173         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7175 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7177         [BZ #17075]
7178         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7179         Fix calculation of the symbol's value.
7180         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7181         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7182         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7183         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7184         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7185         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7186         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7187         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7188         (modules-names): Add `tst-armtlsdescmod',
7189         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7190         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7191         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7192         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7193         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7194         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7195         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7196         ($(objpfx)tst-armtlsdescloc): New dependency.
7197         ($(objpfx)tst-armtlsdescextnow): Likewise.
7198         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7199         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7200         TLS scheme support.
7201         * sysdeps/arm/configure: Regenerate.
7203 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7205         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7206         (__atfct_seterrno_2): Likewise.
7207         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7208         <kernel-features.h>.
7209         (__ASSUME_ATFCTS): Do not undefine and redefine.
7210         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7211         (__have_atfcts): Remove conditional definition.
7212         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7213         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7214         unreachable if [__ASSUME_ATFCTS].
7215         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7216         not undefine and redefine.
7217         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7218         <kernel-features.h>.
7219         (faccessat) [__NR_faccessat]: Make code unconditional.
7220         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7221         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7222         <kernel-features.h>.
7223         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7224         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7225         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7226         <kernel-features.h>.
7227         (fchownat) [__NR_fchownat]: Make code unconditional.
7228         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7229         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7230         <kernel-features.h>.
7231         (futimesat) [__NR_futimesat]: Make code unconditional.
7232         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7233         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7234         <kernel-features.h>.
7235         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7236         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7237         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7238         <kernel-features.h>.
7239         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7240         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7241         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7242         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7243         <kernel-features.h>.
7244         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7245         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7246         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7247         <kernel-features.h>.
7248         (linkat) [__NR_linkat]: Make code unconditional.
7249         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7250         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7251         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7252         <kernel-features.h>.
7253         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7254         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7255         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7256         <kernel-features.h>.
7257         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7258         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7259         * sysdeps/unix/sysv/linux/openat.c: Do not include
7260         <kernel-features.h>.
7261         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7262         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7263         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7264         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7265         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7266         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7267         <kernel-features.h>.
7268         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7269         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7270         result of INLINE_SYSCALL directly, not via int variable.
7271         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7272         <kernel-features.h>.
7273         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7274         (renameat) [__NR_renameat]: Make code unconditional.
7275         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7276         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7277         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7278         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7279         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7280         (__ASSUME_ATFCTS): Do not undefine and redefine.
7281         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7282         <kernel-features.h>.
7283         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7284         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7285         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7286         <kernel-features.h>.
7287         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7288         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7289         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7290         (__ASSUME_ATFCTS): Do not undefine and redefine.
7291         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7292         <kernel-features.h>.
7293         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7294         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7295         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7296         <kernel-features.h>.
7297         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7298         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7300 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7302         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7304 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7306         [BZ #17069]
7307         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7308         constructed tree before returning error.
7309         * posix/bug-regexp36.c: Expand test case.
7311 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7313         [BZ #6803]
7314         * math/libm-test.inc (scalbln_test_date):
7315         Add errno expectations.
7316         * math/w_scalblnf.c: New File.
7317         Add wrapper which checks for setting errno to ERANGE.
7318         Add weak_alias for corresponding scalbln function.
7319         * math/w_scalbln.c: Likewise.
7320         * math/w_scalblnl.c: Likewise.
7321         * math/Makefile (libm-calls): Add w_scalbln.
7322         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7323         Remove weak_alias for corresponding scalbln function.
7324         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7325         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7326         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7327         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7328         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7329         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7330         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7331         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7332         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7333         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7334         Remove long_double_symbol for scalblnl function in libm, libc.
7335         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7336         Add wrapper which checks for setting errno to ERANGE.
7337         Add long_double_symbol for scalblnl function in libm, libc.
7338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7339         Remove long_double_symbol for scalblnl in libm.
7340         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7341         Add wrapper which checks for setting errno to ERANGE.
7342         Add long_double_symbol for scalblnl function in libm.
7343         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7344         Do not use wrapper because of own implementation.
7346 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7348         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7349         3 bytes for __pad1 for x32.
7350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7352 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
7353             H.J. Lu  <hongjiu.lu@intel.com>
7355         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7356         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7357         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7358         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7359         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7361 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
7363         [BZ #17069]
7364         * posix/regcomp.c (parse_expression): Deallocate partially
7365         constructed tree before returning error.
7366         * posix/Makefile.c (tests): Add bug-regex36.
7367         (generated): Add bug-regex36.mtrace.
7368         (tests-special): Add $(objpfx)bug-regex36-mem.out
7369         (bug-regex36-ENV): New variable.
7370         ($(objpfx)bug-regex36-mem.out): New rule.
7371         * posix/bug-regex36.c: New file.
7373 2014-06-19  Will Newton  <will.newton@linaro.org>
7375         * malloc/malloc.c (systrim): If extra is zero then return
7376         early.
7378 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7380         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7382 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
7384         * sysdeps/aarch64/strchr.S: New file.
7386 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7388         [BZ #17022]
7389         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7390         from arguments -2 or below.
7391         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7392         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7394 2014-06-18  Andreas Schwab  <schwab@suse.de>
7396         [BZ #17062]
7397         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7398         of a bracket expr not to run off the end of the string.
7399         * posix/Makefile (tests): Add tst-fnmatch3.
7400         * posix/tst-fnmatch3.c: New file.
7402 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7404         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7405         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7406         [$(cross-compiling) = no]: Likewise.
7407         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7408         [$(cross-compiling) = no]: Likewise.
7410 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7412         [BZ #17031]
7413         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7414         double, adjusted for any remainder from the high double.
7415         * math/libm-test.inc (nearbyint): Add tests.
7416         (rint): Likewise.
7418 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7420         * nptl/sysdeps/powerpc/Makefile: Moved ...
7421         * sysdeps/powerpc/nptl/Makefile: ... here.
7422         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7423         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7424         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7425         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7426         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7427         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7428         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7429         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7430         * nptl/sysdeps/powerpc/tls.h: Moved ...
7431         * sysdeps/powerpc/nptl/tls.h: ... here.
7433 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7435         [BZ #16681]
7436         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7437         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7438         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7439         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7440         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7441         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7442         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7443         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7444         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7446 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7448         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7450 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7452         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7453         defined operator.
7455         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7456         $TIMEOUTFACTOR.
7458 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7460         [BZ #17058]
7461         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7462         non-executed part of the test.
7464 2014-06-16  Andreas Schwab  <schwab@suse.de>
7466         * string/bits/string2.h (strdup, strndup): Update feature guard.
7468 2014-06-14  David S. Miller  <davem@davemloft.net>
7470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7472 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7474         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7475         that was previously under [RESET_PID].
7476         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7478         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7479         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7480         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7481         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7482         (__libc_vfork): New strong alias.
7483         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7485 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7487         * sysdeps/generic/elide.h: New file.
7489 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7491         * Makefile (installed-headers): Adjust path of pthread.h header.
7493 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7495         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7496         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7497         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7498         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7500         * nptl/sysdeps/s390/Makefile: Moved ...
7501         * sysdeps/s390/nptl/Makefile: ... here.
7502         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7503         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7504         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7505         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7506         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7507         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7508         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7509         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7510         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7511         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7512         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7513         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7514         * nptl/sysdeps/s390/tls.h: Moved ...
7515         * sysdeps/s390/nptl/tls.h: ... here.
7517         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7518         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7520 2014-06-13  David S. Miller  <davem@davemloft.net>
7522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7525         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7529         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7530         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7531         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7532         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7533         Remove RESET_PID cpp guards.
7534         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7535         Remove RESET_PID cpp guards.
7536         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7538 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7540         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7541         __sp to uintptr_t.
7543 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7549         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7559         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7564         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7566         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7567         (pthread_rwlock_rdlock): Add elision.
7568         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7569         (pthread_rwlock_wrlock): Add elision.
7570         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7571         (pthread_rwlock_trywrlock): Add elision.
7572         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7573         (pthread_rwlock_tryrdlock): Add elision.
7574         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7575         (pthread_rwlock_tryrdlock): Add elision unlock.
7576         * nptl/sysdeps/pthread/pthread.h:
7577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7578         (PTHREAD_RWLOCK_INITIALIZER,
7579         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7580         Handle new elision field.
7581         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7582         * sysdeps/arm/nptl/bits/pthreadtypes.h
7583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7584         * sysdeps/sh/nptl/bits/pthreadtypes.h
7585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7586         * sysdeps/tile/nptl/bits/pthreadtypes.h
7587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7588         * sysdeps/a/nptl/bits/pthreadtypes.h
7589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7590         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7592         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7594         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7596         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7598         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7600         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7602         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7604         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7606         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7607         (elision_init): Set try_xbegin to zero when no RTM.
7608         * sysdeps/x86/nptl/bits/pthreadtypes.h
7609         (pthread_rwlock_t): Change __pad1 to __rwelision.
7610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7612 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7614         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7615         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7616         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7617         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7619 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7621         [BZ #16996]
7622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7623         that the cached result has been set before returning it.
7625 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7627         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7628         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7629         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7630         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7631         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7632         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7634         * nptl/sysdeps/sparc/Makefile: Moved ...
7635         * sysdeps/sparc/nptl/Makefile: ... here.
7636         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7637         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7638         * nptl/sysdeps/sparc/tls.h: Moved ...
7639         * sysdeps/sparc/nptl/tls.h: ... here.
7640         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7641         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7642         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7643         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7644         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7645         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7646         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7647         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7648         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7649         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7650         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7651         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7652         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7653         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7654         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7655         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7656         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7658         Update #include.
7659         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7661         Update #include.
7662         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7664         Update #include.
7665         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7667         Update #include.
7669         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7671         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7672         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7674         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7675         (struct list_links): Type removed.
7676         (struct thread_node, struct timer_node): Replace struct list_links
7677         with struct list_head.
7678         (list_unlink_ip): Likewise.
7679         * sysdeps/pthread/timer_routines.c
7680         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7681         (list_append, list_insbefore): Likewise.
7682         (list_init): Function removed.
7683         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7684         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7685         * sysdeps/pthread/Makefile: ... here, new file.
7687         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7688         * sysdeps/nptl/Implies: ... here.
7689         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7690         * nptl/sysdeps/pthread/list.h: Moved ...
7691         * include/list.h: ... here.
7692         * nptl/sysdeps/pthread/createthread.c: Moved ...
7693         * nptl/createthread.c: ... here.
7694         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7695         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7696         * nptl/pt-longjmp.c: ... here.
7697         * nptl/sysdeps/pthread/Makefile: Moved ...
7698         * sysdeps/nptl/Makefile: ... here.
7699         * nptl/sysdeps/pthread/Subdirs: Moved ...
7700         * sysdeps/nptl/Subdirs: ... here.
7701         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7702         * sysdeps/nptl/aio_misc.h: ... here.
7703         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7704         * sysdeps/nptl/bits/libc-lock.h: ... here.
7705         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7706         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7707         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7708         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7709         * nptl/sysdeps/pthread/configure: Moved ...
7710         * sysdeps/nptl/configure: ... here.
7711         * nptl/sysdeps/pthread/configure.ac: Moved ...
7712         * sysdeps/nptl/configure.ac: ... here.
7713         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7714         * sysdeps/nptl/gai_misc.h: ... here.
7715         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7716         * sysdeps/nptl/librt-cancellation.c: ... here.
7717         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7718         * sysdeps/nptl/malloc-machine.h: ... here.
7719         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7720         * sysdeps/nptl/pthread-functions.h: ... here.
7721         * nptl/sysdeps/pthread/pthread.h: Moved ...
7722         * sysdeps/nptl/pthread.h: ... here.
7723         * nptl/sysdeps/pthread/setxid.h: Moved ...
7724         * sysdeps/nptl/setxid.h: ... here.
7725         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7726         * sysdeps/nptl/sigfillset.c: ... here.
7727         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7728         * sysdeps/nptl/tcb-offsets.h: ... here.
7729         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7730         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7731         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7732         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7733         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7734         * sysdeps/pthread/allocalim.h: ... here.
7735         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7736         * sysdeps/pthread/bits/sigthread.h: ... here.
7737         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7738         * sysdeps/pthread/flockfile.c: ... here.
7739         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7740         * sysdeps/pthread/ftrylockfile.c: ... here.
7741         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7742         * sysdeps/pthread/funlockfile.c: ... here.
7743         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7744         * sysdeps/pthread/posix-timer.h: ... here.
7745         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7746         * sysdeps/pthread/timer_create.c: ... here.
7747         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7748         * sysdeps/pthread/timer_delete.c: ... here.
7749         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7750         * sysdeps/pthread/timer_getoverr.c: ... here.
7751         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7752         * sysdeps/pthread/timer_gettime.c: ... here.
7753         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7754         * sysdeps/pthread/timer_routines.c: ... here.
7755         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7756         * sysdeps/pthread/timer_settime.c: ... here.
7757         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7758         * sysdeps/pthread/tst-timer.c: ... here.
7759         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7760         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7762         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7763         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7765         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7766         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7767         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7768         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7769         Update #include target.
7770         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7771         * sysdeps/i386/i686/nptl/Makefile: ... here.
7772         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7773         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7774         Update #include target.
7775         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7776         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7777         * nptl/sysdeps/i386/Makefile: Moved ...
7778         * sysdeps/i386/nptl/Makefile: ... here.
7779         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7780         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7781         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7782         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7783         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7784         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7785         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7786         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7787         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7788         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7789         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7790         * nptl/sysdeps/i386/tls.h: Moved ...
7791         * sysdeps/i386/nptl/tls.h: ... here.
7793         * sysdeps/sh/Makefile [$(subdir) = csu]
7794         (gen-as-const-headers): Add tcb-offsets.sym.
7795         * nptl/sysdeps/sh/Makefile: File removed.
7796         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7797         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7798         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7799         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7800         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7801         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7802         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7803         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7804         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7805         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7806         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7807         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7808         * nptl/sysdeps/sh/tls.h: Moved ...
7809         * sysdeps/sh/nptl/tls.h: ... here.
7810         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7811         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7812         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7813         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7814         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7815         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7816         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7817         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7818         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7819         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7821         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7823         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7825         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7827         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7829         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7831         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7833         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7835         Moved ...
7836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7838         Moved ...
7839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7843         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7844         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7845         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7846         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7847         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7848         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7849         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7850         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7851         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7852         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7853         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7854         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7855         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7856         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7857         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7859 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7861         * posix/spawn_faction_addopen.c: Include string.h.
7863 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7865         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7866         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7867         * nptl/sysdeps/x86_64/Makefile: Moved ...
7868         * sysdeps/x86_64/nptl/Makefile: ... here.
7869         * nptl/sysdeps/x86_64/configure: Moved ...
7870         * sysdeps/x86_64/nptl/configure: ... here.
7871         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7872         * sysdeps/x86_64/nptl/configure.ac: ... here.
7873         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7874         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7875         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7876         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7877         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7878         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7879         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7880         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7881         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7882         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7883         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7884         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7885         * nptl/sysdeps/x86_64/tls.h: Moved ...
7886         * sysdeps/x86_64/nptl/tls.h: ... here.
7887         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7888         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7889         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7890         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7892         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7894 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7898 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7900         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7901         type.
7902         [POSIX] (off_t): Likewise.
7903         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7904         [POSIX] (S_ISBLK): Require macro.
7905         [POSIX] (S_ISCHR): Likewise.
7906         [POSIX] (S_ISDIR): Likewise.
7907         [POSIX] (S_ISFIFO): Likewise.
7908         [POSIX] (S_ISREG): Likewise.
7909         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7910         optional-macro.
7911         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7912         type.
7913         [POSIX] (time_t): Likewise.
7914         [POSIX] (timer_t): Likewise.
7916 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7918         [BZ #17048]
7919         * posix/spawn_int.h (struct __spawn_action): Make the path string
7920         non-const to support deallocation.
7921         * posix/spawn_faction_addopen.c
7922         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7923         * posix/spawn_faction_destroy.c
7924         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7925         path in all spawn_do_open actions.
7926         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7927         posix_spawn_file_actions_addopen.
7929 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7931         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7932         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7933         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7934         conditional code always true.
7935         (__libc_vfork): New alias.
7937 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7939         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7940         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7942         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7944         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7945         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7947         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7948         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7950         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7951         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7953 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7955         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7956         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7957         multiarch strcmp for PPC64.
7958         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7959         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7961         multiarch optimizations.
7962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7963         (__libc_ifunc_impl_list): Likewise.
7965 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7967         * benchtests/scripts/validate_benchout.py: New script.
7968         * benchtests/Makefile (bench-func): Call it.
7969         * benchtests/scripts/benchout.schema.json: New file.
7971 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7973         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7974         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7975         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7976         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7977         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7978         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7979         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7980         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7981         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7982         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7983         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7984         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7985         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7986         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7987         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7988         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7990         Moved ...
7991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7992         ... here.
7993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7994         Moved ...
7995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7997         Moved ...
7998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7999         ... here.
8000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8001         Moved ...
8002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8003         ... here.
8004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8005         Moved ...
8006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8008         Moved ...
8009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8010         ... here.
8011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8012         Moved ...
8013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8014         ... here.
8015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8016         Moved ...
8017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8019         Moved ...
8020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8021         ... here.
8022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8023         Moved ...
8024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8025         ... here.
8026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8027         Moved ...
8028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8029         ... here.
8030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8031         Moved ...
8032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8034         Moved ...
8035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8036         ... here.
8037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8038         Moved ...
8039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8040         ... here.
8041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8042         Moved ...
8043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8044         ... here.
8045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8046         Moved ...
8047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8049         Moved ...
8050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8051         ... here.
8052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8053         Moved ...
8054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8055         ... here.
8056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8057         Moved ...
8058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8060         Moved ...
8061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8062         ... here.
8063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8064         Moved ...
8065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8067         Moved ...
8068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8070         Moved ...
8071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8072         ... here.
8073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8074         Moved ...
8075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8076         ... here.
8077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8078         Moved ...
8079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8080         ... here.
8081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8082         Moved ...
8083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8085         Moved ...
8086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8087         ... here.
8088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8089         Moved ...
8090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8091         ... here.
8092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8093         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8095         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8096         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8097         Moved ...
8098         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8099         ... here.
8100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8101         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8103         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8105         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8107         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8109         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8111         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8113         Moved ...
8114         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8116         Moved ...
8117         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8119         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8121         Moved ...
8122         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8124         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8125         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8126         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8127         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8128         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8130 2014-06-10  Wilco  <wdijkstr@arm.com>
8132         * math/test-fenv-return.c: New file.
8133         * math/Makefile: Add new test test-fenv-return.
8135 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8137         [BZ #17042]
8138         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8139         when x - 1 is zero.
8140         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8141         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8142         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8143         0.0L for an argument of 1.0L.
8144         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8145         Likewise.
8146         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8147         value when x - 1 is zero.
8148         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8149         * sysdeps/i386/fpu/libm-test-ulps: Update.
8150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8152 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8154         [BZ #15119]
8155         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8157 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8159         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8160         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8162 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8164         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8165         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8167         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8168         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8170         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8171         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8173         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8174         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8176         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8177         if not already defined.
8178         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8179         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8180         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8181         (TLS_INIT_TP): Use it.
8182         (TLS_DEFINE_INIT_TP): New macro.
8183         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8185 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8187         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8188         constant.
8189         [POSIX] (IXANY): Likewise.
8190         [POSIX] (OLCUC): Likewise.
8191         [POSIX || POSIX2008] (CBAUD): Do not allow.
8192         [POSIX || POSIX2008] (DEFECHO): Likewise.
8193         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8194         [POSIX || POSIX2008] (ECHOKE): Likewise.
8195         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8196         [POSIX || POSIX2008] (EXTA): Likewise.
8197         [POSIX || POSIX2008] (EXTB): Likewise.
8198         [POSIX || POSIX2008] (FLUSHO): Likewise.
8199         [POSIX || POSIX2008] (LOBLK): Likewise.
8200         [POSIX || POSIX2008] (PENDIN): Likewise.
8201         [POSIX || POSIX2008] (SWTCH): Likewise.
8202         [POSIX || POSIX2008] (VDISCARD): Likewise.
8203         [POSIX || POSIX2008] (VDSUSP): Likewise.
8204         [POSIX || POSIX2008] (VLNEXT): Likewise.
8205         [POSIX || POSIX2008] (VREPRINT): Likewise.
8206         [POSIX || POSIX2008] (VSTATUS): Likewise.
8207         [POSIX || POSIX2008] (VWERASE): Likewise.
8208         (B*): Change to B[0123456789]*.
8209         * conform/data/time.h-data [POSIX || UNIX98]
8210         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8211         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8212         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8213         [POSIX] (tm_*): Do not allow.
8215 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8217         * Makefile (install): Don't set LANGUAGE.
8218         * Makefile.in (install): Likewise.
8219         * assert/Makefile (test-assert-ENV): Remove variable.
8220         (test-assert-perr-ENV): Likewise.
8221         * elf/Makefile (neededtest4-ENV): Likewise.
8222         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8223         [$(cross-compiling) = no]: Don't set LANGUAGE.
8224         * io/ftwtest-sh (LANG): Remove variable.
8225         * libio/Makefile (tst-widetext-ENV): Likewise.
8226         * manual/install.texi (Running make install): Don't refer to
8227         environment settings for make install.
8228         * INSTALL: Regenerated.
8229         * nptl/tst-tls6.sh: Don't set LANG.
8230         * posix/globtest.sh (LANG): Remove variable.
8231         * string/Makefile (tester-ENV): Likewise.
8232         (inl-tester-ENV): Likewise.
8233         (noinl-tester-ENV): Likewise.
8234         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8235         [$(cross-compiling) = no]: Don't set LANGUAGE.
8236         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8237         without explicit environment settings.
8239 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8241         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8242         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8243         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8244         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8246 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8248         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8249         other files in the crypt directory.
8250         * crypt/crypt.c: Remove duplicate includes.
8251         * crypt/crypt-entry.c: Likewise.
8252         * crypt/crypt_util.c: Likewise.
8254 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8256         * Makeconfig (run-program-env): New variable.
8257         (run-program-prefix-before-env): Likewise.
8258         (run-program-prefix-after-env): Likewise.
8259         (run-program-prefix): Define in terms of new variables.
8260         (built-program-cmd-before-env): New variable.
8261         (built-program-cmd-after-env): Likewise.
8262         (built-program-cmd): Define in terms of new variables.
8263         (test-program-prefix-before-env): New variable.
8264         (test-program-prefix-after-env): Likewise.
8265         (test-program-prefix): Define in terms of new variables.
8266         (test-program-cmd-before-env): New variable.
8267         (test-program-cmd-after-env): Likewise.
8268         (test-program-cmd): Define in terms of new variables.
8269         * Rules (make-test-out): Use $(run-program-env).
8270         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8271         (help): Do not mention environment variables.  Mention
8272         --timeoutfactor option.
8273         (timeoutfactor): New variable.
8274         (blacklist_exports): Remove function.
8275         (exports): Remove variable.
8276         (command): Do not include ${exports}.
8277         * manual/install.texi (Configuring and compiling): Do not mention
8278         test wrappers preserving environment variables.  Mention that last
8279         assignment to a variable must take precedence.
8280         * INSTALL: Regenerated.
8281         * benchtests/Makefile (run-bench): Use $(run-program-env).
8282         * catgets/Makefile ($(objpfx)test1.cat): Use
8283         $(built-program-cmd-before-env), $(run-program-env) and
8284         $(built-program-cmd-after-env).
8285         ($(objpfx)test2.cat): Do not specify environment variables
8286         explicitly.
8287         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8288         $(run-program-env) and $(built-program-cmd-after-env).
8289         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8290         $(run-program-env) and $(test-program-cmd-after-env).
8291         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8292         explicitly.
8293         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8294         run_program_env and test_program_cmd_after_env arguments.
8295         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8296         * elf/tst-pathopt.sh: Use run_program_env argument.
8297         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8298         $(test-wrapper-env) and $(run-program-env).
8299         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8300         run_program_env arguments.
8301         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8302         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8303         $(test-program-prefix-before-env), $(run-program-env) and
8304         $(test-program-prefix-after-env).
8305         ($(objpfx)tst-gettext2.out): Likewise.
8306         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8307         run_program_env and test_program_prefix_after_env arguments.
8308         * intl/tst-gettext2.sh: Likewise.
8309         * intl/tst-gettext4.sh: Do not set environment variables
8310         explicitly.
8311         * intl/tst-gettext6.sh: Likewise.
8312         * intl/tst-translit.sh: Likewise.
8313         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8314         $(test-program-prefix-before-env), $(run-program-env) and
8315         $(test-program-prefix-after-env).
8316         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8317         run_program_env and test_program_prefix_after_env arguments.
8318         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8319         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8320         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8321         explicitly with each use of ${test_wrapper_env}.
8322         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8323         $(test-program-prefix-before-env), $(run-program-env) and
8324         $(test-program-prefix-after-env).
8325         * posix/tst-getconf.sh: Do not set environment variables
8326         explicitly.
8327         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8328         run_program_env and test_program_prefix_after_env arguments.
8329         * stdio-common/tst-printf.sh: Do not set environment variables
8330         explicitly.
8331         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8332         $(test-program-prefix-before-env), $(run-program-env) and
8333         $(test-program-prefix-after-env).
8334         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8335         run_program_env and test_program_prefix_after_env arguments.
8336         Split $test calls into $test_pre and $test.
8337         * timezone/Makefile (build-testdata): Use
8338         $(built-program-cmd-before-env), $(run-program-env) and
8339         $(built-program-cmd-after-env).
8341 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8343         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8344         strlen for non SHARED builds.
8346 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8348         * nptl/allocatestack.c (check_list): Inlined function...
8349         (__reclaim_stacks): ... here.
8351 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8353         [BZ #15698]
8354         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8355         memory overrun.
8357 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
8359         * Rules (make-test-out): Include
8360         LOCPATH=$(common-objpfx)localedata in default environment.
8361         * debug/Makefile (tst-chk1-ENV): Remove variable.
8362         (tst-chk2-ENV): Likewise.
8363         (tst-chk3-ENV): Likewise.
8364         (tst-chk4-ENV): Likewise.
8365         (tst-chk5-ENV): Likewise.
8366         (tst-chk6-ENV): Likewise.
8367         (tst-lfschk1-ENV): Likewise.
8368         (tst-lfschk2-ENV): Likewise.
8369         (tst-lfschk3-ENV): Likewise.
8370         (tst-lfschk4-ENV): Likewise.
8371         (tst-lfschk5-ENV): Likewise.
8372         (tst-lfschk6-ENV): Likewise.
8373         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8374         (tst-iconv7-ENV): Likewise.
8375         * intl/Makefile (LOCPATH-ENV): Likewise.
8376         (tst-codeset-ENV): Likewise.
8377         (tst-gettext3-ENV): Likewise.
8378         (tst-gettext5-ENV): Likewise.
8379         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8380         (tst-fopenloc-ENV): Likewise.
8381         (tst-fgetws-ENV): Remove variable.
8382         (tst-ungetwc1-ENV): Likewise.
8383         (tst-ungetwc2-ENV): Likewise.
8384         (bug-ungetwc2-ENV): Likewise.
8385         (tst-swscanf-ENV): Likewise.
8386         (bug-ftell-ENV): Likewise.
8387         (tst-fgetwc-ENV): Likewise.
8388         (tst-fseek-ENV): Likewise.
8389         (tst-ftell-partial-wide-ENV): Likewise.
8390         (tst-ftell-active-handler-ENV): Likewise.
8391         (tst-ftell-append-ENV): Likewise.
8392         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8393         (tst-regexloc-ENV): Likewise.
8394         (bug-regex1-ENV): Likewise.
8395         (tst-regex-ENV): Likewise.
8396         (tst-regex2-ENV): Likewise.
8397         (bug-regex5-ENV): Likewise.
8398         (bug-regex6-ENV): Likewise.
8399         (bug-regex17-ENV): Likewise.
8400         (bug-regex18-ENV): Likewise.
8401         (bug-regex19-ENV): Likewise.
8402         (bug-regex20-ENV): Likewise.
8403         (bug-regex22-ENV): Likewise.
8404         (bug-regex23-ENV): Likewise.
8405         (bug-regex25-ENV): Likewise.
8406         (bug-regex26-ENV): Likewise.
8407         (bug-regex30-ENV): Likewise.
8408         (bug-regex32-ENV): Likewise.
8409         (bug-regex33-ENV): Likewise.
8410         (bug-regex34-ENV): Likewise.
8411         (bug-regex35-ENV): Likewise.
8412         (tst-rxspencer-ENV): Likewise.
8413         (tst-rxspencer-no-utf8-ENV): Likewise.
8414         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8415         (tst-sscanf-ENV): Likewise.
8416         (tst-swprintf-ENV): Likewise.
8417         (tst-swscanf-ENV): Likewise.
8418         (test-vfprintf-ENV): Likewise.
8419         (scanf13-ENV): Likewise.
8420         (bug14-ENV): Likewise.
8421         (tst-grouping-ENV): Likewise.
8422         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8423         (tst-strtod3-ENV): Likewise.
8424         (tst-strtod4-ENV): Likewise.
8425         (tst-strtod5-ENV): Likewise.
8426         (testmb2-ENV): Likewise./
8427         * string/Makefile (tst-strxfrm-ENV): Likewise.
8428         (tst-strxfrm2-ENV): Likewise.
8429         (bug-strcoll1-ENV): Likewise.
8430         (test-strcasecmp-ENV): Likewise.
8431         (test-strncasecmp-ENV): Likewise.
8432         * time/Makefile (tst-strptime-ENV): Likewise.
8433         (tst-ftime_l-ENV): Likewise.
8434         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8435         (tst-mbrtowc-ENV): Likewise.
8436         (tst-wcrtomb-ENV): Likewise.
8437         (tst-mbrtowc2-ENV): Likewise.
8438         (tst-c16c32-1-ENV): Likewise.
8439         (tst-mbsnrtowcs-ENV): Likewise.
8441 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8443         * manual/resource.texi (How to get information about the memory
8444         subsystem?): Fix typo.
8445         Reported by Peon de la Parra Ivan <peon@keba.com>
8447 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8449         [BZ #16882]
8450         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8451         (pthread_spin_lock): Branch out of spin loop to proper location.
8452         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8453         (pthread_spin_lock): Likewise.
8455         * nptl/tst-spin4.c: New test.
8456         * nptl/Makefile (tests): Add tst-spin4.
8458 2014-06-03  Andreas Schwab  <schwab@suse.de>
8460         [BZ #15946]
8461         * resolv/res_send.c (send_dg): Reload file descriptor after
8462         calling reopen.
8464 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8466         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8468 2014-06-03  Richard Henderson  <rth@redhat.com>
8470         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8471         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8472         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8473         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8474         in the SAVE_PID block.
8475         (__libc_vfork): New alias.
8476         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8478         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8479         child in registers, not on the stack.  Remove RESET_PID conditionals.
8480         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8482 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8484         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8486 2014-06-03  Wilco  <wdijkstr@arm.com>
8488         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8489         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8490         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8491         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8492         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8493         Likewise.
8495 2014-06-03  Wilco  <wdijkstr@arm.com>
8497         * sysdeps/aarch64/fpu/math_private.h
8498         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8499         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8500         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8501         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8502         Fix declarations.
8504 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8506         * crypt/crypt-private.h: Include ufc-crypt.h.
8507         (__b64_from_24bit): Declare extern.
8508         * crypt/crypt_util.c(__b64_from_24bit): New function.
8509         (b64t): New static const variable.
8510         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8511         (b64t): Remove variable.
8512         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8513         * crypt/sha256-crypt.c: Include crypt-private.h.
8514         (b64t): Remove variable.
8515         (__sha256_crypt_r): Remove b64_from_24bit and replace
8516         with __b64_from_24bit.
8517         * crypt/sha512-crypt.c: Likewise.
8519 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8521         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8522         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8523         Label the code __libc_vfork rather than __vfork.
8524         [!NOT_IN_libc] (vfork): Define as weak alias.
8525         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8526         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8527         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8529 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8531         * malloc/malloc.c (malloc_info): Fix format specifier for
8532         n_mmaps.
8534 2014-06-02  Wilco  <wdijkstr@arm.com>
8536         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8537         FPCR write.
8539 2014-06-02  Wilco  <wdijkstr@arm.com>
8541         [BZ #17009]
8542         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8543         Rewrite to reduce FPCR/FPSR accesses.
8545 2014-06-01  David S. Miller  <davem@davemloft.net>
8547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8549 2014-05-31  David S. Miller  <davem@davemloft.net>
8551         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8552         to occur in round to nearest mode when |x| >= 2.0
8554 2014-05-30  Richard Henderson  <rth@twiddle.net>
8556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8557         (PSEUDO_RET_NOERRNO): Remove.
8558         (ret): Don't redefine.
8559         (ret_NOERRNO): Define in terms of ret.
8560         (ret_ERRVAL): Likewise.
8562         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8563         use of PSEUDO_RET; perform the error check directly.
8565 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8567         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8568         with __int128_t.
8570 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8572         * malloc/malloc (malloc_info): Fix formatting.
8574 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8575             Roland McGrath  <roland@hack.frob.com>
8577         * malloc/malloc (malloc_info): Also print mmapped statistics.
8579 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8581         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8582         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8584 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8586         * malloc/malloc.c (malloc_info): Inline mi_arena.
8588 2014-05-29  Richard Henderson  <rth@twiddle.net>
8590         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8591         Remove comma before expanding ASM_ARGS_##nr.
8592         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8593         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8594         of ASM_ARGS_##nr.
8595         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8596         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8597         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8598         (ASM_ARGS_1): Add leading comma.
8600         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8601         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8602         to __errno_location.
8603         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8604         Remove the expected plt for __errno_location.
8606         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8607         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8608         call to __read_tp.
8610         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8611         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8612         it and break it down.
8613         (DOCARGS_0, DOCARGS_1): Do nothing.
8614         (DOCARGS_2): Update to store into the new stack frame.
8615         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8616         (UNDOCARGS_1): Update to restore from the new stack frame.
8617         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8618         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8621         (SINGLE_THREAD_P): New parameter for result regno.
8622         (PSEUDO): Update to match; use cbz instead of beq.
8624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8625         Use ENTRY to define the _nocancel entry point.  Share the syscall
8626         and syscall error check paths with the cancel path.
8627         (PSEUDO_END): New.
8629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8630         whitespace; tabs before and after asm mnemonics.
8632 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8634         [BZ #15132]
8635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8636         Call fstat64 or stat64 internally, depending on arguments passed.
8637         Replace stat buffer argument with file descriptor argument.
8638         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8639         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8640         Pass fd to __internal_statvfs instead of calling fstat64.
8641         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8642         Pass fd to __internal_statvfs64 instead of calling fstat64.
8643         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8644         Pass -1 to __internal_statvfs instead of calling stat64.
8645         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8646         Pass -1 to __internal_statvfs64 instead of calling stat64.
8648 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8650         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8651         that was previously under [RESET_PID].
8652         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8654         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8655         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8657 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8659         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8661         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8662         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8664 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8666         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8668 2014-05-27  Andreas Schwab  <schwab@suse.de>
8670         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8671         TLS_INIT_TP macro.
8672         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8673         * elf/rtld.c (init_tls, dl_main): Likewise.
8674         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8675         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8676         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8677         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8678         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8679         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8680         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8681         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8682         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8683         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8684         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8685         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8686         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8687         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8688         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8689         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8690         * sysdeps/generic/tls.h: Update description.
8692 2014-05-27  Will Newton  <will.newton@linaro.org>
8694         [BZ #16990]
8695         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8696         and restore r2 rather than just restoring.
8698 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8700         [BZ #16724]
8701         * libio/tst-ftell-append.c: New test case.
8702         * libio/Makefile (tests): Add test case.
8703         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8704         append mode.
8705         * libio/wfileops.c (do_ftell_wide): Likewise.
8707 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8711         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8712         ...
8713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8715         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8716         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8717         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8718         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8719         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8720         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8721         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8722         Moved ...
8723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8725         Moved ...
8726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8727         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8728         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8729         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8730         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8731         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8732         ...
8733         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8734         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8735         Moved ...
8736         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8737         here.
8738         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8739         ...
8740         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8741         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8742         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8744         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8745         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8746         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8747         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8750         merge into ...
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8753         ...
8754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8756         ...
8757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8759         Moved ...
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8761         here.
8762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8763         Moved ...
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8766         Moved ...
8767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8770         conditional [RESET_PID].
8771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8773         removed.
8774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8775         removed.
8777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8778         <tcb-offsets.h>.
8779         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8780         (__libc_vfork): New strong alias.
8781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8782         removed.
8783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8784         Removed.
8786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8787         <tcb-offsets.h>.
8788         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8789         (__libc_vfork): New strong alias.
8790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8791         removed.
8792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8793         removed.
8795 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8797         * malloc/malloc.c (mi_arena): New function.
8798         (malloc_info): Remove nested function mi_arena. Call non-nosted
8799         function mi_arena.
8801 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8803         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8804         by insrwi.
8805         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8806         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8807         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8808         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8809         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8810         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8811         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8813 2014-05-26  Andreas Schwab  <schwab@suse.de>
8815         [BZ #16984]
8816         * locale/programs/repertoire.c (repertoire_read): Add slash
8817         between I18NPATH element and file name.
8818         * locale/programs/locfile.c (locfile_read): Likewise.
8820 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8822         * nptl/pthread_mutexattr_settype.c
8823         (__pthread_mutexattr_settype):
8824         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8826 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8828         * nptl/tst-mutex5 (do_test):
8829         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8831 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8833         * benchtests/README: Document 'init' directive.
8834         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8835         BENCH_INIT.
8836         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8837         (parse_file): Recognize 'init' directive.
8839 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8841         [BZ #16796]
8842         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8843         alignment of struct pthread.
8845 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8847         [BZ #16878]
8848         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8849         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8850         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8851         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8853 2014-05-25  Richard Henderson  <rth@twiddle.net>
8855         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8856         (SINGLE_THREAD_P_PIC): Remove.
8857         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8858         (SINGLE_THREAD_P_PIC): Remove.
8860         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8861         branch to syscall error ...
8862         (PSEUDO): ... here.
8863         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8864         from __local_syscall_error to .Lsyscall_error.
8865         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8866         (SYSCALL_ERROR): Update label name.
8868         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8869         Do not use DOARGS/UNDOARGS.
8870         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8871         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8872         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8873         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8874         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8877         block comment.
8879         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8880         define if !NOT_IN_libc.
8881         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8882         define with non-default symbol versions.
8884 2014-05-23  Richard Henderson  <rth@twiddle.net>
8886         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8887         (vfork, __vfork): Define via compat_symbol.
8889         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8890         [!HAVE_IFUNC] (vfork_compat): Remove.
8891         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8893 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8895         [BZ #16978]
8896         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8897         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8898         variable.
8900 2014-05-23  Richard Henderson  <rth@twiddle.net>
8902         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8903         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8904         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8905         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8907         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8908         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8909         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8910         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8911         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8912         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8913         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8914         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8915         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8916         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8917         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8918         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8919         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8920         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8924         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8925         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8926         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8934         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8935         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8936         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8937         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8938         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8939         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8940         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8941         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8942         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8943         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8944         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8945         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8946         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8947         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8948         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8949         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8950         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8951         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8952         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8954         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8956         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8958         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8960         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8961         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8962         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8964         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8965         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8966         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8967         before exiting on error.
8968         (__libc_vfork): New strong alias.
8969         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8970         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8972         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8973         that was previously under [RESET_PID].
8974         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8976         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8978 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8980         [BZ #16977]
8981         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8982         value when x - 1 is zero.
8983         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8984         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8985         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8986         0.0L for an argument of 1.0L.
8987         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8988         Likewise.
8989         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8990         value when x - 1 is zero.
8991         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8992         * sysdeps/i386/fpu/libm-test-ulps: Update.
8993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8995 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8997         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8998         alphasort and versionsort.
9000 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9002         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9003         macro.
9004         [copysignf]: Likewise.
9006 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9008         * crypt/md5-crypt.c: Fix formatting.
9010 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9012         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9013         (b64_from_24bit): New function.
9015 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9017         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9018         libc_hidden_builtin_def to ifunc.
9019         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9020         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9022 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9024         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9025         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9027 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9029         * nscd/Depend (linuxthreads): Remove.
9030         (nptl): Add.
9031         * resolv/Depend (linuxthreads): Remove.
9032         * rt/Depend (linuxthreads): Remove.
9034         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9035         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9036         $(common-objpfx)elf/.
9037         (link-libc-before-gnulib): Likewise.
9038         (elfobjdir): Remove variable.
9039         * Makefile (install): Use $(elf-objpfx) instead of
9040         $(common-objpfx)elf/.
9041         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9042         $(elfobjdir)/.
9043         (link-libc-deps): Likewise.
9044         ($(common-objpfx)libc.so): Likewise.
9045         ($(common-objpfx)linkobj/libc.so): Likewise.
9046         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9047         instead of $(common-objpfx)elf/.
9048         (symbolic-link-list): Likewise.
9049         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9050         [$(cross-compiling) = no]: Likewise.
9051         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9052         $(elfobjdir)/.
9053         (static-gnulib-arch): Likewise.
9054         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9055         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9056         $(common-objpfx)elf/.
9058 2014-05-21  Richard Henderson  <rth@redhat.com>
9060         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9061         (SINGLE_THREAD_P): Use the correct width load.  Fold
9062         into the ldr offset.
9064         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9065         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9067 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9069         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9070         (libgcc_s_resume): Use __attribute_used__.
9071         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9072         Likewise.
9074 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9076         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9077         optimization when used with float constants.
9079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9081 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9083         [BZ #16915]
9084         * locale/nl_langinfo_l.c: Make direct reference to every
9085         _nl_current_CATEGORY symbol.
9086         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9087         (tests-static): Add tst-langinfo-static.
9088         (tests-special): Add tst-langinfo-static.out.
9089         ($(objpfx)tst-langinfo.out): Redirect output.
9090         ($(objpfx)tst-langinfo-static.out): New.
9091         * localedata/tst-langinfo.sh: Send output to stdout.
9092         * localedata/tst-langinfo-static.c: New file.
9094         [BZ #16965]
9095         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9096         when the shift amount is modulo the limb size.
9098 2014-05-20  Richard Henderson  <rth@redhat.com>
9100         [BZ #16967]
9101         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9102         Change type of sa_flags from unsigned int to int.
9104         [BZ #16966]
9105         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9107         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9109 2014-05-20  Will Newton  <will.newton@linaro.org>
9111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9112         Test the return value of the system call in the nocancel case.
9114 2014-05-20  Will Newton  <will.newton@linaro.org>
9115             Yvan Roux  <yvan.roux@linaro.org>
9117         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9118         #include of asm/ptrace.h.
9119         (PTRACE_GET_THREAD_AREA): Remove #undef.
9120         (PTRACE_GETHBPREGS): Likewise.
9121         (PTRACE_SETHBPREGS): Likewise.
9122         (struct user_regs_struct): New structure.
9123         (struct user_fpsimd_struct): New structure.
9124         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9125         #include of asm/ptrace.h and second #include of sys/user.h.
9126         (PTRACE_GET_THREAD_AREA): Remove #undef.
9127         (PTRACE_GETHBPREGS): Likewise.
9128         (PTRACE_SETHBPREGS): Likewise.
9129         (ELF_NGREG): Use new struct user_regs_struct.
9130         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9132 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9137 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9139         [BZ #16958]
9140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9141         membar to avoid block loads/stores to overlap previous stores.
9143 2014-05-17  Richard Henderson  <rth@redhat.com>
9145         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9146         Create the __##syscall_name##_nocancel entry point.
9147         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9148         Remove; let the sysdep-cancel.h code create it.
9150 2014-05-17  David S. Miller  <davem@davemloft.net>
9152         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9153         Protect with __USE_GNU.
9154         (TIOCSET_TEMPT): Likewise.
9155         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9156         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9157         these are already provided in bits/ioctl-types.h
9159 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9161         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9162         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9164         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9165         Use wait4 regardless of [__NR_waitpid].
9167 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9169         PR libgcc/60166
9170         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9171         (_FP_NANSIGN_Q): Set the quiet bit.
9173 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9175         * benchtests/Makefile
9176         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9177         not $(common-objpfx)math/libm.so.
9178         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9179         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9180         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9181         $(common-objpfx)dlfcn/libdl.so.
9182         ($(objpfx)tst-audit8): Depend on $(libm), not
9183         $(common-objpfx)math/libm.so.
9184         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9185         not $(common-objpfx)dlfcn/libdl.so.
9186         * math/Makefile
9187         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9188         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9189         [$(build-shared) = yes].
9190         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9191         $(common-objpfx)nptl/libpthread.so.
9192         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9193         $(common-objpfx)math/libm.so$(libm.so-version) or
9194         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9195         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9196         $(common-objpfx)dlfcn/libdl.so.
9197         * setjmp/Makefile (link-libm): Remove variable.
9198         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9199         * stdio-common/Makefile (link-libm): Remove variable.
9200         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9201         * stdlib/Makefile (link-libm): Remove variable.
9202         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9203         ($(objpfx)tst-strtod-round): Likewise.
9204         ($(objpfx)tst-tininess): Likewise.
9205         ($(objpfx)tst-strtod-underflow): Likewise.
9206         ($(objpfx)tst-strtod6): Likewise.
9207         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9208         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9209         $(common-objpfx)dlfcn/libdl.so.
9211 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9213         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9214         BSD terminal modes definitions.
9216 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9218         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9219         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9221         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9222         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9223         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9224         Don't do #include_next.
9225         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9226         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9227         Don't do #include_next.
9228         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9229         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9230         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9231         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9233 2014-05-16  Allan McRae  <allan@archlinux.org>
9235         * po/sv.po: Update Swedish translation from translation project.
9237         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9238         in sed expression.
9240 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9242         [BZ #16917]
9243         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9244         errno if the TIOCGPTN ioctl fails with an error different than
9245         EINVAL.
9246         * login/tst-ptsname.c: New file.
9247         * login/Makefile (tests): Add tst-ptsname.
9249         [BZ #16943]
9250         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9251         and prlimit64.
9253 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9255         [BZ #16849]
9256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9257         herrno to return EAI_AGAIN.
9259 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9261         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9262         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9263         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9264         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9265         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9266         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9267         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9268         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9270         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9271         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9272         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9273         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9274         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9275         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9276         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9277         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9278         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9279         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9280         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9281         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9282         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9283         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9284         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9285         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9286         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9287         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9288         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9289         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9290         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9292         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9294         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9296         Moved ...
9297         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9299         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9301         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9303         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9305         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9307         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9309         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9311         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9313         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9315         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9317         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9319         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9321         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9323         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9325         Moved ...
9326         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9328         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9330         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9332         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9334         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9336         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9338         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9340         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9342         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9344         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9346         Moved ...
9347         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9349         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9351         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9352         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9353         (libpthread-sysdep_routines): Add elision-related stuff here instead.
9354         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9355         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9356         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9357         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9358         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9359         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9360         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9361         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9362         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9363         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9364         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9365         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9366         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9367         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9368         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9369         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9370         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9371         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9372         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9373         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9374         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9375         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9376         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9377         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9378         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9379         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9380         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9381         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9383         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9384         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9386         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9387         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9388         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9389         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9390         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9391         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9392         Moved ...
9393         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9394         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9395         Moved ...
9396         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9397         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9398         Moved ...
9399         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9400         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9401         Moved ...
9402         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9403         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9404         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9406         Moved ...
9407         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9408         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9409         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9411         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9412         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9413         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9414         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9415         Moved ...
9416         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9417         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9418         Moved ...
9419         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9420         ... here.
9421         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9422         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9423         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9424         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9425         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9426         Moved ...
9427         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9428         ... here.
9429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9430         Moved ...
9431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9432         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9433         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9434         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9435         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9436         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9437         Moved ...
9438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9439         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9440         Moved ...
9441         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9442         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9443         Moved ...
9444         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9445         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9446         Moved ...
9447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9448         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9449         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9451         Moved ...
9452         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9453         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9454         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9456         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9457         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9458         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9459         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9460         Moved ...
9461         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9462         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9463         Moved ...
9464         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9465         ... here.
9466         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9467         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9468         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9469         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9470         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9471         Moved ...
9472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9473         ... here.
9474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9475         Moved ...
9476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9477         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9478         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9479         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9480         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9481         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9482         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9483         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9484         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9485         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9486         Moved ...
9487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9488         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9489         Moved ...
9490         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9492         Moved ...
9493         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9494         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9495         Moved ...
9496         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9497         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9498         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9499         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9500         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9501         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9502         Moved ...
9503         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9504         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9505         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9506         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9507         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9508         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9509         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9511         Moved ...
9512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9514         Moved ...
9515         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9516         ... here.
9517         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9518         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9519         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9520         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9521         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9522         Moved ...
9523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9524         ... here.
9525         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9526         Moved ...
9527         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9528         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9529         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9530         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9531         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9532         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9533         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9534         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9535         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9536         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9537         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9539         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9540         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9542         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9543         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9545         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9546         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9547         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9548         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9549         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9550         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9551         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9552         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9553         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9554         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9556         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9558         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9559         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9561         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9563         Moved ...
9564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9566         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9568         Moved ...
9569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9571         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9573         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9577         Moved ...
9578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9580         Moved ...
9581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9585         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9587         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9588         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9589         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9590         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9591         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9592         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9593         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9594         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9595         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9596         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9597         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9599         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9600         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9601         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9602         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9603         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9605         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9606         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9607         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9608         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9609         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9610         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9611         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9612         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9613         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9614         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9616         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9619         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9620         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9621         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9622         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9623         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9624         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9625         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9626         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9627         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9628         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9629         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9630         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9631         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9632         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9633         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9634         Update #include.
9635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9636         Likewise.
9637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9638         Likewise.
9639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9640         Likewise.
9641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9642         Likewise.
9643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9644         Likewise.
9645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9646         Likewise.
9647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9648         Likewise.
9649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9650         Likewise.
9651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9652         Likewise.
9653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9667         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9669         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9670         that was previously under [RESET_PID].
9671         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9672         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9673         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9675         * sysdeps/i386/nptl/Implies: New file.
9676         * sysdeps/x86_64/nptl/Implies: New file.
9677         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9678         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9679         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9680         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9682         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9683         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9684         (__libc_vfork): New strong alias.
9685         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9686         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9688         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9689         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9690         (__libc_vfork): New strong alias.
9691         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9692         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9694         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9695         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9696         (__libc_vfork): New strong alias.
9697         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9698         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9699         * nptl/pt-vfork.c: New file.
9700         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9701         (libpthread: GLIBC_2.20): New version set (empty).
9703 2014-05-14  Will Newton  <will.newton@linaro.org>
9705         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9706         rather than #if.
9708 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9710         [BZ #16564]
9711         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9712         arguments with exponent 65 or above.
9713         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9714         arguments 0x1p113L or above.
9715         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9716         to arguments 0x1p107L or above.
9717         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9718         positive arguments with exponent 65 or above.
9719         * math/auto-libm-test-in: Add more tests of log1p.
9720         * math/auto-libm-test-out: Regenerated.
9722         [BZ #16928]
9723         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9724         non-finite arguments is +0.
9725         * math/s_cacosf.c (__cacosf): Likewise.
9726         * math/s_cacosl.c (__cacosl): Likewise.
9727         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9728         * sysdeps/i386/fpu/libm-test-ulps: Update.
9729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9731         [BZ #16927]
9732         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9733         value.
9734         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9735         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9736         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9737         for explicit high bit of mantissa when testing for argument equal
9738         to 1.
9739         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9740         * sysdeps/i386/fpu/libm-test-ulps: Update.
9741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9743         [BZ #16516]
9744         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9745         (__erf): Scale by 16 instead of 8 in potentially underflowing
9746         case.  Ensure exception if result actually underflows.
9747         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9748         (__erff): Scale by 16 instead of 8 in potentially underflowing
9749         case.  Ensure exception if result actually underflows.
9750         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9751         (efx8): Remove variable.
9752         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9753         case.  Ensure exception if result actually underflows.
9754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9755         (efx8): Remove variable.
9756         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9757         case.  Ensure exception if result actually underflows.
9758         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9759         (efx8): Remove variable.
9760         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9761         case.  Ensure exception if result actually underflows.
9762         * math/auto-libm-test-in: Add more tests of erf.
9763         * math/auto-libm-test-out: Regenerated.
9765 2014-05-14  Andreas Schwab  <schwab@suse.de>
9767         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9768         Remove code conditionalized on USE___THREAD.
9770         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9771         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9772         not definedness.
9774 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9776         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9777         Define unconditionally.
9778         (__ASSUME_O_CLOEXEC): Likewise.
9779         (__ASSUME_SOCK_CLOEXEC): Likewise.
9780         (__ASSUME_IN_NONBLOCK): Likewise.
9781         (__ASSUME_PIPE2): Likewise.
9782         (__ASSUME_EVENTFD2): Likewise.
9783         (__ASSUME_SIGNALFD4): Likewise.
9784         (__ASSUME_DUP3): Likewise.
9785         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9786         (__ASSUME_DUP3): Do not define.
9787         (__ASSUME_EVENTFD2): Likewise.
9788         (__ASSUME_IN_NONBLOCK): Likewise.
9789         (__ASSUME_O_CLOEXEC): Likewise.
9790         (__ASSUME_PIPE2): Likewise.
9791         (__ASSUME_SIGNALFD4): Likewise.
9792         (__ASSUME_SOCK_CLOEXEC): Likewise.
9793         (__ASSUME_UTIMES): Undefine.
9794         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9795         (__ASSUME_UTIMES): Do not define.
9796         (__ASSUME_O_CLOEXEC): Likewise.
9797         (__ASSUME_SOCK_CLOEXEC): Likewise.
9798         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9799         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9800         0x020621].
9801         (__ASSUME_PIPE2): Likewise.
9802         (__ASSUME_EVENTFD2): Likewise.
9803         (__ASSUME_SIGNALFD4): Likewise.
9804         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9805         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9806         Do not define.
9807         (__ASSUME_EVENTFD2): Likewise.
9808         (__ASSUME_SIGNALFD4): Likewise.
9809         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9810         (__ASSUME_32BITUIDS): Likewise.
9811         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9812         (__ASSUME_IPC64): Likewise.
9813         (__ASSUME_ST_INO_64_BIT): Likewise.
9814         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9815         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9816         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9817         (__ASSUME_UTIMES): Do not define.
9818         (__ASSUME_PSELECT): Likewise.
9819         (__ASSUME_PPOLL): Likewise.
9820         (__ASSUME_O_CLOEXEC): Likewise.
9821         (__ASSUME_SOCK_CLOEXEC): Likewise.
9822         (__ASSUME_IN_NONBLOCK): Likewise.
9823         (__ASSUME_PIPE2): Likewise.
9824         (__ASSUME_EVENTFD2): Likewise.
9825         (__ASSUME_SIGNALFD4): Likewise.
9826         (__ASSUME_DUP3): Likewise.
9827         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9828         (__ASSUME_UTIMES): Likewise.
9829         (__ASSUME_O_CLOEXEC): Likewise.
9830         (__ASSUME_SOCK_CLOEXEC): Likewise.
9831         (__ASSUME_IN_NONBLOCK): Likewise.
9832         (__ASSUME_PIPE2): Likewise.
9833         (__ASSUME_EVENTFD2): Likewise.
9834         (__ASSUME_SIGNALFD4): Likewise.
9835         (__ASSUME_DUP3): Likewise.
9836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9837         (__ASSUME_UTIMES): Likewise.
9838         (__ASSUME_O_CLOEXEC): Likewise.
9839         (__ASSUME_SOCK_CLOEXEC): Likewise.
9840         (__ASSUME_IN_NONBLOCK): Likewise.
9841         (__ASSUME_PIPE2): Likewise.
9842         (__ASSUME_EVENTFD2): Likewise.
9843         (__ASSUME_SIGNALFD4): Likewise.
9844         (__ASSUME_DUP3): Likewise.
9845         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9846         Likewise.
9847         (__ASSUME_UTIMES): Likewise.
9848         (__ASSUME_EVENTFD2): Likewise.
9849         (__ASSUME_SIGNALFD4): Likewise.
9850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9851         (__ASSUME_O_CLOEXEC): Likewise.
9852         (__ASSUME_SOCK_CLOEXEC): Likewise.
9853         (__ASSUME_IN_NONBLOCK): Likewise.
9854         (__ASSUME_PIPE2): Likewise.
9855         (__ASSUME_EVENTFD2): Likewise.
9856         (__ASSUME_SIGNALFD4): Likewise.
9857         (__ASSUME_DUP3): Likewise.
9858         (__ASSUME_UTIMES): Undefine.
9860         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9861         feclearexcept.  Remove symbol versioning code.
9862         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9863         symbol versioning code.
9864         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9865         symbol versioning code.
9866         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9867         feupdateenv.  Remove symbol versioning code.
9868         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9869         fegetexceptflag.  Remove symbol versioning code.
9870         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9871         fesetexceptflag.  Remove symbol versioning code.
9872         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9873         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9874         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9875         (__posix_fadvise64_l32): Remove prototype.
9876         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9877         code.
9879 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9881         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9882         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9883         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9884         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9886 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9888         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9889         current working directory
9891 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9893         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9894         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9895         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9896         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9897         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9898         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9899         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9900         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9901         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9902         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9903         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9904         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9905         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9906         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9907         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9908         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9909         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9910         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9911         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9912         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9913         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9914         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9915         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9916         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9917         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9918         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9919         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9920         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9922         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9923         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9924         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9925         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9926         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9927         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9928         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9929         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9930         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9931         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9932         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9933         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9934         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9936         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9937         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9939         * sysdeps/unix/sysv/linux/arm/Makefile
9940         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9941         Add rt-aeabi_unwind_cpp_pr1.
9942         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9943         Add nptl-aeabi_unwind_cpp_pr1.
9944         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9945         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9946         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9947         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9948         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9949         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9951         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9952         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9953         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9954         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9956         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9957         Deconditionalize the code that was previously under [RESET_PID].
9958         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9960         * sysdeps/generic/exit-thread.h: New file.
9961         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9962         * include/unistd.h (__exit_thread): Remove declaration.
9963         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9964         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9965         * csu/libc-start.c: Include <exit-thread.h>.
9966         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9967         * nptl/pthread_create.c: Include <exit-thread.h>.
9968         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9969         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9970         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9971         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9972         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9973         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9974         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9975         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9976         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9977         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9978         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9979         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9980         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9981         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9982         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9983         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9984         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9986 2014-05-13  Andreas Schwab  <schwab@suse.de>
9988         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9990 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9992         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9993         (__ASSUME_UTIMES): Do not condition on kernel version.
9994         (__ASSUME_PSELECT): Define unconditionally.
9995         (__ASSUME_PPOLL): Likewise.
9996         (__ASSUME_ATFCTS): Likewise.
9997         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9998         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9999         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10000         (__ASSUME_UTIMENSAT): Define unconditionally.
10001         (__ASSUME_PRIVATE_FUTEX): Likewise.
10002         (__ASSUME_FALLOCATE): Likewise.
10003         (__ASSUME_O_CLOEXEC): Likewise.
10004         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10005         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10006         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10007         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10008         (__ASSUME_IN_NONBLOCK): Likewise.
10009         (__ASSUME_PIPE2): Likewise.
10010         (__ASSUME_EVENTFD2): Likewise.
10011         (__ASSUME_SIGNALFD4): Likewise.
10012         (__ASSUME_DUP3): Likewise.
10013         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10014         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10015         (__ASSUME_AT_RANDOM): Likewise.
10016         (__ASSUME_PREADV): Likewise.
10017         (__ASSUME_PWRITEV): Likewise.
10018         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10019         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10020         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10021         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10022         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10024         (__ASSUME_O_CLOEXEC): Define unconditionally.
10025         (__ASSUME_PSELECT): Do not undefine conditionally.
10026         (__ASSUME_PPOLL): Likewise.
10027         (__ASSUME_ATFCTS): Likewise.
10028         (__ASSUME_SET_ROBUST_LIST): Likewise.
10029         (__ASSUME_UTIMENSAT): Likewise.
10030         (__ASSUME_FDATASYNC): Define unconditionally.
10031         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10032         (__ASSUME_SIGFRAME_V2): Likewise.
10033         )__ASSUME_EVENTFD2): Likewise.
10034         (__ASSUME_SIGNALFD4): Likewise.
10035         (__ASSUME_PSELECT): Do not undefine conditionally.
10036         (__ASSUME_PPOLL): Likewise.
10037         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10038         (__ASSUME_PSELECT): Define unconditionally.
10039         (__ASSUME_PPOLL): Likewise.
10040         (__ASSUME_O_CLOEXEC): Likewise.
10041         (__ASSUME_SOCK_CLOEXEC): Likewise.
10042         (__ASSUME_IN_NONBLOCK): Likewise.
10043         (__ASSUME_PIPE2): Likewise.
10044         (__ASSUME_EVENTFD2): Likewise.
10045         (__ASSUME_SIGNALFD4): Likewise.
10046         (__ASSUME_DUP3): Likewise.
10047         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10048         (__ASSUME_O_CLOEXEC): Likewise.
10049         (__ASSUME_SOCK_CLOEXEC): Likewise.
10050         (__ASSUME_IN_NONBLOCK): Likewise.
10051         (__ASSUME_PIPE2): Likewise.
10052         (__ASSUME_EVENTFD2): Likewise.
10053         (__ASSUME_SIGNALFD4): Likewise.
10054         (__ASSUME_DUP3): Likewise.
10055         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10056         (__ASSUME_EVENTFD2): Likewise.
10057         (__ASSUME_SIGNALFD4): Likewise.
10058         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10060 2014-05-12  Andreas Schwab  <schwab@suse.de>
10062         [BZ #16932]
10063         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10064         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10065         than maximum RPC packet size.
10066         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10067         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10068         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10069         (_nss_nis_getservbyport_r): Likewise.
10071 2014-05-12  Will Newton  <will.newton@linaro.org>
10073         * malloc/Makefile (tests): Add tst-mallopt.
10074         * malloc/tst-mallopt.c: New file.
10076 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10078         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10079         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10081 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10083         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10084         (tst-tlsmod6.so): Likewise.
10086 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10088         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10090 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10092         [BZ #16064]
10093         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10094         and <dl-procinfo.h>.
10095         (__fegetenv): Save SSE state in envp->__eip if supported.
10096         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10097         envp->__eip if supported.
10098         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10099         and <dl-procinfo.h>.
10100         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10101         __data_offset and __data_selector in environment to 0.  Set SSE
10102         state if supported.
10103         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10104         test-fenv-sse.
10105         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10106         -mfpmath=sse.
10107         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10109 2014-05-09  Will Newton  <will.newton@linaro.org>
10111         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10112         and libc_relro_required for ARM.
10113         * sysdeps/arm/preconfigure: Regenerate.
10115 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10116             Stefan Liebler  <stli@linux.vnet.ibm.com>
10118         * config.make.in (enable-lock-elision): New Makefile variable.
10119         * configure.ac: Likewise.
10120         * configure: Regenerate.
10121         * sysdeps/s390/configure.ac:
10122         Add check for gcc transactions support.
10123         * sysdeps/s390/configure: Regenerate.
10124         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10125         Build elision files if enabled.
10126         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10127         Add lock elision support for s390.
10128         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10129         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10130         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10131         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10132         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10133         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10134         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10135         Likewise.
10136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10137         Likewise.
10138         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10139         Likewise.
10140         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10141         Likewise.
10142         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10143         (__lll_timedlock_elision, __lll_lock_elision)
10144         (__lll_unlock_elision, __lll_trylock_elision)
10145         (lll_timedlock_elision, lll_lock_elision)
10146         (lll_unlock_elision, lll_trylock_elision): Add.
10147         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10148         (pthread_mutex_t): Add lock elision support for s390.
10150 2014-05-14  Wilco  <wdijkstr@arm.com>
10152         * sysdeps/arm/fclrexcpt.c: Cleanup.
10153         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10154         * sysdeps/arm/feenablxcpt.c: Cleanup.
10155         * sysdeps/arm/fegetenv.c: Cleanup.
10156         * sysdeps/arm/fegetexcept.c: Cleanup.
10157         * sysdeps/arm/fegetround.c: Cleanup.
10158         * sysdeps/arm/feholdexcpt.c: Cleanup.
10159         * sysdeps/arm/fesetenv.c: Cleanup.
10160         * sysdeps/arm/fesetround.c: Cleanup.
10161         * sysdeps/arm/feupdateenv.c: Cleanup.
10162         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10163         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10164         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10165         * sysdeps/arm/ftestexcept.c: Cleanup.
10166         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10167         * sysdeps/arm/setfpucw.c: Cleanup.
10169 2014-05-09  Will Newton  <will.newton@linaro.org>
10171         * sysdeps/arm/armv7/strcmp.S: New file.
10172         * NEWS: Mention addition of ARMv7 optimized strcmp.
10174 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10176         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10177         look for %.ac rather than %.in.
10179         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10180         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10181         * sysdeps/mach/hurd/configure: Regenerated.
10182         * sysdeps/unix/sysv/linux/configure: Regenerated.
10184         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10186 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10188         [BZ# 16922]
10189         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10190         (LONG_SUB): Ditto.
10191         (PTR_SUB): Ditto.
10193 2014-05-07  Andreas Schwab  <schwab@suse.de>
10195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10196         when skipping over non-matching result from nscd.
10198 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10200         [BZ #16876]
10201         * nptl/sockperf.c (client): Check socket return value.
10203         [BZ #16877]
10204         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10205         nscd security class.
10207 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10209         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10210         * sysdeps/arm/unwind.h: ... here.
10212 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10214         [BZ# 16916]
10215         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10216         Define.
10218 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10220         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10221         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10222         multiarch strncpy for PPC64.
10223         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10224         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10226         multiarch optimizations.
10227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10228         (__libc_ifunc_impl_list): Likewise.
10229         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10230         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10231         multiarch stpncpy for PPC64.
10232         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10233         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10235 2014-05-06  Andreas Schwab  <schwab@suse.de>
10237         [BZ #16912]
10238         * gmon/mcount.c (_MCOUNT_DECL): Use
10239         atomic_compare_and_exchange_bool_acq instead of
10240         catomic_compare_and_exchange_bool_acq.
10242 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10244         * elf/Makefile (others, install-bin): Remove pldd.
10245         (pldd-modules): Variable removed.
10246         ($(objpfx)pldd): Target removed.
10247         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10248         (others, install-bin): Append pldd here.
10249         ($(objpfx)pldd): New target.
10251         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10252         to 0, so the first #if test emitted later doesn't see it undefined.
10253         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10254         * sysdeps/gnu/errlist.c: Regenerated.
10256 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10258         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10259         [libc_hidden_builtin_def]: Define to empty value.
10260         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10261         [libc_hidden_builtin_def]: Likewise.
10262         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10263         [libc_hidden_builtin_def]: Likewise.
10264         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10265         [libc_hidden_builtin_def]: Likewise.
10266         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10267         __redirect_memcpy and define ifunc as default hidden symbol.
10268         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10269         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10271 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10273         * locale/iso-4217.def: Reintroduce XDR currency.
10275 2014-05-04  Allan McRae  <allan@archlinux.org>
10277         * po/eo.po: Update Esperanto translation from translation project.
10279 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10281         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10282         and FEATURE_INDEX_MAX to 1.
10283         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10285 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10287         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10288         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10289         * iconvdata/big5.c (ONE_DIRECTION): Define.
10290         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10291         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10292         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10293         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10294         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10295         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10296         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10297         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10298         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10299         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10300         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10301         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10302         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10303         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10304         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10305         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10306         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10307         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10308         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10309         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10310         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10311         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10312         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10313         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10314         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10315         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10316         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10317         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10318         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10319         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10320         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10321         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10322         * iconvdata/johab.c (ONE_DIRECTION): Define.
10323         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10324         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10325         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10326         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10327         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10328         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10329         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10330         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10331         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10332         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10334 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10336         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10337         (_IO_JUMPS_OFFSET): Define to 0.
10339         * nptl/sysdeps/pthread/bits/libc-lock.h
10340         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10341         (__libc_lock_define_initialized_recursive): Always define using
10342         initializer.  Modern compilers treat uninitialized (implicit zero) and
10343         explicit zero initializers the same (i.e. put the datum in bss).
10345 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10347         * nscd/nscd-client.h: Include <string.h>.
10349 2014-05-01  David S. Miller  <davem@davemloft.net>
10351         [BZ #16885]
10352         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10353         multiple zero bytes exist at the end of a string.
10354         Reported by Aurelien Jarno <aurelien@aurel32.net>
10356         * string/test-strcmp.c (check): Add explicit test for situations where
10357         there are multiple zero bytes after the first.
10359 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10361         [BZ #16890]
10362         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10363         when compiling wprintf.
10364         * stdio-common/tstdiomisc.c (t3): New function.
10365         (main): Call it.
10367 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10369         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10370         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10371         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10372         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10374 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10376         * stdlib/longlong.h: Updated from GCC.
10378 2014-05-01  Will Newton  <will.newton@linaro.org>
10379             Bernard Ogden  <bernie.ogden@linaro.org>
10381         * NEWS: Update fixed bug list.
10383         [BZ #15119]
10384         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10386 2014-04-30  David S. Miller  <davem@davemloft.net>
10388         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10389         (libc_feholdexcept_setround_sparc_ctx): New function.
10390         (libc_fesetenv_sparc_ctx): Likewise.
10391         (libc_feupdateenv_sparc_ctx): Likewise.
10392         (libc_feholdsetround_sparc_ctx): Likewise.
10393         (libc_feholdexcept_setround_ctx): Define.
10394         (libc_feholdexcept_setroundf_ctx): Likewise.
10395         (libc_feholdexcept_setroundl_ctx): Likewise.
10396         (libc_fesetenv_ctx): Likewise.
10397         (libc_fesetenvf_ctx): Likewise.
10398         (libc_fesetenvl_ctx): Likewise.
10399         (libc_feupdateenv_ctx): Likewise.
10400         (libc_feupdateenvf_ctx): Likewise.
10401         (libc_feupdateenvl_ctx): Likewise.
10402         (libc_feresetround_ctx): Likewise.
10403         (libc_feresetroundf_ctx): Likewise.
10404         (libc_feresetroundl_ctx): Likewise.
10405         (libc_feholdsetround_ctx): Likewise.
10406         (libc_feholdsetroundf_ctx): Likewise.
10407         (libc_feholdsetroundl_ctx): Likewise.
10409         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10410         with __USE_GNU instead of XOPEN cpp guards.
10412         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10413         0.
10415         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10416         with XOPEN cpp guards.
10418 2014-04-30  Julian Brown  <julian@codesourcery.com>
10420         [BZ #16888]
10421         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10422         handling.
10424 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10426         [BZ #9894]
10427         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10428         Change to 2.6.32.
10429         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10430         * sysdeps/unix/sysv/linux/configure: Regenerated.
10431         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10432         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10433         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10434         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10435         * README: Update reference to required Linux kernel version.
10436         * manual/install.texi (Linux): Update reference to required Linux
10437         kernel headers version.
10438         * INSTALL: Regenerated.
10440         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10441         header inclusion.
10442         [POSIX] (limits.h): Likewise.
10443         [POSIX] (math.h): Likewise.
10444         [POSIX] (sys/wait.h): Likewise.
10445         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10446         function.
10447         [POSIX] (stddef.h): Do not allow header inclusion.
10449 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10451         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10453 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10455         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10456         Return immediately after lll_futex_wake.
10458 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10460         [BZ #16791]
10461         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10462         structure.
10463         (datahead_init_pos): Call datahead_init_common early.
10464         (datahead_init_neg): Likewise.
10466         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10467         datahead_init_neg): New functions.
10468         * nscd/aicache.c (addhstaiX): Use them.
10469         * nscd/grpcache.c (cache_addgr): Likewise.
10470         * nscd/hstcache.c (cache_addhst): Likewise.
10471         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10472         * nscd/netgroupcache.c (do_notfound): Likewise.
10473         (addgetnetgrentX): Likewise.
10474         (addinnetgrX): Likewise.
10475         * nscd/pwdcache.c (cache_addpw): Likewise.
10476         * nscd/servicescache.c (cache_addserv): Likewise.
10478 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10479             Atsushi Onoe  <atsushi@onoe.org>
10481         [BZ #14308]
10482         [BZ #12994]
10483         [BZ #13651]
10484         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10485         one response is valid.
10486         * resolv/res_send.c (send_dg): Check for validity of other
10487         response if the current response is a referral.
10489 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10491         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10493 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10495         [BZ #16823]
10496         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10497         Always divide by positive zero when computing -Inf result.
10498         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10499         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10501 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10503         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10504         FPSCR if value do not change.
10505         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10506         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10507         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10508         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10509         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10510         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10511         function.
10513 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10515         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10516         * sysdeps/unix/sysv/linux/hppa: Move directory from
10517         ports/systeps/unix/sysv/linux/hppa.
10518         * README: Update listing for hppa-*-linux-gnu.
10520 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10522         [BZ #16754]
10523         * manual/stdio.texi (Hook functions): Fix types of stream hook
10524         functions.
10525         [BZ #16854]
10526         * socket/sys/socket.h: Fix typo in comment.
10528 2014-04-28  Wilco  <wdijkstr@arm.com>
10530         * sysdeps/arm/fenv_private.h: New file.
10531         * sysdeps/arm/math_private.h: New file.
10532         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10534 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10536         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10537         with __int128_t.
10538         (La_x86_64_retval): Likewise.
10540 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10542         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10543         fpsr if value didn't change.
10544         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10545         to fpcr if value didn't change.
10546         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10547         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10548         fpsr or fpcr if value didn't change.
10549         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10550         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10551         fpcr if value didn't change.
10552         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10553         to fpsr if value didn't change.
10555 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10557         * nptl/tst-sem3.c: Use test-skeleton.c
10558         (main): Rename to do_test.  Use return instead of
10559         exit.
10560         * nptl/tst-sem4.c: Use test-skeleton.c
10561         (main): Rename to do_test.
10563 2014-04-22  David S. Miller  <davem@davemloft.net>
10565         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10566         (struct sigaction): New struct member __glibc_reserved0, change
10567         type of sa_flags to int.
10569 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10571         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10572         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10574 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10576         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10577         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10579 2014-04-22  Will Newton  <will.newton@linaro.org>
10580             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10582         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10583         (__longjmp): Add longjmp and longjmp_target SystemTap
10584         probes.
10585         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10586         (__sigsetjmp): Add setjmp SystemTap probe.
10588 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10590         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10591         match manual order.
10593 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10595         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10597         * sysdeps/powerpc/fpu/fenv_private.h
10598         (libc_feholdexcept_setroundl_ctx): Define to
10599         libc_feholdexcept_setround_ppc_ctx.
10600         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10601         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10602         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10603         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10605 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10607         * sysdeps/aarch64/math-tests.h: New file.
10609 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10611         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10612         New.
10613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10614         Check and set bit_AVX2_Usable.
10615         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10616         macro.
10617         (bit_AVX2): Likewise.
10618         (index_AVX2_Usable): Likewise.
10619         (CPUID_AVX2): Likewise.
10620         (HAS_AVX2): Likewise.
10622 2014-04-17  Will Newton  <will.newton@linaro.org>
10624         * manual/setjmp.texi (System V contexts): Add note that
10625         calling setcontext on a context created by a call to a
10626         signal handler is undefined.  Update text to note that
10627         setcontext from a signal handler is possible but not
10628         recommended.
10630         [BZ #16629]
10631         * stdlib/tst-setcontext.c: Include signal.h.
10632         (main): Check that the signal stack before and
10633         after swapcontext is the same.
10635         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10636         Re-implement to restore registers in user code and avoid
10637         rt_sigreturn system call.
10639 2014-04-17  Wilco  <wdijkstr@arm.com>
10641         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10642         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10643         * math/test-fenv.c: Skip exception trap tests on targets which only
10644         support non-stop mode.
10646 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10647             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10649         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10650         (libc_feholdsetround_aarch64_ctx)
10651         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10652         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10653         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10654         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10655         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10656         (libc_feresetround_noexl_ctx): Define.
10658 2014-04-16  Richard Henderson  <rth@redhat.com>
10660         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10662         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10663         unwind tables.
10665         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10666         const from the non-libc, non-ldso copy.
10668         * sysdeps/alpha/libm-test-ulps: Regenerate.
10670 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10671             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10673         * sysdeps/aarch64/fpu/math_private.h: New file.
10675 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10677         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10679 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10681         [BZ #16275]
10682         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10683         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10685         Intel MPX bound registers before _dl_profile_fixup.
10686         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10687         registers after _dl_profile_fixup.  Save and restore bound
10688         registers bnd0/bnd1 when calling _dl_call_pltexit.
10689         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10690         (LR_BND_OFFSET): Likewise.
10691         (LRV_BND0_OFFSET): Likewise.
10692         (LRV_BND1_OFFSET): Likewise.
10694 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10696         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10697         to...
10698         * sysdeps/mach/hurd/i386/tls.h: ... here.
10699         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10700         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10701         fields.
10703 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10705         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10707 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10709         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10711 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10713         [BZ #14770]
10714         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10715         * sysdeps/s390/configure: Regenerate.
10717         [BZ #16824]
10718         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10719         Set round-to-nearest internally to reduce error accumulation.
10721 2014-04-16  Alan Modra  <amodra@gmail.com>
10723         [BZ #16740]
10724         [BZ #16619]
10725         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10726         * math/libm-test.inc (frexp_test_data): Add tests.
10727         * NEWS: Update fixed bug list.
10729 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10731         * benchtests/Makefile: Depend on libraries in build directory.
10732         (bench-math): Separate out math tests.
10733         (bench-pthread): Separate out pthread tests.
10734         (bench): Include math and pthread tests.
10736 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10738         [BZ #16831]
10739         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10740         _dl_debug_initialize.
10742         * configure.ac: Remove SELinux header check.
10743         * configure: Regenerate.
10744         * nscd/selinux.c (perms): Array of const char* to permission names.
10745         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10746         default policy. Call string_to_security_class and string_to_av_perm to
10747         translate strings. Enforce default policy and call avs_has_perm with
10748         results of translated strings.
10750 2014-04-13  David S. Miller  <davem@davemloft.net>
10752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10754 2014-04-12  Allan McRae  <allan@archlinux.org>
10756         [BZ #16838]
10757         * manual/string.texi (Collation Functions): Fix qsort argument
10758         order in example.
10759         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10761 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10763         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10764         Make the test a no-op if there are no exceptions defined.
10766 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10768         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10769         enable-hardcoded-path-in-tests
10771 2014-04-11  Will Newton  <will.newton@linaro.org>
10773         * benchtests/Makefile (extra-objs): Add json-lib.o.
10774         (bench-func): Tidy up JSON output.
10775         * benchtests/bench-skeleton.c: Include json-lib.h.
10776         (main): Use JSON library functions to do output of
10777         benchmark results.
10778         * benchtests/bench-timing-type.c (main): Output the
10779         timing type simply, leaving formatting to the user.
10780         * benchtests/json-lib.c: New file.
10781         * benchtests/json-lib.h: Likewise.
10783 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10785         [BZ #15215]
10786         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10787         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10788         memory barriers.  Add comments.
10789         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10790         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10791         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10792         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10793         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10794         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10796 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10798         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10799         * sysdeps/s390/s390-64/configure.ac: ... this ...
10800         * sysdeps/s390/configure.ac: ... to here.
10801         * sysdeps/s390/s390-32/configure: Delete file.
10802         * sysdeps/s390/s390-64/configure: Delete file.
10803         * sysdeps/s390/configure: Regenerate.
10805 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10807         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10809 2014-04-11  Will Newton  <will.newton@linaro.org>
10811         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10812         to zero if it is not defined elsewhere.  (mtrim): Test
10813         the value of MALLOC_DEBUG with #if rather than #ifdef.
10815 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10817         * benchtests/pthread_once-inputs: New file.
10818         * benchtests/pthread_once-source.c: New file.
10819         * benchtests/README: Update documentation.
10821 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10822             H.J. Lu  <hongjiu.lu@intel.com>
10824         [BZ #16275]
10825         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10826         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10827         * sysdeps/x86_64/configure: Regenerated.
10828         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10829         macro.
10830         (REGISTER_SAVE_RAX): Likewise.
10831         (REGISTER_SAVE_RCX): Likewise.
10832         (REGISTER_SAVE_RDX): Likewise.
10833         (REGISTER_SAVE_RSI): Likewise.
10834         (REGISTER_SAVE_RDI): Likewise.
10835         (REGISTER_SAVE_R8): Likewise.
10836         (REGISTER_SAVE_R9): Likewise.
10837         (REGISTER_SAVE_BND0): Likewise.
10838         (REGISTER_SAVE_BND1): Likewise.
10839         (REGISTER_SAVE_BND2): Likewise.
10840         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10841         bound registers when calling _dl_fixup.
10843 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10845         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10846         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10847         of its definition.
10848         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10849         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10850         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10851         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10852         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10853         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10854         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10856 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10858         [BZ #15514]
10859         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10860         pathconf(_PC_NAME_MAX).
10862 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10864         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10865         Remove macro usage.
10866         (__PTHREAD_SPINS): Move definition to ...
10867         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10868         (__PTHREAD_SPINS): ... here.
10869         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10870         (__PTHREAD_SPIN): Likewise.
10871         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10872         (__PTHREAD_SPIN): Likewise.
10873         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10874         (__PTHREAD_SPIN): Likewise.
10875         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10876         (__PTHREAD_SPIN): Likewise.
10877         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10878         (__PTHREAD_SPIN): Likewise.
10879         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10880         (__PTHREAD_SPIN): Likewise.
10881         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10882         (__PTHREAD_SPIN): Likewise.
10883         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10884         (__PTHREAD_SPIN): Likewise.
10885         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10886         (__PTHREAD_SPIN): Likewise.
10887         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10888         (__PTHREAD_SPIN): Likewise.
10889         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10890         (__PTHREAD_SPIN): Likewise.
10891         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10892         (__PTHREAD_SPIN): Likewise.
10894         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10895         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10896         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10897         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10898         imply folder.
10899         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10900         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10901         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10902         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10903         correct imply path.
10904         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10905         strlen symbol for non multi-arch builds.
10906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10907         missing hidden_def and weak_alias.
10909 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10911         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10913 2014-04-07  Will Newton  <will.newton@linaro.org>
10915         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10916         and contents.  [!_LIBC] Remove #ifndef and contents.
10917         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10918         * string/memccpy.c (__memccpy): Use ANSI prototype.
10919         * string/memfrob.c (memfrob): Likewise.
10920         * string/strcoll.c (STRCOLL): Likewise.
10921         * string/strlen.c (strlen): Likewise.
10922         * string/strtok.c (STRTOK): Likewise.
10923         * string/strcat.c: Remove unused #include of memcopy.h.
10924         (strcat): Use ANSI prototype.
10925         * string/strchr.c: Remove unused #include of memcopy.h.
10926         (strchr): Use ANSI prototype.
10927         * string/strcmp.c: Remove unused #include of memcopy.h.
10928         (strcmp): Use ANSI prototype.
10929         * string/strcpy.c: Remove unused #include of memcopy.h.
10930         (strcpy): Use ANSI prototype.
10932 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10934         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10935         * config.make.in (config-extra-cppflags): Set it from
10936         libc_extra_cppflags.
10937         * configure.ac (libc_extra_cflags): Make it accumulate over
10938         configure fragments.
10939         (libc_extra_cppflags): New flag.
10940         * configure. Regenerate.
10941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10942         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10943         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10946         [BZ #16815]
10947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10948         result for FE_DOWNWARD rounding mode.
10949         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10950         Likewise.
10951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10953 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10955         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10956         in function argument name.
10958 2014-04-03  David Svoboda  <svoboda@cert.org>
10960         [BZ #5666]
10961         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10962         explicitly.
10964 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10966         * elf/dl-unmap-segments.h: New file.
10967         * sysdeps/generic/ldsodefs.h
10968         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10969         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10970         * elf/dl-fptr.c: Likewise.
10971         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10972         * sysdeps/aarch64/tlsdesc.c: Likewise.
10973         * sysdeps/arm/tlsdesc.c: Likewise.
10974         * sysdeps/i386/tlsdesc.c: Likewise.
10975         * sysdeps/tile/dl-runtime.c: Likewise.
10976         * sysdeps/x86_64/tlsdesc.c: Likewise.
10977         * elf/dl-load.h: New file.
10978         * elf/dl-load.c: Include it.
10979         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10980         Macros moved to dl-load.h.
10981         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10982         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10983         Use _dl_unmap_segments in place of __munmap.
10984         Break out segment-mapping loop into ...
10985         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10987 2014-04-03  Will Newton  <will.newton@linaro.org>
10989         * elf/dl-lookup.c (do_lookup_x): Remove comment
10990         referring to nested function and move variable
10991         declarations down to before first use.
10993 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10995         [BZ #16799]
10996         [BZ #16800]
10997         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10998         with 0 numerator.
10999         * math/s_catanf.c (__catanf): Likewise.
11000         * math/s_catanh.c (__catanh): Likewise.
11001         * math/s_catanhf.c (__catanhf): Likewise.
11002         * math/s_catanhl.c (__catanhl): Likewise.
11003         * math/s_catanl.c (__catanl): Likewise.
11004         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11005         by positive zero when computing -Inf result.
11006         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11007         (catanh_test): Likewise.
11008         * sysdeps/i386/fpu/libm-test-ulps: Update.
11009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11011         [BZ #16789]
11012         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11013         instead of using underflowing value in computing result.
11014         * math/s_clog10.c (__clog10): Likewise.
11015         * math/s_clog10f.c (__clog10f): Likewise.
11016         * math/s_clog10l.c (__clog10l): Likewise.
11017         * math/s_clogf.c (__clogf): Likewise.
11018         * math/s_clogl.c (__clogl): Likewise.
11019         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11020         (clog10_test): Likewise.
11021         * sysdeps/i386/fpu/libm-test-ulps: Update.
11022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11024 2014-04-02  Alan Modra  <amodra@gmail.com>
11026         [BZ #16739]
11027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11028         output when value is near a power of two.  Use int64_t for lx and
11029         remove casts.  Use decimal rather than hex exponent constants.
11030         Don't use long double multiplication when double will suffice.
11031         * math/libm-test.inc (nextafter_test_data): Add tests.
11032         * NEWS: Add 16739 and 16786 to bug list.
11034         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11036         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11038 2014-04-01  Will Newton  <will.newton@linaro.org>
11040         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11041         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11043 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11045         [BZ #13347]
11046         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11047         * nptl/tst-setuid2.c: New file.
11048         * nptl/Makefile (xtests): Add tst-setuid2.
11050 2014-04-01  Alan Modra  <amodra@gmail.com>
11052         [BZ #16786]
11053         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11055 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11057         [BZ #6803]
11058         [BZ #6804]
11059         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11060         set errno as appropriate.
11061         * math/w_scalbf.c (__scalbf): Likewise.
11062         * math/w_scalbl.c (__scalbl): Likewise.
11063         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11064         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11065         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11066         Add more NaN tests.
11068         [BZ #16349]
11069         * math/w_atan2.c: Include <errno.h>.
11070         (__atan2): Set errno for result underflowing to zero.
11071         * math/w_atan2f.c: Include <errno.h>.
11072         (__atan2f): Set errno for result underflowing to zero.
11073         * math/w_atan2l.c: Include <errno.h>.
11074         (__atan2l): Set errno for result underflowing to zero.
11075         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11076         tests.
11077         * math/auto-libm-test-out: Regenerated.
11079 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11081         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11082         Encode instruction correctly in little endian.
11083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11084         Likewise.
11085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11086         Likewise.
11087         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11088         Likewise.
11089         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11090         Likewise.
11092 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11094         [BZ #9894]
11095         * sysdeps/unix/sysv/linux/kernel-features.h
11096         [__sparc__ && !__arch64__ && !__sparc_v9__]
11097         (__ASSUME_SET_ROBUST_LIST): Do not define.
11098         [__sparc__ && !__arch64__ && !__sparc_v9__]
11099         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11100         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11101         Likewise.
11102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11103         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11104         (__ASSUME_REQUEUE_PI): Likewise.
11105         (__ASSUME_SET_ROBUST_LIST): Likewise.
11106         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11107         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11108         Undefine.
11109         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11111         Likewise.
11112         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11113         Likewise.
11114         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11115         Likewise.
11116         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11117         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11118         Undefine.
11119         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11120         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11121         Likewise.
11123         [BZ #16648]
11124         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11126         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11128 2014-03-31  Will Newton  <will.newton@linaro.org>
11130         * benchtests/Makefile (bench): Add ffs and ffsll to list
11131         of tests.
11132         * benchtests/ffs-inputs: New file.
11133         * benchtests/ffsll-inputs: Likewise.
11135 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11137         [BZ #16770]
11138         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11139         too large before casting to int.
11140         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11141         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11142         * math/libm-test.inc (scalb_test_data): Add more tests.
11144 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11146         * benchtests/Makefile (DETAILED_OPT): New make option.
11147         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11148         set.
11149         * benchtests/bench-skeleton.c: Include stdbool.h.
11150         (main): Store and print timings per input.
11151         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11152         member to each argument value.
11153         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11154         (_print_arg_data): Initialize per-input timing to 0.
11156         * benchtests/Makefile (timing-type): New binary.
11157         (bench-clean): Also remove bench-timing-type.
11158         (bench): New target for timing-type.
11159         (bench-func): Print output in JSON format.
11160         * benchtests/bench-skeleton.c (main): Print output in JSON
11161         format.
11162         * benchtests/bench-timing-type.c: New file.
11163         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11164         (TIMING_PRINT_STATS): Remove.
11165         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11166         name separately.
11168         * benchtests/bench-modf.c: Remove.
11169         * benchtests/modf-inputs: New inputs file.
11171 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11173         [BZ #16362]
11174         * math/s_clog10.c (M_PI_LOG10E): New macro.
11175         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11176         imaginary parts are 0.
11177         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11178         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11179         imaginary parts are 0.
11180         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11181         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11182         imaginary parts are 0.
11183         * math/libm-test.inc (clog10_test_data): Update expected results
11184         for when real and imaginary parts are 0.
11186 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11188         * elf/dl-load.c: Finish conversion of __builtin_expect into
11189         __glibc_{un}likely.
11191 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11193         [BZ #16348]
11194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11195         1+x for argument with exponent below -67.
11196         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11197         Likewise.
11198         * math/auto-libm-test-in: Add more tests of exp.
11199         * math/auto-libm-test-out: Regenerated.
11201 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         [BZ #16759]
11204         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11205         (nscd_getnetgrent): Use it.
11207         [BZ #16760]
11208         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11209         of stpcpy.
11211 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11213         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11214         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11215         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11216         (lll_robust_unlock): Remove out of line section. Use cfi
11217         intrinsics.
11218         (LLL_STUB_UNWIND_INFO*): Remove.
11219         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11220         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11221         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11222         (lll_robust_unlock): Remove out of line section. Use cfi
11223         intrinsics.
11224         (LLL_STUB_UNWIND_INFO*): Remove.
11226 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11228         [BZ #16758]
11229         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11230         blank values.
11232 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11234         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11236 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11238         [BZ #16198]
11239         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11240         fnstenv.
11241         * math/test-fenv-preserve.c: New file.
11242         * math/Makefile (tests): Add test-fenv-preserve.
11244 2014-03-26  Will Newton <will.newton@linaro.org>
11246         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11248 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11250         * scripts/versionlist.awk: Partition the version sets and emit all
11251         GLIBC_* (sorted) before all others (sorted).
11253 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11255         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11256         GLIBC_2.2.5 version.
11258 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11260         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11261         calls.
11263         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11264         previous change.
11266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11268 2014-03-25  Andreas Schwab  <schwab@suse.de>
11270         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11271         label to be used after in6ailist is initialized.
11273 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11275         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11276         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11278 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11280         [BZ #16357]
11281         [BZ #16599]
11282         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11283         min_plus_half.
11284         (fp_formats): Update initializers.
11285         (init_fp_formats): Initialize new field.
11286         (output_for_one_input_case): Allow underflow for results up to
11287         min_plus_half.
11288         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11289         * math/auto-libm-test-in: Don't mark some underflows from asin and
11290         atanh as spurious.
11291         * math/auto-libm-test-out: Regenerated.
11292         * sysdeps/i386/fpu/libm-test-ulps: Update.
11293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295 2014-03-25  Andreas Schwab  <schwab@suse.de>
11297         * libio/Makefile (tst-ftell-partial-wide-ENV)
11298         (tst-ftell-active-handler-ENV): Define.
11300 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11302         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11304 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11306         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11308 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11310         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11311         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11314 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11316         [BZ #16634]
11317         * elf/dl-load.c (open_verify): Add mode parameter.
11318         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11319         (open_path): Change from boolean 'secure' to complete flag 'mode'
11320         (_dl_map_object): Adjust.
11321         * elf/Makefile (tests): Add tst-dlopen-aout.
11322         * elf/tst-dlopen-aout.c: New test.
11324 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11326         [BZ #16714]
11327         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11328         (struct stat): Rename member pad0 to __glibc_reserved0.
11330         [BZ #16712]
11331         * sysdeps/s390/s390-32/bits/wordsize.h
11332         (__WORDSIZE32_SIZE_ULONG): New define.
11333         * sysdeps/s390/s390-64/bits/wordsize.h
11334         (__WORDSIZE32_SIZE_ULONG): Likewise.
11335         * sysdeps/generic/stdint.h (SIZE_MAX):
11336         Define as UL if __WORDSIZE32_SIZE_ULONG.
11338         [BZ #16713]
11339         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11340         (__glibc_reserved0): New variable.
11341         (sa_flags): Change type to int.
11343         * posix/Makefile (before-compile): Use += before-compile instead
11344         of a :=.
11346         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11347         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11349 2014-03-20  Andreas Schwab  <schwab@suse.de>
11351         [BZ #16743]
11352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11353         non-matching result from nscd.
11355 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11357         * scripts/bench.py: Moved to ...
11358         * benchtests/scripts/bench.py: ... here.
11359         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11361 2014-03-24  Andreas Schwab  <schwab@suse.de>
11363         [BZ #16002]
11364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11365         alloca_account and account alloca use for struct in6ailist.
11367 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11369         [BZ #16284]
11370         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11371         rounding mode to recompute results that overflow to infinity or
11372         underflow to zero.
11373         * math/auto-libm-test-in: Don't mark tests as expected to fail for
11374         bug 16284.
11375         * math/auto-libm-test-out: Regenerated.
11376         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11377         (ccosh_test): Likewise.
11378         (csin_test_data): Use plus_oflow.
11379         (csin_test): Use ALL_RM_TEST.
11380         (csinh_test_data): Use plus_oflow.
11381         (csinh_test): Use ALL_RM_TEST.
11382         * sysdeps/i386/fpu/libm-test-ulps: Update.
11383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11385 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
11387         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11388         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11389         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11391         [BZ #16731]
11392         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11393         when x - 1 is zero.
11394         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11395         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11396         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11398         argument is 1.
11399         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11400         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11401         zero.
11402         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11403         * sysdeps/i386/fpu/libm-test-ulps: Update.
11404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11406 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11408         * scripts/bench.pl: Remove file.
11409         * scripts/bench.py: New benchmark script.
11410         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11411         * benchtests/README: Mention python dependency.
11412         * scripts/pylintrc: New file.
11413         * scripts/pylint: New file.
11415         * bits/mathdef.h: Use #ifdef instead of #if.
11416         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11417         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11418         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11419         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11420         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11421         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11423 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11424             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11426         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11428         and strpbrk-ppc64 objects.
11429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11430         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11432         multiarch strpbrk for POWER7.
11433         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11434         multiarch strpbrk for PPC64.
11435         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11436         ifunc selector.
11437         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11438         strpbrk for POWER7.
11440 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11442         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11443         (atan_test): Likewise.
11444         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11445         (atanh_test): Use ALL_RM_TEST.
11446         (atan2_test_data): Likewise.
11447         (cabs_test): Likewise.
11448         (cacosh_test): Likewise.
11449         (carg_test): Likewise.
11450         (casin_test): Likewise.
11451         (casinh_test): Likewise.
11452         (cbrt_test): Likewise.
11453         (csqrt_test): Likewise.
11454         (erf_test): Likewise.
11455         (erfc_test): Likewise.
11456         (pow10_test): Likewise.
11457         (exp2_test): Likewise.
11458         (hypot_test): Likewise.
11459         (j0_test): Likewise.
11460         (j1_test): Likewise.
11461         (lgamma_test): Likewise.
11462         (gamma_test): Likewise.
11463         (sincos_test): Likewise.
11464         (tanh_test): Likewise.
11465         (y0_test): Likewise.
11466         (y1_test): Likewise.
11467         * sysdeps/i386/fpu/libm-test-ulps: Update.
11468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11470 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11472         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11474         and strcspn-ppc64 objects.
11475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11476         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11477         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11478         multiarch strcspn for POWER7.
11479         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11480         multiarch strcspn for PPC64.
11481         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11482         ifunc selector.
11483         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11484         strcspn for POWER7.
11486 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11488         * math/gen-libm-test.pl (generate_testfile): Expect only function
11489         name as argument to AUTO_TESTS_* and pass results for all rounding
11490         modes to parse_args.
11491         (parse_auto_input): Separate inputs of automatic tests from
11492         outputs before storing in %auto_tests.
11493         * math/libm-test.inc (acos_test_data): Update call to
11494         AUTO_TESTS_f_f.
11495         (acos_test): Use ALL_RM_TEST.
11496         (acos_tonearest_test_data): Remove.
11497         (acos_test_tonearest): Likewise.
11498         (acos_towardzero_test_data): Likewise.
11499         (acos_test_towardzero): Likewise.
11500         (acos_downward_test_data): Likewise.
11501         (acos_test_downward): Likewise.
11502         (acos_upward_test_data): Likewise.
11503         (acos_test_upward): Likewise.
11504         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11505         (asin_test_data): Likewise.
11506         (asin_test): Use ALL_RM_TEST.
11507         (asin_tonearest_test_data): Remove.
11508         (asin_test_tonearest): Likewise.
11509         (asin_towardzero_test_data): Likewise.
11510         (asin_test_towardzero): Likewise.
11511         (asin_downward_test_data): Likewise.
11512         (asin_test_downward): Likewise.
11513         (asin_upward_test_data): Likewise.
11514         (asin_test_upward): Likewise.
11515         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11516         (atan_test_data): Likewise.
11517         (atanh_test_data): Likewise.
11518         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11519         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11520         (carg_test_data): Likewise.
11521         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11522         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11523         (ccosh_test_data): Likewise.
11524         (cexp_test_data): Likewise.
11525         (clog_test_data): Likewise.
11526         (clog10_test_data): Likewise.
11527         (cos_test_data): Update call to AUTO_TESTS_f_f.
11528         (cos_test): Use ALL_RM_TEST.
11529         (cos_tonearest_test_data): Remove.
11530         (cos_test_tonearest): Likewise.
11531         (cos_towardzero_test_data): Likewise.
11532         (cos_test_towardzero): Likewise.
11533         (cos_downward_test_data): Likewise.
11534         (cos_test_downward): Likewise.
11535         (cos_upward_test_data): Likewise.
11536         (cos_test_upward): Likewise.
11537         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11538         (cosh_test): Use ALL_RM_TEST.
11539         (cosh_tonearest_test_data): Remove.
11540         (cosh_test_tonearest): Likewise.
11541         (cosh_towardzero_test_data): Likewise.
11542         (cosh_test_towardzero): Likewise.
11543         (cosh_downward_test_data): Likewise.
11544         (cosh_test_downward): Likewise.
11545         (cosh_upward_test_data): Likewise.
11546         (cosh_test_upward): Likewise.
11547         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11548         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11549         (ctan_test_data): Likewise.
11550         (ctan_test): Use ALL_RM_TEST.
11551         (ctan_tonearest_test_data): Remove.
11552         (ctan_test_tonearest): Likewise.
11553         (ctan_towardzero_test_data): Likewise.
11554         (ctan_test_towardzero): Likewise.
11555         (ctan_downward_test_data): Likewise.
11556         (ctan_test_downward): Likewise.
11557         (ctan_upward_test_data): Likewise.
11558         (ctan_test_upward): Likewise.
11559         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11560         (ctanh_test): Use ALL_RM_TEST.
11561         (ctanh_tonearest_test_data): Remove.
11562         (ctanh_test_tonearest): Likewise.
11563         (ctanh_towardzero_test_data): Likewise.
11564         (ctanh_test_towardzero): Likewise.
11565         (ctanh_downward_test_data): Likewise.
11566         (ctanh_test_downward): Likewise.
11567         (ctanh_upward_test_data): Likewise.
11568         (ctanh_test_upward): Likewise.
11569         (erf_test_data): Update call to AUTO_TESTS_f_f.
11570         (erfc_test_data): Likewise.
11571         (exp_test_data): Likewise.
11572         (exp_test): Use ALL_RM_TEST.
11573         (exp_tonearest_test_data): Remove.
11574         (exp_test_tonearest): Likewise.
11575         (exp_towardzero_test_data): Likewise.
11576         (exp_test_towardzero): Likewise.
11577         (exp_downward_test_data): Likewise.
11578         (exp_test_downward): Likewise.
11579         (exp_upward_test_data): Likewise.
11580         (exp_test_upward): Likewise.
11581         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11582         (exp10_test): Use ALL_RM_TEST.
11583         (exp10_tonearest_test_data): Remove.
11584         (exp10_test_tonearest): Likewise.
11585         (exp10_towardzero_test_data): Likewise.
11586         (exp10_test_towardzero): Likewise.
11587         (exp10_downward_test_data): Likewise.
11588         (exp10_test_downward): Likewise.
11589         (exp10_upward_test_data): Likewise.
11590         (exp10_test_upward): Likewise.
11591         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11592         (expm1_test_data): Likewise.
11593         (expm1_test): Use ALL_RM_TEST.
11594         (expm1_tonearest_test_data): Remove.
11595         (expm1_test_tonearest): Likewise.
11596         (expm1_towardzero_test_data): Likewise.
11597         (expm1_test_towardzero): Likewise.
11598         (expm1_downward_test_data): Likewise.
11599         (expm1_test_downward): Likewise.
11600         (expm1_upward_test_data): Likewise.
11601         (expm1_test_upward): Likewise.
11602         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11603         (fma_test): Use ALL_RM_TEST.
11604         (fma_towardzero_test_data): Remove.
11605         (fma_test_towardzero): Likewise.
11606         (fma_downward_test_data): Likewise.
11607         (fma_test_downward): Likewise.
11608         (fma_upward_test_data): Likewise.
11609         (fma_test_upward): Likewise.
11610         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11611         (j0_test_data): Update call to AUTO_TESTS_f_f.
11612         (j1_test_data): Likewise.
11613         (jn_test_data): Update call to AUTO_TESTS_if_f.
11614         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11615         (log_test_data): Update call to AUTO_TESTS_f_f.
11616         (log10_test_data): Likewise.
11617         (log1p_test_data): Likewise.
11618         (log2_test_data): Likewise.
11619         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11620         (pow_tonearest_test_data): Likewise.
11621         (sin_test_data): Update call to AUTO_TESTS_f_f.
11622         (sin_test): Use ALL_RM_TEST.
11623         (sin_tonearest_test_data): Remove.
11624         (sin_test_tonearest): Likewise.
11625         (sin_towardzero_test_data): Likewise.
11626         (sin_test_towardzero): Likewise.
11627         (sin_downward_test_data): Likewise.
11628         (sin_test_downward): Likewise.
11629         (sin_upward_test_data): Likewise.
11630         (sin_test_upward): Likewise.
11631         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11632         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11633         (sinh_test): Use ALL_RM_TEST.
11634         (sinh_tonearest_test_data): Remove.
11635         (sinh_test_tonearest): Likewise.
11636         (sinh_towardzero_test_data): Likewise.
11637         (sinh_test_towardzero): Likewise.
11638         (sinh_downward_test_data): Likewise.
11639         (sinh_test_downward): Likewise.
11640         (sinh_upward_test_data): Likewise.
11641         (sinh_test_upward): Likewise.
11642         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11643         (sqrt_test): Use ALL_RM_TEST.
11644         (sqrt_tonearest_test_data): Remove.
11645         (sqrt_test_tonearest): Likewise.
11646         (sqrt_towardzero_test_data): Likewise.
11647         (sqrt_test_towardzero): Likewise.
11648         (sqrt_downward_test_data): Likewise.
11649         (sqrt_test_downward): Likewise.
11650         (sqrt_upward_test_data): Likewise.
11651         (sqrt_test_upward): Likewise.
11652         (tan_test_data): Update call to AUTO_TESTS_f_f.
11653         (tan_test): Use ALL_RM_TEST.
11654         (tan_tonearest_test_data): Remove.
11655         (tan_test_tonearest): Likewise.
11656         (tan_towardzero_test_data): Likewise.
11657         (tan_test_towardzero): Likewise.
11658         (tan_downward_test_data): Likewise.
11659         (tan_test_downward): Likewise.
11660         (tan_upward_test_data): Likewise.
11661         (tan_test_upward): Likewise.
11662         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11663         (tgamma_test_data): Likewise.
11664         (y0_test_data): Likewise.
11665         (y1_test_data): Likewise.
11666         (yn_test_data): Update call to AUTO_TESTS_if_f.
11667         (main): Do not call removed functions.
11669 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11671         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11672         (ldexp_test_data): Remove.
11673         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11674         scalbn_test_data.
11675         (scalb_test): Use ALL_RM_TEST.
11677 2014-03-19  Andreas Schwab  <schwab@suse.de>
11679         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11681 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11683         [BZ #16649]
11684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11685         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11686         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11688         (__ASSUME_PREADV): Undefine.
11689         (__ASSUME_PWRITEV): Likewise.
11691 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11693         * bits/mman-linux.h: Add comment about non-Linux use.
11694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11695         bits/mman-linux.h resting place.
11697         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11698         * bits/mman-linux.h: ... here.
11700 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11702         * conform/conformtest.pl: Add standard definition when calling C
11703         preprocessor on data files.
11704         (checknamespace): Remove unused variable.
11706 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11708         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11709         minus_oflow, plus_uflow and minus_uflow in expected results.
11710         * math/libm-test.inc (scalbn_test_data): Add more tests of
11711         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11712         minus_uflow.
11713         (scalbn_test): Use ALL_RM_TEST.
11714         (scalbln_test_data): Add more tests of negative arguments.  Use
11715         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11716         (scalbln_test): Use ALL_RM_TEST.
11718 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11720         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11722 2014-03-18  Will Newton  <will.newton@linaro.org>
11724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11725         inaccurate comment.
11727 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11729         * Makerules [!subdir] (check-abi): Exit with error status if a
11730         test failed.
11732 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11734         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11735         for rint.  Include results for all rounding modes.
11736         (nearbyint_test): Use ALL_RM_TEST.
11737         (rint_test_data): Include all tests used for nearbyint.
11739 2014-03-17  Will Newton  <will.newton@linaro.org>
11741         * nptl/sysdeps/pthread/pthread.h: Revert previous
11742         change.
11744         * sysdeps/generic/ldsodefs.h: Revert previous
11745         change.
11747         * libio/genops.c: Revert previous change.
11748         * libio/libioP.h: Likewise.
11749         * stdio-common/vfprintf.c: Likewise.
11751         * sysdeps/generic/math_private.h: Revert previous
11752         change.
11754         * sysdeps/generic/math_private.h: Check whether
11755         HAVE_RM_CTX is defined with #ifdef rather
11756         than #if.
11758         * argp/argp-fmtstream.h: Check whether
11759         __STRICT_ANSI__ is defined with #ifdef rather
11760         than #if.
11761         * argp/argp.h: Likewise.
11763         * libio/genops.c: Check whether
11764         _IO_JUMPS_OFFSET is defined with #ifdef rather
11765         than #if.
11766         * libio/libioP.h: Likewise.
11767         * stdio-common/vfprintf.c: Likewise.
11769         * sysdeps/generic/ldsodefs.h: Check whether
11770         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11771         than #if.
11773         * nptl/sysdeps/pthread/pthread.h: Check
11774         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11775         its value.
11777 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11779         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11780         setting O_APPEND.
11781         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11782         test case.
11784         [BZ #16680]
11785         * libio/fileops.c (_IO_file_open): Seek to end of file but
11786         don't cache the offset.
11787         (get_file_offset): Remove function.
11788         (do_ftell): Use cached offset when available.
11789         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11790         don't cache the offset.
11791         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11792         case.
11793         (do_one_test): Call it.
11794         (do_ftell_test): Fix up expected old offset for a+ mode.
11795         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11796         available.
11798         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11799         up test status with function return status.
11800         (do_write_test): Likewise.
11801         (do_append_test): Likewise.
11803         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11804         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11805         Remove.
11807 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11809         * math/gen-libm-test.pl (parse_args): Handle results specified for
11810         each rounding mode separately.
11811         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11812         tests and results from lrint_tonearest_test_data,
11813         lrint_towardzero_test_data, lrint_downward_test_data and
11814         lrint_upward_test_data.
11815         (lrint_test): Use ALL_RM_TEST.
11816         (lrint_tonearest_test_data): Remove.
11817         (lrint_test_tonearest): Likewise.
11818         (lrint_towardzero_test_data): Likewise.
11819         (lrint_test_towardzero): Likewise.
11820         (lrint_downward_test_data): Likewise.
11821         (lrint_test_downward): Likewise.
11822         (lrint_upward_test_data): Likewise.
11823         (lrint_test_upward): Likewise.
11824         (llrint_test_data): Merge in per-rounding-mode tests and results
11825         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11826         llrint_downward_test_data and llrint_upward_test_data.
11827         (llrint_test): Use ALL_RM_TEST.
11828         (llrint_tonearest_test_data): Remove.
11829         (llrint_test_tonearest): Likewise.
11830         (llrint_towardzero_test_data): Likewise.
11831         (llrint_test_towardzero): Likewise.
11832         (llrint_downward_test_data): Likewise.
11833         (llrint_test_downward): Likewise.
11834         (llrint_upward_test_data): Likewise.
11835         (llrint_test_upward): Likewise.
11836         (rint_test_data): Merge in per-rounding-mode tests and results
11837         from rint_tonearest_test_data, rint_towardzero_test_data,
11838         rint_downward_test_data and rint_upward_test_data.  Add
11839         per-rounding-mode results for tests not in those arrays.
11840         (rint_test): Use ALL_RM_TEST.
11841         (rint_tonearest_test_data): Remove.
11842         (rint_test_tonearest): Likewise.
11843         (rint_towardzero_test_data): Likewise.
11844         (rint_test_towardzero): Likewise.
11845         (rint_downward_test_data): Likewise.
11846         (rint_test_downward): Likewise.
11847         (rint_upward_test_data): Likewise.
11848         (rint_test_upward): Likewise.
11849         (main): Don't call removed functions.
11851 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11853         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11854         "Compiled on ..." crapola.  It is anti-useful.
11856 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11858         * scripts/evaluate-test.sh: Handle fourth argument to determine
11859         whether test run should stop on failure.
11860         * Makeconfig (stop-on-test-failure): New variable.
11861         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11862         $(stop-on-test-failure).
11863         * Makefile (tests): Give a summary of results from testing and
11864         exit with failure status if they include an ERROR or FAIL.
11865         (xtests): Likewise.
11866         * manual/install.texi (Configuring and compiling): Mention
11867         stop-on-test-failure=y.
11868         * INSTALL: Regenerated.
11870 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11872         * scripts/versionlist.awk: New file.
11873         * Makerules [$(build-shared) = yes]
11874         (postclean-generated): Add Versions.def, not Versions.def.v and
11875         Versions.def.v.i.
11876         ($(common-objpfx)Versions.def.v.i): Target removed.
11877         ($(common-objpfx)Versions.def): New target.
11878         ($(common-objpfx)Versions.all): Depend on that rather that
11879         $(common-objpfx)Versions.def.v.
11880         * Versions.def: File removed.
11882         * Makeconfig (+gccwarn): Add -Wundef.
11883         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11884         a dl-sysdep.h breaking its contract.
11885         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11886         * include/stackinfo.h: New file.
11887         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11888         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11889         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11890         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11891         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11892         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11893         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11894         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11895         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11896         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11897         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11898         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11899         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11900         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11901         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11903 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11905         [BZ #16707]
11906         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11907         implementation.
11908         * math/libm-test.inc (round_test_data): Add more tests.
11910         [BZ #16706]
11911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11912         implementation.
11913         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11915         [BZ #16701]
11916         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11917         implementation.
11918         * math/libm-test.inc (ceil_test_data): Add more tests.
11920         * math/libm-test.inc (trunc_test_data): Add more tests related to
11921         BZ#16414.
11923 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11925         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11926         with #if rather than #ifdef.
11927         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11929 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11931         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11932         first.  Disable AVX-512 GCC support if assembler doesn't support
11933         it.
11934         * sysdeps/x86_64/configure: Regenerated.
11936 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11938         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11939         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11940         (__old_pthread_attr_setstack): Likewise.
11941         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11942         [!_STACK_GROWS_DOWN]: Likewise.
11944 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11946         * config.make.in (have-bash2): Delete.
11947         * configure.ac (libc_cv_have_bash2): Delete.
11948         * configure: Regenerate.
11949         * elf/Makefile (common-ldd-rewrite): Rename to ...
11950         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11951         (sh-ldd-rewrite): Delete.
11952         (bash-ldd-rewrite): Delete.
11953         (have-bash2): Delete checks.
11954         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11955         ldd-rewrite.
11957         * config.make.in (have-ksh): Delete.
11958         (KSH): Delete.
11959         * configure.ac (libc_cv_have_ksh): Delete.
11960         * configure: Regenerate.
11962         * elf/Makefile: Delete $(have-ksh) check.
11963         ($(objpfx)sotruss): Change KSH to BASH.
11964         * elf/sotruss.ksh: Rename to ...
11965         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11966         function style to match POSIX.  Drop ksh vim mode setting.
11968         * manual/time.texi (Specifying the Time Zone with TZ): Change
11969         Tuesday to Thursday.
11971         * debug/tst-longjmp_chk2.c: Update header comment.
11972         (stackoverflow_handler): Add comment.  Call assert on pass value.
11974 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11976         [BZ #16194]
11977         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11978         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11979         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11980         (La_x86_64_vector): Add zmm.
11981         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11982         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11983         ($(objpfx)tst-audit10): New target.
11984         ($(objpfx)tst-audit10.out): Likewise.
11985         (tst-audit10-ENV): New.
11986         (AVX512-CFLAGS): Likewise.
11987         (CFLAGS-tst-audit10.c): Likewise.
11988         (CFLAGS-tst-auditmod10a.c): Likewise.
11989         (CFLAGS-tst-auditmod10b.c): Likewise.
11990         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11991         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11992         * sysdeps/x86_64/configure: Regenerated.
11993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11994         AVX-512 zmm register support.
11995         (_dl_x86_64_save_sse): Likewise.
11996         (_dl_x86_64_restore_sse): Likewise.
11997         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11998         size vector registers.
11999         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12000         (ZMM_SIZE): Likewise.
12001         * sysdeps/x86_64/tst-audit10.c: New file.
12002         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12003         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12005 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12007         * configure.ac (HAVE_EHDR_START): New check.
12008         * configure: Regenerated.
12009         * config.h.in (HAVE_EHDR_START): New #undef.
12010         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12011         assuming the lowest-addressed segment maps the start of the file.
12013 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12015         * INSTALL: Regenerated.
12017 2014-03-13  Will Newton  <will.newton@linaro.org>
12019         * manual/setjmp.texi (System V contexts): Improve
12020         clarity and grammar of documentation.
12022 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12024         [BZ #16381]
12025         * elf/Makefile (tests): Add tst-pie2.
12026         (tests-pie): Add tst-pie2.
12027         * elf/tst-pie2.c: New file.
12028         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12029         for ET_EXEC.
12030         * elf/rtld.c (map_doit): Load executable as lt_executable.
12031         (dl_main): Likewise.
12033 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12035         [BZ #16642]
12036         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12037         (__ASSUME_PSELECT): Undefine.
12039 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12041         [BZ #16689]
12042         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12043         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12044         static build.
12045         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12046         selector for static builds.
12048 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12050         [BZ #16695]
12051         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12052         key in the buffer.
12054 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12056         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12057         IFUNC selector for static builds.
12059 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12061         * sysdeps/mips/math_private.h [__mips_hard_float]
12062         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12063         libc_feresetround_mips_ctx.
12064         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12065         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12066         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12068         [BZ #16677]
12069         * math/s_nextafter.c (__nextafter): Do not return value from
12070         overflowing computation.
12071         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12072         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12073         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12074         Likewise.
12075         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12076         Likewise.
12077         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12078         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12080 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12082         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12083         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12084         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12085         the new mov targetting sp.
12087 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12089         [BZ #16683]
12090         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12091         Define it for static builds as well.
12092         (NO_BZERO_IMPL): Likewise.
12094 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12096         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12097         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12098         multiarch strspn for PPC64.
12099         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12100         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12102         (__libc_ifunc_impl_list): Likewise.
12103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12104         multiarch optimizations
12105         * string/strspn.c (strspn): Using macro to redefine symbol name.
12107 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12108             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12110         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12111         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12112         multiarch strncat for PPC64.
12113         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12114         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12116         (__libc_ifunc_impl_list): Likewise.
12117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12118         multiarch optimizations
12120 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12122         [BZ #16639]
12123         * nscd/nscd.service: Make service type forking.
12125 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12127         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12128         sign in non default rounding modes.
12129         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12131 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12133         * math/libm-test.inc (ALL_RM_TEST): New macro.
12134         (ceil_test): Use ALL_RM_TEST.
12135         (cimag_test): Likewise.
12136         (conj_test): Likewise.
12137         (copysign_test): Likewise.
12138         (cproj_test): Likewise.
12139         (creal_test): Likewise.
12140         (fabs_test): Likewise.
12141         (floor_test): Likewise.
12142         (fmax_test): Likewise.
12143         (fmin_test): Likewise.
12144         (fmod_test): Likewise.
12145         (fpclassify_test): Likewise.
12146         (frexp_test): Likewise.
12147         (ilogb_test): Likewise.
12148         (isfinite_test): Likewise.
12149         (finite_test): Likewise.
12150         (isgreater_test): Likewise.
12151         (isgreaterequal_test): Likewise.
12152         (isinf_test): Likewise.
12153         (isless_test): Likewise.
12154         (islessequal_test): Likewise.
12155         (islessgreater_test): Likewise.
12156         (isnan_test): Likewise.
12157         (isnormal_test): Likewise.
12158         (issignaling_test): Likewise.
12159         (isunordered_test): Likewise.
12160         (logb_test): Likewise.
12161         (logb_downward_test_data): Remove.
12162         (logb_test_downward): Likewise.
12163         (lround_test): Use ALL_RM_TEST.
12164         (llround_test): Likewise.
12165         (modf_test): Likewise.
12166         (nexttoward_test): Likewise.
12167         (remainder_test): Likewise.
12168         (drem_test): Likewise.
12169         (remainder_tonearest_test_data): Likewise.
12170         (remainder_test_tonearest): Likewise.
12171         (drem_test_tonearest): Likewise.
12172         (remainder_towardzero_test_data): Likewise.
12173         (remainder_test_towardzero): Likewise.
12174         (drem_test_towardzero): Likewise.
12175         (remainder_downward_test_data): Likewise.
12176         (remainder_test_downward): Likewise.
12177         (drem_test_downward): Likewise.
12178         (remainder_upward_test_data): Likewise.
12179         (remainder_test_upward): Likewise.
12180         (drem_test_upward): Likewise.
12181         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12182         (round_test): Use ALL_RM_TEST.
12183         (signbit_test): Likewise.
12184         (trunc_test): Likewise.
12185         (significand_test): Likewise.
12186         (main): Don't call removed functions.
12188 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12190         [BZ #16674]
12191         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12192         || __USE_XOPEN2K8].
12193         (ILL_ILLOPN): Likewise.
12194         (ILL_ILLADR): Likewise.
12195         (ILL_ILLTRP): Likewise.
12196         (ILL_PRVOPC): Likewise.
12197         (ILL_PRVREG): Likewise.
12198         (ILL_COPROC): Likewise.
12199         (ILL_BADSTK): Likewise.
12200         (FPE_INTDIV): Likewise.
12201         (FPE_INTOVF): Likewise.
12202         (FPE_FLTDIV): Likewise.
12203         (FPE_FLTOVF): Likewise.
12204         (FPE_FLTUND): Likewise.
12205         (FPE_FLTRES): Likewise.
12206         (FPE_FLTINV): Likewise.
12207         (FPE_FLTSUB): Likewise.
12208         (SEGV_MAPERR): Likewise.
12209         (SEGV_ACCERR): Likewise.
12210         (BUS_ADRALN): Likewise.
12211         (BUS_ADRERR): Likewise.
12212         (BUS_OBJERR): Likewise.
12213         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12214         (TRAP_TRACE): Likewise.
12215         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12216         __USE_XOPEN2K8].
12217         (CLD_KILLED): Likewise.
12218         (CLD_DUMPED): Likewise.
12219         (CLD_TRAPPED): Likewise.
12220         (CLD_STOPPED): Likewise.
12221         (CLD_CONTINUED): Likewise.
12222         (POLL_IN): Likewise.
12223         (POLL_OUT): Likewise.
12224         (POLL_MSG): Likewise.
12225         (POLL_ERR): Likewise.
12226         (POLL_PRI): Likewise.
12227         (POLL_HUP): Likewise.
12228         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12229         Likewise.
12230         (ILL_ILLOPN): Likewise.
12231         (ILL_ILLADR): Likewise.
12232         (ILL_ILLTRP): Likewise.
12233         (ILL_PRVOPC): Likewise.
12234         (ILL_PRVREG): Likewise.
12235         (ILL_COPROC): Likewise.
12236         (ILL_BADSTK): Likewise.
12237         (FPE_INTDIV): Likewise.
12238         (FPE_INTOVF): Likewise.
12239         (FPE_FLTDIV): Likewise.
12240         (FPE_FLTOVF): Likewise.
12241         (FPE_FLTUND): Likewise.
12242         (FPE_FLTRES): Likewise.
12243         (FPE_FLTINV): Likewise.
12244         (FPE_FLTSUB): Likewise.
12245         (SEGV_MAPERR): Likewise.
12246         (SEGV_ACCERR): Likewise.
12247         (BUS_ADRALN): Likewise.
12248         (BUS_ADRERR): Likewise.
12249         (BUS_OBJERR): Likewise.
12250         (BUS_MCEERR_AR): Likewise.
12251         (BUS_MCEERR_AO): Likewise.
12252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12253         (TRAP_TRACE): Likewise.
12254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12255         __USE_XOPEN2K8].
12256         (CLD_KILLED): Likewise.
12257         (CLD_DUMPED): Likewise.
12258         (CLD_TRAPPED): Likewise.
12259         (CLD_STOPPED): Likewise.
12260         (CLD_CONTINUED): Likewise.
12261         (POLL_IN): Likewise.
12262         (POLL_OUT): Likewise.
12263         (POLL_MSG): Likewise.
12264         (POLL_ERR): Likewise.
12265         (POLL_PRI): Likewise.
12266         (POLL_HUP): Likewise.
12267         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12268         (ILL_ILLOPN): Likewise.
12269         (ILL_ILLADR): Likewise.
12270         (ILL_ILLTRP): Likewise.
12271         (ILL_PRVOPC): Likewise.
12272         (ILL_PRVREG): Likewise.
12273         (ILL_COPROC): Likewise.
12274         (ILL_BADSTK): Likewise.
12275         (FPE_INTDIV): Likewise.
12276         (FPE_INTOVF): Likewise.
12277         (FPE_FLTDIV): Likewise.
12278         (FPE_FLTOVF): Likewise.
12279         (FPE_FLTUND): Likewise.
12280         (FPE_FLTRES): Likewise.
12281         (FPE_FLTINV): Likewise.
12282         (FPE_FLTSUB): Likewise.
12283         (SEGV_MAPERR): Likewise.
12284         (SEGV_ACCERR): Likewise.
12285         (BUS_ADRALN): Likewise.
12286         (BUS_ADRERR): Likewise.
12287         (BUS_OBJERR): Likewise.
12288         (BUS_MCEERR_AR): Likewise.
12289         (BUS_MCEERR_AO): Likewise.
12290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12291         (TRAP_TRACE): Likewise.
12292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12293         __USE_XOPEN2K8].
12294         (CLD_KILLED): Likewise.
12295         (CLD_DUMPED): Likewise.
12296         (CLD_TRAPPED): Likewise.
12297         (CLD_STOPPED): Likewise.
12298         (CLD_CONTINUED): Likewise.
12299         (POLL_IN): Likewise.
12300         (POLL_OUT): Likewise.
12301         (POLL_MSG): Likewise.
12302         (POLL_ERR): Likewise.
12303         (POLL_PRI): Likewise.
12304         (POLL_HUP): Likewise.
12305         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12306         Likewise.
12307         (ILL_ILLOPN): Likewise.
12308         (ILL_ILLADR): Likewise.
12309         (ILL_ILLTRP): Likewise.
12310         (ILL_PRVOPC): Likewise.
12311         (ILL_PRVREG): Likewise.
12312         (ILL_COPROC): Likewise.
12313         (ILL_BADSTK): Likewise.
12314         (ILL_BADIADDR): Likewise.
12315         (ILL_BREAK): Likewise.
12316         (FPE_INTDIV): Likewise.
12317         (FPE_INTOVF): Likewise.
12318         (FPE_FLTDIV): Likewise.
12319         (FPE_FLTOVF): Likewise.
12320         (FPE_FLTUND): Likewise.
12321         (FPE_FLTRES): Likewise.
12322         (FPE_FLTINV): Likewise.
12323         (FPE_FLTSUB): Likewise.
12324         (FPE_DECOVF): Likewise.
12325         (FPE_DECDIV): Likewise.
12326         (FPE_DECERR): Likewise.
12327         (FPE_INVASC): Likewise.
12328         (FPE_INVDEC): Likewise.
12329         (SEGV_MAPERR): Likewise.
12330         (SEGV_ACCERR): Likewise.
12331         (SEGV_PSTKOVF): Likewise.
12332         (BUS_ADRALN): Likewise.
12333         (BUS_ADRERR): Likewise.
12334         (BUS_OBJERR): Likewise.
12335         (BUS_MCEERR_AR): Likewise.
12336         (BUS_MCEERR_AO): Likewise.
12337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12338         (TRAP_TRACE): Likewise.
12339         (TRAP_BRANCH): Likewise.
12340         (TRAP_HWBKPT): Likewise.
12341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12342         __USE_XOPEN2K8].
12343         (CLD_KILLED): Likewise.
12344         (CLD_DUMPED): Likewise.
12345         (CLD_TRAPPED): Likewise.
12346         (CLD_STOPPED): Likewise.
12347         (CLD_CONTINUED): Likewise.
12348         (POLL_IN): Likewise.
12349         (POLL_OUT): Likewise.
12350         (POLL_MSG): Likewise.
12351         (POLL_ERR): Likewise.
12352         (POLL_PRI): Likewise.
12353         (POLL_HUP): Likewise.
12354         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12355         (ILL_ILLOPN): Likewise.
12356         (ILL_ILLADR): Likewise.
12357         (ILL_ILLTRP): Likewise.
12358         (ILL_PRVOPC): Likewise.
12359         (ILL_PRVREG): Likewise.
12360         (ILL_COPROC): Likewise.
12361         (ILL_BADSTK): Likewise.
12362         (FPE_INTDIV): Likewise.
12363         (FPE_INTOVF): Likewise.
12364         (FPE_FLTDIV): Likewise.
12365         (FPE_FLTOVF): Likewise.
12366         (FPE_FLTUND): Likewise.
12367         (FPE_FLTRES): Likewise.
12368         (FPE_FLTINV): Likewise.
12369         (FPE_FLTSUB): Likewise.
12370         (SEGV_MAPERR): Likewise.
12371         (SEGV_ACCERR): Likewise.
12372         (BUS_ADRALN): Likewise.
12373         (BUS_ADRERR): Likewise.
12374         (BUS_OBJERR): Likewise.
12375         (BUS_MCEERR_AR): Likewise.
12376         (BUS_MCEERR_AO): Likewise.
12377         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12378         (TRAP_TRACE): Likewise.
12379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12380         __USE_XOPEN2K8].
12381         (CLD_KILLED): Likewise.
12382         (CLD_DUMPED): Likewise.
12383         (CLD_TRAPPED): Likewise.
12384         (CLD_STOPPED): Likewise.
12385         (CLD_CONTINUED): Likewise.
12386         (POLL_IN): Likewise.
12387         (POLL_OUT): Likewise.
12388         (POLL_MSG): Likewise.
12389         (POLL_ERR): Likewise.
12390         (POLL_PRI): Likewise.
12391         (POLL_HUP): Likewise.
12392         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12393         (ILL_ILLOPN): Likewise.
12394         (ILL_ILLADR): Likewise.
12395         (ILL_ILLTRP): Likewise.
12396         (ILL_PRVOPC): Likewise.
12397         (ILL_PRVREG): Likewise.
12398         (ILL_COPROC): Likewise.
12399         (ILL_BADSTK): Likewise.
12400         (FPE_INTDIV): Likewise.
12401         (FPE_INTOVF): Likewise.
12402         (FPE_FLTDIV): Likewise.
12403         (FPE_FLTOVF): Likewise.
12404         (FPE_FLTUND): Likewise.
12405         (FPE_FLTRES): Likewise.
12406         (FPE_FLTINV): Likewise.
12407         (FPE_FLTSUB): Likewise.
12408         (SEGV_MAPERR): Likewise.
12409         (SEGV_ACCERR): Likewise.
12410         (BUS_ADRALN): Likewise.
12411         (BUS_ADRERR): Likewise.
12412         (BUS_OBJERR): Likewise.
12413         (BUS_MCEERR_AR): Likewise.
12414         (BUS_MCEERR_AO): Likewise.
12415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12416         (TRAP_TRACE): Likewise.
12417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12418         __USE_XOPEN2K8].
12419         (CLD_KILLED): Likewise.
12420         (CLD_DUMPED): Likewise.
12421         (CLD_TRAPPED): Likewise.
12422         (CLD_STOPPED): Likewise.
12423         (CLD_CONTINUED): Likewise.
12424         (POLL_IN): Likewise.
12425         (POLL_OUT): Likewise.
12426         (POLL_MSG): Likewise.
12427         (POLL_ERR): Likewise.
12428         (POLL_PRI): Likewise.
12429         (POLL_HUP): Likewise.
12430         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12431         (ILL_ILLOPN): Likewise.
12432         (ILL_ILLADR): Likewise.
12433         (ILL_ILLTRP): Likewise.
12434         (ILL_PRVOPC): Likewise.
12435         (ILL_PRVREG): Likewise.
12436         (ILL_COPROC): Likewise.
12437         (ILL_BADSTK): Likewise.
12438         (FPE_INTDIV): Likewise.
12439         (FPE_INTOVF): Likewise.
12440         (FPE_FLTDIV): Likewise.
12441         (FPE_FLTOVF): Likewise.
12442         (FPE_FLTUND): Likewise.
12443         (FPE_FLTRES): Likewise.
12444         (FPE_FLTINV): Likewise.
12445         (FPE_FLTSUB): Likewise.
12446         (SEGV_MAPERR): Likewise.
12447         (SEGV_ACCERR): Likewise.
12448         (BUS_ADRALN): Likewise.
12449         (BUS_ADRERR): Likewise.
12450         (BUS_OBJERR): Likewise.
12451         (BUS_MCEERR_AR): Likewise.
12452         (BUS_MCEERR_AO): Likewise.
12453         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12454         (TRAP_TRACE): Likewise.
12455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12456         __USE_XOPEN2K8].
12457         (CLD_KILLED): Likewise.
12458         (CLD_DUMPED): Likewise.
12459         (CLD_TRAPPED): Likewise.
12460         (CLD_STOPPED): Likewise.
12461         (CLD_CONTINUED): Likewise.
12462         (POLL_IN): Likewise.
12463         (POLL_OUT): Likewise.
12464         (POLL_MSG): Likewise.
12465         (POLL_ERR): Likewise.
12466         (POLL_PRI): Likewise.
12467         (POLL_HUP): Likewise.
12468         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12469         (ILL_ILLOPN): Likewise.
12470         (ILL_ILLADR): Likewise.
12471         (ILL_ILLTRP): Likewise.
12472         (ILL_PRVOPC): Likewise.
12473         (ILL_PRVREG): Likewise.
12474         (ILL_COPROC): Likewise.
12475         (ILL_BADSTK): Likewise.
12476         (ILL_DBLFLT): Likewise.
12477         (ILL_HARDWALL): Likewise.
12478         (FPE_INTDIV): Likewise.
12479         (FPE_INTOVF): Likewise.
12480         (FPE_FLTDIV): Likewise.
12481         (FPE_FLTOVF): Likewise.
12482         (FPE_FLTUND): Likewise.
12483         (FPE_FLTRES): Likewise.
12484         (FPE_FLTINV): Likewise.
12485         (FPE_FLTSUB): Likewise.
12486         (SEGV_MAPERR): Likewise.
12487         (SEGV_ACCERR): Likewise.
12488         (BUS_ADRALN): Likewise.
12489         (BUS_ADRERR): Likewise.
12490         (BUS_OBJERR): Likewise.
12491         (BUS_MCEERR_AR): Likewise.
12492         (BUS_MCEERR_AO): Likewise.
12493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12494         (TRAP_TRACE): Likewise.
12495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12496         __USE_XOPEN2K8].
12497         (CLD_KILLED): Likewise.
12498         (CLD_DUMPED): Likewise.
12499         (CLD_TRAPPED): Likewise.
12500         (CLD_STOPPED): Likewise.
12501         (CLD_CONTINUED): Likewise.
12502         (POLL_IN): Likewise.
12503         (POLL_OUT): Likewise.
12504         (POLL_MSG): Likewise.
12505         (POLL_ERR): Likewise.
12506         (POLL_PRI): Likewise.
12507         (POLL_HUP): Likewise.
12508         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12509         (ILL_ILLOPN): Likewise.
12510         (ILL_ILLADR): Likewise.
12511         (ILL_ILLTRP): Likewise.
12512         (ILL_PRVOPC): Likewise.
12513         (ILL_PRVREG): Likewise.
12514         (ILL_COPROC): Likewise.
12515         (ILL_BADSTK): Likewise.
12516         (FPE_INTDIV): Likewise.
12517         (FPE_INTOVF): Likewise.
12518         (FPE_FLTDIV): Likewise.
12519         (FPE_FLTOVF): Likewise.
12520         (FPE_FLTUND): Likewise.
12521         (FPE_FLTRES): Likewise.
12522         (FPE_FLTINV): Likewise.
12523         (FPE_FLTSUB): Likewise.
12524         (SEGV_MAPERR): Likewise.
12525         (SEGV_ACCERR): Likewise.
12526         (BUS_ADRALN): Likewise.
12527         (BUS_ADRERR): Likewise.
12528         (BUS_OBJERR): Likewise.
12529         (BUS_MCEERR_AR): Likewise.
12530         (BUS_MCEERR_AO): Likewise.
12531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12532         (TRAP_TRACE): Likewise.
12533         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12534         __USE_XOPEN2K8].
12535         (CLD_KILLED): Likewise.
12536         (CLD_DUMPED): Likewise.
12537         (CLD_TRAPPED): Likewise.
12538         (CLD_STOPPED): Likewise.
12539         (CLD_CONTINUED): Likewise.
12540         (POLL_IN): Likewise.
12541         (POLL_OUT): Likewise.
12542         (POLL_MSG): Likewise.
12543         (POLL_ERR): Likewise.
12544         (POLL_PRI): Likewise.
12545         (POLL_HUP): Likewise.
12546         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12547         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12549         [BZ #16670]
12550         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12551         before #include of <time.h>.
12552         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12553         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12554         (test-xfail-UNIX98/sched.h/conform): Likewise.
12556 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12558         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12559         error absence of trapping exception support.
12560         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12562 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12564         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12565         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12566         * timezone/Makefile (testdata): Move definition above include of
12567         Rules.
12568         (test-zones): New variable.
12569         (tests-special): Add zone files.
12570         (build-testdata): Use $(evaluate-test).
12572         * elf/Makefile (tests-special): Rename tests to end with .out.
12573         ($(objpfx)noload-mem): Likewise.
12574         ($(objpfx)tst-leaks1-mem): Likewise.
12575         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12576         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12577         $(objpfx)test-iconvconfig.out.
12578         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12579         set -e inside subshell and redirect output to file.
12580         * iconvdata/Makefile (generated): Rename tests to end with .out.
12581         Correct type.
12582         (tests-special): Rename tests to end with .out.
12583         ($(objpfx)mtrace-tst-loading): Likewise.
12584         * intl/Makefile (generated): Likewise.
12585         (tests-special): Likewise.
12586         ($(objpfx)mtrace-tst-gettext): Likewise.
12587         * misc/Makefile (generated): Likewise.
12588         (tests-special): Likewise.
12589         ($(objpfx)tst-error1-mem): Likewise.
12590         * nptl/Makefile (tests-special): Likewise.
12591         ($(objpfx)tst-stack3-mem): Likewise.
12592         (generated): Likewise.
12593         * posix/Makefile (generated): Likewise.
12594         (tests-special): Likewise.
12595         (xtests-special): Likewise.
12596         ($(objpfx)tst-fnmatch-mem): Likewise.
12597         ($(objpfx)bug-regex2-mem): Likewise.
12598         ($(objpfx)bug-regex14-mem): Likewise.
12599         ($(objpfx)bug-regex21-mem): Likewise.
12600         ($(objpfx)bug-regex31-mem): Likewise.
12601         ($(objpfx)tst-vfork3-mem): Likewise.
12602         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12603         ($(objpfx)tst-pcre-mem): Likewise.
12604         ($(objpfx)tst-boost-mem): Likewise.
12605         ($(objpfx)bug-ga2-mem): Likewise.
12606         ($(objpfx)bug-glob2-mem): Likewise.
12607         * resolv/Makefile (generate): Likewise.
12608         (tests-special): Likewise.
12609         (xtests-special): Likewise.
12610         (generated): Likewise.
12611         ($(objpfx)mtrace-tst-leaks): Likewise.
12612         ($(objpfx)mtrace-tst-leaks2): Likewise.
12614         * scripts/merge-test-results.sh: New file.
12615         * Makefile (tests-special-notdir): New variable.
12616         (tests): Run merge-test-results.sh.
12617         (xtests): Likewise.
12618         * Rules (tests-special-notdir): New variable.
12619         (xtests-special-notdir): Likewise.
12620         (tests): Run merge-test-results.sh
12621         (xtests): Likewise.
12623         * Makeconfig (test-xfail-name): New variable.
12624         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12625         compute variable name for expected failures.
12626         * conform/Makefile (conformtest-headers-data): New variable.
12627         (conformtest-standards): Likewise.
12628         (conformtest-headers-ISO): Likewise.
12629         (conformtest-headers-ISO99): Likewise.
12630         (conformtest-headers-ISO11): Likewise.
12631         (conformtest-headers-POSIX): Likewise.
12632         (conformtest-headers-XPG3): Likewise.
12633         (conformtest-headers-XPG4): Likewise.
12634         (conformtest-headers-UNIX98): Likewise.
12635         (conformtest-headers-XOPEN2K): Likewise.
12636         (conformtest-headers-POSIX2008): Likewise.
12637         (conformtest-headers-XOPEN2K8): Likewise.
12638         (conformtest-header-list-base): Likewise.
12639         (conformtest-header-list-tests): Likewise.
12640         (conformtest-header-base): Likewise.
12641         (conformtest-header-tests): Likewise.
12642         (tests-special): Add $(conformtest-header-list-tests).  If
12643         [$(fast-check) && !$(cross-compiling)], add
12644         $(conformtest-header-tests) instead of
12645         $(objpfx)run-conformtest.out.
12646         (generated): Add $(conformtest-header-list-base).  If
12647         [$(fast-check) && !$(cross-compiling)], add
12648         $(conformtest-header-base).  Remove previous setting.
12649         ($(conformtest-header-list-tests)): New target.
12650         (test-xfail-run-conformtest): Remove variable.
12651         ($(objpfx)run-conformtest.out): Remove target.
12652         (test-xfail-ISO11/complex.h/conform): New variable.
12653         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12654         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12655         (test-xfail-XPG3/varargs.h/conform): Likewise.
12656         (test-xfail-XPG4/varargs.h/conform): Likewise.
12657         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12658         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12659         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12660         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12661         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12662         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12663         (test-xfail-XPG3/ftw.h/conform): Likewise.
12664         (test-xfail-XPG3/grp.h/conform): Likewise.
12665         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12666         (test-xfail-XPG3/limits.h/conform): Likewise.
12667         (test-xfail-XPG3/pwd.h/conform): Likewise.
12668         (test-xfail-XPG3/search.h/conform): Likewise.
12669         (test-xfail-XPG3/signal.h/conform): Likewise.
12670         (test-xfail-XPG3/stdio.h/conform): Likewise.
12671         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12672         (test-xfail-XPG3/string.h/conform): Likewise.
12673         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12674         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12675         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12676         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12677         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12678         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12679         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12680         (test-xfail-XPG3/termios.h/conform): Likewise.
12681         (test-xfail-XPG3/time.h/conform): Likewise.
12682         (test-xfail-XPG3/unistd.h/conform): Likewise.
12683         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12684         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12685         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12686         (test-xfail-XPG4/netdb.h/conform): Likewise.
12687         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12688         (test-xfail-XPG4/signal.h/conform): Likewise.
12689         (test-xfail-XPG4/stdio.h/conform): Likewise.
12690         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12691         (test-xfail-XPG4/stropts.h/conform): Likewise.
12692         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12693         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12694         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12695         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12696         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12697         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12698         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12699         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12700         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12701         (test-xfail-XPG4/termios.h/conform): Likewise.
12702         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12703         (test-xfail-XPG4/unistd.h/conform): Likewise.
12704         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12705         (test-xfail-POSIX/sched.h/conform): Likewise.
12706         (test-xfail-POSIX/signal.h/conform): Likewise.
12707         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12708         (test-xfail-POSIX/tar.h/conform): Likewise.
12709         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12710         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12711         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12712         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12713         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12714         (test-xfail-UNIX98/sched.h/conform): Likewise.
12715         (test-xfail-UNIX98/signal.h/conform): Likewise.
12716         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12717         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12718         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12719         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12720         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12721         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12722         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12723         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12724         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12725         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12726         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12727         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12728         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12729         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12730         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12731         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12732         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12733         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12734         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12735         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12736         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12737         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12738         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12739         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12740         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12741         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12742         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12743         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12744         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12745         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12746         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12747         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12748         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12749         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12750         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12751         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12752         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12753         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12754         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12755         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12756         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12757         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12758         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12759         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12760         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12761         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12762         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12763         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12764         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12765         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12766         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12767         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12768         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12769         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12770         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12771         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12772         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12773         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12774         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12775         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12776         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12777         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12778         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12779         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12780         (conformtest-cc-flags): Likewise.
12781         ($(conformtest-header-tests): New target.
12782         * conform/check-header-lists.sh: New file.
12783         * conform/run-conformtest.sh: Remove.
12785         * conform/conformtest.pl: Allow ' and \ in values given for
12786         constants.
12787         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12788         inclusion.
12789         [POSIX] (sys/types.h): Likewise.
12790         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12791         inclusion.
12792         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12793         inclusion.
12794         * conform/data/signal.h-data (SIGIO): Remove expectation.
12795         [XPG3] (SIGBUS): Do not expect.
12796         [POSIX || XPG3] (SIGPOLL): Likewise.
12797         [POSIX || XPG3] (SIGPROF): Likewise.
12798         [POSIX || XPG3] (SIGSYS): Likewise.
12799         [XPG3] (SIGTRAP): Likewise.
12800         [POSIX || XPG3] (SIGURG): Likewise.
12801         [POSIX || XPG3] (SIGVTALRM): Likewise.
12802         [POSIX || XPG3] (SIGXCPU): Likewise.
12803         [POSIX || XPG3] (SIGXFSZ): Likewise.
12804         [POSIX] (SA_SIGINFO): Expect.
12805         [XPG3] (siginfo_t): Do not expect type or contents.
12806         [POSIX] (si_pid): Do not expect element.
12807         [POSIX] (si_uid): Likewise.
12808         [POSIX] (si_addr): Likewise.
12809         [POSIX] (si_status): Likewise.
12810         [POSIX] (si_band): Likewise.
12811         [XPG4] (si_value): Likewise.
12812         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12813         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12814         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12815         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12816         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12817         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12818         [POSIX || XPG3] (ILL_COPROC): Likewise.
12819         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12820         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12821         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12822         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12823         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12824         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12825         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12826         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12827         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12828         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12829         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12830         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12831         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12832         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12833         [POSIX || XPG3] (CLD_EXITED): Likewise.
12834         [POSIX || XPG3] (CLD_KILLED): Likewise.
12835         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12836         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12837         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12838         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12839         [POSIX || XPG3] (POLL_IN): Likewise.
12840         [POSIX || XPG3] (POLL_OUT): Likewise.
12841         [POSIX || XPG3] (POLL_MSG): Likewise.
12842         [POSIX || XPG3] (POLL_ERR): Likewise.
12843         [POSIX || XPG3] (POLL_PRI): Likewise.
12844         [POSIX || XPG3] (POLL_HUP): Likewise.
12845         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12846         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12847         (SIG*): Do not allow.
12848         [XPG3] (si_*): Likewise.
12849         [XPG3] (SI_*): Likewise.
12850         [XPG3 || XPG4] (sigev_*): Likewise.
12851         [XPG3 || XPG4] (SIGEV_*): Likewise.
12852         [XPG3 || XPG4] (sival_*): Likewise.
12853         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12854         [POSIX || XPG3] (BUS_*): Likewise.
12855         [POSIX || XPG3] (CLD_*): Likewise.
12856         [POSIX || XPG3] (FPE_*): Likewise.
12857         [POSIX || XPG3] (ILL_*): Likewise.
12858         [POSIX || XPG3] (POLL_*): Likewise.
12859         [POSIX || XPG3] (SEGV_*): Likewise.
12860         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12861         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12862         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12863         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12864         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12865         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12866         Specify type and value.
12867         (TVERSLEN): Likewise.
12868         (REGTYPE): Likewise.
12869         (AREGTYPE): Likewise.
12870         (LNKTYPE): Likewise.
12871         (SYMTYPE): Likewise.
12872         (CHRTYPE): Likewise.
12873         (BLKTYPE): Likewise.
12874         (DIRTYPE): Likewise.
12875         (FIFOTYPE): Likewise.
12876         (CONTTYPE): Likewise.
12877         (TSUID): Likewise.
12878         (TSGID): Likewise.
12879         (TSVTX): Likewise.
12880         (TUREAD): Likewise.
12881         (TUWRITE): Likewise.
12882         (TUEXEC): Likewise.
12883         (TGREAD): Likewise.
12884         (TGWRITE): Likewise.
12885         (TGEXEC): Likewise.
12886         (TOREAD): Likewise.
12887         (TOWRITE): Likewise.
12888         (TOEXEC): Likewise.
12889         [POSIX] (TSVTX): Expect constant.
12891 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12893         * Makefile (tests): Change dependencies to ....
12894         (tests-special): ... additions to this variable.
12895         (tests): Depend on $(tests-special).
12896         * Makerules (check-abi-list): New variable.
12897         (check-abi): Depend on $(check-abi-list).
12898         [$(subdir) = elf] (tests-special): Add
12899         $(objpfx)check-abi-libc.out.
12900         [$(build-shared) = yes && subdir] (tests-special): Add
12901         $(check-abi-list).
12902         [$(build-shared) = yes && subdir] (tests): Do not depend on
12903         check-abi.
12904         * Rules (tests): Depend on $(tests-special).
12905         (xtests): Depend on $(xtests-special).
12906         * catgets/Makefile (tests): Change dependencies to ....
12907         (tests-special): ... additions to this variable.
12908         * conform/Makefile (tests): Change dependencies to ....
12909         (tests-special): ... additions to this variable.
12910         * elf/Makefile (tests): Change dependencies to ....
12911         (tests-special): ... additions to this variable.
12912         * grp/Makefile (tests): Change dependencies to ....
12913         (tests-special): ... additions to this variable.
12914         * iconv/Makefile (xtests): Change dependencies to ....
12915         (xtests-special): ... additions to this variable.
12916         * iconvdata/Makefile (tests): Change dependencies to ....
12917         (tests-special): ... additions to this variable.
12918         * intl/Makefile (tests): Change dependencies to ....
12919         (tests-special): ... additions to this variable.  Also add
12920         $(objpfx)tst-gettext.out.
12921         * io/Makefile (tests): Change dependencies to ....
12922         (tests-special): ... additions to this variable.
12923         * libio/Makefile (tests): Change dependencies to ....
12924         (tests-special): ... additions to this variable.
12925         * malloc/Makefile (tests): Change dependencies to ....
12926         (tests-special): ... additions to this variable.
12927         * misc/Makefile (tests): Change dependencies to ....
12928         (tests-special): ... additions to this variable.
12929         * nptl/Makefile (tests): Change dependencies to ....
12930         (tests-special): ... additions to this variable.
12931         * nptl_db/Makefile (tests): Change dependencies to ....
12932         (tests-special): ... additions to this variable.
12933         * posix/Makefile (tests): Change dependencies to ....
12934         (tests-special): ... additions to this variable.
12935         (xtests): Change dependencies to ....
12936         (xtests-special): ... additions to this variable.
12937         * resolv/Makefile (tests): Change dependencies to ....
12938         (tests-special): ... additions to this variable.
12939         (xtests): Change dependencies to ....
12940         (xtests-special): ... additions to this variable.
12941         * stdio-common/Makefile (tests): Change dependencies to ....
12942         (tests-special): ... additions to this variable.
12943         (do-tst-unbputc): Remove target.
12944         (do-tst-printf): Likewise.
12945         * stdlib/Makefile (tests): Change dependencies to ....
12946         (tests-special): ... additions to this variable.
12947         * string/Makefile (tests): Change dependencies to ....
12948         (tests-special): ... additions to this variable.
12949         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12950         (tests-special): ... additions to this variable.
12952         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12953         whole file.
12954         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12955         whole file.
12956         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12957         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12959         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12960         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12961         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12962         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12963         * conform/data/libgen.h-data [XPG3]: Likewise.
12964         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12965         * conform/data/ndbm.h-data [XPG3]: Likewise.
12966         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12967         * conform/data/netdb.h-data [XPG3]: Likewise.
12968         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12969         * conform/data/poll.h-data [XPG3]: Likewise.
12970         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12971         * conform/data/strings.h-data [XPG3]: Likewise.
12972         * conform/data/stropts.h-data [XPG3]: Likewise.
12973         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12974         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12975         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12976         Likewise.
12977         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12978         * conform/data/sys/time.h-data [XPG3]: Likewise.
12979         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12980         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12981         * conform/data/sys/un.h-data [XPG3]: Likewise.
12982         * conform/data/syslog.h-data [XPG3]: Likewise.
12983         * conform/data/ucontext.h-data [XPG3]: Likewise.
12984         * conform/data/utmpx.h-data [XPG3]: Likewise.
12985         * conform/data/varargs.h-data [UNIX98]: Enable file.
12987         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12989         * math/libm-test.inc (struct test_f_f_data): Move expected results
12990         into structure for each rounding mode.
12991         (struct test_ff_f_data): Likewise.
12992         (struct test_ff_f_data_nexttoward): Likewise.
12993         (struct test_fi_f_data): Likewise.
12994         (struct test_fl_f_data): Likewise.
12995         (struct test_if_f_data): Likewise.
12996         (struct test_fff_f_data): Likewise.
12997         (struct test_c_f_data): Likewise.
12998         (struct test_f_f1_data): Likewise.
12999         (struct test_fF_f1_data): Likewise.
13000         (struct test_ffI_f1_data): Likewise.
13001         (struct test_c_c_data): Likewise.
13002         (struct test_cc_c_data): Likewise.
13003         (struct test_f_i_data): Likewise.
13004         (struct test_ff_i_data): Likewise.
13005         (struct test_f_l_data): Likewise.
13006         (struct test_f_L_data): Likewise.
13007         (struct test_fFF_11_data): Likewise.
13008         (RM_): New macro.
13009         (RM_FE_DOWNWARD): Likewise.
13010         (RM_FE_TONEAREST): Likewise.
13011         (RM_FE_TOWARDZERO): Likewise.
13012         (RM_FE_UPWARD): Likewise.
13013         (RUN_TEST_LOOP_f_f): Update references to expected results.
13014         (RUN_TEST_LOOP_2_f): Likewise.
13015         (RUN_TEST_LOOP_fff_f): Likewise.
13016         (RUN_TEST_LOOP_c_f): Likewise.
13017         (RUN_TEST_LOOP_f_f1): Likewise.
13018         (RUN_TEST_LOOP_fF_f1): Likewise.
13019         (RUN_TEST_LOOP_fI_f1): Likewise.
13020         (RUN_TEST_LOOP_ffI_f1): Likewise.
13021         (RUN_TEST_LOOP_c_c): Likewise.
13022         (RUN_TEST_LOOP_cc_c): Likewise.
13023         (RUN_TEST_LOOP_f_i): Likewise.
13024         (RUN_TEST_LOOP_f_i_tg): Likewise.
13025         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13026         (RUN_TEST_LOOP_f_b): Likewise.
13027         (RUN_TEST_LOOP_f_b_tg): Likewise.
13028         (RUN_TEST_LOOP_f_l): Likewise.
13029         (RUN_TEST_LOOP_f_L): Likewise.
13030         (RUN_TEST_LOOP_fFF_11): Likewise.
13031         * math/gen-libm-test.pl (parse_args): Output four copies of
13032         expected results for each test.
13034         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13035         (__ASSUME_UTIMES): Remove.
13036         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13037         (__ASSUME_UTIMES): Likewise.
13039         * math/gen-auto-libm-tests.c: Update comment on output format.
13040         (output_for_one_input_case): Generate before-rounding and
13041         after-rounding information as conditions on output flags not
13042         floating-point format.
13043         * math/auto-libm-test-out: Regenerated.
13044         * math/gen-libm-test.pl (cond_value): New function.
13045         (or_cond_value): Use cond_value.
13046         (generate_testfile): Handle conditional exceptions.
13048 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13050         * math/libm-test.inc (max_valid_error): New variable.
13051         (init_max_error): Take new argument specifying whether function
13052         results are exactly determined.  Set max_valid_error and bound
13053         other variables for errors based on this argument.
13054         (set_max_error): Do not record results above max_valid_error.
13055         (check_float_internal): Only accept errors of up to 0.5ulps if
13056         also at most max_valid_error.
13057         (START): Take new argument EXACT and pass it to init_max_error.
13058         (acos_test): Update call to START.
13059         (acos_test_tonearest): Likewise.
13060         (acos_test_towardzero): Likewise.
13061         (acos_test_downward): Likewise.
13062         (acos_test_upward): Likewise.
13063         (acosh_test): Likewise.
13064         (asin_test): Likewise.
13065         (asin_test_tonearest): Likewise.
13066         (asin_test_towardzero): Likewise.
13067         (asin_test_downward): Likewise.
13068         (asin_test_upward): Likewise.
13069         (asinh_test): Likewise.
13070         (atan_test): Likewise.
13071         (atanh_test): Likewise.
13072         (atan2_test): Likewise.
13073         (cabs_test): Likewise.
13074         (cacos_test): Likewise.
13075         (cacosh_test): Likewise.
13076         (carg_test): Likewise.
13077         (casin_test): Likewise.
13078         (casinh_test): Likewise.
13079         (catan_test): Likewise.
13080         (catanh_test): Likewise.
13081         (cbrt_test): Likewise.
13082         (ccos_test): Likewise.
13083         (ccosh_test): Likewise.
13084         (ceil_test): Likewise.
13085         (cexp_test): Likewise.
13086         (cimag_test): Likewise.
13087         (clog_test): Likewise.
13088         (clog10_test): Likewise.
13089         (conj_test): Likewise.
13090         (copysign_test): Likewise.
13091         (cos_test): Likewise.
13092         (cos_test_tonearest): Likewise.
13093         (cos_test_towardzero): Likewise.
13094         (cos_test_downward): Likewise.
13095         (cos_test_upward): Likewise.
13096         (cosh_test): Likewise.
13097         (cosh_test_tonearest): Likewise.
13098         (cosh_test_towardzero): Likewise.
13099         (cosh_test_downward): Likewise.
13100         (cosh_test_upward): Likewise.
13101         (cpow_test): Likewise.
13102         (cproj_test): Likewise.
13103         (creal_test): Likewise.
13104         (csin_test): Likewise.
13105         (csinh_test): Likewise.
13106         (csqrt_test): Likewise.
13107         (ctan_test): Likewise.
13108         (ctan_test_tonearest): Likewise.
13109         (ctan_test_towardzero): Likewise.
13110         (ctan_test_downward): Likewise.
13111         (ctan_test_upward): Likewise.
13112         (ctanh_test): Likewise.
13113         (ctanh_test_tonearest): Likewise.
13114         (ctanh_test_towardzero): Likewise.
13115         (ctanh_test_downward): Likewise.
13116         (ctanh_test_upward): Likewise.
13117         (erf_test): Likewise.
13118         (erfc_test): Likewise.
13119         (exp_test): Likewise.
13120         (exp_test_tonearest): Likewise.
13121         (exp_test_towardzero): Likewise.
13122         (exp_test_downward): Likewise.
13123         (exp_test_upward): Likewise.
13124         (exp10_test): Likewise.
13125         (exp10_test_tonearest): Likewise.
13126         (exp10_test_towardzero): Likewise.
13127         (exp10_test_downward): Likewise.
13128         (exp10_test_upward): Likewise.
13129         (pow10_test): Likewise.
13130         (exp2_test): Likewise.
13131         (expm1_test): Likewise.
13132         (expm1_test_tonearest): Likewise.
13133         (expm1_test_towardzero): Likewise.
13134         (expm1_test_downward): Likewise.
13135         (expm1_test_upward): Likewise.
13136         (fabs_test): Likewise.
13137         (fdim_test): Likewise.
13138         (floor_test): Likewise.
13139         (fma_test): Likewise.
13140         (fma_test_towardzero): Likewise.
13141         (fma_test_downward): Likewise.
13142         (fma_test_upward): Likewise.
13143         (fmax_test): Likewise.
13144         (fmin_test): Likewise.
13145         (fmod_test): Likewise.
13146         (fpclassify_test): Likewise.
13147         (frexp_test): Likewise.
13148         (hypot_test): Likewise.
13149         (ilogb_test): Likewise.
13150         (isfinite_test): Likewise.
13151         (finite_test): Likewise.
13152         (isgreater_test): Likewise.
13153         (isgreaterequal_test): Likewise.
13154         (isinf_test): Likewise.
13155         (isless_test): Likewise.
13156         (islessequal_test): Likewise.
13157         (islessgreater_test): Likewise.
13158         (isnan_test): Likewise.
13159         (isnormal_test): Likewise.
13160         (issignaling_test): Likewise.
13161         (isunordered_test): Likewise.
13162         (j0_test): Likewise.
13163         (j1_test): Likewise.
13164         (jn_test): Likewise.
13165         (ldexp_test): Likewise.
13166         (lgamma_test): Likewise.
13167         (gamma_test): Likewise.
13168         (lrint_test): Likewise.
13169         (lrint_test_tonearest): Likewise.
13170         (lrint_test_towardzero): Likewise.
13171         (lrint_test_downward): Likewise.
13172         (lrint_test_upward): Likewise.
13173         (llrint_test): Likewise.
13174         (llrint_test_tonearest): Likewise.
13175         (llrint_test_towardzero): Likewise.
13176         (llrint_test_downward): Likewise.
13177         (llrint_test_upward): Likewise.
13178         (log_test): Likewise.
13179         (log10_test): Likewise.
13180         (log1p_test): Likewise.
13181         (log2_test): Likewise.
13182         (logb_test): Likewise.
13183         (logb_test_downward): Likewise.
13184         (lround_test): Likewise.
13185         (llround_test): Likewise.
13186         (modf_test): Likewise.
13187         (nearbyint_test): Likewise.
13188         (nextafter_test): Likewise.
13189         (nexttoward_test): Likewise.
13190         (pow_test): Likewise.
13191         (pow_test_tonearest): Likewise.
13192         (pow_test_towardzero): Likewise.
13193         (pow_test_downward): Likewise.
13194         (pow_test_upward): Likewise.
13195         (remainder_test): Likewise.
13196         (drem_test): Likewise.
13197         (remainder_test_tonearest): Likewise.
13198         (drem_test_tonearest): Likewise.
13199         (remainder_test_towardzero): Likewise.
13200         (drem_test_towardzero): Likewise.
13201         (remainder_test_downward): Likewise.
13202         (drem_test_downward): Likewise.
13203         (remainder_test_upward): Likewise.
13204         (drem_test_upward): Likewise.
13205         (remquo_test): Likewise.
13206         (rint_test): Likewise.
13207         (rint_test_tonearest): Likewise.
13208         (rint_test_towardzero): Likewise.
13209         (rint_test_downward): Likewise.
13210         (rint_test_upward): Likewise.
13211         (round_test): Likewise.
13212         (scalb_test): Likewise.
13213         (scalbn_test): Likewise.
13214         (scalbln_test): Likewise.
13215         (signbit_test): Likewise.
13216         (sin_test): Likewise.
13217         (sin_test_tonearest): Likewise.
13218         (sin_test_towardzero): Likewise.
13219         (sin_test_downward): Likewise.
13220         (sin_test_upward): Likewise.
13221         (sincos_test): Likewise.
13222         (sinh_test): Likewise.
13223         (sinh_test_tonearest): Likewise.
13224         (sinh_test_towardzero): Likewise.
13225         (sinh_test_downward): Likewise.
13226         (sinh_test_upward): Likewise.
13227         (sqrt_test): Likewise.
13228         (sqrt_test_tonearest): Likewise.
13229         (sqrt_test_towardzero): Likewise.
13230         (sqrt_test_downward): Likewise.
13231         (sqrt_test_upward): Likewise.
13232         (tan_test): Likewise.
13233         (tan_test_tonearest): Likewise.
13234         (tan_test_towardzero): Likewise.
13235         (tan_test_downward): Likewise.
13236         (tan_test_upward): Likewise.
13237         (tanh_test): Likewise.
13238         (tgamma_test): Likewise.
13239         (trunc_test): Likewise.
13240         (y0_test): Likewise.
13241         (y1_test): Likewise.
13242         (yn_test): Likewise.
13243         (significand_test): Likewise.
13245         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13246         individual tests in comment.
13247         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13248         (prev_max_error): New variable.
13249         (prev_real_max_error): Likewise.
13250         (prev_imag_max_error): Likewise.
13251         (compare_ulp_data): Don't refer to test names in comment.
13252         (find_test_ulps): Remove function.
13253         (find_function_ulps): Likewise.
13254         (find_complex_function_ulps): Likewise.
13255         (init_max_error): Take function name as argument.  Look up ulps
13256         for that function.
13257         (print_ulps): Remove function.
13258         (print_max_error): Use prev_max_error instead of calling
13259         find_function_ulps.
13260         (print_complex_max_error): Use prev_real_max_error and
13261         prev_imag_max_error instead of calling find_complex_function_ulps.
13262         (check_float_internal): Take max_ulp parameter instead of calling
13263         find_test_ulps.  Don't call print_ulps.
13264         (check_float): Update call to check_float_internal.
13265         (check_complex): Update calls to check_float_internal.
13266         (START): Pass argument to init_max_error.
13267         * math/gen-libm-test.pl (%results): Don't include "kind"
13268         information.
13269         (parse_ulps): Don't handle ulps of individual tests.
13270         (print_ulps_file): Likewise.
13271         (output_ulps): Likewise.
13272         * math/README.libm-test: Update.
13273         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13274         individual tests.
13275         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13276         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13277         * sysdeps/arm/libm-test-ulps: Likewise.
13278         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13279         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13280         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13282         * sysdeps/microblaze/libm-test-ulps: Likewise.
13283         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13284         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13285         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13286         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13287         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13288         * sysdeps/sh/libm-test-ulps: Likewise.
13289         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13290         * sysdeps/tile/libm-test-ulps: Likewise.
13291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13293 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13295         * math/libm-test.inc (print_complex_max_error): Check separately
13296         whether real and imaginary errors are within allowed range and
13297         pass 0 to print_complex_function_ulps instead of value within
13298         allowed range.
13300 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13302         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13303         formatting.
13304         (get_handles_fopen): Likewise.
13305         (do_write_test): Likewise.
13307         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13309         * libio/fileops.c (do_ftell): Use cached offset when
13310         available.
13311         * libio/iofwide.c (do_ftell_wide): Likewise.
13312         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13313         _IO_file_attach.
13314         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13316         [BZ #16532]
13317         * libio/libioP.h (get_file_offset): New function.
13318         * libio/fileops.c (get_file_offset): Likewise.
13319         (do_ftell): Likewise.
13320         (_IO_new_file_seekoff): Split out ftell logic.
13321         * libio/wfileops.c (do_ftell_wide): Likewise.
13322         (_IO_wfile_seekoff): Split out ftell logic.
13323         * libio/tst-ftell-active-handler.c: New test case.
13324         * libio/Makefile (tests): Add it.
13326 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13328         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13329         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13331 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13333         [BZ #16639]
13334         * nscd/connections.c (nscd_init): Call do_exit.
13335         (start_threads): Call do_exit and notify_parent.
13336         (begin_drop_privileges): Call do_exit.
13337         (finish_drop_privileges): Likewise.
13338         * nscd/selinux.c (preserve_capabilities): Likewise.
13339         (install_real_capabilities): Likewise.
13340         (nscd_selinux_enabled): Likewise.
13341         (avc_create_thread): Likewise.
13342         (avc_alloc_lock): Likewise.
13343         (nscd_avc_init): Likewise.
13344         * nscd/nscd.c (parent_fd): New static variable.
13345         (main): Create a pipe between parent and child processes.
13346         Skip closing parent_fd.
13347         (monitor_child): New function.
13348         (do_exit): Likewise.
13349         (notify_parent): Likewise.
13350         * nscd/nscd.h (notify_parent): Likewise.
13351         (do_exit): Likewise.
13353 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
13355         * malloc/malloc.c (__libc_calloc): Revert last change.
13357 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13361 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13363         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13365         implementation.
13366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13367         (__libc_ifunc_impl_list): Likewise.
13368         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13369         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13370         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13371         * string/strrchr.c: Define STRRCHR.
13373 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
13375         * benchtest/bench-strtok.c (simple_strtok): Delete.
13376         (strtok_string): Use as benchmark.
13377         * string/strtok (STRTOK): New macro.
13379 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
13381         * manual/threads.texi: Add header and standard comments to all
13382         functions.
13384         * elf/dl-lookup.c (check_match): New function.
13385         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13386         (do_lookup_x): Remove nested function check_match. Use non-nested
13387         function check_match.
13389 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13391         * csu/Makefile (generated, before-compile): Use += rather than =.
13392         * catgets/Makefile (generated, generated-dirs): Likewise.
13393         * debug/Makefile (generated): Likewise.
13394         * dlfcn/Makefile (generated): Likewise.
13395         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13396         * iconvdata/Makefile (before-compile, generated): Likewise.
13397         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13398         * libio/Makefile (generated): Likewise.
13399         * malloc/Makefile (generated): Likewise.
13400         * manual/Makefile (generated, generated-dirs): Likewise.
13401         * misc/Makefile (generated): Likewise.
13402         * posix/Makefile (generated): Likewise.
13403         * resolv/Makefile (generated): Likewise.
13404         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13405         * timezone/Makefile (generated, generated-dirs): Likewise.
13407         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13409 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13412         power8 implementation.
13413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13414         file: POWER8 llround ifunc implementation.
13415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13416         (__lllround): Add POWER8 implementation.
13417         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13418         POWER8 llround implementation.
13420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13421         power8 implementation.
13422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13423         file: POWER8 llrint ifunc implementation.
13424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13425         Add POWER8 implementation.
13426         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13427         POWER8 llrint implementation.
13429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13430         power8 implementation.
13431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13432         file: POWER8 finite ifunc implementation.
13433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13434         Add POWER8 implementation.
13435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13436         Likewise.
13437         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13438         POWER8 finite implementation.
13439         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13442         power8 implementation.
13443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13444         file: POWER8 isinf ifunc implementation.
13445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13446         POWER8 implementation.
13447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13448         Likewise.
13449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13450         isinf implementation.
13451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13453         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13454         (INIT_ARCH): Add hwcap2 initialization.
13455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13456         power8 implementation.
13457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13458         file: POWER8 isnan ifunc implementation.
13459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13460         POWER8 implementation.
13461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13462         Likewise.
13463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13464         isnan implementation.
13465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13467 2014-02-27  Joey Ye  <joey.ye@arm.com>
13469         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13470         (_FP_NANFRAC_Q): Set to zero.
13472 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13474         [BZ #16623]
13475         * math/auto-libm-test-in: New test inputs.
13476         * math/auto-libm-test-out: Regenerate.
13477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13478         and DA.
13479         (__cos): Likewise.
13480         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13482 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13484         * scripts/evaluate-test.sh: Take new argument indicating whether
13485         failure is expected.
13486         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13487         indicating whether failure is expected.
13488         * conform/Makefile (test-xfail-run-conformtest): New variable.
13489         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13490         level.
13491         * posix/Makefile (test-xfail-annexc): New variable.
13492         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13494 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13496         * argp/Makefile: Include Makeconfig immediately after defining
13497         subdir.
13498         * assert/Makefile: Likewise.
13499         * benchtests/Makefile: Likewise.
13500         * catgets/Makefile: Likewise.
13501         * conform/Makefile: Likewise.
13502         * crypt/Makefile: Likewise.
13503         * csu/Makefile: Likewise.
13504         (all): Remove target.
13505         * ctype/Makefile: Include Makeconfig immediately after defining
13506         subdir.
13507         * debug/Makefile: Likewise.
13508         * dirent/Makefile: Likewise.
13509         * dlfcn/Makefile: Likewise.
13510         * gmon/Makefile: Likewise.
13511         * gnulib/Makefile: Likewise.
13512         * grp/Makefile: Likewise.
13513         * gshadow/Makefile: Likewise.
13514         * hesiod/Makefile: Likewise.
13515         * hurd/Makefile: Likewise.
13516         (all): Remove target.
13517         * iconvdata/Makefile: Include Makeconfig immediately after
13518         defining subdir.
13519         * inet/Makefile: Likewise.
13520         * intl/Makefile: Likewise.
13521         * io/Makefile: Likewise.
13522         * libio/Makefile: Likewise.
13523         (all): Remove target.
13524         * locale/Makefile: Include Makeconfig immediately after defining
13525         subdir.
13526         * login/Makefile: Likewise.
13527         * mach/Makefile: Likewise.
13528         (all): Remove target.
13529         * malloc/Makefile: Include Makeconfig immediately after defining
13530         subdir.
13531         (all): Remove target.
13532         * manual/Makefile: Include Makeconfig immediately after defining
13533         subdir.
13534         * math/Makefile: Likewise.
13535         * misc/Makefile: Likewise.
13536         * nis/Makefile: Likewise.
13537         * nss/Makefile: Likewise.
13538         * po/Makefile: Likewise.
13539         (all): Remove target.
13540         * posix/Makefile: Include Makeconfig immediately after defining
13541         subdir.
13542         * pwd/Makefile: Likewise.
13543         * resolv/Makefile: Likewise.
13544         * resource/Makefile: Likewise.
13545         * rt/Makefile: Likewise.
13546         * setjmp/Makefile: Likewise.
13547         * shadow/Makefile: Likewise.
13548         * signal/Makefile: Likewise.
13549         * socket/Makefile: Likewise.
13550         * soft-fp/Makefile: Likewise.
13551         * stdio-common/Makefile: Likewise.
13552         * stdlib/Makefile: Likewise.
13553         * streams/Makefile: Likewise.
13554         * string/Makefile: Likewise.
13555         * sunrpc/Makefile: Likewise.
13556         (all): Remove target.
13557         * sysvipc/Makefile: Include Makeconfig immediately after defining
13558         subdir.
13559         * termios/Makefile: Likewise.
13560         * time/Makefile: Likewise.
13561         * timezone/Makefile: Likewise.
13562         (all): Remove target.
13563         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13564         subdir.
13565         * wctype/Makefile: Likewise.
13567 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13569         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13570         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13571         (libc_feholdexcept_setround_mips): Ditto.
13572         (libc_feholdsetround): New.
13573         (libc_feholdsetroundf): New.
13574         (libc_feholdsetroundl): New.
13575         (libc_feupdateenv_test_mips): New.
13576         (libc_feupdateenv_test): New.
13577         (libc_feupdateenv_testf): New.
13578         (libc_feupdateenv_testl): New.
13579         (libc_feresetround): New.
13580         (libc_feresetroundf): New.
13581         (libc_feresetroundl): New.
13582         (libc_fetestexcept_mips): New.
13583         (libc_fetestexcept): New.
13584         (libc_fetestexceptf): New.
13585         (libc_fetestexceptl): New.
13586         (HAVE_RM_CTX): New.
13587         (libc_feholdexcept_setround_mips_ctx): New.
13588         (libc_feholdexcept_setround_ctx): New.
13589         (libc_feholdexcept_setroundf_ctx): New.
13590         (libc_feholdexcept_setroundl_ctx): New.
13591         (libc_fesetenv_mips_ctx): New.
13592         (libc_fesetenv_ctx): New.
13593         (libc_fesetenv_ctxf): New.
13594         (libc_fesetenv_ctxl): New.
13595         (libc_feupdateenv_mips_ctx): New.
13596         (libc_feupdateenv_ctx): New.
13597         (libc_feupdateenvf_ctx): New.
13598         (libc_feupdateenvl_ctx): New.
13599         (libc_feholdsetround_mips_ctx): New.
13600         (libc_feholdsetround_ctx): New.
13601         (libc_feholdsetroundf_ctx): New.
13602         (libc_feholdsetroundl_ctx): New.
13603         (libc_feresetround_mips_ctx): New.
13604         (libc_feresetround_ctx): New.
13605         (libc_feresetroundf_ctx): New.
13606         (libc_feresetroundl_ctx): New.
13608 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13610         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13612         * manual/ipc.texi: New file.
13613         * manual/Makefile (chapters): Add ipc.
13614         * manual/job.texi: Add "Inter-Process Communication" to next.
13615         * manual/process.texi: Add "Inter-Process Communication" to prev.
13617 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13621 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13623         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13625         * manual/arith.texi: Fix spaces after sentences.
13626         * manual/charset.texi: Likewise.
13627         * manual/errno.texi: Likewise.
13628         * manual/install.texi: Likewise.
13629         * manual/llio.texi: Likewise.
13630         * manual/locale.texi: Likewise.
13631         * manual/maint.texi: Likewise.
13632         * manual/math.texi: Likewise.
13633         * manual/memory.texi: Likewise.
13634         * manual/message.texi: Likewise.
13635         * manual/probes.texi: Likewise.
13636         * manual/resource.texi: Likewise.
13637         * manual/signal.texi: Likewise.
13638         * manual/socket.texi: Likewise.
13639         * manual/stdio.texi: Likewise.
13640         * manual/string.texi: Likewise.
13641         * manual/time.texi: Likewise.
13642         * manual/users.texi: Likewise.
13644 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13646         [BZ #16632]
13647         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13648         _DEFAULT_SOURCE is defined.
13650 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13651             Carlos O'Donell  <carlos@redhat.com>
13653         [BZ #16613]
13654         * elf/dl-tls.c (_dl_count_modids): New function.
13655         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13656         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13657         audit library and increment generation counter.
13658         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13659         * elf/tst-audit9.c: New file.
13660         * elf/tst-auditmod9a.c: New file.
13661         * elf/tst-auditmod9b.c: New file.
13662         * elf/Makefile: Add rules to build and run tst-audit9.
13664 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13666         [BZ #15347]
13667         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13669 2014-02-25  Will Newton  <will.newton@linaro.org>
13671         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13672         (__longjmp): Restore sp and lr before restoring callee
13673         saved registers.  Add longjmp and longjmp_target
13674         SystemTap probe point.
13675         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13676         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13677         Define to zero to match jmpbuf layout.
13678         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13679         (__sigsetjmp): Save sp and lr before saving callee
13680         saved registers.  Add setjmp SystemTap probe point.
13682 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13684         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13686 2014-02-24  Andreas Schwab  <schwab@suse.de>
13688         [BZ #15804]
13689         * elf/pldd.c (wait_for_ptrace_stop): New function.
13690         (main): Call it after attaching.
13692 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13694         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13695         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13696         Versions files is now verboten.
13697         * hurd/Versions (libc: GLIBC_2.0):
13698         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13699         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13700         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13701         * mach/Versions: Likewise.
13703         * csu/Versions: Remove unused %include.
13704         * resolv/Versions: Likewise.
13706 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13708         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13709         ($(objpfx)check-local-headers.out): Likewise.
13710         ($(objpfx)begin-end-check.out): Likewise.
13711         * Makerules (check-abi-%.out): Likewise.
13712         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13713         ($(objpfx)test2.cat): Likewise.
13714         ($(objpfx)de/libc.cat): Likewise.
13715         ($(objpfx)test-gencat.out): Likewise.
13716         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13717         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13718         ($(objpfx)noload-mem): Likewise.
13719         ($(objpfx)tst-pathopt.out): Likewise.
13720         ($(objpfx)tst-rtld-load-self.out): Likewise.
13721         ($(objpfx)tst-array1-cmp.out): Likewise.
13722         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13723         ($(objpfx)tst-array2-cmp.out): Likewise.
13724         ($(objpfx)tst-array3-cmp.out): Likewise.
13725         ($(objpfx)tst-array4-cmp.out): Likewise.
13726         ($(objpfx)tst-array5-cmp.out): Likewise.
13727         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13728         ($(objpfx)check-textrel.out): Likewise.
13729         ($(objpfx)check-execstack.out): Likewise.
13730         ($(objpfx)check-localplt.out): Likewise.
13731         ($(objpfx)order2-cmp.out): Likewise.
13732         ($(objpfx)tst-leaks1-mem): Likewise.
13733         ($(objpfx)tst-leaks1-static-mem): Likewise.
13734         ($(objpfx)tst-initorder-cmp.out): Likewise.
13735         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13736         ($(objpfx)tst-unused-dep.out): Likewise.
13737         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13738         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13739         * iconv/Makefile (test-iconvconfig): Likewise.
13740         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13741         ($(objpfx)iconv-test.out): Likewise.
13742         ($(objpfx)tst-tables.out): Likewise.
13743         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13744         ($(objpfx)tst-gettext.out): Likewise.
13745         ($(objpfx)tst-translit.out): Likewise.
13746         ($(objpfx)tst-gettext2.out): Likewise.
13747         ($(objpfx)tst-gettext4.out): Likewise.
13748         ($(objpfx)tst-gettext6.out): Likewise.
13749         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13750         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13751         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13752         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13753         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13754         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13755         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13756         ($(objpfx)wordexp-tst.out): Likewise.
13757         ($(objpfx)annexc.out): Likewise.
13758         ($(objpfx)tst-fnmatch-mem): Likewise.
13759         ($(objpfx)bug-regex2-mem): Likewise.
13760         ($(objpfx)bug-regex14-mem): Likewise.
13761         ($(objpfx)bug-regex21-mem): Likewise.
13762         ($(objpfx)bug-regex31-mem): Likewise.
13763         ($(objpfx)tst-vfork3-mem): Likewise.
13764         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13765         ($(objpfx)tst-pcre-mem): Likewise.
13766         ($(objpfx)tst-boost-mem): Likewise.
13767         ($(objpfx)tst-getconf.out): Likewise.
13768         ($(objpfx)bug-ga2-mem): Likewise.
13769         ($(objpfx)bug-glob2-mem): Likewise.
13770         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13771         ($(objpfx)mtrace-tst-leaks2): Likewise.
13772         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13773         ($(objpfx)tst-printf.out): Likewise.
13774         ($(objpfx)tst-setvbuf1.out): Likewise.
13775         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13776         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13777         ($(objpfx)tst-fmtmsg.out): Likewise.
13778         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13779         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13781         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13782         * bits/sigaction.h [__USE_MISC]: Likewise.
13783         * bits/waitstatus.h: Update #endif comments.
13784         * ctype/ctype.h: Likewise.
13785         * dirent/dirent.h: Likewise.
13786         [__USE_MISC]: Remove redundant conditionals.
13787         * grp/grp.h: Update #endif comments.
13788         [__USE_GNU]: Remove redundant conditionals.
13789         [__USE_MISC]: Likewise.
13790         * inet/netinet/in.h [__USE_GNU]: Likewise.
13791         * io/sys/stat.h [__USE_MISC]: Likewise.
13792         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13793         * libio/bits/stdio.h: Update #endif comments.
13794         [__USE_MISC]: Remove redundant conditionals.
13795         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13796         * libio/stdio.h: Update #endif comments.
13797         [__USE_MISC]: Remove redundant conditionals.
13798         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13799         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13800         * math/math.h: Update #else and #endif comments.
13801         [__USE_MISC]: Remove redundant conditionals.
13802         * misc/sys/uio.h: Update #endif comments.
13803         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13804         * posix/glob.h [__USE_MISC]: Likewise.
13805         * posix/sys/types.h: Update #endif comments.
13806         [__USE_MISC]: Remove redundant conditionals.
13807         * posix/sys/wait.h: Update #endif comments.
13808         [__USE_MISC]: Remove redundant conditionals.
13809         * posix/unistd.h: Update #endif comments.
13810         [__USE_MISC]: Remove redundant conditionals.
13811         * pwd/pwd.h [__USE_GNU]: Likewise.
13812         [__USE_MISC]: Likewise.
13813         * resolv/netdb.h [__USE_GNU]: Likewise.
13814         * signal/signal.h: Update #endif comments.
13815         [__USE_MISC]: Remove redundant conditionals.
13816         * stdlib/stdlib.h: Update #else and #endif comments.
13817         [__USE_MISC]: Remove redundant conditionals.
13818         [__USE_GNU]: Likewise.
13819         * string/bits/string2.h [__USE_MISC]: Likewise.
13820         * string/string.h: Update #endif comments.
13821         [__USE_MISC]: Remove redundant conditionals.
13822         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13823         Likewise.
13824         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13825         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13826         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13827         Likewise.
13828         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13829         Likewise.
13830         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13831         comments.
13832         [__USE_MISC]: Remove redundant conditionals.
13833         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13834         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13835         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13836         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13837         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13838         Likewise.
13839         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13840         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13841         Likewise.
13842         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13843         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13844         Likewise.
13845         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13846         Likewise.
13847         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13848         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13849         Likewise.
13850         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13851         Likewise.
13852         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13853         * sysdeps/x86/bits/string.h: Update #endif comments.
13854         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13855         conditionals.
13856         * time/sys/time.h: Update #endif comments.
13857         * time/time.h: Likewise.
13858         [__USE_MISC]: Remove redundant conditionals.
13860 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13862         [BZ #16600]
13863         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13865 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13867         * Versions.def (librt): Add GLIBC_2.17.
13869 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13871         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13872         synonym for _SYS_AUXV_H to allow direct inclusion.
13873         * sysdeps/sparc/bits/hwcap.h: Likewise.
13874         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13875         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13876         * sysdeps/sparc/sysdep.h: Likewise.
13878 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13880         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13882 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13884         * benchtests/bench-strrchr.c: Print length instead of position.
13886 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13888         [BZ #16611]
13889         * sysdeps/unix/sysv/linux/kernel-features.h
13890         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13891         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13892         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13893         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13894         Likewise.
13895         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13896         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13897         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13898         (__ASSUME_SENDMMSG): Define instead of using previous
13899         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13900         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13901         (__ASSUME_SENDMMSG_SYSCALL): Define.
13902         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13903         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13904         Likewise.
13905         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13906         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13907         Likewise.
13908         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13909         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13910         Likewise.
13911         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13912         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13913         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13914         [__ASSUME_SENDMMSG]: Change conditionals to
13915         [__ASSUME_SENDMMSG_SOCKETCALL].
13916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13917         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13918         Define.
13919         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13920         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13921         Likewise.
13922         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13923         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13924         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13925         [!__ASSUME_SENDMMSG]: Change conditional to
13926         [!__ASSUME_SENDMMSG_SOCKETCALL].
13927         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13928         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13929         Define.
13931         [BZ #16610]
13932         * sysdeps/unix/sysv/linux/kernel-features.h
13933         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13934         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13935         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13936         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13937         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13938         [__i386__ || __sparc__]
13939         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13940         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13941         (__ASSUME_RECVMMSG): Define instead of using previous
13942         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13943         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13944         (__ASSUME_RECVMMSG_SYSCALL): Define.
13945         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13946         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13947         Likewise.
13948         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13950         Likewise.
13951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13952         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13953         Likewise.
13954         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13955         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13956         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13957         [__ASSUME_RECVMMSG]: Change condition to
13958         [__ASSUME_RECVMMSG_SOCKETCALL].
13959         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13960         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13961         Define.
13962         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13963         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13964         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13965         Likewise.
13966         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13967         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13968         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13969         [!__ASSUME_RECVMMSG]: Change condition to
13970         [!__ASSUME_RECVMMSG_SOCKETCALL].
13971         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13972         (__ASSUME_RECVMMSG_SYSCALL): Define.
13974         [BZ #16609]
13975         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13976         __powerpc__ || __s390__ || __sh__ || __sparc__]
13977         (__ASSUME_SOCKETCALL): Define.
13978         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13979         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13980         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13981         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13982         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13983         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13984         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13985         (__ASSUME_ACCEPT4): Define instead of using previous
13986         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13987         __powerpc__ || __sparc__ || __s390__)] condition.
13988         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13989         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13990         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13991         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13992         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13993         [!__ASSUME_ACCEPT4]: Change condition to
13994         [!__ASSUME_ACCEPT4_SOCKETCALL].
13995         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13996         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13997         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13998         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13999         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14000         __ASSUME_ACCEPT4_SYSCALL.
14001         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14002         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14003         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14004         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14005         __ASSUME_ACCEPT4_SYSCALL.
14006         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14007         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14008         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14009         [__ASSUME_ACCEPT4]: Change condition to
14010         [__ASSUME_ACCEPT4_SOCKETCALL].
14011         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14012         (__ASSUME_SOCKETCALL): Define.
14013         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14015         (__ASSUME_SOCKETCALL): Define.
14016         (__ASSUME_ACCEPT4): Remove.
14017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14018         Define.
14019         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14020         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14021         Likewise.
14022         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14023         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14025         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14026         macro.
14027         (HWCAP_ARM_LPAE): Likewise.
14028         (HWCAP_ARM_EVTSTRM): Likewise.
14029         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14030         Add vpfd32, lpae and evtstrm.
14031         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14032         Increase to 22.
14034 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14036         * math/auto-libm-test-in: Add tests of clog10.
14037         * math/auto-libm-test-out: Regenerated.
14038         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14039         * sysdeps/i386/fpu/libm-test-ulps: Update.
14040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14042 2014-02-18  Andreas Schwab  <schwab@suse.de>
14044         [BZ #16574]
14045         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14046         Store non-zero if the second buffer was newly allocated.
14047         (send_dg): Likewise.
14048         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14049         to send_vc and send_dg.
14050         (res_nsend): Pass NULL for ansp2_malloced.
14051         * resolv/res_query.c (__libc_res_nquery): Add parameter
14052         answerp2_malloced and pass it down to __libc_res_nsend.
14053         (res_nquery): Pass additional NULL to __libc_res_nquery.
14054         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14055         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14056         second answer buffer if answerp2_malloced was set.
14057         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14058         (__libc_res_nquerydomain): Add parameter
14059         answerp2_malloced and pass it down to __libc_res_nquery.
14060         (res_nquerydomain): Pass additional NULL to
14061         __libc_res_nquerydomain.
14062         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14063         additional NULL to __libc_res_nsend and __libc_res_nquery.
14064         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14065         additional NULL to __libc_res_nsearch.
14066         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14067         parameter of __libc_res_nsearch to check for separately allocated
14068         second buffer.
14069         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14070         __libc_res_nquery.
14071         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14072         additional NULL to __libc_res_nquery.
14073         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14074         __libc_res_nsearch.
14075         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14076         * include/resolv.h: Update prototypes of __libc_res_nquery,
14077         __libc_res_nsearch, __libc_res_nsend.
14079 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14081         * math/auto-libm-test-in: Add tests of fma.
14082         * math/auto-libm-test-out: Regenerated.
14083         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14084         (fma_towardzero_test_data): Likewise.
14085         (fma_downward_test_data): Likewise.
14086         (fma_upward_test_data): Likewise.
14087         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14088         mpc_mode.
14089         (rounding_modes): Add values for new field.
14090         (func_calc_method): Add value mpfr_fff_f.
14091         (func_calc_desc): Add mpfr_fff_f union field.
14092         (test_function): Add field exact_args.
14093         (FUNC): Add macro argument EXACT_ARGS.
14094         (FUNC_mpfr_f_f): Update call to FUNC.
14095         (FUNC_mpfr_f_f): Likewise.
14096         (FUNC_mpfr_ff_f): Likewise.
14097         (FUNC_mpfr_if_f): Likewise.
14098         (FUNC_mpc_c_f): Likewise.
14099         (FUNC_mpc_c_c): Likewise.
14100         (test_functions): Add fma.  Update calls to FUNC.
14101         (handle_input_arg): Add argument exact_args.
14102         (add_test): Update call to handle_input_arg.
14103         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14104         (output_for_one_input_case): Update call to calc_generic_results.
14105         Recalculate exact zero results in each rounding mode.
14107         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14108         non-negative before setting low bit.
14109         * math/auto-libm-test-in: Mark one asin test possibly having
14110         spurious underflow.
14111         * math/auto-libm-test-out: Regenerated.
14112         * sysdeps/i386/fpu/libm-test-ulps: Update.
14113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14115 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14117         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14118         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14119         ports/sysdeps/unix/sysv/linux/microblaze.
14120         * README: Add missing listing for microblaze*-*-linux-gnu.
14122 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14125         duplicate code
14127 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14129         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14130         * sysdeps/unix/sysv/linux/ia64: Move directory from
14131         ports/sysdeps/unix/sysv/linux/ia64.
14132         * README: Update listing for ia64-*-linux-gnu.
14134 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14135             Joseph Myers  <joseph@codesourcery.com>
14137         * Makeconfig (test-name): New variable.
14138         (evaluate-test): Likewise.
14139         * Makerules (do-test-clean): Remove .test-result files.
14140         (common-mostlyclean): Likewise.
14141         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14142         * scripts/evaluate-test.sh: New file.
14144 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14146         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14147         separate $(objpfx)tst-fopenloc-cmp.out and
14148         $(objpfx)tst-fopenloc-mem.out targets.
14149         (tests): Update dependencies.
14150         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14151         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14152         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14153         (tst-rxspencer-no-utf8-ARGS): New variable.
14154         (tst-rxspencer-no-utf8-ENV): Likewise.
14155         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14156         instead of $(objpfx)tst-rxspencer-mem.
14157         ($(objpfx)tst-rxspencer-mem): Change target to
14158         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14159         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14160         * posix/tst-rxspencer-no-utf8.c: New file.
14162         * elf/Makefile ($(objpfx)order.out): Remove rule.
14163         [$(run-built-tests) = yes] (tests): Depend on
14164         $(objpfx)order-cmp.out.
14165         ($(objpfx)order-cmp.out): New rule.
14166         [$(run-built-tests) = yes] (tests): Depend on
14167         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14168         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14169         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14170         $(objpfx)tst-array5-static-cmp.out.
14171         ($(objpfx)tst-array1.out): Remove rule.
14172         ($(objpfx)tst-array1-cmp.out): New rule.
14173         ($(objpfx)tst-array1-static.out): Remove rule.
14174         ($(objpfx)tst-array1-static-cmp.out): New rule.
14175         ($(objpfx)tst-array2.out): Remove rule.
14176         ($(objpfx)tst-array2-cmp.out): New rule.
14177         ($(objpfx)tst-array3.out): Remove rule.
14178         ($(objpfx)tst-array3-cmp.out): New rule.
14179         ($(objpfx)tst-array4.out): Remove rule.
14180         ($(objpfx)tst-array4-cmp.out): New rule.
14181         ($(objpfx)tst-array5.out): Remove rule.
14182         ($(objpfx)tst-array5-cmp.out): New rule.
14183         ($(objpfx)tst-array5-static.out): Remove rule.
14184         ($(objpfx)tst-array5-static-cmp.out): New rule.
14185         [$(run-built-tests) = yes] (tests): Depend on
14186         $(objpfx)order2-cmp.out.
14187         ($(objpfx)order2.out): Remove rule.
14188         ($(objpfx)order2-cmp.out): New rule.
14189         ($(objpfx)tst-initorder.out): Remove rule.
14190         [$(run-built-tests) = yes] (tests): Depend on
14191         $(objpfx)tst-initorder-cmp.out.
14192         ($(objpfx)tst-initorder-cmp.out): New rule.
14193         ($(objpfx)tst-initorder2.out): Remove rule.
14194         [$(run-built-tests) = yes] (tests): Depend on
14195         $(objpfx)tst-initorder2-cmp.out.
14196         ($(objpfx)tst-initorder2-cmp.out): New rule.
14197         [$(run-built-tests) = yes] (tests): Depend on
14198         $(objpfx)tst-unused-dep-cmp.out.
14199         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14200         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14201         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14202         on $(objpfx)tst-setvbuf1-cmp.out.
14203         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14204         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14205         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14206         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14207         ($(objpfx)tst-svc.out): Remove rule.
14208         ($(objpfx)tst-svc-cmp.out): New rule.
14210 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14212         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14213         * ctype/ctype.h [__USE_MISC]: Likewise.
14214         * dirent/dirent.h [__USE_MISC]: Likewise.
14215         * grp/grp.h [__USE_MISC]: Likewise.
14216         * io/fcntl.h [__USE_MISC]: Likewise.
14217         * io/sys/stat.h [__USE_MISC]: Likewise.
14218         * libio/stdio.h [__USE_MISC]: Likewise.
14219         * posix/unistd.h [__USE_MISC]: Likewise.
14220         * pwd/pwd.h [__USE_MISC]: Likewise.
14221         * stdlib.h [__USE_MISC]: Likewise.
14222         * string/bits/string2.h [__USE_MISC]: Likewise.
14223         * string/string.h [__USE_MISC]: Likewise.
14224         * time/time.h [__USE_MISC]: Likewise.
14226 2014-02-13  Andreas Schwab  <schwab@suse.de>
14228         [BZ #16574]
14229         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14230         second answer buffer if it was separately allocated.
14232 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14234         * sysdeps/mips/math-tests.h: Include <features.h>.
14235         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14236         (ROUNDING_TESTS_long_double): Do not define.
14237         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14238         (EXCEPTION_TESTS_long_double): Likewise.
14239         * sysdeps/mips/mips64/libm-test-ulps: Update.
14241         * include/features.h (__USE_BSD): Remove macro definitions.
14242         (__USE_SVID): Likewise.
14243         (_BSD_SOURCE): Likewise.
14244         (_SVID_SOURCE): Likewise.
14245         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14246         from definition of _DEFAULT_SOURCE.
14247         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14248         [_DEFAULT_SOURCE].
14249         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14250         * bits/mman.h [__USE_BSD]: Likewise.
14251         * bits/termios.h [__USE_BSD]: Likewise.
14252         * bits/waitstatus.h [__USE_BSD]: Likewise.
14253         * ctype/ctype.h [__USE_SVID]: Likewise.
14254         * dirent/dirent.h [__USE_BSD]: Likewise.
14255         * grp/grp.h [__USE_SVID]: Likewise.
14256         [__USE_BSD]: Likewise.
14257         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14258         * io/fcntl.h [__USE_BSD]: Likewise.
14259         * io/ftw.h [__USE_BSD]: Likewise.
14260         * io/sys/stat.h [__USE_BSD]: Likewise.
14261         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14262         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14263         * libio/stdio.h [__USE_SVID]: Likewise.
14264         [__USE_BSD]: Likewise.
14265         * math/math.h [__USE_SVID]: Likewise.
14266         [__USE_BSD]: Likewise.
14267         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14268         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14269         * misc/search.h [__USE_SVID]: Likewise.
14270         * misc/sys/mman.h [__USE_BSD]: Likewise.
14271         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14272         * misc/sys/uio.h [__USE_BSD]: Likewise.
14273         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14274         * posix/glob.h [__USE_BSD]: Likewise.
14275         * posix/regex.h [__USE_BSD]: Likewise.
14276         * posix/sys/types.h [__USE_BSD]: Likewise.
14277         [__USE_SVID]: Likewise.
14278         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14279         * posix/sys/wait.h [__USE_BSD]: Likewise.
14280         [__USE_SVID]: Likewise.
14281         * posix/unistd.h [__USE_BSD]: Likewise.
14282         [__USE_SVID]: Likewise.
14283         * pwd/pwd.h [__USE_SVID]: Likewise.
14284         * resolv/netdb.h [__USE_BSD]: Likewise.
14285         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14286         * signal/signal.h [__USE_BSD]: Likewise.
14287         [__USE_SVID]: Likewise.
14288         * socket/sys/socket.h [__USE_BSD]: Likewise.
14289         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14290         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14291         [__USE_SVID]: Likewise.
14292         * string/bits/string2.h [__USE_BSD]: Likewise.
14293         [__USE_SVID]: Likewise.
14294         * string/bits/string3.h [__USE_BSD]: Likewise.
14295         * string/endian.h [__USE_BSD]: Likewise.
14296         * string/string.h [__USE_SVID]: Likewise.
14297         [__USE_BSD]: Likewise.
14298         * string/strings.h [__USE_BSD]: Likewise.
14299         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14300         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14301         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14302         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14303         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14304         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14305         Likewise.
14306         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14307         Likewise.
14308         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14309         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14310         Likewise.
14311         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14312         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14313         Likewise.
14314         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14315         Likewise.
14316         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14317         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14318         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14319         Likewise.
14320         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14321         Likewise.
14322         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14323         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14324         * termios/termios.h [__USE_BSD]: Likewise.
14325         * time/sys/time.h [__USE_BSD]: Likewise.
14326         * time/time.h [__USE_BSD]: Likewise.
14327         [__USE_SVID]: Likewise.
14329         * Makefile (subdir_targets): Remove subdir_lint.out.
14331         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14332         (do-tst-printf): Likewise.
14333         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14334         $(objpfx)tst-printf.out.
14336         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14338         * Makerules (check-abi-%): Change target to
14339         $(objpfx)check-abi-%.out.
14340         (check-abi target): Update dependencies.
14341         (check-abi-pattern variable): Redirect output of diff to $@.
14342         (check-abi variable): Likewise.
14343         * elf/Makefile (check-abi): Update dependencies.
14345         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14346         unused.
14347         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14348         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14349         subnormal range.
14350         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14351         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14352         value has largest subnormal exponent.
14353         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14354         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14355         * sysdeps/aarch64/soft-fp/sfp-machine.h
14356         (_FP_TININESS_AFTER_ROUNDING): New macro.
14357         * sysdeps/alpha/soft-fp/sfp-machine.h
14358         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14359         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14360         Likewise.
14361         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14362         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14363         * sysdeps/mips/soft-fp/sfp-machine.h
14364         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14365         * sysdeps/powerpc/soft-fp/sfp-machine.h
14366         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14367         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14368         Likewise.
14369         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14370         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14371         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14372         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14373         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14374         Likewise.
14376 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
14378         [BZ #16545]
14379         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14380         model 1.
14382 2014-02-12  Richard Henderson  <rth@redhat.com>
14384         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14385         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14386         * sysdeps/unix/sysv/linux/alpha: Move directory from
14387         ports/sysdeps/unix/sysv/linux/alpha.
14388         * README: Update listing for alpha-*-linux-gnu.
14390 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14392         * include/features.h: Update comment documenting feature test
14393         macros.
14394         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14395         _DEFAULT_SOURCE.
14396         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14397         (_SVID_SOURCE): Likewise.
14398         (_DEFAULT_SOURCE): Update description of default features.
14399         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14400         with _GNU_SOURCE.
14401         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14402         (S_ISVTX): Likewise.
14403         * manual/math.texi (Mathematical Constants): Likewise.
14404         * manual/signal.texi (Interrupted Primitives): Likewise.
14405         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14406         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14407         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14408         Don't refer to _SVID_SOURCE in warning text.
14410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14412         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14413         already defined.
14414         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14415         * sysdeps/mips/dl-lookup.c: Remove.
14416         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14418 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14420         [BZ #16447]
14421         * math/auto-libm-test-in: Add testcase for expl.
14422         * math/auto-libm-test-out: Regenerate.
14423         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14424         calculation of unsafe.
14425         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14427 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14429         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14430         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14431         ports/sysdeps/unix/sysv/linux/aarch64.
14432         * README: Update listing for aarch64*-*-linux-gnu.
14434 2014-02-11  Will Newton  <will.newton@linaro.org>
14436         * manual/probes.texi (Mathematical Function Probes): Use
14437         "triggered" instead of "hit".
14439         * manual/probes.texi (Internal Probes): Add documentation
14440         of setjmp, longjmp and longjmp_target probes.
14442         * include/stap-probe.h: Add comment about probe argument
14443         format.
14445         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14446         definition.  (tr_where, tr_freehook, tr_mallochook,
14447         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14449 2014-02-11  David S. Miller  <davem@davemloft.net>
14451         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14452         processing int_tests.
14454 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14456         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14457         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14458         * sysdeps/unix/sysv/linux/mips: Move directory from
14459         ports/sysdeps/unix/sysv/linux/mips.
14460         * README: Update listing for mips-*-linux-gnu and
14461         mips64-*-linux-gnu.
14463 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14465         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14466         * sysdeps/unix/sysv/linux/m68k: Move directory from
14467         ports/sysdeps/unix/sysv/linux/m68k.
14468         * README: Update listing for m68k-*-linux-gnu.
14470 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14472         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14473         * sysdeps/unix/sysv/linux/generic: Move directory from
14474         ports/sysdeps/unix/sysv/linux/generic.
14475         * sysdeps/unix/sysv/linux/tile: Move directory from
14476         ports/sysdeps/unix/sysv/linux/tile.
14477         * README: Update listing for tile*-*-linux-gnu.
14479 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14481         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14482         __builtin_expect.
14483         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14484         * catgets/open_catalog.c (__open_catalog): Likewise.
14485         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14486         * debug/confstr_chk.c: Likewise.
14487         * debug/fread_chk.c (__fread_chk): Likewise.
14488         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14489         * debug/getgroups_chk.c: Likewise.
14490         * debug/mbsnrtowcs_chk.c: Likewise.
14491         * debug/mbsrtowcs_chk.c: Likewise.
14492         * debug/mbstowcs_chk.c: Likewise.
14493         * debug/memcpy_chk.c: Likewise.
14494         * debug/memmove_chk.c: Likewise.
14495         * debug/mempcpy_chk.c: Likewise.
14496         * debug/memset_chk.c: Likewise.
14497         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14498         * debug/strcat_chk.c (__strcat_chk): Likewise.
14499         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14500         * debug/strncat_chk.c (__strncat_chk): Likewise.
14501         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14502         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14503         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14504         * debug/wcpncpy_chk.c: Likewise.
14505         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14506         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14507         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14508         * debug/wcsncpy_chk.c: Likewise.
14509         * debug/wcsnrtombs_chk.c: Likewise.
14510         * debug/wcsrtombs_chk.c: Likewise.
14511         * debug/wcstombs_chk.c: Likewise.
14512         * debug/wmemcpy_chk.c: Likewise.
14513         * debug/wmemmove_chk.c: Likewise.
14514         * debug/wmempcpy_chk.c: Likewise.
14515         * debug/wmemset_chk.c: Likewise.
14516         * dirent/scandirat.c (SCANDIRAT): Likewise.
14517         * dlfcn/dladdr1.c (dladdr1): Likewise.
14518         * dlfcn/dladdr.c (dladdr): Likewise.
14519         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14520         * dlfcn/dlerror.c (__dlerror): Likewise.
14521         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14522         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14523         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14524         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14525         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14526         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14527         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14528         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14529         Likewise.
14530         * elf/dl-conflict.c: Likewise.
14531         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14532         * elf/dl-dst.h: Likewise.
14533         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14534         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14535         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14536         * elf/dl-init.c (call_init, _dl_init): Likewise.
14537         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14538         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14539         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14540         Likewise.
14541         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14542         Likewise.
14543         * elf/dl-minimal.c (__libc_memalign): Likewise.
14544         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14545         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14546         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14547         * elf/dl-sym.c (do_sym): Likewise.
14548         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14549         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14550         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14551         * elf/dl-writev.h (_dl_writev): Likewise.
14552         * elf/ldconfig.c (search_dir): Likewise.
14553         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14554         (dl_main): Likewise.
14555         * elf/setup-vdso.h (setup_vdso): Likewise.
14556         * grp/compat-initgroups.c (compat_call): Likewise.
14557         * grp/fgetgrent.c (fgetgrent): Likewise.
14558         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14559         * grp/putgrent.c (putgrent): Likewise.
14560         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14561         Likewise.
14562         * hurd/hurdinit.c: Likewise.
14563         * iconvdata/8bit-gap.c (struct): Likewise.
14564         * iconvdata/ansi_x3.110.c : Likewise.
14565         * iconvdata/big5.c : Likewise.
14566         * iconvdata/big5hkscs.c : Likewise.
14567         * iconvdata/cp1255.c: Likewise.
14568         * iconvdata/cp1258.c : Likewise.
14569         * iconvdata/cp932.c : Likewise.
14570         * iconvdata/euc-cn.c: Likewise.
14571         * iconvdata/euc-jisx0213.c : Likewise.
14572         * iconvdata/euc-jp.c: Likewise.
14573         * iconvdata/euc-jp-ms.c : Likewise.
14574         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14575         * iconvdata/gb18030.c : Likewise.
14576         * iconvdata/gbbig5.c (const): Likewise.
14577         * iconvdata/gbgbk.c: Likewise.
14578         * iconvdata/gbk.c : Likewise.
14579         * iconvdata/ibm1364.c : Likewise.
14580         * iconvdata/ibm930.c : Likewise.
14581         * iconvdata/ibm932.c: Likewise.
14582         * iconvdata/ibm933.c : Likewise.
14583         * iconvdata/ibm935.c : Likewise.
14584         * iconvdata/ibm937.c : Likewise.
14585         * iconvdata/ibm939.c : Likewise.
14586         * iconvdata/ibm943.c: Likewise.
14587         * iconvdata/iso_11548-1.c: Likewise.
14588         * iconvdata/iso-2022-cn.c : Likewise.
14589         * iconvdata/iso-2022-cn-ext.c : Likewise.
14590         * iconvdata/iso-2022-jp-3.c: Likewise.
14591         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14592         * iconvdata/iso-2022-kr.c : Likewise.
14593         * iconvdata/iso646.c (gconv_end): Likewise.
14594         * iconvdata/iso_6937-2.c : Likewise.
14595         * iconvdata/iso_6937.c : Likewise.
14596         * iconvdata/iso8859-1.c: Likewise.
14597         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14598         * iconvdata/shift_jisx0213.c : Likewise.
14599         * iconvdata/sjis.c : Likewise.
14600         * iconvdata/t.61.c : Likewise.
14601         * iconvdata/tcvn5712-1.c : Likewise.
14602         * iconvdata/tscii.c: Likewise.
14603         * iconvdata/uhc.c : Likewise.
14604         * iconvdata/unicode.c (gconv_end): Likewise.
14605         * iconvdata/utf-16.c (gconv_end): Likewise.
14606         * iconvdata/utf-32.c (gconv_end): Likewise.
14607         * iconvdata/utf-7.c (base64): Likewise.
14608         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14609         * iconv/gconv_close.c (__gconv_close): Likewise.
14610         * iconv/gconv_open.c (__gconv_open): Likewise.
14611         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14612         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14613         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14614         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14615         (ucs4le_internal_loop_single): Likewise.
14616         * iconv/iconv.c (iconv): Likewise.
14617         * iconv/iconv_close.c: Likewise.
14618         * iconv/loop.c (SINGLE): Likewise.
14619         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14620         * include/atomic.h: Likewise.
14621         * inet/inet6_option.c (option_alloc): Likewise.
14622         * intl/bindtextdom.c (set_binding_values): Likewise.
14623         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14624         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14625         * intl/localealias.c (read_alias_file): Likewise.
14626         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14627         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14628         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14629         * libio/fmemopen.c (fmemopen): Likewise.
14630         * libio/iofgets.c (_IO_fgets): Likewise.
14631         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14632         * libio/iofgetws.c (fgetws): Likewise.
14633         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14634         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14635         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14636         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14637         * locale/findlocale.c (_nl_find_locale): Likewise.
14638         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14639         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14640         Likewise.
14641         * locale/setlocale.c (setlocale): Likewise.
14642         * login/programs/pt_chown.c (main): Likewise.
14643         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14644         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14645         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14646         (mmap, mmap64, mremap, munmap): Likewise.
14647         * math/e_exp2l.c: Likewise.
14648         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14649         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14650         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14651         * math/s_catan.c (__catan): Likewise.
14652         * math/s_catanf.c (__catanf): Likewise.
14653         * math/s_catanh.c (__catanh): Likewise.
14654         * math/s_catanhf.c (__catanhf): Likewise.
14655         * math/s_catanhl.c (__catanhl): Likewise.
14656         * math/s_catanl.c (__catanl): Likewise.
14657         * math/s_ccosh.c (__ccosh): Likewise.
14658         * math/s_ccoshf.c (__ccoshf): Likewise.
14659         * math/s_ccoshl.c (__ccoshl): Likewise.
14660         * math/s_cexp.c (__cexp): Likewise.
14661         * math/s_cexpf.c (__cexpf): Likewise.
14662         * math/s_cexpl.c (__cexpl): Likewise.
14663         * math/s_clog10.c (__clog10): Likewise.
14664         * math/s_clog10f.c (__clog10f): Likewise.
14665         * math/s_clog10l.c (__clog10l): Likewise.
14666         * math/s_clog.c (__clog): Likewise.
14667         * math/s_clogf.c (__clogf): Likewise.
14668         * math/s_clogl.c (__clogl): Likewise.
14669         * math/s_csin.c (__csin): Likewise.
14670         * math/s_csinf.c (__csinf): Likewise.
14671         * math/s_csinh.c (__csinh): Likewise.
14672         * math/s_csinhf.c (__csinhf): Likewise.
14673         * math/s_csinhl.c (__csinhl): Likewise.
14674         * math/s_csinl.c (__csinl): Likewise.
14675         * math/s_csqrt.c (__csqrt): Likewise.
14676         * math/s_csqrtf.c (__csqrtf): Likewise.
14677         * math/s_csqrtl.c (__csqrtl): Likewise.
14678         * math/s_ctan.c (__ctan): Likewise.
14679         * math/s_ctanf.c (__ctanf): Likewise.
14680         * math/s_ctanh.c (__ctanh): Likewise.
14681         * math/s_ctanhf.c (__ctanhf): Likewise.
14682         * math/s_ctanhl.c (__ctanhl): Likewise.
14683         * math/s_ctanl.c (__ctanl): Likewise.
14684         * math/w_pow.c: Likewise.
14685         * math/w_powf.c: Likewise.
14686         * math/w_powl.c: Likewise.
14687         * math/w_scalb.c (sysv_scalb): Likewise.
14688         * math/w_scalbf.c (sysv_scalbf): Likewise.
14689         * math/w_scalbl.c (sysv_scalbl): Likewise.
14690         * misc/error.c (error_tail): Likewise.
14691         * misc/pselect.c (__pselect): Likewise.
14692         * nis/nis_callback.c (__nis_create_callback): Likewise.
14693         * nis/nis_call.c (__nisfind_server): Likewise.
14694         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14695         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14696         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14697         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14698         * nis/nis_lookup.c (nis_lookup): Likewise.
14699         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14700         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14701         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14702         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14703         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14704         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14705         * nis/nss_compat/compat-initgroups.c (add_group)
14706         (internal_getgrent_r): Likewise.
14707         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14708         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14709         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14710         (internal_getspnam_r): Likewise.
14711         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14712         (_nss_nis_getaliasbyname_r): Likewise.
14713         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14714         (_nss_nis_getntohost_r): Likewise.
14715         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14716         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14717         (_nss_nis_getgrgid_r): Likewise.
14718         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14719         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14720         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14721         (_nss_nis_gethostbyname4_r): Likewise.
14722         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14723         (initgroups_netid): Likewise.
14724         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14725         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14726         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14727         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14728         (_nss_nis_getprotobynumber_r): Likewise.
14729         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14730         (_nss_nis_getsecretkey): Likewise.
14731         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14732         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14733         (_nss_nis_getpwuid_r): Likewise.
14734         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14735         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14736         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14737         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14738         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14739         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14740         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14741         Likewise.
14742         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14743         (_nss_nisplus_getntohost_r): Likewise.
14744         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14745         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14746         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14747         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14748         Likewise.
14749         * nis/nss_nisplus/nisplus-initgroups.c
14750         (_nss_nisplus_initgroups_dyn): Likewise.
14751         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14752         (_nss_nisplus_getnetbyaddr_r): Likewise.
14753         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14754         (_nss_nisplus_getprotobynumber_r): Likewise.
14755         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14756         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14757         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14758         Likewise.
14759         * nis/nss_nisplus/nisplus-service.c
14760         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14761         (_nss_nisplus_getservbyport_r): Likewise.
14762         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14763         (_nss_nisplus_getspnam_r): Likewise.
14764         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14765         Likewise.
14766         * nscd/aicache.c (addhstaiX): Likewise.
14767         * nscd/cache.c (cache_search, prune_cache): Likewise.
14768         * nscd/connections.c (register_traced_file, send_ro_fd)
14769         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14770         (main_loop_epoll): Likewise.
14771         * nscd/grpcache.c (addgrbyX): Likewise.
14772         * nscd/hstcache.c (addhstbyX): Likewise.
14773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14774         * nscd/mem.c (gc, mempool_alloc): Likewise.
14775         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14776         (addinnetgrX): Likewise.
14777         * nscd/nscd-client.h (__nscd_acquire_maplock)
14778         (__nscd_drop_map_ref): Likewise.
14779         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14780         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14781         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14782         Likewise.
14783         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14784         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14785         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14786         (__nscd_get_map_ref): Likewise.
14787         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14788         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14789         Likewise.
14790         * nscd/pwdcache.c (addpwbyX): Likewise.
14791         * nscd/selinux.c (preserve_capabilities): Likewise.
14792         * nscd/servicescache.c (addservbyX): Likewise.
14793         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14794         * posix/fnmatch.c (fnmatch): Likewise.
14795         * posix/getopt.c (_getopt_internal_r): Likewise.
14796         * posix/glob.c (glob, glob_in_dir): Likewise.
14797         * posix/wordexp.c (exec_comm_child): Likewise.
14798         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14799         (getanswer_r, gaih_getanswer_slice): Likewise.
14800         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14801         * resolv/res_init.c: Likewise.
14802         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14803         * resolv/res_query.c (__libc_res_nquery): Likewise.
14804         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14805         Likewise.
14806         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14807         * stdio-common/perror.c (perror): Likewise.
14808         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14809         * stdio-common/tmpnam.c (tmpnam): Likewise.
14810         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14811         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14812         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14813         Likewise.
14814         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14815         * stdlib/putenv.c (putenv): Likewise.
14816         * stdlib/setenv.c (__add_to_environ): Likewise.
14817         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14818         * stdlib/strtol_l.c (INTERNAL): Likewise.
14819         * string/memmem.c (memmem): Likewise.
14820         * string/strerror.c (strerror): Likewise.
14821         * string/strnlen.c (__strnlen): Likewise.
14822         * string/test-memmem.c (simple_memmem): Likewise.
14823         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14824         * sunrpc/pm_getport.c (__get_socket): Likewise.
14825         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14826         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14827         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14828         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14829         Likewise.
14830         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14831         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14832         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14833         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14834         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14835         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14836         Likewise.
14837         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14838         Likewise.
14839         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14840         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14842         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14843         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14845         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14846         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14847         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14848         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14849         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14850         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14851         Likewise.
14852         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14853         Likewise.
14854         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14855         Likewise.
14856         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14857         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14858         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14859         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14860         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14861         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14862         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14863         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14865         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14866         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14867         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14868         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14869         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14871         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14872         Likewise.
14873         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14874         Likewise.
14875         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14876         Likewise.
14877         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14878         Likewise.
14879         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14881         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14882         Likewise.
14883         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14884         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14885         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14886         * sysdeps/posix/sleep.c: Likewise.
14887         * sysdeps/posix/tempname.c: Likewise.
14888         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14889         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14890         Likewise.
14891         * sysdeps/powerpc/powerpc32/dl-machine.h
14892         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14893         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14895         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14896         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14897         Likewise.
14898         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14899         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14900         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14901         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14902         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14903         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14904         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14905         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14906         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14907         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14908         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14909         (elf_machine_lazy_rel): Likewise.
14910         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14912         (elf_machine_lazy_rel): Likewise.
14913         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14914         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14915         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14916         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14917         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14918         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14919         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14920         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14921         Likewise.
14922         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14923         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14924         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14925         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14926         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14927         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14928         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14929         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14930         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14931         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14932         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14933         Likewise.
14934         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14935         (__posix_fallocate64_l64): Likewise.
14936         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14937         (posix_fallocate): Likewise.
14938         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14939         Likewise.
14940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14941         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14942         (getifaddrs_internal): Likewise.
14943         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14944         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14945         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14946         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14947         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14948         (__posix_fallocate64_l64): Likewise.
14949         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14950         Likewise.
14951         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14952         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14953         (__get_clockfreq): Likewise.
14954         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14955         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14956         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14959         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14960         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14961         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14962         Likewise.
14963         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14964         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14965         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14966         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14967         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14968         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14969         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14970         Likewise.
14971         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14972         (posix_fallocate): Likewise.
14973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14974         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14975         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14976         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14977         (elf_machine_rela, elf_machine_rela_relative)
14978         (elf_machine_lazy_rel): Likewise.
14979         * time/asctime.c (asctime_internal): Likewise.
14980         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14981         * time/tzset.c (__tzset_parse_tz): Likewise.
14982         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14983         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14984         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14985         * wcsmbs/wcsmbsload.h: Likewise.
14987         [BZ #15894]
14988         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14990         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14991         (arena_get2): Remove THREAD_STATS conditionals.
14992         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14993         (__malloc_stats, int): Likewise.
14995 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14997         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14998         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15000         * manual/setjmp.texi: Fix typos/grammar errors.
15002         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15003         Only return early when n is <= 0.  Delete unused return statement.
15005         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15006         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15007         * debug/tst-longjmp_chk3.c: New file.
15009         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15010         (test_main): Replace code with set_fortify_handler call.
15011         * debug/test-strcpy_chk.c: Likewise.
15012         * debug/tst-chk1.c: Likewise.
15013         * debug/tst-longjmp_chk.c: Likewise.
15014         * test-skeleton.c: Include fcntl.h & paths.h
15015         (set_fortify_handler): Define.
15017         * debug/tst-longjmp_chk.c: Add header comment and include
15018         ../test-skeleton.c.
15019         (do_test): Mark static.
15020         (TEST_FUNCTION): Define.
15022         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15023         (IP_PMTUDISC_INTERFACE): Likewise.
15024         (IP_MULTICAST_IF): Likewise.
15025         (IP_MULTICAST_TTL): Likewise.
15026         (IP_MULTICAST_LOOP): Likewise.
15027         (IP_ADD_MEMBERSHIP): Likewise.
15028         (IP_DROP_MEMBERSHIP): Likewise.
15029         (IP_UNBLOCK_SOURCE): Likewise.
15030         (IP_BLOCK_SOURCE): Likewise.
15031         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15032         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15033         (IP_MSFILTER): Likewise.
15034         (MCAST_JOIN_GROUP): Likewise.
15035         (MCAST_BLOCK_SOURCE): Likewise.
15036         (MCAST_UNBLOCK_SOURCE): Likewise.
15037         (MCAST_LEAVE_GROUP): Likewise.
15038         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15039         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15040         (MCAST_MSFILTER): Likewise.
15041         (IP_MULTICAST_ALL): Likewise.
15042         (IP_UNICAST_IF): Likewise.
15044         * timezone/Makefile: Delete $(have-ksh) check.
15045         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15046         * timezone/tzselect.ksh: Add +x mode bits.
15048         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15049         (ANON_INODE_FS_MAGIC): Likewise.
15050         (BDEVFS_MAGIC): Likewise.
15051         (BINFMTFS_MAGIC): Likewise.
15052         (BTRFS_TEST_MAGIC): Likewise.
15053         (CRAMFS_MAGIC_WEND): Likewise.
15054         (DEBUGFS_MAGIC): Likewise.
15055         (ECRYPTFS_SUPER_MAGIC): Likewise.
15056         (EXT3_SUPER_MAGIC): Likewise.
15057         (EXT4_SUPER_MAGIC): Likewise.
15058         (FUTEXFS_SUPER_MAGIC): Likewise.
15059         (HOSTFS_SUPER_MAGIC): Likewise.
15060         (HUGETLBFS_MAGIC): Likewise.
15061         (MINIX3_SUPER_MAGIC): Likewise.
15062         (MTD_INODE_FS_MAGIC): Likewise.
15063         (NILFS_SUPER_MAGIC): Likewise.
15064         (OPENPROM_SUPER_MAGIC): Likewise.
15065         (PIPEFS_MAGIC): Likewise.
15066         (PSTOREFS_MAGIC): Likewise.
15067         (QNX6_SUPER_MAGIC): Likewise.
15068         (RAMFS_MAGIC): Likewise.
15069         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15070         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15071         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15072         (SECURITYFS_MAGIC): Likewise.
15073         (SELINUX_MAGIC): Likewise.
15074         (SMACK_MAGIC): Likewise.
15075         (SOCKFS_MAGIC): Likewise.
15076         (SQUASHFS_MAGIC): Likewise.
15077         (STACK_END_MAGIC): Likewise.
15078         (TMPFS_MAGIC): Likewise.
15079         (USBDEVICE_SUPER_MAGIC): Likewise.
15080         (V9FS_MAGIC): Likewise.
15081         (XENFS_SUPER_MAGIC): Likewise.
15082         (CRAMFS_MAGIC): Fix typo in comment.
15083         (EXT2_SUPER_MAGIC): Update comment.
15084         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15086 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15088         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15089         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15090         * sysdeps/unix/sysv/linux/arm: Move directory from
15091         ports/sysdeps/unix/sysv/linux/arm.
15092         * README: Update listing for arm-*-linux-gnueabi.
15094         * README: Remove mention of am33.
15096 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15098         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15099         than the comma operator, to avoid "rhs of comma has no effect"
15100         compiler warnings.
15101         (__sigfillset, __sigandset, __sigorset): Likewise.
15102         * include/signal.h (__sigemptyset): Likewise.
15103         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15105 2014-02-07  Allan McRae  <allan@archlinux.org>
15107         * version.h (RELEASE): Set to "development".
15108         (VERSION): Set to "2.19.90"
15109         * NEWS: Add 2.20 section.
15111 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15113         [BZ #16529]
15114         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15116 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15118         * manual/contrib.texi: Update entry for Carlos O'Donell,
15119         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15121 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15123         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15125         * sysdeps/unix/sysv/linux/kernel-features.h
15126         [__LINUX_KERNEL_VERSION >= 0x020621]
15127         (__ASSUME_PROC_PID_TASK_COMM): Define.
15129 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15131         [BZ #16398]
15132         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15133         conversion when destination buffer does not have enough space.
15134         * libio/tst-ftell-partial-wide.c: New test case.
15135         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15137         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15138         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15139         Leonard and Allan McRae.
15141 2014-02-04  David S. Miller  <davem@davemloft.net>
15143         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15144         32-bit.
15146 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15149         New file
15150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15151         New file
15152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15153         New file.
15154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15155         New file.
15156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15157         New file.
15158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15159         New file.
15160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15161         New file.
15162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15163         New file.
15164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15165         New file.
15166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15167         New file.
15168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15169         New file.
15170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15171         New file.
15172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15173         New file.
15175 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15177         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15178         * shlib-versions: Likewise.
15180 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15181             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15183         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15184         (abilist-pattern): New variable, set to %-le.abilist.
15186         * Makerules (abilist-pattern): New variable.
15187         (vpath): Use $(abilist-pattern) in place of %.abilist.
15188         (check-abi-% pattern rule): Likewise.
15189         (check-abi, update-abi): Likewise.
15191 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15195 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15197         * manual/startup.texi: Add next, previous, and top entries for
15198         the `Program Arguments' and `Environment Variables' nodes.
15200 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15202         * manual/macros.texi: Add comments before MTASC-safety macros.
15204         * manual/users.texi: Document MTASC-safety properties.
15206         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15207         (pthread_getspecific, pthread_setspecific): Format with
15208         @deftypefun, and add @safety note.
15209         * manual/signal.texi: Move comments that analyze the above
15210         functions to their home place.
15212 2014-02-03  Allan McRae  <allan@archlinux.org>
15214         * po/sl.po: Update Slovenian translation from translation project.
15216 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15218         * manual/time.texi (timegm): Add missing blank after @c.
15219         Reported by Joseph Myers <joseph@codesourcery.com>.
15221 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15223         * manual/check-safety.sh: New.
15224         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15226         * manual/terminal.texi: Document MTASC-safety properties.
15228         * manual/filesys.texi: Document MTASC-safety properties.
15230         * manual/errno.texi: Document MTASC-safety properties.
15232         * manual/intro.texi: Document safety identifiers and
15233         conditionals.
15235         * manual/string.texi (wcstok): Fix prototype.
15236         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15238         * manual/time.texi: Document MTASC-safety properties.
15240         * manual/string.texi: Document MTASC-safety properties.
15242         * manual/threads.texi: Document MTASC-safety properties.
15244         * manual/stdio.texi: Document MTASC-safety properties.
15246         * manual/syslog.texi: Document MTASC-safety properties.
15248         * manual/sysinfo.texi: Document MTASC-safety properties.
15250         * manual/startup.texi: Document MTASC-safety properties.
15252         * manual/socket.texi: Document MTASC-safety properties.
15254         * manual/signal.texi: Document MTASC-safety properties.
15256 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15258         * manual/setjmp.texi: Document MTASC-safety properties.
15260         * manual/search.texi: Document MTASC-safety properties.
15262         * manual/resource.texi: Document MTASC-safety properties.
15264         * manual/process.texi: Document MTASC-safety properties.
15266         * manual/platform.texi: Document MTASC-safety properties.
15268         * manual/pipe.texi: Document MTASC-safety properties.
15270         * manual/pattern.texi: Document MTASC-safety properties.
15272         * manual/message.texi: Document MTASC-safety properties.
15274         [BZ #12751]
15275         * manual/memory.texi: Document MTASC-safety properties.
15277         * manual/math.texi: Document MTASC-safety properties.
15279         * manual/locale.texi: Document MTASC-safety properties.
15281         * manual/llio.texi: Document MTASC-safety properties.
15283         * manual/libdl.texi: New.
15285         * manual/lang.texi: Document MTASC-safety properties.
15287         * manual/job.texi: Document MTASC-safety properties.
15289         * manual/getopt.texi: Document MTASC-safety properties.
15291         * manual/ctype.texi: Document MTASC-safety properties.
15293 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15295         [BZ #16046]
15296         * csu/libc-tls.c (static_map): Remove variable.
15297         (__libc_setup_tls): Use main executable's link map for TLS data.
15298         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15299         casing for LM_ID_BASE and GL(dl_nns).
15300         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15301         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15302         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15303         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15304         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15305         member.
15306         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15307         l_phnum members.
15309 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15311         * manual/debug.texi: Document MTASC-safety properties.
15313 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15315         [BZ #16510]
15316         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15317         of __x86_64__ when disabling x87 inline functions.
15319 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15321         * manual/charset.texi: Document MTASC-safety properties.
15323         * manual/crypt.texi: Document MTASC-safety properties.
15325         * manual/conf.texi: Document MTASC-safety properties.
15327         * manual/arith.texi: Document MTASC-safety properties.
15329         * manual/argp.texi: Document MTASC-safety properties.
15331         * manual/macros.texi: Introduce macros to document multi
15332         thread, asynchronous signal and asynchronous cancellation
15333         safety properties.
15334         * manual/intro.texi: Introduce the properties themselves.
15336 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15338         * sysdeps/sh/sh4/Makefile: New file.
15340 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15342         * math/gen-libm-test.pl ($srcdir): New variable.
15343         ($auto_input): Use it.
15345 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15347         [BZ #16506]
15348         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15349         access beyond array bounds when parsing netgroups file.
15351         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15352         the old buffer before realloc.
15354 2014-01-27  Allan McRae  <allan@archlinux.org>
15356         * po/fr.po: Update French translation from translation project.
15358 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15360         * sysdeps/sh/libm-test-ulps: Regenerate.
15362 2014-01-24  David S. Miller  <davem@davemloft.net>
15364         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15366 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15368         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15369         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15371 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15373         [BZ #16474]
15374         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15375         string pointers after reallocation.
15377 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15379         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15380         __SH4A__ instead of __SH_FPU_ANY__.
15382 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15384         * sysdeps/sh/fpu_control.h: New file.
15385         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15386         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15387         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15388         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15389         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15390         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15391         * sysdeps/sh/sys/ucontext.h: Remove.
15392         * sysdeps/sh/sys: Remove directory.
15394 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15396         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15397         s390/sys/ucontext.h.
15398         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15399         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15401 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15403         [BZ #15605]
15404         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15406 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15408         [BZ#16431]
15409         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15410         Adjust the vDSO correctly for internal calls.
15411         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15413 2014-01-20  Allan McRae  <allan@archlinux.org>
15415         * po/ca.po: Update Catalan translation from translation project.
15417 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15419         * sysdeps/s390/sotruss-lib.c: New file.
15421 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15423         [BZ#16430]
15424         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15425         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15426         local calls issues by not having a PLT stub required for IFUNC calls.
15427         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15429 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15431         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15432         * math/test-fpucw-static.c: Likewise.
15434 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15436         [BZ #16453]
15437         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15439 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15441         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15442         implementation for powerpc.
15444 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15446         [BZ #14782]
15447         * sysdeps/posix/system.c (__libc_system): Do not enable
15448         asynchronous cancellation.
15450 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15452         [BZ #16427]
15453         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15454         handling only for numbers special also in the IEEE case.
15456 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15458         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15460 2014-01-11  Allan McRae  <allan@archlinux.org>
15462         * po/bg.po: Update Bulgarian translation from translation project.
15464         * po/de.po: Update German translation from translation project.
15466 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15468         * sysdeps/generic/gcc-compat.h: New file.
15470 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15472         * benchtests/asin-inputs: Correct slow inputs.
15473         * benchtests/acos-inputs: Likewise.
15475 2014-01-10  Allan McRae  <allan@archlinux.org>
15477         * po:sv.po: Update Swedish translation from translation project.
15479         * po/vi.po: Update Vietnamese translation from translation project.
15481         * po/eo.po: Update Esperanto translation from translation project.
15483         * po/cs.po: Update Czech translation from translation project.
15485         * po/nl.po: Update Dutch translation from translation project.
15487         * po/pl.po: Update Polish translation from translation project.
15489         * po/ru.po: Update Russian translation from translation project.
15491         * po/uk.po: Update Ukrainian translation from translation project.
15493 2014-01-08  Brooks Moses  <bmoses@google.com>
15495         * elf/dl-load.c: Fix comment typo.
15497 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15499         * po/header.pot: Rename to...
15500         * po/pot.header: ... this.
15501         * po/Makefile: Use pot.header.
15503 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15504             Maxim Kuvyrkov  <maxim@kugelworks.com>
15506         [BZ #16394]
15507         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15508         SRC and DEST against LEN.
15510 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15512         [BZ #16414]
15513         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15514         implementation.
15515         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15517 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15521 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15523         [BZ #16408]
15524         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15525         for large positive arguments.
15527 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15529         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15531         * math/auto-libm-test-in: Mark various tests with
15532         xfail-rounding:ldbl-128ibm.
15533         * math/auto-libm-test-out: Regenerated.
15535         [BZ #16407]
15536         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15537         Increase overflow threshold.
15539 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15541         [BZ #14286]
15542         * stdio-common/vfprintf.c: Check for integer overflow.
15544 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15546         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15547         the first argument and return value of __tls_get_addr_internal.
15549 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15551         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15552         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15554 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15556         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15557         * sysdeps/s390/rtld-global-offsets.sym: New file.
15558         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15559         GLIBC_2.19 symbol.
15560         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15563         ... this.
15564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15565         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15566         ... this.
15567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15568         Regenerate.
15569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15570         Regenerate.
15571         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15572         halfs of GPRs for high_gprs contexts.
15573         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15574         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15575         field.
15576         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15577         uc_flags field.
15578         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15579         64 bit versions:
15580         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15581         for high GPRs (uc_high_gprs) and for future extensions
15582         (__reserved).
15583         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15584         for future extensions (__reserved).
15585         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15586         64 bit versions:
15587         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15588         SC_HIGHGPRS offset definition.
15589         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15590         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15592         * Versions.def: Add GLIBC_2.19 for libpthread.
15593         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15594         siglongjmp for libpthread with GLIBC_2.19 symver.
15595         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15596         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15597         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15598         * sysdeps/s390/__longjmp.c: New file.
15599         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15600         * sysdeps/s390/longjmp.c: New file.
15601         * sysdeps/s390/setjmp.S: New file.
15602         * sysdeps/s390/sigjmp.S: New file.
15603         * sysdeps/s390/v1-longjmp.c: New file.
15604         * sysdeps/s390/v1-setjmp.h: New file.
15605         * sysdeps/s390/v1-sigjmp.c: New file.
15606         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15607         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15608         GLIBC_2.19 version.
15609         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15610         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15611         versioned symbols for ____longjmp_chk.
15612         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15613         Likewise.
15614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15615         Regenerate.
15616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15617         Regenerate.
15618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15619         Regenerate.
15620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15621         Regenerate.
15622         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15623         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15624         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15625         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15626         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15627         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15628         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15629         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15630         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15631         * sysdeps/s390/rtld-__longjmp.c: New file.
15632         * sysdeps/s390/rtld-setjmp.S: New file.
15634 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15636         [BZ #16400]
15637         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15638         Return -__logl (x) for small positive arguments without evaluating
15639         a polynomial.
15641 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15643         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15644         Rename to ...
15645         (__ptrace_peeksiginfo_args): ... this.
15646         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15647         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15648         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15650 2014-01-06  Allan McRae  <allan@archlinux.org>
15652         * inet/netinet/in.h: Fix typo in comment.
15654 2014-01-05  Andreas Jaeger  <aj@suse.de>
15656         * sysdeps/i386/fpu/libm-test-ulps: Update.
15658 2014-01-05  Allan McRae  <allan@archlinux.org>
15660         * po/libc.pot: Regenerated.
15662         * malloc/memusagestat.c: Fix gettext call formatting.
15664 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15666         * nscd/nscd.c: Improve usage() output.
15668 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15670         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15671         * sysdeps/unix/sysv/linux/configure: Regenerated.
15672         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15673         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15675 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15677         [BZ #16390]
15678         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15679         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15681 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15683         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15684         extra tokens at end of #undef directive.
15685         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15686         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15687         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15689 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15691         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15693         * math/auto-libm-test-in: Mark various tests with
15694         xfail-rounding:ldbl-128ibm.
15695         * math/auto-libm-test-out: Regenerated.
15697 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15699         [BZ #16386]
15700         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15701         numbers with subnormal high part when calculating exponent.
15703         [BZ #16385]
15704         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15705         fabs.
15707         [BZ #16384]
15708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15709         M_LN2l.
15710         (__ieee754_acoshl): Use __log1pl not __log1p.
15712 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15714         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15715         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15716         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15717         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15718         (reused_arena, arena_get2): Convert to GNU style.
15719         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15720         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15721         (memalign_check, __malloc_set_state): Likewise.
15722         * malloc/mallocbug.c (main): Likewise.
15723         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15724         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15725         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15726         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15727         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15728         (__posix_memalign, malloc_info): Likewise.
15729         * malloc/malloc.h: Likewise.
15730         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15731         (mallochook, memalignhook, reallochook, mabort): Likewise.
15732         * malloc/mcheck.h: Likewise.
15733         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15734         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15735         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15736         * malloc/morecore.c (__default_morecore): Likewise.
15737         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15738         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15739         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15740         (print_and_abort): Likewise.
15741         * malloc/obstack.h: Likewise.
15742         * malloc/set-freeres.c (__libc_freeres): Likewise.
15743         * malloc/tst-mallocstate.c (main): Likewise.
15744         * malloc/tst-mtrace.c (main): Likewise.
15745         * malloc/tst-realloc.c (do_test): Likewise.
15747 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15749         [BZ #16366]
15750         * nscd/netgroupcache.c (do_notfound): New function.
15751         (addgetnetgrentX): Use it.
15753         [BZ # 16365]
15754         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15755         NSS_STATUS_NOTFOUND.
15757 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762 2014-01-01  Allan McRae  <allan@archlinux.org>
15764         * scripts/update-copyrights: Update configure input file suffix.
15766         * NEWS: Update copyright year.
15767         * catgets/gencat.c: Likewise.
15768         * csu/version.c: Likewise.
15769         * debug/catchsegv.sh: Likewise.
15770         * debug/pcprofiledump.c: Likewise.
15771         * debug/xtrace.sh: Likewise.
15772         * elf/ldconfig.c: Likewise.
15773         * elf/ldd.bash.in: Likewise.
15774         * elf/pldd.c: Likewise.
15775         * elf/sotruss.ksh: Likewise.
15776         * elf/sprof.c: Likewise.
15777         * iconv/iconv_prog.c: Likewise.
15778         * iconv/iconvconfig.c: Likewise.
15779         * locale/programs/locale.c: Likewise.
15780         * locale/programs/localedef.c: Likewise.
15781         * login/programs/pt_chown.c: Likewise.
15782         * malloc/memusage.sh: Likewise.
15783         * malloc/memusagestat.c: Likewise.
15784         * malloc/mtrace.pl: Likewise.
15785         * manual/libc.texinfo: Likewise.
15786         * nscd/nscd.c: Likewise.
15787         * nss/getent.c: Likewise.
15788         * nss/makedb.c: Likewise.
15789         * posix/getconf.c: Likewise.
15790         * scripts/test-installation.pl: Likewise.
15792         * All files with FSF copyright notices: Update copyright dates
15793         using scripts/update-copyrights.
15794         * intl/plural.c: Regenerated.
15795         * locale/programs/charmap-kw.h: Likewise.
15796         * locale/programs/locfile-kw.h: Likewise.
15798 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15800         * sysdeps/unix/sysv/linux/configure: Regenerated.
15801         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15802         the linux/fanotify.h header.
15803         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15804         HAVE_LINUX_FANOTIFY_H is defined.
15806 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15808         * benchtests/cos-inputs: New inputs.
15809         * benchtests/sin-inputs: Likewise.
15811         * benchtests/atan-inputs: New inputs. Fix name of multiple
15812         precision fallback inputs.
15814         * benchtests/atanh-inputs: New inputs.
15815         * benchtests/tanh-inputs: Likewise.
15817         * benchtests/acosh-inputs: New inputs.
15818         * benchtests/asinh-inputs: Likewise.
15820         * benchtests/cosh-inputs: New inputs.
15821         * benchtests/sinh-inputs: Likewise.
15823         * benchtests/acos-inputs: Add more inputs.
15824         * benchtests/asin-inputs: Likewise.
15826 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15828         [BZ #16375]
15829         * manual/arith.texi: Fix spelling.
15830         * manual/charset.texi: Likewise.
15831         * manual/errno.texi: Likewise.
15832         * manual/filesys.texi: Likewise.
15833         * manual/lang.texi: Likewise.
15834         * manual/llio.texi: Likewise.
15835         * manual/locale.texi: Likewise.
15836         * manual/message.texi: Likewise.
15837         * manual/resource.texi: Likewise.
15838         * manual/search.texi: Likewise.
15839         * manual/setjmp.texi: Likewise.
15840         * manual/stdio.texi: Likewise.
15841         * manual/string.texi: Likewise.
15842         * manual/sysinfo.texi: Likewise.
15843         * manual/time.texi: Likewise.
15845 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15847         * po/sl.po: New file.
15849 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15851         * .gitignore: Add core/.gdbinit/.gdb_history.
15853 2013-12-27  Allan McRae  <allan@archlinux.org>
15855         [BZ #16369]
15856         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15857         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15859 2013-12-24  Brooks Moses  <bmoses@google.com>
15861         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15862         all compilers that claim C++98 compliance, not just GCC.
15863         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15864         Likewise.
15866 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15868         * NEWS: Restore accidentally deleted bug-fix entries.
15870 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15871             Ondřej Bílka  <neleai@seznam.cz>
15873         [BZ #15073]
15874         * malloc/malloc.c (_int_free): Perform sanity check only if we
15875         have_lock.
15877 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15879         [BZ #12986]
15880         * manual/stdio.texi (String Input Conversions): Clarify that character
15881         classes are not supported.
15883 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15887 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15889         [BZ #16337]
15890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15891         Calculate results for small negative arguments directly rather
15892         than using reflection formula with special underflow handling.
15894         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15895         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15896         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15897         (fchflags): Likewise.
15898         (revoke): Likewise.
15899         (setlogin): Likewise.
15900         (sigaltstack): Likewise.
15901         (wait4): Likewise.
15902         (sigblock): Remove.
15903         (sigsetmask): Likewise.
15904         (wait3): Likewise.
15905         (waitpid): Likewise.
15906         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15907         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15908         file.
15909         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15910         * sysdeps/unix/bsd/Makefile: ... here.
15911         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15912         * sysdeps/unix/bsd/Versions: ... here.
15913         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15914         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15915         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15916         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15917         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15918         * sysdeps/unix/bsd/sigblock.c: ... here.
15919         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15920         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15921         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15922         * sysdeps/unix/bsd/sigvec.c: ... here.
15923         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15924         * sysdeps/unix/bsd/tcdrain.c: ... here.
15925         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15926         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15927         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15928         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15929         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15930         * sysdeps/unix/bsd/wait.c: ... here.
15931         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15932         * sysdeps/unix/bsd/wait3.c: ... here.
15933         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15934         * sysdeps/unix/bsd/waitpid.c: ... here.
15936 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15938         [BZ #16356]
15939         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15940         round-to-nearest for [!USE_AS_EXPM1L].
15941         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15942         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15943         more tests of exp and exp10.  Expect some exp10 tests to miss
15944         exceptions or fail in directed rounding modes.
15945         * math/auto-libm-test-out: Regenerated.
15946         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15947         (exp10_test_tonearest): New function.
15948         (exp10_towardzero_test_data): New array.
15949         (exp10_test_towardzero): New function.
15950         (exp10_downward_test_data): New array.
15951         (exp10_test_downward): New function.
15952         (exp10_upward_test_data): New array.
15953         (exp10_test_upward): New function.
15954         (main): Call the new functions.
15955         * sysdeps/i386/fpu/libm-test-ulps: Update.
15956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15958 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15960         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15961         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15962         * math/auto-libm-test-out: Regenerated.
15963         * math/libm-test.inc (acosh_test_data): Add more tests.
15964         (atanh_test_data): Likewise.
15965         (ceil_test_data): Likewise.
15966         (copysign_test_data): Likewise.
15967         * sysdeps/i386/fpu/libm-test-ulps: Update.
15968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15970         * timezone/checktab.awk: Update from tzcode 2013i.
15971         * timezone/private.h: Likewise.
15972         * timezone/scheck.c: Likewise.
15973         * timezone/tzfile.h: Likewise.
15974         * timezone/tzselect.ksh: Likewise.
15975         * timezone/zdump.c: Likewise.
15976         * timezone/zic.c: Likewise.
15978         * math/auto-libm-test-in: Add tests of cpow.
15979         * math/auto-libm-test-out: Regenerated.
15980         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15981         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15982         mpc_cc_c.
15983         (func_calc_desc): Add mpc_cc_c union field.
15984         (test_functions): Add cpow.
15985         (special_fill_2pi): New function.
15986         (special_real_inputs): Add 2pi.
15987         (calc_generic_results): Handle mpc_cc_c.
15988         * sysdeps/i386/fpu/libm-test-ulps: Update.
15989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15991         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15992         csqrt, ctan and ctanh.
15993         * math/auto-libm-test-out: Regenerated.
15994         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15995         (TEST_COND_x86): Likewise.
15996         (ccos_test_data): Use AUTO_TESTS_c_c.
15997         (ccosh_test_data): Likewise.
15998         (cexp_test_data): Likewise.
15999         (clog_test_data): Likewise.
16000         (csqrt_test_data): Likewise.
16001         (ctan_test_data): Likewise.
16002         (ctan_tonearest_test_data): Likewise.
16003         (ctan_towardzero_test_data): Likewise.
16004         (ctan_downward_test_data): Likewise.
16005         (ctan_upward_test_data): Likewise.
16006         (ctanh_test_data): Likewise.
16007         (ctanh_tonearest_test_data): Likewise.
16008         (ctanh_towardzero_test_data): Likewise.
16009         (ctanh_downward_test_data): Likewise.
16010         (ctanh_upward_test_data): Likewise.
16011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16012         mpc_c_c.
16013         (func_calc_desc): Add mpc_c_c union field.
16014         (FUNC_mpc_c_c): New macro.
16015         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16016         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16017         ctanh.
16018         (special_fill_min_subnorm_p120): New function.
16019         (special_real_inputs): Add min_subnorm_p120.
16020         (calc_generic_results): Handle mpc_c_c.
16021         * sysdeps/i386/fpu/libm-test-ulps: Update.
16022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16024 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16026         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16027         (do_sin_slow): New functions.
16028         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16029         (cslow2, csloww1, csloww2): Use the new functions.
16031         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16032         Use M to change sign of result instead of X.  Assume X is
16033         positive.
16034         (csloww1): Likewise.
16035         (__sin): Adjust.
16036         (__cos): Adjust.
16038         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16039         arguments A and DA.
16040         (__sin): Adjust.
16041         (__cos): Likewise.
16043         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16044         (__cos): Likewise.
16045         (sloww1): Don't adjust sign of DX.
16046         (csloww1): Likewise.
16047         (sloww2): Use X directly and don't adjust sign of DX.
16048         (csloww2): Likewise.
16050 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16052         * math/auto-libm-test-in: Add tests of cabs and carg.
16053         * math/auto-libm-test-out: Regenerated.
16054         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16055         (carg_test_data): Likewise.
16056         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16057         mpc_c_f.
16058         (func_calc_desc): Add mpc_c_f union field.
16059         (test_functions): Add cabs and carg.
16060         (calc_generic_results): Handle mpc_c_f.
16062         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16063         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16064         as a macro and a compat symbol.
16065         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16066         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16067         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16068         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16069         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16071         not use .hidden.
16072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16073         Likewise.
16074         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16075         Likewise.
16076         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16077         Likewise.
16078         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16079         Likewise.
16080         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16081         Likewise.
16082         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16083         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16084         from GLIBC_2.3.2.
16086 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16090 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16092         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16093         trailing whitespace removed.
16094         * scripts/config.guess: Update to version 2013-11-29.
16095         * scripts/config.sub: Update to version 2013-10-01.
16097         * math/auto-libm-test-in: Add tests of sincos.
16098         * math/auto-libm-test-out: Regenerated.
16099         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16100         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16101         mpfr_f_11.
16102         (func_calc_desc): Add mpfr_f_11 union field.
16103         (test_functions): Add sincos.
16104         (calc_generic_results): Handle mpfr_f_11.
16105         * sysdeps/i386/fpu/libm-test-ulps: Update.
16106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16108 2013-12-19  Andreas Schwab  <schwab@suse.de>
16110         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16111         CALL_MCOUNT.
16112         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16113         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16114         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16116 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16118         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16119         * sysdeps/i386/fpu/libm-test-ulps: Update.
16120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122         [BZ #16293]
16123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16124         round-to-nearest mode when using frndint.
16125         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16126         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16127         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16128         Likewise.
16129         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16130         sinh test to fail.
16131         * math/auto-libm-test-out: Regenerated.
16132         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16133         (TEST_COND_x86): Likewise.
16134         (expm1_tonearest_test_data): New array.
16135         (expm1_test_tonearest): New function.
16136         (expm1_towardzero_test_data): New array.
16137         (expm1_test_towardzero): New function.
16138         (expm1_downward_test_data): New array.
16139         (expm1_test_downward): New function.
16140         (expm1_upward_test_data): New array.
16141         (expm1_test_upward): New function.
16142         (main): Run the new test functions.
16143         * sysdeps/i386/fpu/libm-test-ulps: Update.
16144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16146         * include/features.h: Update comment documenting feature test
16147         macros.  Mention _DEFAULT_SOURCE in comment.
16148         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16149         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16150         _BSD_SOURCE and _SVID_SOURCE.
16151         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16152         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16153         !_SVID_SOURCE]: Likewise.
16154         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16155         (__USE_POSIX_IMPLICITLY): Define.
16156         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16157         (_POSIX_SOURCE): Undefine and redefine.
16158         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16159         (_POSIX_C_SOURCE): Likewise.
16160         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16161         (Feature Test Macros): Update documentation of default features.
16163 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16165         * benchtests/Makefile: Add bench-strtok.
16166         * benchtests/bench-strtok.c: New file: strtok benchtest.
16168 2013-12-19  Allan McRae  <allan@archlinux.org>
16170         * manual/install.texi: Suppress menu for plain text output.
16171         * INSTALL: Regenerated.
16173 2013-12-18  Brooks Moses  <bmoses@google.com>
16175         [BZ #15846]
16176         * misc/getauxval.c: Include errno.h.
16177         (__getauxval): Set errno to ENOENT if the requested type is not
16178         found.
16179         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16180         don't declare with __attribute_const__.
16181         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16182         * manual/startup.texi: Document that getauxval sets errno.
16184 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16186         * math/auto-libm-test-in: Add tests of jn and yn.
16187         * math/auto-libm-test-out: Regenerated.
16188         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16189         (yn_test_data): Likewise.
16190         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16191         mpfr_if_f.
16192         (func_calc_desc): Add mpfr_if_f union field.
16193         (FUNC_mpfr_if_f): New macro.
16194         (test_functions): Add jn and yn.
16195         (calc_generic_results): Assert type of second input for
16196         mpfr_ff_f.  Handle mpfr_if_f.
16197         (output_for_one_input_case): Disable all checking for arguments
16198         fitting floating-point types in case of an integer argument.
16199         * sysdeps/i386/fpu/libm-test-ulps: Update.
16200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16203         Don't expect fegetround reference in libm.so.
16205 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16207         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16208         $(config-cflags-nofma).
16210 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16212         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16213         * math/auto-libm-test-out: Regenerated.
16215         [BZ #16338]
16216         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16217         to determine exponent and adjust argument to have exponent of -1.
16218         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16219         log2.
16220         * math/auto-libm-test-out: Regenerated.
16221         * sysdeps/i386/fpu/libm-test-ulps: Update.
16222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16224 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16226         * manual/probes.texi: Remove cases when per-thread arenas are
16227         disabled.
16229 2013-12-18  Andreas Schwab  <schwab@suse.de>
16231         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16232         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16233         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16234         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16235         * sysdeps/i386/i686/multiarch/Makefile: Update.
16236         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16238 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16240         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16241         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16243 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16245         [BZ #15968]
16246         Support TZ transition times < 00:00:00.
16247         This is needed for version-3 tz-format files; it supports time
16248         stamps past 2037 for America/Godthab (the only entry in the tz
16249         database for which this change is relevant).
16250         * manual/time.texi (TZ Variable): Document transition times
16251         from -167:59:59 through -00:00:01.
16252         * time/tzset.c (tz_rule): Time of day is now signed.
16253         (__tzset_parse_tz): Parse negative time of day.
16255         Document TZ transition times >= 25:00:00.
16256         * manual/time.texi (TZ Variable): Document transition times from
16257         25:00:00 through 167:59:59.  These are already supported, and this
16258         support will help with version-3 tz-format files.
16260         * manual/time.texi (TZ Variable): Modernize North America example
16261         to reflect current (i.e., 2007-and-later) daylight saving rules.
16263         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16265 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16267         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16268         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16270         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16271         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16272         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16273         * sysdeps/unix/bsd/clock.c: Likewise.
16274         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16275         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16276         * sysdeps/unix/bsd/init-posix.c: Likewise.
16277         * sysdeps/unix/bsd/poll.c: Likewise.
16278         * sysdeps/unix/bsd/ptsname.c: Likewise.
16279         * sysdeps/unix/bsd/seekdir.c: Likewise.
16280         * sysdeps/unix/bsd/setegid.c: Likewise.
16281         * sysdeps/unix/bsd/seteuid.c: Likewise.
16282         * sysdeps/unix/bsd/setgid.c: Likewise.
16283         * sysdeps/unix/bsd/setrgid.c: Likewise.
16284         * sysdeps/unix/bsd/setruid.c: Likewise.
16285         * sysdeps/unix/bsd/setsid.c: Likewise.
16286         * sysdeps/unix/bsd/setuid.c: Likewise.
16287         * sysdeps/unix/bsd/sigaction.c: Likewise.
16288         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16289         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16290         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16291         * sysdeps/unix/bsd/telldir.c: Likewise.
16292         * sysdeps/unix/bsd/times.c: Likewise.
16293         * sysdeps/unix/bsd/usleep.c: Likewise.
16295         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16296         ($(objpfx)libbsd-compat.a): Remove rule.
16298         * include/features.h (__FAVOR_BSD): Do not define.
16299         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16300         features conflicting with POSIX.
16301         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16302         (_BSD_SOURCE): Remove description of not being a subset of other
16303         feature test macros.
16304         * manual/job.texi (getpgrp): Do not document BSD version.
16305         (getpgid): Do not document by reference to BSD getpgrp.
16306         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16307         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16308         * signal/signal.h [__FAVOR_BSD]: Likewise.
16309         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16310         instead of making contents conditional on [__FAVOR_BSD].
16311         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16313 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16317 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16319         [BZ #16314]
16320         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16321         values below 2**-450, not 2**-500.
16322         * math/auto-libm-test-in: Don't allow spurious underflow from
16323         hypot.
16324         * math/auto-libm-test-out: Regenerated.
16326         [BZ #16316]
16327         [BZ #16330]
16328         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16329         values of ha and hb and sort them after adjusting subnormal
16330         arguments.
16331         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16332         Likewise.
16333         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16334         values of ea and eb and sort them after adjusting subnormal
16335         arguments.
16336         * math/auto-libm-test-in: Do not expect some hypot tests of
16337         subnormals to fail.  Add more hypot tests.
16338         * math/auto-libm-test-out: Regenerated.
16340 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16342         [BZ #13304]
16343         * sysdeps/sh/s_fma.c: New file.
16344         * sysdeps/sh/s_fmaf.c: New file.
16345         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16346         version.
16347         * sysdeps/sh/Implies: Add sh/soft-fp.
16349 2013-12-16  Roland McGrath  <roland@hack.frob.com>
16351         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
16352         level of indirection to members `objname', `errstring', `malloced'.
16353         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16354         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
16355         it as the __longjmp argument (just pass 1 instead).
16356         (_dl_catch_error): Initialize C with argument pointers and address of
16357         volatile local ERRCODE rather than copying values out of C at return.
16359 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
16361         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16362         * math/auto-libm-test-out: Regenerated.
16363         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16364         (hypot_test_data): Likewise.
16365         (pow_test_data): Likewise.
16366         (pow_tonearest_test_data): Likewise.
16367         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16368         mpfr_ff_f.
16369         (func_calc_desc): Add mpfr_ff_f union field.
16370         (FUNC_mpfr_ff_f): New macro.
16371         (test_functions): Add atan2, hypot and pow.
16372         (special_fill_min): New function.
16373         (special_fill_minus_min): Likewise.
16374         (special_fill_min_subnorm): Likewise.
16375         (special_fill_minus_min_subnorm): Likewise.
16376         (special_real_inputs): Add min, -min, min_subnorm and
16377         -min_subnorm.
16378         (calc_generic_results): Handle mpfr_ff_f.
16379         * sysdeps/i386/fpu/libm-test-ulps: Update.
16380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16382 2013-12-16  Will Newton  <will.newton@linaro.org>
16384         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16385         (Aligned Memory Blocks): Add documentation for aligned_alloc
16386         and suggest it as an alternative to posix_memalign.
16387         (Hooks for Malloc): Document __memalign_hook is also called
16388         for aligned_alloc.  (Summary of Malloc): Add summary for
16389         aligned alloc.  Document __memalign_hook is also called
16390         for aligned_alloc.
16392 2013-12-16  Will Newton  <will.newton@linaro.org>
16394         * manual/memory.texi (Malloc Examples): Clarify default
16395         alignment documentation.  Suggest posix_memalign rather
16396         than memalign or valloc.
16397         (Aligned Memory Blocks): Remove suggestion to use memalign
16398         or valloc.  Remove obsolete comment about BSD.
16399         Document memalign errno values and mark the function obsolete.
16400         Document posix_memalign returned error codes.  Mark valloc
16401         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16402         called for posix_memalign and valloc.
16403         (Summary of Malloc): Add posix_memalign to function summary.
16404         __memalign_hook is also called for posix_memalign and valloc.
16406 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16408         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16409         TAYLOR_SIN.
16410         (__sin): Adjust.
16411         (__cos): Likewise.
16412         (sloww): Use mynumber union.  Expand ternary operator into
16413         if-else statements.
16414         (cslow): use mynumber union.
16416 2013-12-16  Allan McRae  <allan@archlinux.org>
16418         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16419         * configure: Regenerated.
16421         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16423         [BZ #14120]
16424         * configure.ac: Added --enable-maintainer-mode. Check for
16425         autoconf when enabled.
16426         * configure: Regenerated.
16428         * nscd/nscd.service: New file.
16429         * nscd/nscd.tmpfiles: New file.
16431 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16433         [BZ #12100]
16434         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16435         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16436         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16437         (strstr): Add __strstr_sse2_unaligned ifunc.
16438         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16439         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16440         (strcasestr): Remove __strcasestr_sse42 ifunc.
16441         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16445 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16447         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16448         * sysdeps/sh/bits/fenv.h: ... here.
16449         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16451 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16453         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16456         hypotf multiarch implementations.
16457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16460         multiarch hypot for PPC64.
16461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16462         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16463         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16464         multiarch hypotf for PPC64.
16466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16467         modff multiarch implementations.
16468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16471         multiarch modf for PPC64.
16472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16475         multiarch modff for PPC64.
16477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16478         and logl multiarch implementations.
16479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16482         multiarch logb for PPC64.
16483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16486         multiarch logb for PPC64.
16487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16490         multiarch logb for PPC64.
16492         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16493         isinff multiarch implementation.
16494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16495         file.
16496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16498         multiarch isinf for PPC64.
16499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16500         file.
16501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16502         multiarch isinff for PPC64.
16504         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16505         finitef multiarch implementation.
16506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16507         file.
16508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16510         multiarch finite for PPC64.
16511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16512         file.
16513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16514         multiarch finitef for PPC64.
16516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16517         lrint multiarch implementation.
16518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16519         file.
16520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16522         multiarch llrint for PPC64.
16523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16524         multiarch lrint for PPC64.
16526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16527         copysignf multiarch implementation.
16528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16529         file.
16530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16531         file.
16532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16533         multiarch copysign for PPC64.
16534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16535         multiarch copysignf for PPC64.
16537         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16538         multiarch implementation.
16539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16540         file.
16541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16542         file.
16543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16544         file.
16545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16546         file.
16547         multiarch llround for PPC64.
16548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16549         multiarch trunc for PPC64.
16550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16551         multiarch truncf for PPC64.
16553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16554         multiarch implementation.
16555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16556         file.
16557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16558         file.
16559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16560         file.
16561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16562         file.
16563         multiarch llround for PPC64.
16564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16565         multiarch round for PPC64.
16566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16567         multiarch roundf for PPC64.
16569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16570         multiarch implementation.
16571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16572         file.
16573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16574         file.
16575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16576         file.
16577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16578         file.
16579         multiarch llround for PPC64.
16580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16581         multiarch floor for PPC64.
16582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16583         multiarch floorf for PPC64.
16585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16586         multiarch implementation.
16587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16588         file.
16589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16590         file.
16591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16592         file.
16593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16594         file.
16595         multiarch llround for PPC64.
16596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16597         multiarch ceil for PPC64.
16598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16599         multiarch ceilf for PPC64.
16601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16602         multiarch implementation.
16603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16604         file.
16605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16606         file.
16607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16608         file.
16609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16610         multiarch llround for PPC64.
16611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16612         multiarch lround for PPC64.
16614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16615         multiarch implementation.
16616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16619         file.
16620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16623         multiarch isnan for PPC64.
16624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16625         multiarch isnanf for PPC64.
16627         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16628         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16629         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16630         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16631         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16634         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16635         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16636         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16637         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16640         multiarch implementations.
16641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16642         (__libc_ifunc_impl_list): Likewise.
16643         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16645         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16646         multiarch stpcpy for PPC64.
16648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16649         multiarch implementations.
16650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16651         (__libc_ifunc_impl_list): Likewise.
16652         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16653         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16654         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16655         multiarch strcpy for PPC64.
16657         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16658         redefine function name.
16659         (_wordcopy_fwd_dest_aligned): Likewise.
16660         (_wordcopy_bwd_aligned): Likewise.
16661         (_wordcopy_bwd_dest_aligned): Likewise.
16662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16663         multiarch implementations.
16664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16665         (__libc_ifunc_impl_list): Likewise.
16666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16667         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16669         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16670         multiarch wcscpy for PPC64.
16672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16673         multiarch implementations.
16674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16675         (__libc_ifunc_impl_list): Likewise.
16676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16677         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16678         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16679         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16680         multiarch wcscpy for PPC64.
16682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16683         multiarch implementations.
16684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16685         (__libc_ifunc_impl_list): Likewise.
16686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16687         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16688         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16689         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16690         multiarch wcsrchr for PPC64.
16692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16693         multiarch implementations.
16694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16695         (__libc_ifunc_impl_list): Likewise.
16696         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16697         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16698         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16699         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16700         multiarch wcschr for PPC64.
16702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16703         multiarch implementations.
16704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16705         (__libc_ifunc_impl_list): Likewise.
16706         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16707         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16708         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16709         multiarch strchrnul for PPC64.
16711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16712         implementations.
16713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16714         (__libc_ifunc_impl_list): Likewise.
16715         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16716         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16717         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16718         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16719         strchr for PPC64.
16721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16722         implementations.
16723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16724         (__libc_ifunc_impl_list): Likewise.
16725         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16726         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16727         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16728         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16729         strncmp for PPC64.
16731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16732         multiarch implementations.
16733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16734         (__libc_ifunc_impl_list): Likewise.
16735         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16736         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16737         strncasecmp for PPC64.
16738         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16739         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16740         multiarch strncasecmp_l for PPC64.
16742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16743         multiarch implementations.
16744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16745         (__libc_ifunc_impl_list): Likewise.
16746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16748         multiarch strcasecmp for PPC64.
16749         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16750         file.
16751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16752         multiarch strcasecmp_l for PPC64.
16754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16755         implementations.
16756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16757         (__libc_ifunc_impl_list): Likewise.
16758         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16759         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16760         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16761         strnlen for PPC64.
16763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16764         implementations.
16765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16766         (__libc_ifunc_impl_list): Likewise.
16767         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16768         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16769         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16770         strlen for PPC64.
16772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16773         implementations.
16774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16775         (__libc_ifunc_impl_list): Likewise.
16776         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16777         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16778         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16779         rawmemrchr for PPC64.
16781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16782         implementation.
16783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16784         (__libc_ifunc_impl_list): Likewise.
16785         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16786         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16787         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16788         memrchr for PPC64.
16790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16791         implementation.
16792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16793         (__libc_ifunc_impl_list): Likewise.
16794         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16795         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16796         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16797         memchr for PPC64.
16799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16800         implementation.
16801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16802         (__libc_ifunc_impl_list): Likewise.
16803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16804         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16805         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16806         mempcpy for PPC64.
16808         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16809         avoid cretion of __bzero symbol.
16810         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16811         Likewise.
16812         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16813         Likewise.
16814         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16815         Likewise.
16816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16817         multiarch implementations.
16818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16819         (__libc_ifunc_impl_list): Likewise.
16820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16821         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16822         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16823         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16824         bzero for PPC32.
16825         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16826         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16827         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16828         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16829         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16830         memset for PPC64.
16831         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16833         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16835         implementations.
16836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16837         (__libc_ifunc_impl_list): Likewise.
16838         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16839         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16840         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16841         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16842         memcmp for PPC64.
16844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16845         multiarch for POWER/PPC64.
16846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16847         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16852         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16853         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16854         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16855         memcpy for PPC64.
16857         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16858         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16859         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16860         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16861         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16862         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16863         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16864         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16865         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16866         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16867         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16868         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16869         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16870         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16871         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16880 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16882         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16884 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16886         * benchtests/Makefile (bench): Add exp2 and log2.
16887         (LDLIBS-bench-exp2): Add -lm.
16888         (LDLIBS-bench-log2): Likewise.
16889         * benchtests/exp2-inputs: New inputs file.
16890         * benchtests/log2-inputs: New inputs file.
16891         * benchtests/log-inputs: Add new inputs.
16892         * benchtests/tan-inputs: Likewise.
16894 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16896         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16897         definition...
16898         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16899         (csloww2): ... from here.
16901         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16902         instead of structures.
16903         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16904         (POLYNOMIAL): Likewise.
16905         (TAYLOR_SLOW): Likewise.
16906         (__sin): Likewise.
16907         (__cos): Likewise.
16908         (slow1): Likewise.
16909         (slow2): Likewise.
16910         (sloww): Likewise.
16911         (sloww1); Likewise.
16912         (sloww2): Likewise.
16913         (bsloww1): Likewise.
16914         (bsloww2): Likewise.
16915         (cslow2): Likewise.
16916         (csloww): Likewise.
16917         (csloww1): Likewise.
16918         (csloww2): Likewise.
16920 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16922         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16923         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16924         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16925         * malloc/hooks.c (realloc_check): Likewise.
16927         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16928         * malloc/arena.c: Remove PER_THREAD conditional.
16929         [!PER_THREAD]: Remove code.
16930         (ptmalloc_unlock_all2): Likewise.
16931         (ptmalloc_init): Likewise.
16932         (_int_new_arena): Likewise.
16933         (arena_get2): Likewise.
16934         * malloc/hooks.c (__malloc_get_state): Likewise.
16935         (__malloc_set_state): Likewise.
16936         * malloc/malloc.c: Likewise.
16937         (struct malloc_state): Likewise.
16938         (struct malloc_par): Likewise.
16939         (__libc_realloc): Likewise.
16940         (__libc_mallopt): Likewise.
16942 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16944         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16946 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16948         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16949         macro to a function.  Check for zero perturb_byte.
16950         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16952         * malloc/malloc.c: (force_reg): Remove.
16953         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16954         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16955         force_reg by atomic_forced_read.
16956         * malloc/arena.c (ptmalloc_init): Likewise.
16957         * malloc/hooks.c (top_check): Likewise.
16959 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16963 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16967 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16969         * math/auto-libm-test-in: Add tests of lgamma.
16970         * math/auto-libm-test-out: Regenerated.
16971         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16972         (M_LOG_2_SQRT_PIl): Likewise.
16973         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16974         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16975         mpfr_f_f1.
16976         (func_calc_desc): Add mpfr_f_f1 union field.
16977         (ARGS1): New macro.
16978         (ARGS2): Likewise.
16979         (ARGS3): Likewise.
16980         (ARGS4): Likewise.
16981         (RET1): Likewise.
16982         (RET2): Likewise.
16983         (CALC): Likewise.
16984         (FUNC): Likewise.
16985         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16986         (test_functions): Add lgamma.
16987         (calc_generic_results): Handle mpfr_f_f1.
16988         * sysdeps/i386/fpu/libm-test-ulps: Update.
16989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16991 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16993         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16994         __mpn_add_n for PowerPC64/POWER7.
16995         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16996         __mpn_sub_n for PowerPC64/POWER7.
16998         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16999         __mpn_addmul_1 for PowerPC64.
17000         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17001         __mpn_submul_1 for PowerPC64.
17002         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17003         for PowerPC64.
17004         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17005         for PowerPC64.
17007 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17009         [BZ #15089]
17010         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17014         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17016         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17017         add multiarch folders.
17018         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17019         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17020         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17021         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17022         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17023         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17024         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17025         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17026         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17027         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17028         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17037         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17039         New file.
17040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17041         New file.
17042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17043         multiarch __ieee754_hypot for PowerPC32.
17044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17045         New file.
17046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17047         New file.
17048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17049         multiarch __ieee754_hypotf for PowerPC32.
17051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17052         long_double_symbol only if __logbl is defined.
17053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17054         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17056         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17057         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17058         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17060         path for implementation.
17061         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17062         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17064         logb, and logbl multiarch implementations for PowerPC32.
17065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17066         file.
17067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17068         file.
17069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17070         multiarch logb for PowerPC32.
17071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17072         file.
17073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17074         file.
17075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17076         multiarch logbf for PowerPC32.
17077         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17079         file.
17080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17081         multiarch logbl implementation for PowerPC32.
17083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17084         and modff multiarch implementations.
17085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17086         New file.
17087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17088         New file.
17089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17090         multiarch modf for PowerPC32.
17091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17092         New file.
17093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17094         New file.
17095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17096         multiarch modff for PowerPC32.
17098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17099         and lrintf multiarch implementations.
17100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17101         New file.
17102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17103         New file.
17104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17105         multiarch lrint for PowerPC32.
17106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17107         file: multiarch lrintf for PowerPC32.
17109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17110         and lroundf multiarch implementations.
17111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17112         New file.
17113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17114         New file.
17115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17116         New file.
17117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17118         multiarch lround for PowerPC32.
17119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17120         file: multiarch lroundf for PowerPC32.
17122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17123         copysign and copysignf multiarch implementations.
17124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17125         New file.
17126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17127         New file.
17128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17129         file: multiarch copysign for PowerPC32.
17130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17131         file: multiarch copysignf for PowerPC32.
17133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17134         and truncf multiarch implementations.
17135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17136         New file.
17137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17138         file.
17139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17140         multiarch trunc for PowerPC32.
17141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17142         New file.
17143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17144         New file.
17145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17146         multiarch truncf for PowerPC32.
17148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17149         and roundf multiarch implementations.
17150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17151         New file.
17152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17153         file.
17154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17155         multiarch round for PowerPC32.
17156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17157         New file.
17158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17159         New file.
17160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17161         multiarch roundf for PowerPC32.
17163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17164         and floorf multiarch implementations.
17165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17166         New file.
17167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17168         file.
17169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17170         multiarch floor for PowerPC32.
17171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17172         New file.
17173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17174         New file.
17175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17176         multiarch floorf for PowerPC32.
17178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17179         and ceilf multiarch implementations.
17180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17181         New file.
17182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17183         file.
17184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17185         multiarch ceil for PowerPC32.
17186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17187         New file.
17188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17189         file.
17190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17191         multiarch ceilf for PowerPC32.
17193         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17194         is defined.
17195         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17196         FINITEF is defined.
17197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17198         and finitef multiarch implementations.
17199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17200         New file.
17201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17202         file.
17203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17204         multiarch finite for PowerPC32.
17205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17206         New file.
17207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17208         file: multiarch finitef for PowerPC32.
17210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17211         and isinff multiarch implementations.
17212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17213         file.
17214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17215         file.
17216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17217         multiarch isinf for PowerPC32.
17218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17219         New file.
17220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17221         multiarch isinff for PowerPC32.
17223         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17224         alias when __isnan is defined.
17225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17226         and isnanf multiarch implementations.
17227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17228         file.
17229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17230         file.
17231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17232         file.
17233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17234         file.
17235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17236         multiarch isnan for PowerPC32.
17237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17238         New file.
17239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17240         New file.
17241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17242         multiarch isnanf for PowerPC32.
17244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17245         and sqrtf multiarch implementations.
17246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17247         file.
17248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17249         file.
17250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17251         multiarch sqrt for PowerPC32.
17252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17253         file.
17254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17255         file.
17256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17257         multiarch sqrtf for PowerPC32.
17259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17260         and llroundf multiarch implementations.
17261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17262         New file.
17263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17264         New file.
17265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17266         New file.
17267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17268         file: multiarch llround for PowerPC32.
17269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17270         file: multiarch llroundf for PowerPC32.
17272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17273         multiarch PowerPC32 fpu implementations.
17274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17275         New file.
17276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17277         New file.
17278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17279         multiarch llrint for PowerPC32.
17280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17281         New file.
17282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17283         New file.
17284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17285         file.
17287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17290         file.
17291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17292         file.
17293         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17294         file.
17295         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17296         multiarch wordcopy for PPC32.
17297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17298         wordcopy objects.
17299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17300         (__libc_ifunc_impl_list): Likewise.
17301         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17302         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17303         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17304         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17305         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17306         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17308         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17310         file.
17311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17312         file.
17313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17314         file.
17315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17316         multiarch wcscpy for PPC32.
17317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17318         multiarch objects.
17319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17320         (__libc_ifunc_impl_list): Likewise.
17321         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17322         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17323         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17324         sysdeps/powerpc/power6/wcscpy.c.
17326         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17328         file.
17329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17330         file.
17331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17332         file.
17333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17334         multiarch wcsrchr for PPC32.
17335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17336         multiarch objects.
17337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17338         (__libc_ifunc_impl_list): Likewise.
17339         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17340         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17341         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17342         sysdeps/powerpc/power6/wcsrchr.c.
17344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17345         file.
17346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17347         file.
17348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17350         multiarch wcschr for PPc32.
17351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17352         multiarch objects.
17353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17354         (__libc_ifunc_impl_list): Likewise.
17355         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17356         * sysdeps/powerpc/power6/wcschr.c: ... to here.
17357         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17358         sysdeps/powerpc/power6/wcschr.c.
17360         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17361         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17362         file.
17363         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17364         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17365         file: multiarch strchr for PPC32.
17366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17367         multiarch objects.
17368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17369         (__libc_ifunc_impl_list): Likewise.
17371         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17372         name.
17373         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17374         file.
17375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17376         file.
17377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17378         multiarch strchrnul for PPC32.
17379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17380         multiarch objects.
17381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17382         (__libc_ifunc_impl_list): Likewise.
17384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17385         file.
17386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17387         multiarch strncasecmp for PPC32.
17388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17389         file.
17390         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17391         multiarch strncasecmp_l for PPC32.
17392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17393         strncasecmp multiarch objects.
17394         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17395         (__libc_ifunc_impl_list): Likewise.
17397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17398         file.
17399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17400         multiarch strncasecmp for PPC32.
17401         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17402         New file.
17403         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17404         multiarch strcasecmp_l for PPC32.
17405         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17406         multiarch objects.
17407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17408         (__libc_ifunc_impl_list): Likewise.
17410         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17411         file.
17412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17413         file.
17414         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17415         multiarch strncmp for PPC32.
17416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17417         multiarch objects.
17418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17419         (__libc_ifunc_impl_list): Likewise.
17421         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17422         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17423         file.
17424         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17425         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17427         multiarch objects.
17428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17429         (__libc_ifunc_impl_list): Likewise.
17431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17432         file.
17433         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17434         file.
17435         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17437         multiarch objects.
17438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17439         (__libc_ifunc_impl_list): Likewise.
17441         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17442         file.
17443         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17444         file.
17445         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17446         multiarch rawmemchr for PPC32.
17447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17448         multiarch objects.
17449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17450         (__libc_ifunc_impl_list): Likewise.
17452         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17453         file.
17454         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17455         file.
17456         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17457         file: memrchr multiarch for PPC32.
17458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17459         multiarch objects.
17460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17461         (__libc_ifunc_impl_list): Likewise.
17463         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17464         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17465         file.
17466         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17467         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17468         multiarch memchr for PPC32.
17469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17470         multiarch objects.
17471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17472         (__libc_ifunc_impl_list): Likewise.
17474         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17475         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17476         file.
17477         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17478         file.
17479         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17480         file: multiarch mempcpy for PPC32.
17481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17482         multiarch objects.
17483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17484         (__libc_ifunc_impl_list): Likewise.
17486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17487         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17488         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17489         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17490         multiarch bzero for PPC32.
17491         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17492         file.
17493         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17494         file.
17495         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17496         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17497         file: multiarch memset for PPC32.
17498         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17500         memset multiarch objects.
17501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17502         (__libc_ifunc_impl_list): Likewise.
17504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17505         file.
17506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17507         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17508         memcmp for PPC32.
17509         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17511         multiarch objects.
17512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17513         (__libc_ifunc_impl_list): Likewise.
17515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17518         file.
17519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17520         file.
17521         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17522         file.
17523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17524         multiarch memcpy for PPC32.
17525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17526         multiarch objects.
17527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17528         (__libc_ifunc_impl_list): Likewise.
17530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17531         support multiarch for POWER/PPC32.
17532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17533         Likewise.
17534         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17536         Implies file to make multiarch folder appers before the fpu and
17537         default folder for power4 configuration.
17539 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17541         * scripts/bench.pl: Append volatile keyword to type.
17543 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17545         * sysdeps/sh/sotruss-lib.c: New file.
17546         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17548 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17552 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17554         [BZ #6810]
17555         * math/w_tgamma.c: Include <errno.h>.
17556         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17557         * math/w_tgammaf.c: Include <errno.h>.
17558         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17559         * math/w_tgammal.c: Include <errno.h>.
17560         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17561         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17562         underflow.  Add more tgamma tests.
17563         * math/auto-libm-test-out: Regenerated.
17564         * sysdeps/i386/fpu/libm-test-ulps: Update.
17565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17567         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17568         sin, sinh, tan, tanh, tgamma, y0 and y1.
17569         * math/auto-libm-test-out: Regenerated.
17570         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17571         (TEST_COND_x86): Likewise.
17572         (M_E2l): Remove macro.
17573         (M_E3l): Likewise.
17574         (M_2_SQRT_PIl): Likewise.
17575         (M_SQRT_PIl): Likewise.
17576         (M_1_DIV_El): Likewise.
17577         (log_test_data): Use AUTO_TESTS_f_f.
17578         (log10_test_data): Likewise.
17579         (log1p_test_data): Likewise.
17580         (log2_test_data): Likewise.
17581         (sin_test_data): Likewise.
17582         (sin_tonearest_test_data): Likewise.
17583         (sin_towardzero_test_data): Likewise.
17584         (sin_downward_test_data): Likewise.
17585         (sin_upward_test_data): Likewise.
17586         (sinh_test_data): Likewise.
17587         (sinh_tonearest_test_data): Likewise.
17588         (sinh_towardzero_test_data): Likewise.
17589         (sinh_downward_test_data): Likewise.
17590         (sinh_upward_test_data): Likewise.
17591         (tan_test_data): Likewise.
17592         (tan_tonearest_test_data): Likewise.
17593         (tan_towardzero_test_data): Likewise.
17594         (tan_downward_test_data): Likewise.
17595         (tan_upward_test_data): Likewise.
17596         (tanh_test_data): Likewise.
17597         (tgamma_test_data): Likewise.
17598         (y0_test_data): Likewise.
17599         (y1_test_data): Likewise.
17600         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17601         (special_real_inputs): Add pi/4.
17602         * sysdeps/i386/fpu/libm-test-ulps: Update.
17603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17605 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17607         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17608         "longjmp_target" static probes.
17609         (__longjmp): Rename to __longjmp_symbol.
17610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17611         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17612         on which longjmp to generate.
17613         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17614         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17615         probe.
17616         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17617         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17619         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17620         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17621         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17623         __longjmp_symbol based on which __longjmp to generate.
17624         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17625         probe.
17626         (setjmp): Rename to setjmp_symbol.
17627         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17628         (_setjmp): Rename to _setjmp_symbol.
17629         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17630         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17631         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17632         which setjmp to generate.
17633         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17634         "longjmp_target" static probes.
17636 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17638         * benchtests/README: Add note about output arguments.
17639         * benchtests/bench-sincos.c: Remove file.
17640         * benchtests/sincos-inputs: New file.
17641         * scripts/bench.pl: Identify output arguments and define
17642         static variables for them.
17644         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17646         [BZ #15941]
17647         * Makefile (INSTALL): Add install-plain.texi as the primary
17648         dependency.
17649         * manual/install-plain.texi: New file.
17650         * manual/install.texi: Include node directive only for
17651         non-plaintext output.
17653 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17655         * stdlib/longlong.h: Update from GCC.
17657         [BZ #6807]
17658         [BZ #15901]
17659         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17660         * math/w_j0f.c (y0f): Likewise.
17661         * math/w_j0l.c (__y0l): Likewise.
17662         * math/w_j1.c (y1): Likewise.
17663         * math/w_j1f.c (y1f): Likewise.
17664         * math/w_j1l.c (__y1l): Likewise
17665         * math/w_jn.c (yn): Likewise.
17666         * math/w_jnf.c (ynf): Likewise.
17667         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17668         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17669         value for Bessel function domain errors outside _SVID_ mode.
17670         Adjust sign of return value for yn (negative integer, 0).
17671         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17672         by zero in return for negative x and set sign appropriately for
17673         negative n.
17674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17675         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17676         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17677         expectations in error cases.
17678         (y1_test_data): Likewise.
17679         (yn_test_data): Likewise.
17680         * sysdeps/i386/fpu/libm-test-ulps: Update.
17681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17683 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17685         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17686         "64" to "64-v1".  Add "64-v2".
17687         (abi-64-options): Rename to ...
17688         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17689         (abi-64-condition): Rename to ...
17690         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17691         (abi-64-ld-soname): Rename to ...
17692         (abi-64-v1-ld-soname): ... this.
17693         (abi-64-v2-options): Define.
17694         (abi-64-v2-condition): Likewise.
17695         (abi-64-v2-ld-soname): Likewise.
17696         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17697         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17702 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17703             Alan Modra  <amodra@gmail.com>
17705         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17706         New versions for use with the ELFv2 ABI.
17707         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17708         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17709         declaration.
17710         (struct La_ppc64v2_retval): Likewise.
17711         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17712         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17713         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17714         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17715         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17716         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17717         Do not save or restore CR.
17718         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17719         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17720         return values for ELFv2 ABI.  Fix location of FPR return registers.
17721         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17722         updated values for _CALL_ELF == 2.
17723         (La_regs, La_retval, int_retval): Likewise.
17725 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17727         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17728         (FRAME_MIN_SIZE_PARM): Likewise.
17729         (FRAME_BACKCHAIN): Likewise.
17730         (FRAME_CR_SAVE): Likewise.
17731         (FRAME_LR_SAVE): Likewise.
17732         (FRAME_TOC_SAVE): Likewise.
17733         (FRAME_PARM_SAVE): Likewise.
17734         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17735         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17736         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17737         (call_mcount_parm_offset): New macro.
17738         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17739         (PROF): Use symbolic stack frame offsets.
17740         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17741         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17742         Redefine in terms of FRAME_MIN_SIZE.
17743         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17744         (_dl_profile_resolve): Likewise.  Update comment.
17745         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17746         symbols stack frame offsets.
17747         (__sigsetjmp): Likewise.
17748         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17749         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17750         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17751         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17754         (FRAME_BACKCHAIN): Remove.
17755         (FRAME_CR_SAVE): Likewise.
17756         (FRAME_LR_SAVE): Likewise.
17757         (FRAME_COMPILER_DW): Likewise.
17758         (FRAME_LINKER_DW): Likewise.
17759         (FRAME_TOC_SAVE): Likewise.
17760         (FRAME_PARM_SAVE): Likewise.
17761         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17762         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17763         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17765         (CHECK_SP): Use symbolic stack frame offsets.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17767         zone" instead of caller's parameter save area for temp storage.
17768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17769         Likewise.  Also, use symbolic stack frame offsets.
17770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17771         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17772         our own stack frame instead of the caller's.
17773         (__socket): Use symbolic stack frame offsets.
17775 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17776             Alan Modra  <amodra@gmail.com>
17778         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17779         Define.
17780         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17781         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17782         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17783         New function.
17784         (elf_machine_fixup_plt): Call it.
17785         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17786         reloc arguments.
17787         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17788         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17789         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17790         r2 before calling target.
17792 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17793             Alan Modra  <amodra@gmail.com>
17795         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17796         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17797         versions of macros to support ELFv2 ABI.
17798         (LOCALENTRY): New macro.
17799         (ENTRY, EALIGN): Use it.
17800         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17801         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17802         fall through into ENTRY entry point.
17803         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17804         Only define if _CALL_ELF != 2.
17806         (elf_machine_matches_host): Verify ABI version matches.
17807         (RTLD_START): Use LOCALENTRY.
17808         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17809         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17810         (PLT_ENTRY_WORDS): New macro.
17811         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17812         (elf_machine_runtime_setup): Support ELFv2 ABI.
17813         (elf_machine_fixup_plt): Likewise.
17814         (elf_machine_plt_conflict): Likewise.
17815         (resolve_ifunc): Likewise.
17816         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17817         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17818         Likewise.
17819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17820         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17822         (makecontext): Support ELFv2 ABI.
17823         * elf/elf.h (EF_PPC64_ABI): Define.
17825 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17827         * sysdeps/powerpc/powerpc64/sysdep.h
17828         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17829         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17830         (ENTRY) [ASSEMBLER]: ... but instead here ...
17831         (EALIGN) [ASSEMBLER]: ... and here.
17832         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17833         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17834         (ENTRY_2) [!ASSEMBLER]: Use it.
17835         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17836         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17837         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17838         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17839         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17841         Use PPC64_LOAD_FUNCPTR.
17843         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17845 2013-12-04  Alan Modra  <amodra@gmail.com>
17847         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17848         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17849         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17850         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17852         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17853         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17854         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17855         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17856         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17857         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17859 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17862         (__makecontext): Fix incorrect CFI when backtracing out of
17863         context created via makecontext.
17864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17865         (__setcontext): Fix incorrect CFI during switch to new context.
17866         (__novec_setcontext): Likewise.
17868 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17870         [BZ #4772]
17871         * time/strptime_l.c (__strptime_internal): Allow modifiers
17872         in strptime.
17873         * time/tst-strptime.c (day_tests): Add testcase.
17875 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17877         * scripts/bench.pl: Skip over blank lines.
17879 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17881         [BZ #926]
17882         * manual/time.texi (Calendar Time): Clarify what timezone functions
17883         use.
17885 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17889 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17891         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17892         implementation.
17893         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17894         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17895         * debug/memset_chk.c (__memset_chk): Likewise.
17896         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17897         * debug/strncpy_chk.c: Likewise.
17899 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17901         [BZ #15268]
17902         [BZ #15425]
17903         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17904         (__ieee754_exp): For possibly underflowing results, check size of
17905         result and force underflow exception if required.
17906         * math/auto-libm-test-in: Add more tests of exp.
17907         * math/auto-libm-test-out: Regenerated.
17908         * sysdeps/i386/fpu/libm-test-ulps: Update.
17909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17911         [BZ #16283]
17912         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17913         * math/w_exp2f.c (__exp2f): Likewise.
17914         * math/w_exp2l.c (__exp2l): Likewise.
17915         * math/auto-libm-test-in: Do not allow missing errno on exp2
17916         underflow.
17917         * math/auto-libm-test-out: Regenerated.
17919 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17921         [BZ #16274]
17922         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17923         handle filename validation.
17924         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17925         (do_open): Delete.
17927 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17929         [BZ #6786]
17930         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17931         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17932         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17933         <float.h>.
17934         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17935         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17936         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17938         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17939         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17940         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17941         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17942         Add more erfc tests.
17943         * math/auto-libm-test-out: Regenerated.
17944         * sysdeps/i386/fpu/libm-test-ulps: Update.
17945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17947         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17948         exp2, expm1, j0 and j1.
17949         * math/auto-libm-test-out: Regenerated.
17950         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17951         (erfc_test_data): Likewise.
17952         (exp_test_data): Likewise.
17953         (exp_tonearest_test_data): Likewise.
17954         (exp_towardzero_test_data): Likewise.
17955         (exp_downward_test_data): Likewise.
17956         (exp_upward_test_data): Likewise.
17957         (exp10_test_data): Likewise.
17958         (exp2_test_data): Likewise.
17959         (expm1_test_data): Likewise.
17960         (j0_test_data): Likewise.
17961         (j1_test_data): Likewise.
17962         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17963         (input_flag_type): Add flag_xfail_rounding.
17964         (input_flags): Add xfail-rounding.
17965         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17966         (output_for_one_input_case): Handle flag_xfail_rounding.
17967         * sysdeps/i386/fpu/libm-test-ulps: Update.
17968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17970 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17972         [BZ #16289]
17973         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17974         division by 0.
17976 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17978         [BZ #16195]
17979         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17980         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17981         (STAP_PROBE0): New macro.
17982         (STAP_PROBE1): Likewise.
17983         (STAP_PROBE2): Likewise.
17984         (STAP_PROBE3): Likewise.
17985         (STAP_PROBE4): Likewise.
17987 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17989         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17991 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17993         * benchtests/Makefile (bench): Add sqrt.
17994         (LDLIBS-bench-sqrt): New.
17995         * benchtests/sqrt-input: New.
17997 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17999         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18000         (GAIH_EAI): Likewise.
18001         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18002         (gaih_inet): Likewise.
18003         (getaddrinfo): Don't use GAIH_EAI.
18005         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18006         (struct gaih): Remove definition.
18008 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18010         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18011         Use HERRNOP directly.
18013 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18017 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18019         * math/gen-auto-libm-tests.c (test_functions): Add more
18020         single-argument functions.
18021         (special_fill_pi_2): New function.
18022         (special_fill_minus_pi_2): Likewise.
18023         (special_fill_pi_6): Likewise.
18024         (special_fill_minus_pi_6): Likewise.
18025         (special_fill_pi_3): Likewise.
18026         (special_fill_2pi_3): Likewise.
18027         (special_fill_e): Likewise.
18028         (special_fill_1_e): Likewise.
18029         (special_fill_e_minus_1): Likewise.
18030         (special_real_inputs): Add more special inputs.
18031         (output_for_one_input_case): Do not require ERANGE on underflow to
18032         zero if round-to-nearest result does not underflow to zero, unless
18033         exact results required.
18034         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18035         atan, atanh, cbrt, cos and cosh.
18036         * math/auto-libm-test-out: Regenerated.
18037         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18038         (acos_tonearest_test_data): Likewise.
18039         (acos_towardzero_test_data): Likewise.
18040         (acos_downward_test_data): Likewise.
18041         (acos_upward_test_data): Likewise.
18042         (acosh_test_data): Likewise.
18043         (asin_test_data): Likewise.
18044         (asin_tonearest_test_data): Likewise.
18045         (asin_towardzero_test_data): Likewise.
18046         (asin_upward_test_data): Likewise.
18047         (asinh_test_data): Likewise.
18048         (atan_test_data): Likewise.
18049         (atanh_test_data): Likewise.
18050         (cbrt_test_data): Likewise.
18051         (cos_test_data): Likewise.
18052         (cos_tonearest_test_data): Likewise.
18053         (cos_towardzero_test_data): Likewise.
18054         (cos_downward_test_data): Likewise.
18055         (cos_upward_test_data): Likewise.
18056         (cosh_test_data): Likewise.
18057         (cosh_tonearest_test_data): Likewise.
18058         (cosh_towardzero_test_data): Likewise.
18059         (cosh_downward_test_data): Likewise.
18060         (cosh_upward_test_data): Likewise.
18061         * sysdeps/i386/fpu/libm-test-ulps: Update.
18062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18064 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18066         [BZ #6787]
18067         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18068         * math/w_exp10f.c (__exp10f): Likewise.
18069         * math/w_exp10l.c (__exp10l): Likewise.
18070         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18071         errno settings in existing tests.
18073         [BZ #14032]
18074         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18075         precision control set to double precision.
18076         * sysdeps/i386/fpu/w_sqrt.c: New file.
18077         * math/auto-libm-test-in: Add more tests.
18078         * math/auto-libm-test-out: Update.
18080         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18081         (sqrt_test_tonearest): New function.
18082         (sqrt_towardzero_test_data): New variable.
18083         (sqrt_test_towardzero): New function.
18084         (sqrt_downward_test_data): New variable.
18085         (sqrt_test_downward): New function.
18086         (sqrt_upward_test_data): New variable.
18087         (sqrt_test_upward): New function.
18088         (main): Call the new functions.
18090         * math/gen-auto-libm-tests.c: New file.
18091         * math/auto-libm-test-in: Likewise.
18092         * math/auto-libm-test-out: New generated file.
18093         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18094         variables.
18095         (%beautify): Add generated representations of zero.
18096         (top level): Set $auto_input and call parse_auto_input.
18097         (beautify): Remove trailing "f" from hex float constants.
18098         (parse_args): Handle XFAIL_TEST.
18099         (convert_condition): New function.
18100         (or_value): Likewise.
18101         (or_cond_value): Likewise.
18102         (generate_testfile): Handle AUTO_TESTS_* lines.
18103         (parse_auto_input): New function.
18104         * math/libm-test.inc (XFAIL_TEST): New macro.
18105         (ERRNO_UNCHANGED): Update value.
18106         (ERRNO_EDOM): Likewise.
18107         (ERRNO_ERANGE): Likewise.
18108         (IGNORE_RESULT): Likewise.
18109         (TEST_COND_flt_32): New macro.
18110         (TEST_COND_dbl_64): Likewise.
18111         (TEST_COND_ldbl_96_intel): Likewise.
18112         (TEST_COND_ldbl_96_m68k): Likewise.
18113         (TEST_COND_ldbl_128): Likewise.
18114         (TEST_COND_ldbl_128ibm): Likewise.
18115         (TEST_COND_long32): Likewise.
18116         (TEST_COND_long64): Likewise.
18117         (TEST_COND_before_rounding): Likewise.
18118         (TEST_COND_after_rounding): Likewise.
18119         (enable_test): Handle XFAIL_TEST flag.
18120         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18121         with finite results.
18122         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18123         auto-libm-test-out.
18125 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18126             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18128         [BZ #16214]
18129         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18130         __tls_get_addr_internal instead of __tls_get_offset in order to
18131         avoid GOT pointer dependency.  Make rtld export
18132         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18133         __tls_get_addr since we are a __tls_get_offset platform.
18134         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18135         GOT pointer being set up before.
18136         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18138 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18140         * manual/math.texi (Errors in Math Functions): Document accuracy
18141         goals.
18143         [BZ #15004]
18144         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18145         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18146         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18147         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18148         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18149         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18150         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18151         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18152         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18153         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18154         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18155         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18156         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18157         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18158         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18159         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18161         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18162         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18163         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18164         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18165         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18166         Likewise.
18167         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18168         Likewise.
18169         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18170         Likewise.
18171         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18172         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18173         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18174         atomic-feupdateenv and flt-rounds.
18175         * sysdeps/powerpc/nofpu/Versions (libc): Add
18176         __atomic_feholdexcept, __atomic_feclearexcept,
18177         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18178         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18179         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18180         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18181         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18182         here.
18183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18184         Update.
18186         * manual/arith.texi (FP Exceptions): Document that exceptions may
18187         not be raised when matherr is used.
18188         (Math Error Reporting): Document overflow in directed rounding
18189         modes.  Document that errno may not be set when finite values are
18190         returned on overflow.  Document intent to set errno on underflow
18191         only for underflow to zero.
18193         [BZ #16271]
18194         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18195         round-to-nearest then adjust result for other rounding modes.
18196         * include/fenv.h (fegetround): Use libm_hidden_proto.
18197         * math/fegetround.c (fegetround): Use libm_hidden_def.
18198         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18199         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18200         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18201         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18202         Likewise.
18203         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18204         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18205         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18206         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18208 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18210         [BZ #16077]
18211         * nss/Versions (libnss_files): Add
18212         _nss_files_gethostbyname3_r.
18213         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18214         New function.
18215         (HOST_DB_LOOKUP): Remove macro.
18216         (_nss_files_gethostbyname_r): Implement function without the
18217         HOST_DB_LOOKUP macro.
18218         (_nss_files_gethostbyname2_r): Likewise.
18220 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18222         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18224 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18226         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18227         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18228         warning.
18230 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18232         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18233         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18234         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18235         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18236         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18237         __fe_nomask_env_priv and attribute_hidden.
18238         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18239         (libc_feupdateenv_test_ppc): Likewise.
18240         (libc_feresetround_ppc): Likewise.
18241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18242         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18243         compat_symbol macro.
18244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18245         (__fe_nomask_env): Likewise.
18246         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18248 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18250         * string/Makefile: Remove ifunc tests.
18251         * string/test-string.h: Define TEST_IFUNC.
18252         * string/test-bcopy-ifunc.c: Remove.
18253         * string/test-bzero-ifunc.c: Likewise.
18254         * string/test-memccpy-ifunc.c: Likewise.
18255         * string/test-memchr-ifunc.c: Likewise.
18256         * string/test-memcmp-ifunc.c: Likewise.
18257         * string/test-memcpy-ifunc.c: Likewise.
18258         * string/test-memmem-ifunc.c: Likewise.
18259         * string/test-memmove-ifunc.c: Likewise.
18260         * string/test-mempcpy-ifunc.c: Likewise.
18261         * string/test-memrchr-ifunc.c: Likewise.
18262         * string/test-memset-ifunc.c: Likewise.
18263         * string/test-rawmemchr-ifunc.c: Likewise.
18264         * string/test-stpcpy-ifunc.c: Likewise.
18265         * string/test-stpncpy-ifunc.c: Likewise.
18266         * string/test-strcasecmp-ifunc.c: Likewise.
18267         * string/test-strcasestr-ifunc.c: Likewise.
18268         * string/test-strcat-ifunc.c: Likewise.
18269         * string/test-strchr-ifunc.c: Likewise.
18270         * string/test-strchrnul-ifunc.c: Likewise.
18271         * string/test-strcmp-ifunc.c: Likewise.
18272         * string/test-strcpy-ifunc.c: Likewise.
18273         * string/test-strcspn-ifunc.c: Likewise.
18274         * string/test-strlen-ifunc.c: Likewise.
18275         * string/test-strncasecmp-ifunc.c: Likewise.
18276         * string/test-strncat-ifunc.c: Likewise.
18277         * string/test-strncmp-ifunc.c: Likewise.
18278         * string/test-strncpy-ifunc.c: Likewise.
18279         * string/test-strnlen-ifunc.c: Likewise.
18280         * string/test-strpbrk-ifunc.c: Likewise.
18281         * string/test-strrchr-ifunc.c: Likewise.
18282         * string/test-strspn-ifunc.c: Likewise.
18283         * string/test-strstr-ifunc.c: Likewise.
18285 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18287         * benchtests/Makefile: Remove ifunc tests.
18288         * benchtests/bench-string.h: Define TEST_IFUNC.
18289         * benchtests/bench-bcopy-ifunc.c: Remove.
18290         * benchtests/bench-bzero-ifunc.c: Likewise.
18291         * benchtests/bench-memccpy-ifunc.c: Likewise.
18292         * benchtests/bench-memchr-ifunc.c: Likewise.
18293         * benchtests/bench-memcmp-ifunc.c: Likewise.
18294         * benchtests/bench-memcpy-ifunc.c: Likewise.
18295         * benchtests/bench-memmem-ifunc.c: Likewise.
18296         * benchtests/bench-memmove-ifunc.c: Likewise.
18297         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18298         * benchtests/bench-memrchr-ifunc.c: Likewise.
18299         * benchtests/bench-memset-ifunc.c: Likewise.
18300         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18301         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18302         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18303         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18304         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18305         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18306         * benchtests/bench-strcat-ifunc.c: Likewise.
18307         * benchtests/bench-strchr-ifunc.c: Likewise.
18308         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18309         * benchtests/bench-strcmp-ifunc.c: Likewise.
18310         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18311         * benchtests/bench-strcpy-ifunc.c: Likewise.
18312         * benchtests/bench-strcspn-ifunc.c: Likewise.
18313         * benchtests/bench-strlen-ifunc.c: Likewise.
18314         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18315         * benchtests/bench-strncat-ifunc.c: Likewise.
18316         * benchtests/bench-strncmp-ifunc.c: Likewise.
18317         * benchtests/bench-strncpy-ifunc.c: Likewise.
18318         * benchtests/bench-strnlen-ifunc.c: Likewise.
18319         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18320         * benchtests/bench-strrchr-ifunc.c: Likewise.
18321         * benchtests/bench-strsep-ifunc.c: Likewise.
18322         * benchtests/bench-strspn-ifunc.c: Likewise.
18323         * benchtests/bench-strstr-ifunc.c: Likewise.
18325 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18327         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18329 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18331         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18332         * rt/aio.h: Likewise.
18333         * sysdeps/gnu/bits/utmp.h: Likewise.
18334         * sysdeps/gnu/bits/utmpx.h: Likewise.
18335         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18336         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18337         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18338         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18339         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18340         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18341         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18342         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18343         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18344         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18345         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18346         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18347         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18349         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18350         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18351         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18352         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18353         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18354         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18355         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18356         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18357         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18358         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18359         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18361         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18362         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18363         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18364         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18365         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18366         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18367         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18368         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18369         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18370         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18371         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18372         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18373         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18374         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18375         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18376         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18378 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
18380         [BZ #16245]
18381         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18382         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18384 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
18386         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18387         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18388         Likewise.
18390 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18393         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18394         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18395         (__fesetround): Remove define.
18396         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18397         rounding and exceptions handling.
18398         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18399         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18400         (__fe_nomask_env): Likewise.
18401         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18402         __fegetround instead of fegetround.
18403         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18404         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18406 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18408         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18409         it's there.
18411         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18413 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18415         [BZ #11157]
18416         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18417         (encrypt_r): Likewise.
18418         * malloc/obstack.h (obstack_free): Likewise.
18419         * posix/unistd.h (encrypt): Likewise.
18421 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18423         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18424         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18425         DL_CALL_DT_FINI() that call the functions directly.
18426         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18427         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18428         * elf/dl-fini.c: Likewise.
18430 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18432         * malloc/hooks.c (memalign_check): Add alignment rounding.
18433         * malloc/malloc.c (_mid_memalign): New function.
18434         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18435         Implement by calling _mid_memalign.
18436         * manual/probes.texi (Memory Allocation Probes): Remove
18437         memory_valloc_retry and memory_pvalloc_retry.
18439 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18441         * locale/programs/locarchive.c (open_archive): Add const
18442         qualifier to ARCHIVEFNAME and copy default fname to
18443         DEFAULT_FNAME.
18445         [BZ #15601]
18446         * libio/tst-widetext.input: Rename Oriya to Odia.
18447         * locale/iso-639.def: Likewise.
18449         * manual/probes.texi (Mathematical Function Probes): Add
18450         documentation for sin, cos, asin and acos probes.
18451         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18452         (__sin32): Add slowasin probe.
18453         (__cos32): Add slowacos probe.
18454         (__mpsin): Add slowsin probe.
18455         (__mpcos): Add slowcos probe.
18457 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18459         [BZ #15483]
18460         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18461         thread-local __sim_exceptions_thread and global
18462         __sim_exceptions_global.
18463         (__sim_disabled_exceptions): Change to thread-local
18464         __sim_disabled_exceptions_thread and global
18465         __sim_disabled_exceptions_global.
18466         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18467         and global __sim_round_mode_global.
18468         (__simulate_exceptions): Use thread-local floating-point state and
18469         set global state from it as needed.
18470         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18471         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18472         __sim_round_mode_thread.
18473         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18474         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18475         and global __sim_exceptions_global.
18476         (__sim_disabled_exceptions): Change to thread-local
18477         __sim_disabled_exceptions_thread and global
18478         __sim_disabled_exceptions_global.
18479         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18480         and global __sim_round_mode_global.
18481         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18482         (SIM_SET_GLOBAL): Likewise.
18483         * sysdeps/powerpc/soft-fp/sfp-machine.h
18484         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18485         __sim_round_mode_thread.
18486         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18487         __sim_disabled_exceptions_thread.
18488         (__sim_exceptions): Change to __sim_exceptions_thread.
18489         (__sim_disabled_exceptions): Change to
18490         __sim_disabled_exceptions_thread.
18491         (__sim_round_mode): Change to __sim_round_mode_thread.
18492         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18493         thread-local floating-point state and set global state from it as
18494         needed.
18495         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18496         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18497         (__sim_disabled_exceptions): Remove extern declaration.
18498         (feenableexcept): Use thread-local floating-point state and set
18499         global state from it as needed.
18500         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18501         extern declaration.
18502         (__sim_disabled_exceptions): Likewise.
18503         (__sim_round_mode): Likewise.
18504         (__fegetenv): Use thread-local floating-point state.
18505         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18506         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18507         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18508         floating-point state and set global state from it as needed.
18509         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18510         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18511         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18512         Likewise.
18513         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18514         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18515         Likewise.
18516         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18517         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18518         Use __sim_round_mode_thread.
18519         * math/test-fenv-tls.c: New file.
18520         * math/Makefile (tests): Add test-fenv-tls.
18521         ($(objpfx)test-fenv-tls): Depend on
18522         $(common-objpfx)nptl/libpthread.so.
18524 2013-11-19  Andreas Schwab  <schwab@suse.de>
18526         * locale/programs/locale.c (show_info): Decode wordarray elements.
18527         * locale/categories.def (LC_MONETARY): Add element for
18528         _NL_MONETARY_CRNCYSTR.
18529         * locale/C-monetary.c (conversion_rate): New variable.
18530         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18531         element.
18533 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18535         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18536         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18538 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18540         * elf/Makefile (tst-auxv): New test.
18541         * elf/tst-auxv.c: New
18542         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18544 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18546         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18547         (hidden_proto): Caller changed.
18548         (hidden_tls_proto): New macro.
18549         (libc_hidden_tls_proto): Likewise.
18550         (rtld_hidden_tls_proto): Likewise.
18551         (libm_hidden_tls_proto): Likewise.
18552         (libresolv_hidden_tls_proto): Likewise.
18553         (librt_hidden_tls_proto): Likewise.
18554         (libdl_hidden_tls_proto): Likewise.
18555         (libnss_files_hidden_tls_proto): Likewise.
18556         (libnsl_hidden_tls_proto): Likewise.
18557         (libnss_nisplus_hidden_tls_proto): Likewise.
18558         (libutil_hidden_tls_proto): Likewise.
18560 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18562         [BZ #10253]
18563         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18564         (decompose_rpath): Defer expansion to fillin_rpath.
18565         (_dl_init_paths): Pass linkmap to fillin_rpath.
18567 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18569         * benchtests/Makefile: Add strsep.
18570         * benchtests/bench-strsep.c: New file: strsep benchtest.
18571         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18573 2013-11-18  Andreas Schwab  <schwab@suse.de>
18575         * locale/programs/locale.c (show_info) [case byte]: Check for
18576         '\377' instead of '\177'.
18577         * locale/C-monetary.c (not_available): Always use "\377".
18578         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18579         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18580         detect unavailable sign_posn locale elements.
18581         * locale/localeconv.c (__localeconv): For grouping and
18582         mon_grouping handle "\177" and "\377" like no grouping.
18583         (INT_ELEM): New macro.  Use it to set all numeric members.
18584         * locale/programs/ld-monetary.c (monetary_read)
18585         <tok_mon_grouping>: Normalize single -1 to the empty string.
18586         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18587         Likewise.
18589 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18591         [BZ #16055]
18592         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18593         when we match (nil).
18594         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18596 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18598         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18599         (NO_TEST_INLINE): Update value.
18600         (ERRNO_UNCHANGED): Likewise.
18601         (ERRNO_EDOM): Likewise.
18602         (ERRNO_ERANGE): Likewise.
18603         (IGNORE_RESULT): Likewise.
18604         (check_float_internal): Check signs of NaN results if
18605         TEST_NAN_SIGN used.
18606         (check_complex): Pass TEST_NAN_SIGN flag through to second
18607         check_float_internal call.
18608         (copysign_test_data): Add tests with quiet NaNs as second
18609         argument.  Use TEST_NAN_SIGN.
18610         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18611         TEST_NAN_SIGN.
18612         (signbit_test_data): Add tests of quiet NaN argument.
18613         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18615         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18616         $ignore_result.
18617         (parse_args): Handle function results specified as IGNORE.
18618         * math/libm-test.inc (IGNORE_RESULT): New macro.
18619         (check_float_internal): Do not check numerical result if flag
18620         IGNORE_RESULT set.
18621         (check_complex): Pass through IGNORE_RESULT to second
18622         check_float_internal call.
18623         (check_int): Do not check numerical result if flag IGNORE_RESULT
18624         set.
18625         (check_long): Likewise.
18626         (check_bool): Likewise.
18627         (check_longlong): Likewise.
18628         (lrint_test_data): Add tests of infinite and NaN arguments.
18629         (lrint_tonearest_test_data): Likewise.
18630         (lrint_towardzero_test_data): Likewise.
18631         (lrint_downward_test_data): Likewise.
18632         (lrint_upward_test_data): Likewise.
18633         (llrint_test_data): Likewise.
18634         (llrint_tonearest_test_data): Likewise.
18635         (llrint_towardzero_test_data): Likewise.
18636         (llrint_downward_test_data): Likewise.
18637         (llrint_upward_test_data): Likewise.
18638         (lround_test_data): Likewise.
18639         (llround_test_data): Likewise.
18641         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18642         (ERRNO_UNCHANGED): Update value.
18643         (ERRNO_EDOM): Likewise.
18644         (ERRNO_ERANGE): Likewise.
18645         (NO_TEST_INLINE_FLOAT): New macro.
18646         (NO_TEST_INLINE_DOUBLE): Likewise.
18647         (enable_test): New function.
18648         (RUN_TEST_f_f): Check enable_test before running test.
18649         (RUN_TEST_2_f): Likewise.
18650         (RUN_TEST_fff_f): Likewise.
18651         (RUN_TEST_c_f): Likewise.
18652         (RUN_TEST_f_f1): Likewise.
18653         (RUN_TEST_fF_f1): Likewise.
18654         (RUN_TEST_fI_f1): Likewise.
18655         (RUN_TEST_ffI_f1): Likewise.
18656         (RUN_TEST_c_c): Likewise.
18657         (RUN_TEST_cc_c): Likewise.
18658         (RUN_TEST_f_i): Likewise.
18659         (RUN_TEST_f_i_tg): Likewise.
18660         (RUN_TEST_ff_i_tg): Likewise.
18661         (RUN_TEST_f_b): Likewise.
18662         (RUN_TEST_f_b_tg): Likewise.
18663         (RUN_TEST_f_l): Likewise.
18664         (RUN_TEST_f_L): Likewise.
18665         (RUN_TEST_fFF_11): Likewise.
18666         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18667         conditionals.
18668         (cosh_test_data): Likewise.
18669         (exp_test_data): Likewise.
18670         (expm1_test_data): Likewise.
18671         (hypot_test_data): Likewise.
18672         (pow_test_data): Likewise.
18673         (sinh_test_data): Likewise.
18674         (tanh_test_data): Likewise.
18675         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18676         flags argument.
18678         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18679         tests with quiet NaN input and output.
18680         (acosh_test_data): Likewise.
18681         (asin_test_data): Likewise.
18682         (asinh_test_data): Likewise.
18683         (atan_test_data): Likewise.
18684         (atanh_test_data): Likewise.
18685         (atan2_test_data): Likewise.
18686         (cbrt_test_data): Likewise.
18687         (cos_test_data): Likewise.
18688         (cosh_test_data): Likewise.
18689         (erf_test_data): Likewise.
18690         (erfc_test_data): Likewise.
18691         (exp_test_data): Likewise.
18692         (exp10_test_data): Likewise.
18693         (exp2_test_data): Likewise.
18694         (expm1_test_data): Likewise.
18695         (hypot_test_data): Likewise.
18696         (j0_test_data): Likewise.
18697         (j1_test_data): Likewise.
18698         (jn_test_data): Likewise.
18699         (lgamma_test_data): Likewise.
18700         (log_test_data): Likewise.
18701         (log10_test_data): Likewise.
18702         (log1p_test_data): Likewise.
18703         (log2_test_data): Likewise.
18704         (pow_test_data): Likewise.
18705         (scalb_test_data): Likewise.
18706         (sin_test_data): Likewise.
18707         (sincos_test_data): Likewise.
18708         (sinh_test_data): Likewise.
18709         (tan_test_data): Likewise.
18710         (tanh_test_data): Likewise.
18711         (tgamma_test_data): Likewise.
18712         (y0_test_data): Likewise.
18713         (y1_test_data): Likewise.
18714         (yn_test_data): Likewise.
18716         [BZ #16167]
18717         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18718         argument being NaN and avoid computations with second argument in
18719         that case.
18720         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18721         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18722         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18724 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18726         * locale/iso-639.def: Add Chitwani Tharu (the).
18728 2013-11-14  Andreas Schwab  <schwab@suse.de>
18730         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18731         word instead of empty string.
18733 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18736         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18738         (__fe_nomask_env): Likewise.
18740 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18742         * benchtests/bench-timing.h: Include time.h.
18744 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18746         [BZ #15997]
18747         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18748         to 3.4.0 for x32.
18749         * sysdeps/unix/sysv/linux/configure: Regenerated.
18751 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18753         [BZ #16151]
18754         * stdlib/strtod_l.c (round_and_return): Do not consider
18755         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18756         exponent one less than half the least subnormal exponent.
18757         * stdlib/test-strtod-round-data: Add more tests.
18758         * stdlib/tst-strtod-round.c (tests): Regenerated.
18760 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18762         [BZ #14143]
18763         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18764         (__fe_mask_env): Likewise.
18765         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18766         libm_hidden_proto and add function prototype.
18767         (__fe_mask_env): Add function prototype.
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18769         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18771         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18773         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18775 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18777         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18778         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18780 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18782         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18783         of htab_find_slot().
18785 2013-11-11  David S. Miller  <davem@davemloft.net>
18787         [BZ #16150]
18788         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18789         symbol in the non-vis3 case in static builds.
18790         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18791         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18792         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18793         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18795 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18797         [BZ #387]
18798         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18799         it is empty.
18801 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18803         * benchtests/Makefile: Add bench-strtod.
18804         * benchtests/bench-strtod.c: New file: strtod benchtest
18806 2013-11-11  Andreas Schwab  <schwab@suse.de>
18808         [BZ #16153]
18809         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18810         terminating NUL in key length.
18812 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18815         Add artificial ODP entry for vDSO symbol for PPC64.
18816         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18817         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18819 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18821         [BZ #15374]
18822         * nss/getent.c (services_keys): Recognize services starting with digit.
18824 2013-11-06  David S. Miller  <davem@davemloft.net>
18826         [BZ #15985]
18827         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18828         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18830 2013-11-06  Will Newton  <will.newton@linaro.org>
18832         * manual/memory.texi (Malloc Examples): Remove register
18833         keyword from examples.
18835 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18837         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18839 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18841         [BZ #6981]
18842         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18843         depending on [__GCC_IEC_559 > 0].
18844         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18845         depending on [__GCC_IEC_559_COMPLEX > 0].
18847 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18849         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18850         to iso-639.def.
18852 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18854         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18856 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18858         [BZ #16112]
18859         * malloc/malloc (malloc_info): Do not handle first bin as
18860         special case.
18862 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18864         * locale/iso-639.def: Add Central Nahuatl (nhn).
18866 2013-11-01  Bruno Haible  <bruno@clisp.org>
18868         [BZ #7003]
18869         * manual/math.texi (BSD Random): Specify range upper bound as
18870         in POSIX.
18872 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18874         * locale/iso-639.def: Add Meadow Mari (mhr).
18876 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18878         [BZ #14752], [BZ #15763]
18879         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18880         Validate name.
18881         * rt/tst_shm.c: Add test for escaping directory.
18883 2013-10-31  Andreas Schwab  <schwab@suse.de>
18885         [BZ #15917]
18886         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18887         followed by 'x' as part of digit sequence.
18888         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18890 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18892         [BZ #16037]
18893         * configure.ac: allow GNU Make 4.0 and greater.
18894         * configure: Regenerated.
18896 2013-10-30  Will Newton  <will.newton@linaro.org>
18898         [BZ #16038]
18899         * malloc/hooks.c (memalign_check): Limit alignment to the
18900         maximum representable power of two.
18901         * malloc/malloc.c (__libc_memalign): Likewise.
18902         * malloc/tst-memalign.c (do_test): Add test for very
18903         large alignment values.
18904         * malloc/tst-posix_memalign.c (do_test): Likewise.
18906 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18908         [BZ #11087]
18909         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18910         (munmap_chunk): Likewise.
18911         (mremap_chunk): Likewise.
18913 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18915         [BZ #15799]
18916         * stdlib/div.c (div): Remove obsolete code.
18917         * stdlib/ldiv.c (ldiv): Likewise.
18918         * stdlib/lldiv.c (lldiv): Likewise.
18920 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18922         [BZ #16071]
18923         * nss/nss_files/files-XXX.c (get_contents_ret): New
18924         enumerator.
18925         (get_contents): New function.
18926         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18928 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18930         * configure.in: Moved to ...
18931         * configure.ac: ... here. Change reference to configure.in
18932         to configure.ac.
18933         * sysdeps/arm/preconfigure.ac: ... here.
18934         configure.in to configure.ac.
18935         * sysdeps/gnu/configure.in: Moved to ...
18936         * sysdeps/gnu/configure.ac: ... here.
18937         * sysdeps/i386/configure.in: Moved to ...
18938         * sysdeps/i386/configure.ac: ... here.
18939         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18940         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18941         * sysdeps/mach/configure.in: Moved to ...
18942         * sysdeps/mach/configure.ac: ... here.
18943         * sysdeps/mach/hurd/configure.in: Moved to ...
18944         * sysdeps/mach/hurd/configure.ac: ... here.
18945         * sysdeps/powerpc/configure.in: Moved to ...
18946         * sysdeps/powerpc/configure.ac: ... here.
18947         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18948         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18949         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18950         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18951         * sysdeps/s390/s390-32/configure.in: Moved to ...
18952         * sysdeps/s390/s390-32/configure.ac: ... here.
18953         * sysdeps/s390/s390-64/configure.in: Moved to ...
18954         * sysdeps/s390/s390-64/configure.ac: ... here.
18955         * sysdeps/sh/configure.in: Moved to ...
18956         * sysdeps/sh/configure.ac: ... here.
18957         * sysdeps/sparc/configure.in: Moved to ...
18958         * sysdeps/sparc/configure.ac: ... here.
18959         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18960         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18961         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18962         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18963         * sysdeps/x86_64/configure.in: Moved to ...
18964         * sysdeps/x86_64/configure.ac: ... here.
18965         * sysdeps/x86_64/preconfigure.in: Moved to ...
18966         * sysdeps/x86_64/preconfigure.ac: ... here.
18967         * aclocal.m4: Change reference to configure.in to configure.ac.
18968         * config.h.in: Likewise.
18969         * manual/install.texi: Likewise.
18970         * manual/maint.texi: Likewise.
18971         * Makefile: Likewise.
18972         * malloc/Makefile: Likewise.
18973         * nscd/Makefile: Likewise.
18974         * Makeconfig: Change reference to configure.in and
18975         preconfigure.in to configure.ac and preconfigure.ac
18976         respectively.
18977         * INSTALL: Regenerated.
18978         * configure: Likewise.
18979         * sysdeps/gnu/configure: Likewise.
18980         * sysdeps/i386/configure: Likewise.
18981         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18982         * sysdeps/mach/configure: Likewise.
18983         * sysdeps/mach/hurd/configure: Likewise.
18984         * sysdeps/powerpc/configure: Likewise.
18985         * sysdeps/powerpc/powerpc32/configure: Likewise.
18986         * sysdeps/powerpc/powerpc64/configure: Likewise.
18987         * sysdeps/s390/s390-32/configure: Likewise.
18988         * sysdeps/s390/s390-64/configure: Likewise.
18989         * sysdeps/sh/configure: Likewise.
18990         * sysdeps/sparc/configure: Likewise.
18991         * sysdeps/unix/sysv/linux/configure: Likewise.
18992         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18993         * sysdeps/x86_64/configure: Likewise.
18994         * sysdeps/x86_64/preconfigure: Likewise.
18996 2013-10-29  Andreas Schwab  <schwab@suse.de>
18998         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19000 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002         * benchtests/pow-inputs: Add new inputs.
19004         * benchtests/exp-inputs: Add new inputs.
19006         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19007         conditional check for return value.
19008         (__cos32): Likewise.
19010 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19012         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19013         to provide a boost for large inputs with word alignment.
19014         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19015         implementation based on optimized PPC64 strcpy.
19016         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19017         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19018         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19019         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19021 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19023         [BZ #2801]
19024         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19026 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19028         [BZ #14876]
19029         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19030         * time/tst-strptime.c (day_tests): Add testcase.
19032 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19034         [BZ #14029]
19035         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19037 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19039         [BZ #16074]
19040         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19041         MAP_FAILED on error.
19043 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19045         [BZ #16072]
19046         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19047         heap for large requests.
19049 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19051         [BZ #9954]
19052         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19053         result if the result has no associated interface.
19054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19055         interface for all 127.X.Y.Z addresses.
19057 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19059         * locale/iso-639.def: Add Ligurian (lij)
19061 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19063         [BZ #15825]
19064         * sunrpc/rpc_main.c: Document rpcgen -5.
19066 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19068         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19070 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19072         [BZ #10278]
19073         * posix/glob.c: Match only directories when trailing slash is present.
19074         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19075         (main): Add testcase.
19077 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19079         [BZ #15670]
19080         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19082 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19084         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19085         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19086         AUTH_DES and cindex for FIPS 140-2.
19087         (DES Encryption): Add cindex FIPS 46-3.
19089         * locale/locarchive.h (struct locarhandle): Add fname.
19090         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19091         if an optional argument was specified to --list-archive,
19092         otherwise NULL.
19093         * locale/programs/locarchive.c (show_archive_content): Take new
19094         argument fname and pass it via ah.fname to open_archive.
19095         * locale/programs/localedef.h: Update decl.
19096         (open_archive): If AH->fname is non-null, open that file
19097         rather than the default file name, and don't ignore ENOENT.
19098         (create_archive): Set AH.fname to NULL.
19099         (delete_locales_from_archive): Likewise.
19100         (add_locales_to_archive): Likewise.
19101         * locale/programs/locfile.c (write_all_categories): Likewise.
19103 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19104             Aldy Hernandez  <aldyh@redhat.com>
19106         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19107         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19108         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19109         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19110         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19114         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19116         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19118         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19119         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19121         Likewise.
19122         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19123         Likewise.
19124         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19125         Likewise.
19126         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19127         Likewise.
19128         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19130         Likewise.
19131         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19132         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19133         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19134         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19135         Likewise.
19136         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19137         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19138         * sysdeps/powerpc/preconfigure: Likewise.
19139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19140         Likewise.
19141         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19142         Replace contents of file by #include of <fenv_libc.h>.
19143         * sysdeps/powerpc/soft-fp/sfp-machine.h
19144         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19145         and <sys/prctl.h>.
19146         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19157         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19159         Allow copysignl PLT reference to be missing.
19161 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19162             Joseph Myers  <joseph@codesourcery.com
19164         [BZ #15948]
19165         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19166         single character.
19167         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19169 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19171         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19172         * elf/tst-tls1.c: Likewise.
19173         * elf/tst-tls10.h: Likewise.
19174         * elf/tst-tls14.c: Likewise.
19175         * elf/tst-tls2.c: Likewise.
19176         * elf/tst-tls3.c: Likewise.
19177         * elf/tst-tls4.c: Likewise.
19178         * elf/tst-tls5.c: Likewise.
19179         * elf/tst-tls6.c: Likewise.
19180         * elf/tst-tls7.c: Likewise.
19181         * elf/tst-tls8.c: Likewise.
19182         * elf/tst-tls9.c: Likewise.
19183         * elf/tst-tlsmod1.c: Likewise.
19184         * elf/tst-tlsmod13.c: Likewise.
19185         * elf/tst-tlsmod13a.c: Likewise.
19186         * elf/tst-tlsmod14a.c: Likewise.
19187         * elf/tst-tlsmod16a.c: Likewise.
19188         * elf/tst-tlsmod16b.c: Likewise.
19189         * elf/tst-tlsmod2.c: Likewise.
19190         * elf/tst-tlsmod3.c: Likewise.
19191         * elf/tst-tlsmod4.c: Likewise.
19192         * elf/tst-tlsmod5.c: Likewise.
19193         * elf/tst-tlsmod6.c: Likewise.
19195 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19197         [BZ #12486]
19198         * malloc/malloc.c: remove checks for statistics.
19200 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19202         [BZ #15277]
19203         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19204         * inet/tst-network.c: Add testcase.
19206 2013-10-17  Andreas Schwab  <schwab@suse.de>
19208         [BZ #15218]
19209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19210         to determine canonical name.
19212 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19214         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19215         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19216         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19217         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19219         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19220         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19221         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19222         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19223         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19224         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19225         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19226         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19227         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19228         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19229         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19230         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19231         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19232         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19233         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19234         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19235         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19237         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19238         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19239         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19240         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19241         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19242         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19243         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19244         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19246         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19247         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19248         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19249         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19250         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19251         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19252         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19254         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19255         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19256         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19257         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19258         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19259         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19260         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19261         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19262         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19263         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19264         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19265         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19266         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19267         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19268         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19269         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19271         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19273 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19275         [BZ #16041]
19276         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19277         make result into a quiet NaN.
19279 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19281         * soft-fp/adddf3.c: Fix horizontal whitespace.
19282         * soft-fp/addsf3.c: Likewise.
19283         * soft-fp/addtf3.c: Likewise.
19284         * soft-fp/divdf3.c: Likewise.
19285         * soft-fp/divsf3.c: Likewise.
19286         * soft-fp/divtf3.c: Likewise.
19287         * soft-fp/double.h: Likewise.
19288         * soft-fp/eqdf2.c: Likewise.
19289         * soft-fp/eqsf2.c: Likewise.
19290         * soft-fp/eqtf2.c: Likewise.
19291         * soft-fp/extenddftf2.c: Likewise.
19292         * soft-fp/extended.h: Likewise.
19293         * soft-fp/extendsfdf2.c: Likewise.
19294         * soft-fp/extendsftf2.c: Likewise.
19295         * soft-fp/extendxftf2.c: Likewise.
19296         * soft-fp/fixdfdi.c: Likewise.
19297         * soft-fp/fixdfsi.c: Likewise.
19298         * soft-fp/fixdfti.c: Likewise.
19299         * soft-fp/fixsfdi.c: Likewise.
19300         * soft-fp/fixsfsi.c: Likewise.
19301         * soft-fp/fixsfti.c: Likewise.
19302         * soft-fp/fixtfdi.c: Likewise.
19303         * soft-fp/fixtfsi.c: Likewise.
19304         * soft-fp/fixtfti.c: Likewise.
19305         * soft-fp/fixunsdfdi.c: Likewise.
19306         * soft-fp/fixunsdfsi.c: Likewise.
19307         * soft-fp/fixunsdfti.c: Likewise.
19308         * soft-fp/fixunssfdi.c: Likewise.
19309         * soft-fp/fixunssfsi.c: Likewise.
19310         * soft-fp/fixunssfti.c: Likewise.
19311         * soft-fp/fixunstfdi.c: Likewise.
19312         * soft-fp/fixunstfsi.c: Likewise.
19313         * soft-fp/fixunstfti.c: Likewise.
19314         * soft-fp/floatdidf.c: Likewise.
19315         * soft-fp/floatdisf.c: Likewise.
19316         * soft-fp/floatditf.c: Likewise.
19317         * soft-fp/floatsidf.c: Likewise.
19318         * soft-fp/floatsisf.c: Likewise.
19319         * soft-fp/floatsitf.c: Likewise.
19320         * soft-fp/floattidf.c: Likewise.
19321         * soft-fp/floattisf.c: Likewise.
19322         * soft-fp/floattitf.c: Likewise.
19323         * soft-fp/floatundidf.c: Likewise.
19324         * soft-fp/floatundisf.c: Likewise.
19325         * soft-fp/floatunditf.c: Likewise.
19326         * soft-fp/floatunsidf.c: Likewise.
19327         * soft-fp/floatunsisf.c: Likewise.
19328         * soft-fp/floatunsitf.c: Likewise.
19329         * soft-fp/floatuntidf.c: Likewise.
19330         * soft-fp/floatuntisf.c: Likewise.
19331         * soft-fp/floatuntitf.c: Likewise.
19332         * soft-fp/fmadf4.c: Likewise.
19333         * soft-fp/fmasf4.c: Likewise.
19334         * soft-fp/fmatf4.c: Likewise.
19335         * soft-fp/gedf2.c: Likewise.
19336         * soft-fp/gesf2.c: Likewise.
19337         * soft-fp/getf2.c: Likewise.
19338         * soft-fp/ledf2.c: Likewise.
19339         * soft-fp/lesf2.c: Likewise.
19340         * soft-fp/letf2.c: Likewise.
19341         * soft-fp/muldf3.c: Likewise.
19342         * soft-fp/mulsf3.c: Likewise.
19343         * soft-fp/multf3.c: Likewise.
19344         * soft-fp/negdf2.c: Likewise.
19345         * soft-fp/negsf2.c: Likewise.
19346         * soft-fp/negtf2.c: Likewise.
19347         * soft-fp/op-1.h: Likewise.
19348         * soft-fp/op-2.h: Likewise.
19349         * soft-fp/op-4.h: Likewise.
19350         * soft-fp/op-8.h: Likewise.
19351         * soft-fp/op-common.h: Likewise.
19352         * soft-fp/quad.h: Likewise.
19353         * soft-fp/single.h: Likewise.
19354         * soft-fp/soft-fp.h: Likewise.
19355         * soft-fp/sqrtdf2.c: Likewise.
19356         * soft-fp/sqrtsf2.c: Likewise.
19357         * soft-fp/sqrttf2.c: Likewise.
19358         * soft-fp/subdf3.c: Likewise.
19359         * soft-fp/subsf3.c: Likewise.
19360         * soft-fp/subtf3.c: Likewise.
19361         * soft-fp/truncdfsf2.c: Likewise.
19362         * soft-fp/trunctfdf2.c: Likewise.
19363         * soft-fp/trunctfsf2.c: Likewise.
19364         * soft-fp/trunctfxf2.c: Likewise.
19365         * soft-fp/unorddf2.c: Likewise.
19366         * soft-fp/unordsf2.c: Likewise.
19367         * soft-fp/unordtf2.c: Likewise.
19369 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
19371         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19372         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19374 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
19376         * elf/dl-libc.c: Clear initfini list after freeing.
19378 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
19380         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19381         * soft-fp/addsf3.c: Likewise.
19382         * soft-fp/addtf3.c: Likewise.
19383         * soft-fp/divdf3.c: Likewise.
19384         * soft-fp/divsf3.c: Likewise.
19385         * soft-fp/divtf3.c: Likewise.
19386         * soft-fp/double.h: Likewise.
19387         * soft-fp/eqdf2.c: Likewise.
19388         * soft-fp/eqsf2.c: Likewise.
19389         * soft-fp/eqtf2.c: Likewise.
19390         * soft-fp/extenddftf2.c: Likewise.
19391         * soft-fp/extended.h: Likewise.
19392         * soft-fp/extendsfdf2.c: Likewise.
19393         * soft-fp/extendsftf2.c: Likewise.
19394         * soft-fp/extendxftf2.c: Likewise.
19395         * soft-fp/fixdfdi.c: Likewise.
19396         * soft-fp/fixdfsi.c: Likewise.
19397         * soft-fp/fixdfti.c: Likewise.
19398         * soft-fp/fixsfdi.c: Likewise.
19399         * soft-fp/fixsfsi.c: Likewise.
19400         * soft-fp/fixsfti.c: Likewise.
19401         * soft-fp/fixtfdi.c: Likewise.
19402         * soft-fp/fixtfsi.c: Likewise.
19403         * soft-fp/fixtfti.c: Likewise.
19404         * soft-fp/fixunsdfdi.c: Likewise.
19405         * soft-fp/fixunsdfsi.c: Likewise.
19406         * soft-fp/fixunsdfti.c: Likewise.
19407         * soft-fp/fixunssfdi.c: Likewise.
19408         * soft-fp/fixunssfsi.c: Likewise.
19409         * soft-fp/fixunssfti.c: Likewise.
19410         * soft-fp/fixunstfdi.c: Likewise.
19411         * soft-fp/fixunstfsi.c: Likewise.
19412         * soft-fp/fixunstfti.c: Likewise.
19413         * soft-fp/floatdidf.c: Likewise.
19414         * soft-fp/floatdisf.c: Likewise.
19415         * soft-fp/floatditf.c: Likewise.
19416         * soft-fp/floatsidf.c: Likewise.
19417         * soft-fp/floatsisf.c: Likewise.
19418         * soft-fp/floatsitf.c: Likewise.
19419         * soft-fp/floattidf.c: Likewise.
19420         * soft-fp/floattisf.c: Likewise.
19421         * soft-fp/floattitf.c: Likewise.
19422         * soft-fp/floatundidf.c: Likewise.
19423         * soft-fp/floatundisf.c: Likewise.
19424         * soft-fp/floatunsidf.c: Likewise.
19425         * soft-fp/floatunsisf.c: Likewise.
19426         * soft-fp/floatuntidf.c: Likewise.
19427         * soft-fp/floatuntisf.c: Likewise.
19428         * soft-fp/floatuntitf.c: Likewise.
19429         * soft-fp/fmadf4.c: Likewise.
19430         * soft-fp/fmasf4.c: Likewise.
19431         * soft-fp/fmatf4.c: Likewise.
19432         * soft-fp/gedf2.c: Likewise.
19433         * soft-fp/gesf2.c: Likewise.
19434         * soft-fp/getf2.c: Likewise.
19435         * soft-fp/ledf2.c: Likewise.
19436         * soft-fp/lesf2.c: Likewise.
19437         * soft-fp/letf2.c: Likewise.
19438         * soft-fp/muldf3.c: Likewise.
19439         * soft-fp/mulsf3.c: Likewise.
19440         * soft-fp/multf3.c: Likewise.
19441         * soft-fp/negdf2.c: Likewise.
19442         * soft-fp/negsf2.c: Likewise.
19443         * soft-fp/negtf2.c: Likewise.
19444         * soft-fp/op-1.h: Likewise.
19445         * soft-fp/op-2.h: Likewise.
19446         * soft-fp/op-4.h: Likewise.
19447         * soft-fp/op-8.h: Likewise.
19448         * soft-fp/op-common.h: Likewise.
19449         * soft-fp/quad.h: Likewise.
19450         * soft-fp/single.h: Likewise.
19451         * soft-fp/soft-fp.h: Likewise.
19452         * soft-fp/sqrtdf2.c: Likewise.
19453         * soft-fp/sqrtsf2.c: Likewise.
19454         * soft-fp/sqrttf2.c: Likewise.
19455         * soft-fp/subdf3.c: Likewise.
19456         * soft-fp/subsf3.c: Likewise.
19457         * soft-fp/subtf3.c: Likewise.
19458         * soft-fp/truncdfsf2.c: Likewise.
19459         * soft-fp/trunctfdf2.c: Likewise.
19460         * soft-fp/trunctfsf2.c: Likewise.
19461         * soft-fp/trunctfxf2.c: Likewise.
19462         * soft-fp/unorddf2.c: Likewise.
19463         * soft-fp/unordsf2.c: Likewise.
19464         * soft-fp/unordtf2.c: Likewise.
19466 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19468         [BZ #15672]
19469         * misc/error.c (error_tail): Fix possible buffer overflow.
19471 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19473         [BZ #13028]
19474         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19475         address.
19477 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19479         [BZ #832]
19480         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19481         testing pipefail option.
19483 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19485         * soft-fp/double.h: Indent preprocessor directives inside #if.
19486         * soft-fp/extended.h: Likewise.
19487         * soft-fp/op-2.h: Likewise.
19488         * soft-fp/op-4.h: Likewise.
19489         * soft-fp/op-common.h: Likewise.
19490         * soft-fp/quad.h: Likewise.
19491         * soft-fp/single.h: Likewise.
19492         * soft-fp/soft-fp.h: Likewise.
19494 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19496         * iconv/iconv_prog.c: Fix typos.
19497         * stdio-common/psiginfo-data.h: Likewise.
19499 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19501         [BZ #15764]
19502         * locale/setlocale.c: Fix typo.
19504 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19506         [BZ #16036]
19507         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19508         signaling NaN arguments.
19509         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19510         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19512         [BZ #14910]
19513         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19514         unordered operands.
19515         * soft-fp/gesf2.c (__gesf2): Likewise.
19516         * soft-fp/getf2.c (__getf2): Likewise.
19517         * soft-fp/ledf2.c (__ledf2): Likewise.
19518         * soft-fp/lesf2.c (__lesf2): Likewise.
19519         * soft-fp/letf2.c (__letf2): Likewise.
19521         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19522         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19523         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19524         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19525         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19526         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19527         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19528         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19529         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19530         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19531         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19532         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19533         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19534         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19535         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19536         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19537         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19538         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19539         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19540         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19541         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19542         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19543         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19544         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19545         * soft-fp/floattidf.c (__floattidf): Likewise.
19546         * soft-fp/floattisf.c (__floattisf): Likewise.
19547         * soft-fp/floattitf.c (__floattitf): Likewise.
19548         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19549         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19550         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19551         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19552         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19553         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19554         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19555         * soft-fp/gesf2.c (__gesf2): Likewise.
19556         * soft-fp/getf2.c (__getf2): Likewise.
19557         * soft-fp/ledf2.c (__ledf2): Likewise.
19558         * soft-fp/lesf2.c (__lesf2): Likewise.
19559         * soft-fp/letf2.c (__letf2): Likewise.
19561         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19562         Undefine and redefine.
19563         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19564         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19565         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19566         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19567         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19568         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19569         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19570         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19571         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19572         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19573         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19574         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19575         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19576         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19577         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19579         [BZ #16032]
19580         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19581         without decrementing exponent if mantissa >= that for the
19582         denominator, not >.
19583         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19584         denominator, not >.  Decrement exponent in < case instead of
19585         incrementing in >= case.
19586         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19587         without decrementing exponent if mantissa >= that for the
19588         denominator, not >.
19590         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19591         computing saturated result for unsigned overflow.
19593 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19594             Jeff Law  <law@redhat.com>
19596         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19597         (atan2Mp): Add systemtap probe marker.
19598         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19599         (__ieee754_log): Add systemtap probe marker.
19600         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19601         (atanMp): Add systemtap probe marker.
19602         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19603         (tanMp): Add systemtap probe marker.
19604         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19605         (__slowexp): Add systemtap probe marker.
19606         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19607         (__slowpow): Add systemtap probe marker.
19608         * manual/probes.texi: Document probes.
19610 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19612         [BZ #15362]
19613         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19614         written.
19615         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19616         written.
19617         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19618         written to buffer but not flushed.
19619         * libio/iofwrite_u.c:  Likewise.
19620         * libio/iopadn.c:  Return bytes returned even if EOF was
19621         encountered.
19622         * libio/iowpadn.c:  Likewise.
19623         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19624         if _IO_padn does not write the whole buffer.
19625         [!COMPILE_WPRINTF] (PAD): Likewise.
19627 2013-10-10  David S. Miller  <davem@davemloft.net>
19629         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19630         directory block.
19632 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19634         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19635         instead of FSF address.
19636         * soft-fp/fixdfti.c: Likewise.
19637         * soft-fp/fixsfti.c: Likewise.
19638         * soft-fp/fixtfti.c: Likewise.
19639         * soft-fp/fixunsdfti.c: Likewise.
19640         * soft-fp/fixunssfti.c: Likewise.
19641         * soft-fp/fixunstfti.c: Likewise.
19642         * soft-fp/floattidf.c: Likewise.
19643         * soft-fp/floattisf.c: Likewise.
19644         * soft-fp/floattitf.c: Likewise.
19645         * soft-fp/floatuntidf.c: Likewise.
19646         * soft-fp/floatuntisf.c: Likewise.
19647         * soft-fp/floatuntitf.c: Likewise.
19648         * soft-fp/trunctfxf2.c: Likewise.
19650         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19651         * soft-fp/fixdfti.c: Likewise.
19652         * soft-fp/fixsfti.c: Likewise.
19653         * soft-fp/fixtfti.c: Likewise.
19654         * soft-fp/fixunsdfti.c: Likewise.
19655         * soft-fp/fixunssfti.c: Likewise.
19656         * soft-fp/fixunstfti.c: Likewise.
19657         * soft-fp/floattidf.c: Likewise.
19658         * soft-fp/floattisf.c: Likewise.
19659         * soft-fp/floattitf.c: Likewise.
19660         * soft-fp/floatuntidf.c: Likewise.
19661         * soft-fp/floatuntisf.c: Likewise.
19662         * soft-fp/floatuntitf.c: Likewise.
19663         * soft-fp/trunctfxf2.c: Likewise.
19665 2013-10-10  David S. Miller  <davem@davemloft.net>
19667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19669 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19671         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19672         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19673         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19674         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19675         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19676         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19677         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19679         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19680         for NaNs before doing comparisons on argument.
19681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19682         Likewise.
19684 2013-10-10  Will Newton  <will.newton@linaro.org>
19686         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19687         passed to _int_memalign does not overflow.
19689 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19691         * scripts/bench.pl: Add include-sources directive.
19692         * benchtests/README: Update documentation.
19694 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19696         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19697         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19698         instead of FP_INIT_ROUNDMODE.
19699         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19700         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19702         [BZ #16034]
19703         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19704         copy class of input value.
19705         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19706         not handle exceptions.
19707         * soft-fp/negsf2.c (__negsf2): Likewise.
19708         * soft-fp/negtf2.c (__negtf2): Likewise.
19709         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19711 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19713         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19714         semicolon.  From Linux kernel.
19716 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19718         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19720 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19722         [BZ #156]
19723         * manual/socket.texi: Added statement about buffer
19724         for gethostbyname2_r.
19726 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19728         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19729         Use .p2align directive instead, throughout.
19730         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19731         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19732         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19734         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19735         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19736         * sysdeps/x86_64/strchr.S: Likewise.
19737         * sysdeps/x86_64/strrchr.S: Likewise.
19739 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19741         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19743         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19745         * sysdeps/generic/math_private.h (__mpsin1): Remove
19746         declaration.
19747         (__mpcos1): Likewise.
19748         (__mpsin): New argument __range_reduce.
19749         (__mpcos): Likewise.
19750         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19751         (slow): Use __mpsin and __mpcos.
19752         (slow1): Likewise.
19753         (slow2): Likewise.
19754         (sloww): Likewise.
19755         (sloww1): Likewise.
19756         (sloww2): Likewise.
19757         (bsloww): Likewise.
19758         (bsloww1): Likewise.
19759         (bsloww2): Likewise.
19760         (cslow2): Likewise.
19761         (csloww): Likewise.
19762         (csloww1): Likewise.
19763         (csloww2): Likewise.
19764         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19765         range_reduce.  Merge in __mpsin1.
19766         (__mpcos): Likewise.
19767         (__mpsin1): Remove.
19768         (__mpcos1): Likewise.
19770 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19772         * locale/loadlocale.c (_nl_intern_locale_data): Use
19773         LOCFILE_ALIGNED_P.
19774         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19775         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19776         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19777         obstack data is appropriately aligned.
19778         (obstack_int32_grow_fast): Likewise.
19779         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19780         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19781         (add_locale_uint32_array): Likewise.
19783 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19785         * benchtests/Makefile: Remove ARGLIST and RET variables.
19786         ($(objpfx)bench-%.c): Pass only function name to the script.
19787         * benchtests/README: Update documentation.
19788         * benchtests/acos-inputs: Add new directives.
19789         * benchtests/acosh-inputs: Likewise.
19790         * benchtests/asin-inputs: Likewise.
19791         * benchtests/asinh-inputs: Likewise.
19792         * benchtests/atan-inputs: Likewise.
19793         * benchtests/atanh-inputs: Likewise.
19794         * benchtests/cos-inputs: Likewise.
19795         * benchtests/cosh-inputs: Likewise.
19796         * benchtests/exp-inputs: Likewise.
19797         * benchtests/log-inputs: Likewise.
19798         * benchtests/pow-inputs: Likewise.
19799         * benchtests/rint-inputs: Likewise.
19800         * benchtests/sin-inputs: Likewise.
19801         * benchtests/sinh-inputs: Likewise.
19802         * benchtests/tan-inputs: Likewise.
19803         * benchtests/tanh-inputs: Likewise.
19804         * scripts/bench.pl: Add support for new directives.
19806 2013-10-07  Alan Modra  <amodra@gmail.com>
19808         * README: Fix careless merge.
19810 2013-10-05  Alan Modra  <amodra@gmail.com>
19812         * NEWS: Mention powerpc64le support and bugs fixed.
19813         * README: Both big-endian and little-endian powerpc64 supported.
19815 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19817         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19818         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19819         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19820         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19822 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19824         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19825         match prototype.
19827 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19829         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19830         Move -mhard-float appending from
19831         ports/sysdeps/powerpc/powerpc32/Makefile.
19832         [$(with-fp) = yes] (ASFLAGS): Likewise.
19833         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19834         * sysdeps/powerpc/nofpu: Move directory from
19835         ports/sysdeps/powerpc/nofpu.
19836         * sysdeps/powerpc/soft-fp: Move directory from
19837         ports/sysdeps/powerpc/soft-fp.
19838         * sysdeps/powerpc/powerpc32/405: Move directory from
19839         ports/sysdeps/powerpc/powerpc32/405.
19840         * sysdeps/powerpc/powerpc32/440: Move directory from
19841         ports/sysdeps/powerpc/powerpc32/440.
19842         * sysdeps/powerpc/powerpc32/464: Move directory from
19843         ports/sysdeps/powerpc/powerpc32/464.
19844         * sysdeps/powerpc/powerpc32/476: Move directory from
19845         ports/sysdeps/powerpc/powerpc32/476.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19851         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19853         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19855         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19856         * README: Update for powerpc-*-linux-gnu software floating point
19857         support in libc.
19859         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19860         case to powerpc/powerpc32*.
19861         * sysdeps/unix/sysv/linux/configure: Regenerated.
19863         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19864         (_FPU_MASK_OM): Define as 0x04.
19865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19867         0x00c10080.
19868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19869         0x0000003c.
19870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19874         getcontext_e500.
19875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19876         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19877         setcontext_e500.
19878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19879         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19880         and setcontext_e500.
19882 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19884         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19886 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19888         * manual/threads.texi (Default Thread Attributes): Fix typo.
19890 2013-10-04  Will Newton  <will.newton@linaro.org>
19892         * malloc/Makefile: Add tst-memalign.
19893         * malloc/tst-memalign.c: New file.
19895         * malloc/tst-posix_memalign.c: Add comments.
19896         (do_test): Add comments and call free on all potentially
19897         allocated pointers. Add space after cast.
19899         * malloc/tst-pvalloc.c: Add comments.
19900         (do_test): Add comments and call free on all potentially
19901         allocated pointers. Remove duplicate check for NULL pointer.
19902         Add space after cast.
19904         * malloc/tst-valloc.c: Add comments.
19905         (do_test): Add comments and call free on all potentially
19906         allocated pointers. Remove duplicate check for NULL pointer.
19907         Add space after cast.
19909 2013-10-04  Alan Modra  <amodra@gmail.com>
19911         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19912         Use stdint types in rather than __attribute__((mode())).
19913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19915 2013-10-04  Alan Modra  <amodra@gmail.com>
19917         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19918         Correct handling of unaligned relocs for little-endian.
19919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19921 2013-10-04  Alan Modra  <amodra@gmail.com>
19923         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19924         * configure: Regenerate.
19925         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19926         * shlib-versions: Likewise.
19928 2013-10-04  Alan Modra  <amodra@gmail.com>
19930         * string/tester.c (test_memrchr): Increment reported test cycle.
19932 2013-10-04  Alan Modra  <amodra@gmail.com>
19934         * string/test-memcpy.c (do_one_test): When reporting errors, print
19935         string address and don't overrun end of string.
19937 2013-10-04  Alan Modra  <amodra@gmail.com>
19939         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19940         insrdi.  Make better use of reg selection to speed exit slightly.
19941         Schedule entry path a little better.  Remove useless "are we done"
19942         checks on entry to main loop.  Handle wrapping around zero address.
19943         Correct main loop count.  Handle single left-over word from main
19944         loop inline rather than by using loop_small.  Remove extra word
19945         case in loop_small caused by wrong loop count.  Add little-endian
19946         support.
19947         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19948         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19949         cache hint.
19950         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19951         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19952         support.  Avoid rlwimi.
19953         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19955 2013-10-04  Alan Modra  <amodra@gmail.com>
19957         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19958         insrdi.  Formatting.
19959         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19960         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19961         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19962         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19963         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19964         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19966 2013-10-04  Alan Modra  <amodra@gmail.com>
19968         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19970         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19971         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19972         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19973         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19975         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19976         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19977         use of regs.  Use power7 mtocrf.  Tidy function tails.
19979 2013-10-04  Alan Modra  <amodra@gmail.com>
19981         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19982         Formatting.  Consistently use rXXX register defines or rN defines.
19983         Use early exit labels that avoid restoring unused non-volatile regs.
19984         Make cr field use more consistent with rWORDn compares.  Rename
19985         regs used as shift registers for unaligned loop, using rN defines
19986         for short lifetime/multiple use regs.
19987         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19989         addi 1,1,64 to pop stack frame.  Simplify return value code.
19990         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19992 2013-10-04  Alan Modra  <amodra@gmail.com>
19994         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19995         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19996         rather than rlwimi.
19997         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19998         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19999         little-endian support.  Correct typos.
20000         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20001         rather than rlwimi.
20002         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20003         in loop and entry code to keep "and." results.
20004         (strchr): Add little-endian support.  Comment.  Move cntlzd
20005         earlier in tail.
20006         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20008 2013-10-04  Alan Modra  <amodra@gmail.com>
20010         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20011         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20012         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20013         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20015 2013-10-04  Alan Modra  <amodra@gmail.com>
20017         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20018         (rTMP): Define as r11.
20019         (strcmp): Add little-endian support.  Optimise tail.
20020         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20021         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20022         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20023         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20025         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20026         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20028 2013-10-04  Alan Modra  <amodra@gmail.com>
20030         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20031         little-endian support.  Remove unnecessary "are we done" tests.
20032         Handle "s" wrapping around zero and extremely large "size".
20033         Correct main loop count.  Handle single left-over word from main
20034         loop inline rather than by using small_loop.  Correct comments.
20035         Delete "zero" tail, use "end_max" instead.
20036         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20038 2013-10-04  Alan Modra  <amodra@gmail.com>
20040         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20041         support.  Don't branch over align.
20042         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20043         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20044         support.  Rearrange tmp reg use to suit.  Comment.
20045         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20047 2013-10-04  Alan Modra  <amodra@gmail.com>
20049         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20051 2013-10-04  Alan Modra  <amodra@gmail.com>
20053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20054         conditional form of branch and link when obtaining pc.
20055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20057 2013-10-04  Alan Modra  <amodra@gmail.com>
20059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20060         HIWORD/LOWORD.
20061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20064 2013-10-04  Alan Modra  <amodra@gmail.com>
20066         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20067         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20068         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20069         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20070         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20071         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20072         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20073         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20074         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20075         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20077 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20078             Alistair Popple <alistair@ozlabs.au.ibm.com>
20079             Alan Modra <amodra@gmail.com>
20081         [BZ #15723]
20082         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20083         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20084         _dl_hwcap access for little-endian.
20085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20086         destroy vmx regs when saving unaligned.
20087         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20088         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20089         destroy vmx regs when saving unaligned.
20091 2013-10-04  Alan Modra  <amodra@gmail.com>
20093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20094         Don't use a union to pack hi/low value.
20096 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20098         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20099         for little-endian.
20100         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20102         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20103         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20104         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20106 2013-10-04  Alan Modra  <amodra@gmail.com>
20108         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20109         constants to usual value for .cst8 section, and remove redundant
20110         high address load.
20111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20112         constant for 0x1p52.  Load little-endian words of double from
20113         correct stack offsets.
20115 2013-10-04  Alan Modra  <amodra@gmail.com>
20117         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20118         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20119         words of double from correct stack offsets.
20120         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20121         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20122         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20124         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20125         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20126         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20127         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20128         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20130         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20131         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20132         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20133         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20134         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20135         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20136         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20138 2013-10-04  Alan Modra  <amodra@gmail.com>
20140         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20141         64-bit int/double union.
20142         (_FPU_SETCW): Likewise.
20143         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20144         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20146 2013-10-04  Alan Modra  <amodra@gmail.com>
20148         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20149         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20151 2013-10-04  Alan Modra  <amodra@gmail.com>
20153         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20154         use vector int constants.
20155         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20157 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20159         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20160         array with long long.
20161         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20162         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20163         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20164         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20165         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20166         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20167         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20168         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20169         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20170         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20171         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20172         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20173         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20175 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20177         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20178         (__signbit): Likewise.  Correct for little-endian.
20179         (__signbitl): Call __signbit.
20180         (lrint): Correct for little-endian.
20181         (lrintf): Call lrint.
20183 2013-10-04  Alan Modra  <amodra@gmail.com>
20185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20186         union 32-bit int array member with 64-bit int array.
20187         (t515, tm256): Double rather than long double.
20188         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20190 2013-10-04  Alan Modra  <amodra@gmail.com>
20192         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20193         Delete.
20194         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20195         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20196         version of math_ldbl.h.
20198 2013-10-04  Alan Modra  <amodra@gmail.com>
20200         [BZ #15734], [BZ #15735]
20201         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20202         all uses of ieee875 long double macros and unions.  Simplify test
20203         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20204         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20205         normalize after ldbl_extract_mantissa, and don't add hidden bit
20206         already handled.  Don't treat low word of ieee854 mantissa like
20207         low word of IBM long double and mask off bit when testing for
20208         zero.
20209         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20210         all uses of ieee875 long double macros and unions.  Simplify tests
20211         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20212         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20213         two1022, instead use their values.  Recognise that tests for large
20214         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20215         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20216         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20217         test for 0.0L and nan.  Correct negation.
20218         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20219         ieee875 long double macros and unions.  Correct output for large
20220         magnitude x.  Correct absolute value calculation.
20221         (__erfcl): Likewise.
20222         * math/libm-test.inc: Add tests for errors discovered in IBM long
20223         double versions of fmodl, remainderl, erfl and erfcl.
20225 2013-10-04  Alan Modra  <amodra@gmail.com>
20227         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20228         all uses of ieee854 long double macros and unions.  Simplify tests
20229         for long doubles that are fully specified by the high double.
20230         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20231         Likewise.
20232         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20233         Remove dead code too.
20234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20235         (__ieee754_ynl): Likewise.
20236         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20239         Remove dead code too.
20240         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20242         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20243         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20244         Simplify.
20245         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20246         Simplify.
20247         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20248         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20250         Comment on variable precision.
20251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20253         Likewise.
20254         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20258         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20260 2013-10-04  Alan Modra  <amodra@gmail.com>
20262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20263         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20264         all uses of ieee854 long double macros and unions.
20265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20267         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20268         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20269         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20270         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20271         Likewise.
20272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20276         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20278         Simplify sign and nan test too.
20279         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20280         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20281         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20282         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20283         Likewise.
20284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20285         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20286         Likewise.
20287         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20291         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20294 2013-10-04  Alan Modra  <amodra@gmail.com>
20296         * stdio-common/printf_size.c (__printf_size): Don't use
20297         union ieee854_long_double in fpnum union.
20298         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20299         signbit macro to retrieve sign from long double.
20300         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20301         retrieve sign from long double.
20302         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20303         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20304         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20305         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20306         * math/test-misc.c (main): Don't use union ieee854_long_double.
20308 2013-10-04  Alan Modra  <amodra@gmail.com>
20310         [BZ #15680]
20311         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20312         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20313         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20314         calculation.  Remove unnecessary test for denormal exponent.
20315         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20316         Correct handling of denormals.  Avoid undefined shift behaviour.
20317         Correct normalisation of low mantissa when low double is denormal.
20318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20319         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20320         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20321         Correct normalisation of low mantissa.  Test for overflow of high
20322         mantissa and normalise.
20323         (ldbl_nearbyint): Use more readable constant for two52.
20324         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20325         (__mpn_construct_long_double): Fix test for overflow of high
20326         mantissa and correct normalisation.  Avoid undefined shift.
20328 2013-10-04  Alan Modra  <amodra@gmail.com>
20330         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20331         (union ibm_extended_long_double): Define as an array of ieee754_double.
20332         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20333         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20334         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20337         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20339         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20341         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20342         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20344 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20346         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20347         page size instead of calling getpagesize.
20349         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20350         (LOCFILE_ALIGN_MASK): Likewise.
20351         (LOCFILE_ALIGN_UP): Likewise.
20352         (LOCFILE_ALIGNED_P): Likewise.
20353         * locale/programs/ld-collate.c (collate_output): Use the new
20354         macros instead of __alignof__ (int32_t).
20355         * locale/weight.h (findidx): Likewise.
20357 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
20359         [BZ #431]
20360         * manual/string.texi: Fix strncat and wcsncat.
20362 2013-10-03  Brooks Moses  <bmoses@google.com>
20364         [BZ #15915]
20365         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20366         * Makerules: ...here, and adjust associated comments.
20368 2013-10-02  Will Newton  <will.newton@linaro.org>
20370         * malloc/Makefile: Add tst-pvalloc.
20371         * malloc/tst-pvalloc.c: New file.
20373 2013-10-02  Will Newton  <will.newton@linaro.org>
20375         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20376         improve test coverage.
20378 2013-10-02  Will Newton  <will.newton@linaro.org>
20380         * malloc/Makefile: Add tst-posix_memalign.
20381         * malloc/tst-posix_memalign.c: New file.
20383 2013-10-01  Eric Blake  <eblake@redhat.com>
20385         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20386         Use __THROWNL rather than __THROW on static functions.
20388 2013-09-30  Petr Machata  <pmachata@redhat.com>
20390         * elf/elf.h (R_AARCH64_ABS16): New macro.
20391         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20392         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20393         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20394         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20395         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20396         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20397         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20398         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20399         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20400         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20401         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20402         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20403         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20404         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20405         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20406         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20407         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20408         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20409         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20410         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20411         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20412         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20413         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20414         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20415         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20416         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20417         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20418         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20419         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20420         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20421         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20422         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20423         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20424         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20425         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20426         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20427         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20428         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20429         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20430         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20431         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20432         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20433         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20434         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20435         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20436         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20437         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20438         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20439         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20440         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20441         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20442         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20443         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20444         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20445         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20446         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20447         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20448         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20449         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20450         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20451         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20452         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20453         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20454         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20455         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20456         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20457         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20458         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20459         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20460         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20461         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20462         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20463         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20464         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20465         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20466         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20467         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20468         (R_AARCH64_TLSDESC_LDR): Likewise.
20469         (R_AARCH64_TLSDESC_ADD): Likewise.
20470         (R_AARCH64_TLSDESC_CALL): Likewise.
20472 2013-09-30  Andreas Schwab  <schwab@suse.de>
20474         [BZ #15048]
20475         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20476         the nss database lookup.
20477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20480 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20482         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20484 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20486         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20487         ${Bash-specific parameter/pattern/string} parameter expansion.
20488         * sysdeps/unix/make-syscalls.sh: Likewise.
20490 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20492         * sysdeps/sh/stackguard-macros.h: New file.
20494 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20498         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20499         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20500         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20501         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20503 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20505         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20506         Fix thread ID register.
20508 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20510         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20511         [POSIX || UNIX98]: Require rather than permitting all symbols from
20512         <time.h>.
20513         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20514         element of struct sched_param.
20515         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20516         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20517         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20518         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20519         constant.
20521 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20523         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20524         argument calculation.
20526 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20528         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20529         Expect macro.
20530         [POSIX] (pthread_attr_t): Do not require type.
20531         [POSIX] (pthread_cond_t): Likewise.
20532         [POSIX] (pthread_condattr_t): Likewise.
20533         [POSIX] (pthread_key_t): Likewise.
20534         [POSIX] (pthread_mutex_t): Likewise.
20535         [POSIX] (pthread_mutexattr_t): Likewise.
20536         [POSIX] (pthread_once_t): Likewise.
20537         [POSIX] (pthread_t): Likewise.
20538         [POSIX-based standards] (pthread_atfork): Expect function.
20540 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20541             Richard Sandiford  <richard@codesourcery.com>
20543         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20544         (swap_endianness_p): New extern variable.
20545         (set_big_endian): New inline function.
20546         (maybe_swap_uint32): Likewise.
20547         (maybe_swap_uint32_array): Likewise.
20548         (maybe_swap_uint32_obstack): Likewise.
20549         * locale/programs/locfile.c: Include <stdbool.h>.
20550         (swap_endianness_p): New variable.
20551         (add_locale_uint32): Call maybe_swap_uint32.
20552         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20553         (write_locale_data): Call maybe_swap_uint32_array.
20554         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20555         maybe_swap_uint32.
20556         (obstack_int32_grow_fast): Likewise.
20557         (output_weightwc): Call maybe_swap_uint32_obstack.
20558         (collate_output): Likewise.
20559         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20560         (OPT_LITTLE_ENDIAN): Likewise.
20561         (options): Add --little-endian and --big-endian options.
20562         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20563         * locale/programs/locarchive.c: Include "locfile.h".
20564         (GET): New macro.
20565         (SET): Likewise.
20566         (INC): Likewise.
20567         (create_archive): Use the new macros to access fields of
20568         structures directly mapped from or written to locale archives.
20569         (oldlocrecentcmp): Likewise.
20570         (enlarge_archive): Likewise.
20571         (insert_name): Likewise.
20572         (add_alias): Likewise.
20573         (add_locale): Likewise.
20574         (delete_locales_from_archive): Likewise.
20575         (show_archive_content): Likewise.
20576         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20577         locale data.
20579 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20581         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20582         http://www.gnu.org/doc/freemanuals.texi.
20583         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20585 2013-09-24  Will Newton  <will.newton@linaro.org>
20587         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20588         macro.
20590 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20592         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20593         unsigned char.
20595 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20597         * manual/threads.texi (POSIX Threads): Fix a typo.
20599 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20601         [BZ #14547]
20602         * string/tst-strcoll-overflow.c: New test case.
20603         * string/Makefile (xtests): Add tst-strcoll-overflow.
20604         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20605         cache if string sizes may cause integer overflow.
20607         [BZ #14547]
20608         * string/strcoll_l.c (coll_seq): New members rule, idx,
20609         save_idx and back_us.
20610         (get_next_seq_nocache): New function.
20611         (do_compare_nocache): New function.
20612         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20613         when malloc fails.
20615 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20617         [BZ #15754]
20618         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20619         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20620         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20622         [BZ #15754]
20623         * elf/Makefile (tests): Add tst-ptrguard1.
20624         (tests-static): Add tst-ptrguard1-static.
20625         (tst-ptrguard1-ARGS): Define.
20626         (tst-ptrguard1-static-ARGS): Define.
20627         * elf/tst-ptrguard1.c: New file.
20628         * elf/tst-ptrguard1-static.c: New file.
20629         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20630         * sysdeps/i386/stackguard-macros.h: Likewise.
20631         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20632         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20633         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20634         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20635         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20636         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20638 2013-09-23  Hector Marco  <hecmargi@upv.es>
20639             Ismael Ripoll  <iripoll@disca.upv.es>
20640             Carlos O'Donell  <carlos@redhat.com>
20642         [BZ #15754]
20643         * sysdeps/generic/stackguard-macros.h: Define
20644         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20645         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20646         Define __pointer_chk_guard_local.
20647         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20648         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20650 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20652         [BZ #15859]
20653         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20655 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20657         * include/string.h (__ffs): Declare as hidden.
20658         * string/ffs.c (__ffs): Define as hidden.
20659         * sysdeps/i386/ffs.c (__ffs): Likewise.
20660         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20661         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20662         * sysdeps/s390/ffs.c (__ffs): Likewise.
20663         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20665 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20667         * NEWS: Mention malloc probes.
20669         * malloc/arena.c (new_heap): New memory_heap_new probe.
20670         (grow_heap): New memory_heap_more probe.
20671         (shrink_heap): New memory_heap_less probe.
20672         (heap_trim): New memory_heap_free probe.
20673         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20674         (systrim): New memory_sbrk_less probe.
20675         * manual/probes.texi: Document them.
20677         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20678         * manual/probes.texi: Document it.
20680         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20681         (__libc_realloc): Add memory_realloc_retry probe.
20682         (__libc_memalign): Add memory_memalign_retry probe.
20683         (__libc_valloc): Add memory_valloc_retry probe.
20684         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20685         (__libc_calloc): Add memory_calloc_retry probe.
20686         * manual/probes.texi: Document them.
20688         * malloc/arena.c (get_free_list): Add probe
20689         memory_arena_reuse_free_list.
20690         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20691         and memory_arena_reuse.
20692         (arena_get2) [!PER_THREAD]: Likewise.
20693         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20694         memory_arena_reuse_realloc.
20695         * manual/probes.texi: Document them.
20697         * malloc/malloc.c (__libc_free): Add
20698         memory_mallopt_free_dyn_thresholds probe.
20699         (__libc_mallopt): Add multiple memory_mallopt probes.
20700         * manual/probes.texi: Document them.
20702         * malloc/malloc.c: Include stap-probe.h.
20703         (__libc_mallopt): Add memory_mallopt probe.
20704         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20705         * manual/probes.texi: New.
20706         * manual/Makefile (chapters): Add probes.
20707         * manual/threads.texi: Set next node.
20709 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20711         [BZ #15963, #13985]
20712         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20713         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20714         Add `Chinese' to `nan' entry name.
20716 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20718         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20719         (POLYNOMIAL): Likewise.
20720         (TAYLOR_SINCOS): Likewise.
20721         (TAYLOR_SLOW): Likewise.
20722         (__sin): Use TAYLOR_SINCOS.
20723         (__cos): Likewise.
20724         (slow): Use TAYLOR_SLOW.
20725         (sloww): Likewise.
20726         (bsloww): Likewise.
20727         (csloww): Likewise.
20729 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20731         * stdlib/strtod_l.c: Fix buffer overrun.
20733 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20735         * benchtests/Makefile (bench): Add sincos.
20736         * benchtests/bench-sincos.c: New file.
20738         * math/libm-test.inc (cos_test_data): New test inputs.
20739         (sin_test_data): Likewise.
20741         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20742         macro.
20743         (__sin): Use it.
20744         (__cos): Likewise.
20745         (slow1): Likewise.
20746         (slow2): Likewise.
20747         (sloww1): Likewise.
20748         (sloww2): Likewise.
20749         (bsloww1): Likewise.
20750         (bsloww2): Likewise.
20751         (cslow2): Likewise.
20752         (csloww1): Likewise.
20753         (csloww2): Likewise.
20755         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20756         function.
20757         (__sin): Use it.
20758         (__cos): Likewise.
20760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20761         gotos.
20762         (__cos): Likewise.
20764 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20766         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20767         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20768         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20769         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20770         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20771         * elf/cache.c (print_entry): Handle the new cache flags.
20773 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20774             Aldy Hernandez  <aldyh@redhat.com>
20776         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20777         Change condition to [_SOFT_FLOAT].
20778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20790         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20793         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20794         declaration.
20796 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20798         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20799         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20800         (__longjmp): Use LOAD_GP to load saved GPRs.
20801         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20802         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20803         (__sigsetjmp): Use SAVE_GP to save GPRs.
20805         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20806         Do not append -msoft-float.
20807         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20809 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20811         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20813 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20815         [BZ #15966]
20816         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20817         (_FPU_GETCW): Use initial "__" on variable and field names but not
20818         on macro parameter name.
20819         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20820         parentheses around reference to macro parameter.
20822 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20824         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20825         prototype.
20826         (ctype_startup): Use uint32_t in cast and sizeof for
20827         ctype->charnames.
20829 2013-09-11  Jia Liu  <proljc@gmail.com>
20831         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20832         __daddr_t_defined.
20833         [__FreeBSD__]: Likewise.
20835 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20838         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20839         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20840         (strchr): Remove __strchr_sse42 ifunc selection.
20841         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20842         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20844 2013-09-11  Will Newton  <will.newton@linaro.org>
20846         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20847         parameter to RES. Remove hardcoded 1000 value.
20848         * benchtests/bench-skeleton.c (main): Pass RES parameter
20849         to TIMING_INIT and multiply result by 1000.
20851 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20855 2013-09-11  Andreas Schwab  <schwab@suse.de>
20857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20858         if not defined.
20859         (O_TMPFILE) [__USE_GNU]: Define.
20860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20861         Define.
20863 2013-09-11  Will Newton  <will.newton@linaro.org>
20865         [BZ #15857]
20866         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20867         does not overflow.
20869 2013-09-11  Will Newton  <will.newton@linaro.org>
20871         [BZ #15856]
20872         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20873         does not overflow.
20875 2013-09-11  Will Newton  <will.newton@linaro.org>
20877         [BZ #15855]
20878         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20879         does not overflow.
20881 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20883         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20884         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20886         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20887         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20889 2013-09-10  Allan McRae  <allan@archlinux.org>
20891         [BZ #15748]
20892         * manual/arith.texi (Parsing of Floats): Clarify
20893         cross-reference.
20895         [BZ #15849]
20896         * manual/install.texi (Running make install): Mention
20897         --enable-pt-chown.
20898         * INSTALL: Regenerated.
20900 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20902         * csu/init-first.c (_init): Remove the !SHARED condition around
20903         FPU control word initialization.
20904         * elf/dl-support.c (_dl_fpu_control): New variable.
20905         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20906         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20907         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20908         * math/test-fpucw-static.c: New file.
20909         * math/test-fpucw-ieee.c: New file.
20910         * math/test-fpucw-ieee-static.c: New file.
20911         * math/Makefile (tests): Add `test-fpucw-ieee' and
20912         `$(tests-static)'.
20913         (tests-static): New variable.
20914         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20915         dependency to...
20916         [($(build-shared),yes)]
20917         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20918         ... this.
20919         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20920         New dependency.
20922 2013-09-09  Allan McRae  <allan@archlinux.org>
20924         [BZ #15939]
20925         * manual/string.texi (Collation Functions): Fix typo in
20926         strcoll example.
20927         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20929         [BZ #15893]
20930         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20932         [BZ #15892]
20933         * libio/memstream.c (open_memstream): Fix memory leak.
20934         * libio/wmemstream.c (open_wmemstream): Likewise.
20936         [BZ #15895]
20937         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20939 2013-09-09  Will Newton  <will.newton@linaro.org>
20941         * malloc/Makefile: Add tst-realloc to tests.
20942         * malloc/tst-realloc.c: New file.
20944 2013-09-09  Allan McRae  <allan@archlinux.org>
20946         [BZ #15844]
20947         * COPYING: Update from GNU website to fix FSF address.
20948         * COPYING.LIB: Likewise.
20950 2013-09-06  David S. Miller  <davem@davemloft.net>
20952         * po/zh_TW.po: Update Chinese (traditional) translation from
20953         translation project.
20955 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20956             Joseph Myers  <joseph@codesourcery.com>
20958         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20959         "localeinfo.h".
20960         (obstack_chunk_alloc): New macro.
20961         (obstack_chunk_free): Likewise.
20962         (record_offset): New function.
20963         (init_locale_data): Likewise.
20964         (align_locale_data): Likewise.
20965         (add_locale_empty): Likewise.
20966         (add_locale_raw_data): Likewise.
20967         (add_locale_raw_obstack): Likewise.
20968         (add_locale_string): Likewise.
20969         (add_locale_wstring): Likewise.
20970         (add_locale_uint32): Likewise.
20971         (add_locale_uint32_array): Likewise.
20972         (add_locale_char): Likewise.
20973         (start_locale_structure): Likewise.
20974         (end_locale_structure): Likewise.
20975         (start_locale_prelude): Likewise.
20976         (end_locale_prelude): Likewise.
20977         (write_locale_data): Take locale_file structure rather than an
20978         iovec.
20979         * locale/programs/locfile.h: Include "obstack.h".
20980         (struct locale_file): Change to store locale file contents instead
20981         of header.
20982         (init_locale_data): New prototype.
20983         (align_locale_data): Likewise.
20984         (add_locale_empty): Likewise.
20985         (add_locale_raw_data): Likewise.
20986         (add_locale_raw_obstack): Likewise.
20987         (add_locale_string): Likewise.
20988         (add_locale_wstring): Likewise.
20989         (add_locale_uint32): Likewise.
20990         (add_locale_uint32_array): Likewise.
20991         (add_locale_char): Likewise.
20992         (start_locale_structure): Likewise.
20993         (end_locale_structure): Likewise.
20994         (start_locale_prelude): Likewise.
20995         (end_locale_prelude): Likewise.
20996         (write_locale_data): Update prototype.
20997         * locale/programs/3level.h (struct TABLE): Remove result field.
20998         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20999         Use new locale_file interface.
21000         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21001         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21002         * locale/programs/ld-address.c (address_output): Use new
21003         locale_file interface.
21004         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21005         NO_ADD_LOCALE.
21006         (collate_finish): Don't call collseq_table_finalize.
21007         (collate_output): Use new locale_file interface.
21008         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21009         in file.
21010         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21011         (TABLE): Move defines earlier in file.
21012         (ELEMENT): Likewise.
21013         (DEFAULT): Likewise.
21014         (wctrans_table_add): Move macro and inline function earlier in
21015         file.
21016         (struct wctype_table): Move type earlier in file.
21017         (add_locale_wctype_table): New static prototype.
21018         (struct locale_ctype_t): Use logical types instead of struct iovec
21019         pointers for members.
21020         (ctype_output): Use new locale_file interface.
21021         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21022         new locale_file interface.
21023         (allocate_arrays): Update for use of new locale_file interface.
21024         * locale/programs/ld-identification.c (identification_output): Use
21025         new locale_file interface.
21026         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21027         * locale/programs/ld-messages.c (messages_output): Likewise.
21028         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21029         * locale/programs/ld-name.c (name_output): Likewise.
21030         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21031         * locale/programs/ld-paper.c (paper_output): Likewise.
21032         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21033         * locale/programs/ld-time.c (time_output): Likewise.
21035 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21037         * benchtests/Makefile: Add memrchr benchmark.
21038         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21039         benchmark as memrchr.
21040         * benchtests/bench-memrchr-ifunc.c: New file.
21041         * benchtests/bench-memrchr.c: New file.
21043 2013-09-06   Will Newton  <will.newton@linaro.org>
21045         * benchtests/Makefile (string-bench): Add memcpy.
21047 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21048             Cong Wang  <amwang@redhat.com>
21050         [BZ #15850]
21051         * sysdeps/unix/sysv/linux/bits/in.h
21052         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21053         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21054         before __USE_KERNEL_IPV6_DEFS uses.
21055         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21056         IPPROTO_BEETPH.
21057         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21058         sockaddr_in6, or ipv6_mreq.
21060 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21062         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21063         memory access for final bytes in some large inputs.
21064         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21066 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21068         * string/test-memrchr.c: New file.
21069         * string/test-memrchr-ifunc.c: New file.
21070         * string/Makefile: Add new memrchr testcase.
21072 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21074         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21075         fanotify_init returns EPERM.
21077 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21079         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21080         errors.
21081         (top level): Treat second token from macro or constant entries for
21082         allowed headers as allowed.
21083         * include/complex.h: Condition internal declarations on
21084         [!_ISOMAC].
21085         * include/fenv.h: Condition include of <stdbool.h> and internal
21086         declarations on [!_ISOMAC].
21088 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21090         [BZ #15923]
21091         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21093 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21095         * configure.in (--enable-versioning): Remove configure option.
21096         (libc_cv_asm_symver_directive): Remove configure test.
21097         (libc_cv_ld_version_script_option): Likewise.
21098         (VERSIONING): Remove variable and AC_SUBST.
21099         (DO_VERSIONING): Remove AC_DEFINE.
21100         * configure: Regenerated.
21101         * config.h.in (DO_VERSIONING): Remove macro.
21102         * Makerules [$(versioning) = yes]: Change conditionals to
21103         [$(build-shared) = yes].
21104         * config.make.in (versioning): Remove variable.
21105         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21106         [$(build-shared) = yes].
21107         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21108         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21109         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21110         [$(build-shared) = yes].
21111         * extra-lib.mk [$(versioning) = yes]: Likewise.
21112         * hurd/Makefile [$(versioning) = yes]: Likewise.
21113         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21114         [SHARED].
21115         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21116         [SHARED].
21117         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21118         [SHARED && !NO_HIDDEN].
21119         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21120         [SHARED].
21121         [SHARED && DO_VERSIONING]: Likewise..
21122         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21123         [$(build-shared) = yes].
21124         * manual/install.texi (--disable-versioning): Remove
21125         documentation.
21126         * INSTALL: Regenerated.
21127         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21128         to [SHARED].
21129         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21130         [$(build-shared) = yes].
21131         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21132         * sysdeps/i386/i686/multiarch/strstr-c.c
21133         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21134         [SHARED && !NO_HIDDEN].
21135         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21136         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21137         * sysdeps/powerpc/powerpc32/dl-machine.c
21138         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21139         * sysdeps/powerpc/powerpc32/sysdep.h
21140         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21141         to [SHARED && PIC && !NO_HIDDEN].
21142         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21143         conditional to [SHARED].
21145 2013-09-04   Will Newton  <will.newton@linaro.org>
21147         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21148         * benchtests/bench-string.h: Include bench-timing.h instead
21149         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21150         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21151         call to HP_TIMING_DIFF_INIT.
21152         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21153         instead of hp-timing.h macros.
21154         * benchtests/bench-memchr.c: Likewise.
21155         * benchtests/bench-memcmp.c: Likewise.
21156         * benchtests/bench-memcpy.c: Likewise.
21157         * benchtests/bench-memmem.c: Likewise.
21158         * benchtests/bench-memmove.c: Likewise.
21159         * benchtests/bench-memset.c: Likewise.
21160         * benchtests/bench-rawmemchr.c: Likewise.
21161         * benchtests/bench-strcasecmp.c: Likewise.
21162         * benchtests/bench-strcasestr.c: Likewise.
21163         * benchtests/bench-strcat.c: Likewise.
21164         * benchtests/bench-strchr.c: Likewise.
21165         * benchtests/bench-strcmp.c: Likewise.
21166         * benchtests/bench-strcpy.c: Likewise.
21167         * benchtests/bench-strcpy_chk.c: Likewise.
21168         * benchtests/bench-strlen.c: Likewise.
21169         * benchtests/bench-strncasecmp.c: Likewise.
21170         * benchtests/bench-strncat.c: Likewise.
21171         * benchtests/bench-strncmp.c: Likewise.
21172         * benchtests/bench-strncpy.c: Likewise.
21173         * benchtests/bench-strnlen.c: Likewise.
21174         * benchtests/bench-strpbrk.c: Likewise.
21175         * benchtests/bench-strrchr.c: Likewise.
21176         * benchtests/bench-strspn.c: Likewise.
21177         * benchtests/bench-strstr.c: Likewise.
21179 2013-09-04  Will Newton  <will.newton@linaro.org>
21181         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21183 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21185         [BZ #15427]
21186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21187         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21188         * math/libm-test.inc (lgamma_test_data): Add more tests.
21189         * sysdeps/i386/fpu/libm-test-ulps: Update.
21190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21194         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21196         Add ifunc.
21197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21198         Add strcmp-sse2-unaligned
21199         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21201 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21203         * Versions.def (libc): Add GLIBC_2.19.
21205 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21207         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21208         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21210 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21212         [BZ #14155]
21213         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21214         intermediate calculations in recurrence.
21215         (__ieee754_ynf): Likewise.
21216         * math/libm-test.inc (jn_test_data): Do not allow spurious
21217         underflow exception.  Add more tests.
21218         (yn_test_data): Add more tests.
21219         * sysdeps/i386/fpu/libm-test-ulps: Update.
21220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21222 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21226 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21228         * csu/init-first.c: Fix then/than typos.
21229         * locale/programs/ld-collate.c: Likewise.
21230         * locale/programs/linereader.h: Likewise.
21231         * manual/charset.texi: Likewise.
21232         * manual/filesys.texi: Likewise.
21233         * manual/stdio.texi: Likewise.
21234         * manual/string.texi: Likewise.
21235         * stdlib/fmtmsg.c: Likewise.
21236         * sysdeps/i386/stpncpy.S: Likewise.
21237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21238         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21239         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21240         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21242 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21244         * elf/dl-open.c: Fix typos.
21245         * iconvdata/gbbig5.c: Likewise.
21246         * iconvdata/iso-2022-jp.c: Likewise.
21247         * iconv/gconv_int.h: Likewise.
21248         * iconv/loop.c: Likewise.
21249         * nis/rpcsvc/nis.h: Likewise.
21250         * resolv/ns_name.c: Likewise.
21251         * stdio-common/vfscanf.c: Likewise.
21252         * streams/stropts.h: Likewise.
21253         * sunrpc/rpc_thread.c: Likewise.
21254         * sysdeps/i386/strpbrk.S: Likewise.
21255         * sysdeps/ieee754/k_standard.c: Likewise.
21256         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21257         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21258         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21259         * sysdeps/mach/hurd/profil.c: Likewise.
21260         * sysdeps/s390/dl-procinfo.h: Likewise.
21261         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21262         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21263         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21264         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21265         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21267 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21269         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21272 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21275         aix specific files.
21276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21277         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21278         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21279         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21280         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21281         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21283         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21285 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21286             Roland McGrath  <roland@hack.frob.com>
21288         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21289         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21291 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21293         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21294         __executable_start symbol instead of _start.
21296 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21298         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21299         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21300         Move macros to...
21301         * sysdeps/gnu/ldsodefs.h: ... this new file.
21303         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21304         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21305         instead of ELFOSABI_LINUX.
21307         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21308         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21309         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21310         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21311         Likewise.
21312         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21313         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21314         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21315         Likewise.
21316         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21317         (ibm_extended_long_double): Add ieee_nan member.
21318         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21319         (do_test): New function.
21321         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21322         TEST_TRUNC.
21323         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21324         functions, renamed from truncdfsf_test, trunctfsf_test,
21325         trunctfdf_test.
21326         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21327         functions.
21328         (do_test): Run all these.
21330 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21332         * argp/argp-help.c: Fix typos.
21333         * argp/argp-parse.c: Likewise.
21334         * debug/backtracesyms.c: Likewise.
21335         * elf/elf.h: Likewise.
21336         * malloc/malloc.c: Likewise.
21337         * nis/nis_print.c: Likewise.
21338         * resolv/res_comp.c: Likewise.
21339         * stdlib/stdlib.h: Likewise.
21340         * sunrpc/clnt_tcp.c: Likewise.
21341         * sunrpc/clnt_udp.c: Likewise.
21342         * sunrpc/clnt_unix.c: Likewise.
21343         * sysdeps/unix/bsd/ptsname.c: Likewise.
21344         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21347         Likewise.
21348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21349         Likewise.
21350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21351         Likewise.
21352         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21354 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21356         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21359 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
21361         [BZ #15897]
21362         * dlfcn/Makefile (tests): Add bug-dl-leaf.
21363         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21364         ($(objpfx)bug-dl-leaf): New rule.
21365         ($(objpfx)bug-dl-leaf.so): Likewise.
21366         ($(objpfx)bug-dl-leaf.out): Likewise.
21367         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21368         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21369         * dlfcn/bug-dl-leaf.c: New test.
21370         * dlfcn/bug-dl-leaf-lib.c: Likewise.
21371         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21372         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21373         (dlclose): Likewise.
21374         (dlmopen): Likewise.
21376 2013-08-27  Roland McGrath  <roland@hack.frob.com>
21378         * include/netdb.h [!_ISOMAC]:
21379         Don't include <tls.h>.
21380         (h_errno, __libc_h_errno): Move declaration and macros out of
21381         [_LIBC_REENTRANT].
21383         * include/resolv.h [_RESOLV_H_]:
21384         Don't include <tls.h>.
21385         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21386         * resolv/res_libc.c: Don't include <tls.h>.
21387         (_res): Use __attribute__ ((nocommon)) in place of
21388         __attribute__ ((section (".bss"))).
21390         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21391         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21393         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21395         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21396         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21398         * resolv/res_mkquery.c: Include <sys/time.h>.
21400         * inet/ifreq.c: Moved to ...
21401         * sysdeps/unix/ifreq.c: ... here.
21402         * inet/ifreq.c: New file, true stub version.
21404         * socket/sa_len.c: New file.
21405         * socket/Makefile (aux): Add it.
21406         * sysdeps/unix/sysv/linux/Makefile
21407         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21408         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21409         and #include <socket/sa_len.c>.
21410         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21411         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21413         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21414         * bits/socket.h: ... here.
21416         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21417         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21418         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21420 2013-08-27  Andreas Schwab  <schwab@suse.de>
21422         [BZ #15736]
21423         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21424         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21425         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21426         * string/test-strcasecmp.c (test_main): Run tests in several
21427         locales.
21428         * string/test-strncasecmp.c (test_main): Likewise.
21430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21431         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21432         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21434         (__strncasecmp_ssse3) [PIC]: Likewise.
21436 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21438         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21440         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21441         instead of explicitly declaring xdecrypt.
21442         * nis/nss_nis/nis-publickey.c: Likewise.
21444 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21446         [BZ #15890]
21447         * nscd/aicache.c: Include res_hconf.h.
21448         (addhstaiX): Initialize res_hconf.
21450 2013-08-26  Andreas Schwab  <schwab@suse.de>
21452         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21453         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21455 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21457         * nscd/aicache.c (addhstaiX): Fix indentation.
21459 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21461         * configure.ac: Quote $build_pt_chown test.
21462         * configure: Regenerated.
21464 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21466         [BZ #15532]
21467         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21468         * math/s_cexpf.c (__cexpf): Likewise.
21469         * math/s_cexpl.c (__cexpl): Likewise.
21470         * math/libm-test.inc (cexp_test_data): Correct expected return
21471         value for NaN + i0.  Add another test.
21473 2013-08-22  David S. Miller  <davem@davemloft.net>
21475         * po/ca.po: Update Catalan translation from translation project.
21476         * po/uk.po: Add Ukrainian translations from translation project.
21478 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21480         [BZ #15797]
21481         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21482         is infinite, not alongside NaN test.
21483         * math/s_fdimf.c (__fdimf): Likewise.
21484         * math/s_fdiml.c (__fdiml): Likewise.
21485         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21486         errno is unchanged.
21488 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21490         * argp/argp-help.c: Fix typos.
21491         * crypt/speeds.c: Likewise.
21492         * csu/check_fds.c: Likewise.
21493         * elf/dl-load.c: Likewise.
21494         * elf/dl-open.c: Likewise.
21495         * elf/reldep3.c: Likewise.
21496         * elf/reldep.c: Likewise.
21497         * elf/sprof.c: Likewise.
21498         * iconv/iconv_charmap.c: Likewise.
21499         * iconv/skeleton.c: Likewise.
21500         * iconv/strtab.c: Likewise.
21501         * io/lockf64.c: Likewise.
21502         * libio/libioP.h: Likewise.
21503         * resolv/gai_notify.c: Likewise.
21504         * resolv/ns_name.c: Likewise.
21505         * resolv/ns_samedomain.c: Likewise.
21506         * resolv/res_send.c: Likewise.
21507         * stdlib/random.c: Likewise.
21508         * sunrpc/rpc/xdr.h: Likewise.
21509         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21510         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21511         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21512         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21513         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21514         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21516         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21517         * sysdeps/mach/hurd/check_fds.c: Likewise.
21518         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21519         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21520         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21522         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21523         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21524         * sysdeps/pthread/aio_notify.c: Likewise.
21525         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21526         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21527         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21528         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21529         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21531 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21533         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21534         version if bit_Slow_SSE4_2 is set.
21535         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21536         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21538 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21540         [BZ #15867]
21541         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21542         trampoline stack frame information.
21543         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21545         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21546         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21547         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21548         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21549         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21550         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21551         sa_flags value.
21552         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21553         interrupting a syscall and set with option SA_SIGINFO.
21555 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21557         [BZ #15531]
21558         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21559         argument is infinite.
21560         * math/s_cprojf.c (__cprojf): Likewise.
21561         * math/s_cprojl.c (__cprojl): Likewise.
21562         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21563         * math/libm-test.inc (cproj_test_data): Add more tests.
21565         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21567         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21568         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21569         size.  Use __ffs to determine corresponding shift.
21571 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21572             Roland McGrath  <roland@hack.frob.com>
21574         * Makefile (INSTALL): Remove trailing blank lines from output of
21575         makeinfo.
21577 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21579         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21580         Align 32 bit compat elf_greg to 8 bytes.
21582 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21584         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21586 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21588         * string/strcoll_l.c (coll_seq): New structure.
21589         (get_next_seq_cached): New function.
21590         (get_next_seq): New function.
21591         (do_compare): New function.
21592         (STRCOLL): Use GNU style definition.  Simplify implementation
21593         by using get_next_seq, get_next_seq_cached and do_compare.
21595 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21597         [BZ #14699]
21598         CVE-2013-4237
21599         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21600         member.
21601         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21602         member.
21603         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21604         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21605         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21606         conditional.
21607         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21608         GETDENTS_64BIT_ALIGNED.
21609         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21610         * manual/filesys.texi (Reading/Closing Directory): Document
21611         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21612         strongly.
21613         * manual/conf.texi (Limits for Files): Add portability note to
21614         NAME_MAX, PATH_MAX.
21615         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21617 2013-08-13  Andreas Schwab  <schwab@suse.de>
21619         [BZ #15749]
21620         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21621         of fabs.
21622         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21623         LDBL_MAX_EXP >= 16384]: Add tests for it.
21625 2013-08-12  David S. Miller  <davem@davemloft.net>
21627         * version.h (RELEASE): Set to "development".
21628         (VERSION): Set to "2.18.90".
21629         * NEWS: Add 2.19 section.
21631 2013-08-03  David S. Miller  <davem@davemloft.net>
21633         * po/ko.po: Update Korean translation from translation project.
21635 2013-08-01  David S. Miller  <davem@davemloft.net>
21637         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21638         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21639         Bilka.
21641 2013-07-30  David S. Miller  <davem@davemloft.net>
21643         * po/fr.po: Update French translation from translation project.
21645 2013-07-28  David S. Miller  <davem@davemloft.net>
21647         * po/cs.po: Update Czech translation from translation project.
21649         * po/sv.po: Update Swedish translation from translation project.
21651 2013-07-27  David S. Miller  <davem@davemloft.net>
21653         * po/eo.po: Update Esperanto translation from translation project.
21655         * po/vi.po: Update Vietnamese translation from translation project.
21657         * po/de.po: Update German translation from translation project.
21659 2013-07-26  David S. Miller  <davem@davemloft.net>
21661         * po/bg.po: Update Bulgarian translation from translation project.
21663         * po/nl.po: Update Dutch translation from translation project.
21664         * po/pl.po: Update Polish translation from translation project.
21665         * po/ru.po: Update Russian translation from translation project.
21667 2013-07-24  David S. Miller  <davem@davemloft.net>
21669         * po/libc.pot: Update.
21671 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21673         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21674         variable page size.
21675         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21676         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21677         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21679 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21681         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21683 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21684             Andreas Schwab  <schwab@suse.de>
21685             Roland McGrath  <roland@hack.frob.com>
21686             Joseph Myers  <joseph@codesourcery.com>
21687             Carlos O'Donell  <carlos@redhat.com>
21689         [BZ #15755]
21690         * config.h.in: Define HAVE_PT_CHOWN.
21691         * config.make.in (build-pt-chown): New variable.
21692         * configure.in (--enable-pt_chown): New configure option.
21693         * configure: Regenerate.
21694         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21695         build-pt-chown is enabled.
21696         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21697         pt_chown to fix pty ownership.
21698         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21699         CLOSE_ALL_FDS.
21700         * manual/install.texi (Configuring and compiling): Mention
21701         --enable-pt_chown. Add @findex for grantpt.
21702         * INSTALL: Regenerate.
21704 2013-07-20  David S. Miller  <davem@davemloft.net>
21706         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21707         difference between 32-bit and 64-bit.
21709 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21711         [BZ #15711]
21712         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21713         Avoid system header dependency with -ffreestanding.
21714         ($(objpfx)bits/syscall%d): Likewise.
21716 2013-07-13  David S. Miller  <davem@davemloft.net>
21718         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21719         underflows from atanl/atan2l due to bug 15319.
21720         (casinh_test_data): Likewise.
21722 2013-07-07  David S. Miller  <davem@davemloft.net>
21724         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21726 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21728         * sysdeps/i386/fpu/libm-test-ulps: Update.
21729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21731 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21733         * configure.in (--enable-lock-elision): Fix message text.
21734         * INSTALL: Regenerate.
21735         * configure: Regenerate.
21737 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21741 2013-07-03  Andreas Jaeger  <aj@suse.de>
21743         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21744         define.
21745         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21746         (ptrace_peeksiginfo_args): Add.
21747         (__ptrace_peeksiginfo_flags): Add.
21748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21752 2013-07-03  Allan McRae  <allan@archlinux.org>
21754         * sysdeps/i386/fpu/libm-test-ulps: Update.
21756 2013-07-02  David S. Miller  <davem@davemloft.net>
21758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21760 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21764 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21766         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21769 2013-07-02  Andi Kleen <ak@linux.intel.com>
21771         * config.h.in (ENABLE_LOCK_ELISION): Add.
21772         * configure.in (--enable-lock-elision): Add option.
21773         * manual/install.texi: Document --enable lock elision.
21774         * configure: Regenerate
21775         * INSTALL: Regenerate.
21777 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21779         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21780         SSE4.2 strcasecmp for libc.a.
21781         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21783 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21785         [BZ #13304]
21786         * soft-fp/op-common.h (_FP_FMA): New macro.
21787         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21788         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21789         (_FP_MUL_MEAT_1_imm): ... here.
21790         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21791         (_FP_MUL_MEAT_1_wide): ... here.
21792         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21793         (_FP_MUL_MEAT_1_hard): ... here.
21794         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21795         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21796         (_FP_MUL_MEAT_2_wide): ... here.
21797         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21798         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21799         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21800         (_FP_MUL_MEAT_2_gmp): ... here.
21801         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21802         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21803         (_FP_MUL_MEAT_4_wide): ... here.
21804         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21805         (_FP_MUL_MEAT_4_gmp): ... here.
21806         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21807         (_FP_WFRACBITS_DW_S): Likewise.
21808         (_FP_WFRACXBITS_DW_S): Likewise.
21809         (_FP_HIGHBIT_DW_S): Likewise.
21810         (FP_FMA_S): Likewise.
21811         (_FP_FRAC_HIGH_DW_S): Likewise.
21812         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21813         (_FP_WFRACBITS_DW_D): Likewise.
21814         (_FP_WFRACXBITS_DW_D): Likewise.
21815         (_FP_HIGHBIT_DW_D): Likewise.
21816         (FP_FMA_D): Likewise.
21817         (_FP_FRAC_HIGH_DW_D): Likewise.
21818         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21819         (_FP_WFRACBITS_DW_E): Likewise.
21820         (_FP_WFRACXBITS_DW_E): Likewise.
21821         (_FP_HIGHBIT_DW_E): Likewise.
21822         (FP_FMA_E): Likewise.
21823         (_FP_FRAC_HIGH_DW_E): Likewise.
21824         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21825         (_FP_WFRACBITS_DW_Q): Likewise.
21826         (_FP_WFRACXBITS_DW_Q): Likewise.
21827         (_FP_HIGHBIT_DW_Q): Likewise.
21828         (FP_FMA_Q): Likewise.
21829         (_FP_FRAC_HIGH_DW_Q): Likewise.
21830         * soft-fp/fmasf4.c: New file.
21831         * soft-fp/fmadf4.c: Likewise.
21832         * soft-fp/fmatf4.c: Likewise.
21834 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21837         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21838         Silvermont.
21839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21840         macro.
21841         (index_Slow_SSE4_2): Likewise.
21842         (index_Prefer_PMINUB_for_stringop): Likewise.
21843         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21844         bit_Slow_SSE4_2 is set.
21845         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21846         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21848 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21850         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21851         rtld_global._dl_hwcap2.
21852         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21853         POWER8.
21854         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21855         POWER8 feature descriptions defined in _dl_hwcap2.
21856         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21857         string handling for POWER8 feature bits.
21858         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21859         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21860         _dl_powerpc_cap_flags.
21861         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21862         * sysdeps/powerpc/rtld-global-offsets.sym
21863         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21864         _dl_hwcap2 in the rtld_global_ro structure.
21866 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21868         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21869         hardware capabilities in support of AT_HWCAP2.
21870         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21871         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21872         GLRO(dl_hwcap2).
21873         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21874         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21875         explicitly the unknown a_type display mechanism is used.
21876         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21877         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21878         struct member.
21879         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21880         to macro prototype for AT_HWCAP2 support.
21881         * sysdeps/i386/dl-procinfo.h: Likewise.
21882         * sysdeps/s390/dl-procinfo.h: Likewise.
21883         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21884         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21885         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21886         return -1 for unknown a_type display fallback.
21887         * sysdeps/sparc/dl-procinfo.h: Likewise.
21888         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21889         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21891 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21893         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21894         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21896 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21898         [BZ #12492]
21899         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21900         mprotect making __stack_prot writable.
21902 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21903             Joseph Myers  <joseph@codesourcery.com>
21905         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21906         as being properly aligned.
21908 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21910         * dlfcn/modstatic5.c: New file.
21911         * dlfcn/tststatic5.c: New file.
21912         * dlfcn/Makefile (tests): Add tststatic5.
21913         (tests-static): Likewise.
21914         (modules-names): Add modstatic5.
21915         (tststatic5-ENV): New variable.
21916         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21918         [BZ #15022]
21919         * elf/dl-support.c (_dl_main_map): New variable.
21920         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21921         (_dl_nns, _dl_load_adds): Set to 1.
21922         (_dl_initial_searchlist): Refer to _dl_main_map.
21923         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21924         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21925         call to _dl_get_origin.
21926         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21927         around call_map.
21928         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21929         * dlfcn/modstatic3.c: New file.
21930         * dlfcn/tststatic3.c: New file.
21931         * dlfcn/tststatic4.c: New file.
21932         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21933         (tests-static): Likewise.
21934         (modules-names): Add modstatic3.
21935         (tststatic3-ENV, tststatic4-ENV): New variables.
21936         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21937         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21939 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21941         * configure.in (CC): Require GCC version 4.4 or later.
21942         * configure: Regenerated.
21943         * manual/install.texi (Tools for Compilation): Update GCC version
21944         requirement.
21945         * INSTALL: Regenerated.
21947 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21949         [BZ #15674]
21950         * string/test-memcmp.c (check2): New.
21951         (main): Call check2.
21953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21955 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21957         [BZ #15022]
21958         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21959         over to...
21960         (dl_open_worker) [!SHARED]: ... here.
21962 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21964         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21966 2013-06-25  Richard Henderson  <rth@redhat.com>
21968         * locale/programs/locarchive.c: Include <libc-internal.h>
21970 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21972         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21973         trailing whitespace removed.
21975 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21977         [BZ #10283]
21978         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21979         * locale/programs/locarchive.c: Include libc-mmap.h.
21980         (prepare_address_space): Take two new outputs (the mmap base and len).
21981         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21982         values.
21983         (create_archive): Declare new mmap base and len values for
21984         prepare_address_space, and store the result in ah.
21985         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21986         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21987         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21988         Declare new mmap base and len values for
21989         prepare_address_space, and store the result in new_ah.
21990         (open_archive): Declare new mmap base and len values for
21991         prepare_address_space, and store the result in ah.
21992         (close_archive): If ah->mmap_base is not NULL, use that and
21993         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21994         * sysdeps/generic/libc-mmap.h: New file.
21996 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21998         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21999         (ALIGN_UP): Likewise.
22000         (PTR_ALIGN_DOWN): Likewise.
22001         (PTR_ALIGN_UP): Likewise.
22003 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22005         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22006         entry mapped to PPC_PLATFORM_POWER8.
22007         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22008         POWER8.
22009         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22010         (_dl_string_platform): Add case for exporting platform position for
22011         POWER8.
22012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22013         search path to sysdeps/powerpc/powerpc32/power8 directory.
22014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22015         search path to sysdeps/powerpc/powerpc64/power8 directory.
22016         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22017         power7 directories.
22018         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22019         power7 directories.
22021 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22023         * INSTALL: Regenerate.
22025         * nscd/connections.c (nscd_init): Fix comment.
22027 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22029         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22031         [BZ #15667]
22032         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22033         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22035 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22037         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22038         DL_DST_REQ_STATIC.
22039         (DL_DST_REQ_STATIC): Remove macro.
22041 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22043         [BZ #7006]
22044         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22045         with a shift of 0 bits.
22047 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22049         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22050         $(tststatic-ENV).
22052 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22054         [BZ #15655]
22055         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22057 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22060         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22061         accepts -fno-tree-loop-distribute-patterns.
22062         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22063         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22064         recursive call.
22065         * string/memset.c (memset): Likewise.
22066         * string/test-memmove.c (simple_memmove): Disable loop transformation
22067         to library calls.
22068         * string/test-memset.c (simple_memset): Likewise.
22069         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22070         * benchtests/bench-memset.c (simple_memset): Likewise.
22071         * configure: Regenerated.
22073 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22075         * math/test-misc.c (main): Ignore fesetround failure when failures
22076         of subsequent rounding tests would be ignored.
22078         [BZ #15654]
22079         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22080         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22081         * math/fegetenv.c (__fegetenv): Return 0.
22082         * math/fegetexcept.c (fegetexcept): Return 0.
22083         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22084         FE_TONEAREST.
22085         * math/feholdexcpt.c (feholdexcept): Return 0.
22086         * math/fesetenv.c (__fesetenv): Return 0.
22087         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22088         argument FE_TONEAREST.
22089         * math/feupdateenv.c (__feupdateenv): Return 0.
22090         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22092 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22094         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22095         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22096         ($(objpfx)rtld-%.os rules): Use them.
22098 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22100         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22101         fields.
22103 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22105         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22106         length of target pattern, then descending length of dependency pattern.
22107         * configure.in (AWK): Require gawk 3.1.2 or newer.
22108         * manual/install.texi (Tools for Compilation): Say that we do.
22109         * configure: Regenerated.
22111         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22112         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22113         * scripts/sysd-rules.awk: ... this new script.
22114         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22115         than a glob-style pattern.
22117 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22119         * math/test-misc.c (main): Do not treat incorrectly rounded
22120         conversions as failure unless ROUNDING_TESTS passes.
22122 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22124         [BZ #15631]
22125         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22126         restore exception state around main square root computation, then
22127         check for inexactness explicitly.
22129         * math/libm-test.inc (fma_test_data): Add another test.
22131 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22133         * manual/threads.texi (Non-POSIX Extensions): New document
22134         node.  Document pthread_getattr_default_np and
22135         pthread_setattr_default_np.
22137         * Versions.def (libpthread): Add GLIBC_2.18.
22138         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22140         Likewise.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22142         Likewise.
22143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22144         Likewise.
22145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22146         Likewise.
22147         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22148         Likewise.
22149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22150         Likewise.
22151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22152         Likewise.
22153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22154         Likewise.
22155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22156         Likewise.
22158 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22161         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22163 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22164             H.J. Lu  <hjl.tools@gmail.com>
22166         [BZ #15627]
22167         * sysdeps/x86_64/rtld-memset.c: Remove file.
22168         * sysdeps/x86_64/rtld-memset.S: New file.
22170 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22172         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22173         (test_in_one_mode): Take arguments for whether the rounding mode
22174         is supported for each floating-point type.
22175         (do_test): Pass new arguments to test_in_one_mode using
22176         ROUNDING_TESTS.
22178 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22180         * posix/tst-waitid.c (do_test): Distinguish different instances of
22181         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22182         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22183         before entering the kernel for waitpid.
22185 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22187         * NEWS: Fix note on clock function precision.  Text by Roland
22188         McGrath.
22190 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22192         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22193         it into place only when and if the sanity check passes.
22195 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22197         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22198         output for whether conversion result is exact.  Take argument
22199         indicating whether type is IBM long double.
22200         (round_for_all): Change need_exact field to ibm_ld.
22201         * stdlib/tst-strtod-round.c (struct exactness): New type.
22202         (struct test): Change bool ld_ok field to struct exactness exact.
22203         (TEST): Update all definitions for change to field.
22204         (tests): Regenerate array contents.
22205         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22206         field value.  Check for IBM long double here.
22207         (do_test): Update calls to test_in_one_mode.
22209 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22211         [BZ #12515]
22212         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22213         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22215 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22217         [BZ #15605]
22218         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22219         generated by the compiler on loop optimizations.
22220         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22221         general definitions.
22223 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22225         * math/bug-nextafter.c: Include <math-tests.h>.
22226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22227         the relevant type.
22228         * math/bug-nexttoward.c: Include <math-tests.h>.
22229         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22230         the relevant type.
22231         * math/test-misc.c: Include <math-tests.h>.
22232         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22233         the relevant type.
22235 2013-06-12  Andreas Jaeger  <aj@suse.de>
22237         * po/ia.po: Update Interlingua translation from translation
22238         project.
22240 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22242         * include/fenv.h: Include stdbool.h.
22243         (struct rm_ctx): New structure.
22244         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22245         Define macro.
22246         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22247         (SET_RESTORE_ROUNDF): Likewise.
22248         (SET_RESTORE_ROUNDL): Likewise.
22249         (SET_RESTORE_ROUND_NOEX): Likewise.
22250         (SET_RESTORE_ROUND_NOEXF): Likewise.
22251         (SET_RESTORE_ROUND_NOEXL): Likewise.
22252         (SET_RESTORE_ROUND_53BIT): Likewise.
22253         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22254         (libc_feresetround_noexf_ctx): Likewise.
22255         (libc_feresetround_noexl_ctx): Likewise.
22256         (libc_feholdsetround_53bit_ctx): Likewise.
22257         (libc_feresetround_53bit_ctx): Likewise.
22258         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22259         (libc_feholdexcept_setround_sse_ctx): New function.
22260         (libc_fesetenv_sse_ctx): Likewise.
22261         (libc_feupdateenv_sse_ctx): Likewise.
22262         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22263         (libc_feholdexcept_setround_387_ctx): Likewise.
22264         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22265         (libc_feholdsetround_387_prec_ctx): Likewise.
22266         (libc_feholdsetround_387_ctx): Likewise.
22267         (libc_feholdsetround_387_53bit_ctx): Likewise.
22268         (libc_feholdsetround_sse_ctx): Likewise.
22269         (libc_feresetround_sse_ctx): Likewise.
22270         (libc_feresetround_387_ctx): Likewise.
22271         (libc_feupdateenv_387_ctx): Likewise.
22272         (libc_feholdexcept_setroundf_ctx): Define macro.
22273         (libc_fesetenvf_ctx): Likewise.
22274         (libc_feupdateenvf_ctx): Likewise.
22275         (libc_feholdsetroundf_ctx): Likewise.
22276         (libc_feresetroundf_ctx): Likewise.
22277         (libc_feholdexcept_setround_ctx): Likewise.
22278         (libc_fesetenv_ctx): Likewise.
22279         (libc_feupdateenv_ctx): Likewise.
22280         (libc_feholdsetround_ctx): Likewise.
22281         (libc_feresetround_ctx): Likewise.
22282         (libc_feholdexcept_setroundl_ctx): Likewise.
22283         (libc_feupdateenvl_ctx): Likewise.
22284         (libc_feholdsetroundl_ctx): Likewise.
22285         (libc_feresetroundl_ctx): Likewise.
22286         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22287         (libc_feresetround_53bit_ctx): Likewise.
22289 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22291         * locale/iso-639.def: Convert to UTF-8.
22293 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22295         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22296         (EXCEPTION_TESTS_double): Likewise.
22297         (EXCEPTION_TESTS_long_double): Likewise.
22298         (EXCEPTION_TESTS): Likewise.
22299         * math/libm-test.inc (test_exceptions): Only test exceptions if
22300         EXCEPTION_TESTS (FLOAT).
22302 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22304         * benchtests/Makefile (string-bench): Add strcpy_chk and
22305         stpcpy_chk.
22306         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22307         * benchtests/bench-stpcpy_chk.c: New file.
22308         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22309         * benchtests/bench-strcpy_chk.c: New file.
22310         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22311         code.
22312         (do_test): Likewise.
22314 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22316         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22317         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22318         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22319         with tabs where appropriate.
22320         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22321         dl-procinfo.h.
22322         [PPC_PLATFORM_PPC440]: Likewise.
22323         [PPC_PLATFORM_PPC464]: Likewise.
22324         [PPC_PLATFORM_PPC476]: Likewise.
22325         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22326         ppc464, and ppc476 platform strings merging from ports/
22327         dl-procinfo.h.
22329 2013-06-11  Andreas Schwab  <schwab@suse.de>
22331         [BZ #14991]
22332         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22333         (from_ucs4_idx): Regenerate.
22334         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22335         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22336         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22337         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22338         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22339         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22340         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22341         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22342         from FROM_LOOP and TO_LOOP specific macros.
22343         (BODY): Handle combining characters.
22344         * iconvdata/BIG5HKSCS.irreversible: Update.
22345         * iconvdata/BIG5HKSCS.precomposed: New file.
22346         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22347         characters.
22348         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22350 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22352         * include/sys/time.h: Fix indentation and add copyright header.
22354         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22355         (do_test): Likewise.
22356         * string/test-memchr.c (do_one_test): Likewise.
22357         (do_test): Likewise.
22358         * string/test-memcmp.c (do_one_test): Likewise.
22359         (do_test): Likewise.
22360         * string/test-memcpy.c (do_one_test): Likewise.
22361         (do_test): Likewise.
22362         * string/test-memmem.c (do_one_test): Likewise.
22363         (do_test): Likewise.
22364         (do_random_tests): Likewise.
22365         * string/test-memmove.c (do_one_test): Likewise.
22366         (do_test): Likewise.
22367         * string/test-memset.c (do_one_test): Likewise.
22368         (do_test): Likewise.
22369         * string/test-rawmemchr.c (do_one_test): Likewise.
22370         (do_test): Likewise.
22371         * string/test-strcasecmp.c (do_one_test): Likewise.
22372         (do_test): Likewise.
22373         * string/test-strcasestr.c (do_one_test): Likewise.
22374         (do_test): Likewise.
22375         * string/test-strcat.c (do_one_test): Likewise.
22376         (do_test): Likewise.
22377         * string/test-strchr.c (do_one_test): Likewise.
22378         (do_test): Likewise.
22379         * string/test-strcmp.c (do_one_test): Likewise.
22380         (do_test): Likewise.
22381         * string/test-strcpy.c (do_one_test): Likewise.
22382         (do_test): Likewise.
22383         * string/test-string.h: Likewise.
22384         (test_init): Likewise.
22385         * string/test-strlen.c (do_one_test): Likewise.
22386         (do_test): Likewise.
22387         * string/test-strncasecmp.c (do_one_test): Likewise.
22388         (do_test): Likewise.
22389         * string/test-strncat.c (do_one_test): Likewise.
22390         (do_test): Likewise.
22391         * string/test-strncmp.c (do_one_test): Likewise.
22392         (do_test_limit): Likewise.
22393         (do_test): Likewise.
22394         * string/test-strncpy.c (do_one_test): Likewise.
22395         (do_test): Likewise.
22396         * string/test-strnlen.c (do_one_test): Likewise.
22397         (do_test): Likewise.
22398         * string/test-strpbrk.c (do_one_test): Likewise.
22399         (do_test): Likewise.
22400         * string/test-strrchr.c (do_one_test): Likewise.
22401         (do_test): Likewise.
22402         * string/test-strspn.c (do_one_test): Likewise.
22403         (do_test): Likewise.
22404         * string/test-strstr.c (do_one_test): Likewise.
22405         (do_test): Likewise.
22407         * benchtests/Makefile (string-bench): Add string benchmarks.
22408         * benchtests/bench-bcopy-ifunc.c: New file.
22409         * benchtests/bench-bcopy.c: New file.
22410         * benchtests/bench-bzero-ifunc.c: New file.
22411         * benchtests/bench-bzero.c: New file.
22412         * benchtests/bench-memccpy-ifunc.c: New file.
22413         * benchtests/bench-memccpy.c: New file.
22414         * benchtests/bench-memchr-ifunc.c: New file.
22415         * benchtests/bench-memchr.c: New file.
22416         * benchtests/bench-memcmp-ifunc.c: New file.
22417         * benchtests/bench-memcmp.c: New file.
22418         * benchtests/bench-memmem-ifunc.c: New file.
22419         * benchtests/bench-memmem.c: New file.
22420         * benchtests/bench-memmove-ifunc.c: New file.
22421         * benchtests/bench-memmove.c: New file.
22422         * benchtests/bench-mempcpy-ifunc.c: New file.
22423         * benchtests/bench-mempcpy.c: New file.
22424         * benchtests/bench-memset-ifunc.c: New file.
22425         * benchtests/bench-memset.c: New file.
22426         * benchtests/bench-rawmemchr-ifunc.c: New file.
22427         * benchtests/bench-rawmemchr.c: New file.
22428         * benchtests/bench-stpcpy-ifunc.c: New file.
22429         * benchtests/bench-stpcpy.c: New file.
22430         * benchtests/bench-stpncpy-ifunc.c: New file.
22431         * benchtests/bench-stpncpy.c: New file.
22432         * benchtests/bench-strcasecmp-ifunc.c: New file.
22433         * benchtests/bench-strcasecmp.c: New file.
22434         * benchtests/bench-strcasestr-ifunc.c: New file.
22435         * benchtests/bench-strcasestr.c: New file.
22436         * benchtests/bench-strcat-ifunc.c: New file.
22437         * benchtests/bench-strcat.c: New file.
22438         * benchtests/bench-strchr-ifunc.c: New file.
22439         * benchtests/bench-strchr.c: New file.
22440         * benchtests/bench-strchrnul-ifunc.c: New file.
22441         * benchtests/bench-strchrnul.c: New file.
22442         * benchtests/bench-strcmp-ifunc.c: New file.
22443         * benchtests/bench-strcmp.c: New file.
22444         * benchtests/bench-strcpy-ifunc.c: New file.
22445         * benchtests/bench-strcpy.c: New file.
22446         * benchtests/bench-strcspn-ifunc.c: New file.
22447         * benchtests/bench-strcspn.c: New file.
22448         * benchtests/bench-strlen-ifunc.c: New file.
22449         * benchtests/bench-strlen.c: New file.
22450         * benchtests/bench-strncasecmp-ifunc.c: New file.
22451         * benchtests/bench-strncasecmp.c: New file.
22452         * benchtests/bench-strncat-ifunc.c: New file.
22453         * benchtests/bench-strncat.c: New file.
22454         * benchtests/bench-strncmp-ifunc.c: New file.
22455         * benchtests/bench-strncmp.c: New file.
22456         * benchtests/bench-strncpy-ifunc.c: New file.
22457         * benchtests/bench-strncpy.c: New file.
22458         * benchtests/bench-strnlen-ifunc.c: New file.
22459         * benchtests/bench-strnlen.c: New file.
22460         * benchtests/bench-strpbrk-ifunc.c: New file.
22461         * benchtests/bench-strpbrk.c: New file.
22462         * benchtests/bench-strrchr-ifunc.c: New file.
22463         * benchtests/bench-strrchr.c: New file.
22464         * benchtests/bench-strspn-ifunc.c: New file.
22465         * benchtests/bench-strspn.c: New file.
22466         * benchtests/bench-strstr-ifunc.c: New file.
22467         * benchtests/bench-strstr.c: New file.
22469         * benchtests/Makefile: Disable parallel execution of targets.
22470         (string-bench): Add memcpy.
22471         (benchset): New variable to store a list of benchmark sets.
22472         (bench-func): Renamed from bench.
22473         (bench-set): New target.
22474         (bench): Depend on bench-func and bench-set.
22475         * benchtests/README: Add section on benchmark sets.
22476         * benchtests/bench-memcpy-ifunc.c: New file.
22477         * benchtests/bench-memcpy.c: New file.
22478         * benchtests/bench-string.h: New file.
22480 2013-06-11  Andreas Schwab  <schwab@suse.de>
22482         [BZ #15577]
22483         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22484         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22485         values in the triple.
22486         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22487         terminator in the group key.
22489 2013-06-11  Andreas Jaeger  <aj@suse.de>
22491         * po/zh_TW.po: Update Chinese (traditional) translation from
22492         translation project.
22494 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22496         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22497         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22498         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22500         (clock_getcpuclockid): Likewise.
22501         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22502         Add weak_alias and libc_hidden_def.
22503         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22504         * rt/clock_gettime.c (clock_gettime): Rename to
22505         __clock_gettime.  Add weak_alias and libc_hidden_def.
22506         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22507         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22508         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22509         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22510         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22511         Likewise.
22512         * rt/clock_settime.c (clock_settime): Rename to
22513         __clock_settime.  Add weak_alias and libc_hidden_def.
22514         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22516 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22518         * mach/err_boot.sub: Remove trailing whitespace.
22519         * mach/err_ipc.sub: Likewise.
22520         * mach/err_mach.sub: Likewise.
22522         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22523         (ROUNDING_TESTS_double): Likewise.
22524         (ROUNDING_TESTS_long_double): Likewise.
22525         (ROUNDING_TESTS): Likewise.
22526         * math/libm-test.inc: Include <math-tests.h>.
22527         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22528         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22529         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22530         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22532 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22534         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22535         of assigning.
22537 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22539         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22540         otherwise empty TRANS lines.
22541         * sysdeps/gnu/errlist.c: Regenerated.
22543         * catgets/gencat.c (error_print): Use (void) in function
22544         definition.
22545         * crypt/crypt_util.c (__init_des): Likewise.
22546         * crypt/speeds.c (Stop): Likewise.
22547         (main): Likewise.
22548         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22549         * inet/ruserpass.c (token): Likewise.
22550         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22551         * intl/localealias.c (extend_alias_table): Likewise.
22552         * intl/plural-exp.c (init_germanic_plural): Likewise.
22553         * libio/fcloseall.c (__fcloseall): Likewise.
22554         * libio/genops.c (_IO_flush_all): Likewise.
22555         (_IO_flush_all_linebuffered): Likewise.
22556         (_IO_cleanup): Likewise.
22557         (_IO_iter_begin): Likewise.
22558         (_IO_iter_end): Likewise.
22559         (_IO_list_lock): Likewise.
22560         (_IO_list_unlock): Likewise.
22561         (_IO_list_resetlock): Likewise.
22562         * libio/getchar.c (getchar): Likewise.
22563         * libio/getchar_u.c (getchar_unlocked): Likewise.
22564         * libio/getwchar.c (getwchar): Likewise.
22565         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22566         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22567         * login/getpt.c (__getpt): Likewise.
22568         * login/tst-utmp.c (main): Likewise.
22569         * malloc/hooks.c (__malloc_check_init): Likewise.
22570         * malloc/malloc.c (__malloc_stats): Likewise.
22571         * malloc/mtrace.c (tr_break): Likewise.
22572         (mtrace): Likewise.
22573         (muntrace): Likewise.
22574         * misc/fstab.c (endfsent): Likewise.
22575         * misc/getclktck.c (__getclktck): Likewise.
22576         * misc/getdtsz.c (__getdtablesize): Likewise.
22577         * misc/gethostid.c (gethostid): Likewise.
22578         * misc/getpagesize.c (__getpagesize): Likewise.
22579         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22580         (__get_nprocs): Likewise.
22581         (__get_phys_pages): Likewise.
22582         (__get_avphys_pages): Likewise.
22583         * misc/getttyent.c (getttyent): Likewise.
22584         (setttyent): Likewise.
22585         (endttyent): Likewise.
22586         * misc/getusershell.c (getusershell): Likewise.
22587         (endusershell): Likewise.
22588         (setusershell): Likewise.
22589         (initshells): Likewise.
22590         * misc/hsearch.c (__hdestroy): Likewise.
22591         * misc/sync.c (sync): Likewise.
22592         * misc/syslog.c (closelog_internal): Likewise.
22593         (closelog): Likewise.
22594         * misc/ttyslot.c (ttyslot): Likewise.
22595         * misc/vhangup.c (vhangup): Likewise.
22596         * posix/fork.c (__fork): Likewise.
22597         * posix/getegid.c (__getegid): Likewise.
22598         * posix/geteuid.c (__geteuid): Likewise.
22599         * posix/getgid.c (__getgid): Likewise.
22600         * posix/getpid.c (__getpid): Likewise.
22601         * posix/getppid.c (__getppid): Likewise.
22602         * posix/getuid.c (__getuid): Likewise.
22603         * posix/pause.c (pause): Likewise.
22604         * posix/setpgrp.c (setpgrp): Likewise.
22605         * posix/setsid.c (__setsid): Likewise.
22606         * posix/test-vfork.c (noop): Likewise.
22607         * resolv/gethnamaddr.c (_endhtent): Likewise.
22608         (_gethtent): Likewise.
22609         (ht_endhostent): Likewise.
22610         (gethostent): Likewise.
22611         (dns_service): Likewise.
22612         * stdlib/drand48.c (drand48): Likewise.
22613         * stdlib/lrand48.c (lrand48): Likewise.
22614         * stdlib/mrand48.c (mrand48): Likewise.
22615         * stdlib/rand.c (rand): Likewise.
22616         * stdlib/random.c (__random): Likewise.
22617         * stdlib/setenv.c (clearenv): Likewise.
22618         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22619         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22620         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22621         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22622         (__get_nprocs): Likewise.
22623         (__get_phys_pages): Likewise.
22624         (__get_avphys_pages): Likewise.
22625         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22626         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22627         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22628         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22629         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22630         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22631         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22632         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22633         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22634         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22635         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22636         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22637         * sysdeps/posix/clock.c (clock): Likewise.
22638         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22639         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22640         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22641         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22642         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22643         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22644         (__get_nprocs_conf): Likewise.
22645         (__get_phys_pages): Likewise.
22646         (__get_avphys_pages): Likewise.
22647         * time/clock.c (clock): Likewise.
22648         * time/tzset.c (__tzname_max): Likewise.
22650 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22652         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22653         (__bswap_32): Do not use "register".
22654         * crypt/crypt.c (_ufc_doit_r): Likewise.
22655         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22656         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22657         * gmon/gmon.c (__monstartup): Likewise.
22658         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22659         * hurd/hurdmalloc.c (more_memory): Likewise.
22660         (malloc): Likewise.
22661         (free): Likewise.
22662         (realloc): Likewise.
22663         (malloc_fork_prepare): Likewise.
22664         (malloc_fork_parent): Likewise.
22665         (malloc_fork_child): Likewise.
22666         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22667         (_svcauth_des): Likewise.
22668         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22669         * inet/inet_net.c (inet_network): Likewise.
22670         * inet/inet_netof.c (inet_netof): Likewise.
22671         * inet/rcmd.c (__validuser2_sa): Likewise.
22672         * io/fts.c (fts_open): Likewise.
22673         (fts_load): Likewise.
22674         (fts_close): Likewise.
22675         (fts_read): Likewise.
22676         (fts_children): Likewise.
22677         (fts_build): Likewise.
22678         (fts_stat): Likewise.
22679         (fts_sort): Likewise.
22680         (fts_alloc): Likewise.
22681         (fts_lfree): Likewise.
22682         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22683         (_IO_file_xsgetn): Likewise.
22684         (_IO_file_xsgetn_mmap): Likewise.
22685         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22686         (_IO_cookie_write): Likewise.
22687         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22688         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22689         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22690         * malloc/obstack.c (_obstack_begin): Likewise.
22691         (_obstack_begin_1): Likewise.
22692         (_obstack_newchunk): Likewise.
22693         (_obstack_allocated_p): Likewise.
22694         (obstack_free): Likewise.
22695         (_obstack_memory_used): Likewise.
22696         * misc/getttyent.c (getttynam): Likewise.
22697         (getttyent): Likewise.
22698         (skip): Likewise.
22699         (value): Likewise.
22700         * misc/getusershell.c (initshells): Likewise.
22701         * misc/syslog.c (__vsyslog_chk): Likewise.
22702         * misc/ttyslot.c (ttyslot): Likewise.
22703         * nis/nis_hash.c (__nis_hash): Likewise.
22704         * posix/fnmatch_loop.c (FCT): Likewise.
22705         * posix/getconf.c (print_all): Likewise.
22706         (main): Likewise.
22707         * posix/getopt.c (exchange): Likewise.
22708         * posix/glob.c (globfree): Likewise.
22709         (prefix_array): Likewise.
22710         (__glob_pattern_type): Likewise.
22711         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22712         (NS_GET32): Likewise.
22713         (NS_PUT16): Likewise.
22714         (NS_PUT32): Likewise.
22715         * resolv/gethnamaddr.c (getanswer): Likewise.
22716         (gethostbyname2): Likewise.
22717         (gethostbyaddr): Likewise.
22718         (_gethtent): Likewise.
22719         (_gethtbyname2): Likewise.
22720         (_gethtbyaddr): Likewise.
22721         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22722         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22723         * resolv/res_init.c (__res_vinit): Likewise.
22724         (net_mask): Likewise.
22725         * resolv/res_mkquery.c (outchar): Likewise.
22726         (PRINT): Likewise.
22727         * stdio-common/printf_fp.c (outchar): Likewise.
22728         (PRINT): Likewise.
22729         * stdio-common/printf_fphex.c (outchar): Likewise.
22730         (PRINT): Likewise.
22731         * stdio-common/printf_size.c (outchar): Likewise.
22732         (PRINT): Likewise.
22733         * stdio-common/test_rdwr.c (main): Likewise.
22734         * stdio-common/tfformat.c (matches): Likewise.
22735         * stdio-common/vfprintf.c (outchar): Likewise.
22736         (printf_unknown): Likewise.
22737         (buffered_vfprintf): Likewise.
22738         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22739         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22740         (ReadFile): Likewise.
22741         * stdlib/qsort.c (SWAP): Likewise.
22742         (_quicksort): Likewise.
22743         * stdlib/setenv.c (__add_to_environ): Likewise.
22744         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22745         * stdlib/strtol_l.c (__strtol_l): Likewise.
22746         * stdlib/tst-strtod.c (main): Likewise.
22747         * stdlib/tst-strtol.c (main): Likewise.
22748         * stdlib/tst-strtoll.c (main): Likewise.
22749         * string/bits/string2.h (__strcmp_cc): Likewise.
22750         (__strcmp_cg): Likewise.
22751         (__strcspn_c1): Likewise.
22752         (__strcspn_c2): Likewise.
22753         (__strcspn_c3): Likewise.
22754         (__strspn_c1): Likewise.
22755         (__strspn_c2): Likewise.
22756         (__strspn_c3): Likewise.
22757         (__strsep_1c): Likewise.
22758         (__strsep_2c): Likewise.
22759         (__strsep_3c): Likewise.
22760         * string/memccpy.c (__memccpy): Likewise.
22761         * string/stpcpy.c (__stpcpy): Likewise.
22762         * string/strcmp.c (strcmp): Likewise.
22763         * string/strrchr.c (strrchr): Likewise.
22764         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22765         Likewise.
22766         * sysdeps/mach/hurd/getcwd.c
22767         (_hurd_canonicalize_directory_name_internal): Likewise.
22768         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22769         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22770         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22771         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22772         Likewise, in both definitions.
22773         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22774         definitions.
22775         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22776         64] (__bswap_64): Likewise.
22777         * time/test_time.c (main): Likewise.
22778         * time/tzfile.c (__tzfile_read): Likewise.
22779         (__tzfile_compute): Likewise.
22780         * time/tzset.c (__tzset_parse_tz): Likewise.
22781         (tzset_internal): Likewise.
22782         (compute_change): Likewise.
22783         * wcsmbs/wcscat.c (__wcscat): Likewise.
22784         * wcsmbs/wcschr.c (wcschr): Likewise.
22785         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22786         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22787         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22788         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22789         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22790         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22791         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22792         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22793         * wcsmbs/wmemset.c (wmemset): Likewise.
22795 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22797         * scripts/config.guess: Update to version 2013-05-16.
22798         * scripts/config.sub: Update to version 2013-04-24.
22799         * scripts/install-sh: Update to version 2011-11-20.07.
22800         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22801         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22803 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22805         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22806         * elf/sln.c: Likewise.
22807         * hurd/hurd/ioctl.h: Likewise.
22808         * hurd/hurdmalloc.c: Likewise.
22809         * hurd/xattr.c: Likewise.
22810         * include/shlib-compat.h: Likewise.
22811         * inet/ruserpass.c: Likewise.
22812         * libio/iofgets_u.c: Likewise.
22813         * libio/iofgetws_u.c: Likewise.
22814         * locale/programs/ld-identification.c: Likewise.
22815         * locale/programs/ld-time.c: Likewise.
22816         * mach/msg-destroy.c: Likewise.
22817         * nss/nss_files/files-netgrp.c: Likewise.
22818         * resolv/res_data.c: Likewise.
22819         * soft-fp/op-1.h: Likewise.
22820         * soft-fp/op-2.h: Likewise.
22821         * soft-fp/op-4.h: Likewise.
22822         * soft-fp/op-common.h: Likewise.
22823         * stdio-common/printf_fphex.c: Likewise.
22824         * stdlib/strtod_l.c: Likewise.
22825         * sunrpc/rpc/clnt.h: Likewise.
22826         * sysdeps/generic/framestate.c: Likewise.
22827         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22828         * sysdeps/i386/bsd-setjmp.S: Likewise.
22829         * sysdeps/i386/__longjmp.S: Likewise.
22830         * sysdeps/i386/setjmp.S: Likewise.
22831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22832         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22833         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22834         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22836         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22838         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22839         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22840         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22841         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22842         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22843         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22844         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22845         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22846         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22847         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22848         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22849         * sysdeps/ieee754/support.c: Likewise.
22850         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22851         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22852         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22853         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22854         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22855         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22856         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22857         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22858         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22859         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22860         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22861         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22863         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22864         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22865         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22866         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22869 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22871         * posix/transbug.c: Remove executable mode.
22873 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22875         * crypt/speeds.c: Remove trailing whitespace.
22876         * dlfcn/default.c: Likewise.
22877         * elf/ifuncdep2.c: Likewise.
22878         * elf/ifuncmain1.c: Likewise.
22879         * elf/ifuncmain1vis.c: Likewise.
22880         * elf/testobj.h: Likewise.
22881         * elf/tst-stackguard1.c: Likewise.
22882         * gmon/sys/gmon.h: Likewise.
22883         * hurd/hurdmsg.c: Likewise.
22884         * hurd/new-fd.c: Likewise.
22885         * hurd/ports-get.c: Likewise.
22886         * iconvdata/ibm1008_420.c: Likewise.
22887         * inet/tst-getni1.c: Likewise.
22888         * inet/tst-getni2.c: Likewise.
22889         * libio/ioungetc.c: Likewise.
22890         * libio/wfiledoalloc.c: Likewise.
22891         * manual/libm-err-tab.pl: Likewise.
22892         * math/w_dremf.c: Likewise.
22893         * misc/ftruncate.c: Likewise.
22894         * posix/bug-glob2.c: Likewise.
22895         * posix/tst-pcre.c: Likewise.
22896         * posix/wait4.c: Likewise.
22897         * resolv/README: Likewise.
22898         * resolv/res_debug.h: Likewise.
22899         * resolv/tst-inet_ntop.c: Likewise.
22900         * setjmp/bug269-setjmp.c: Likewise.
22901         * soft-fp/extended.h: Likewise.
22902         * soft-fp/op-1.h: Likewise.
22903         * soft-fp/op-2.h: Likewise.
22904         * soft-fp/op-4.h: Likewise.
22905         * soft-fp/op-8.h: Likewise.
22906         * soft-fp/testit.c: Likewise.
22907         * stdio-common/bug16.c: Likewise.
22908         * stdlib/random.c: Likewise.
22909         * sunrpc/rpcsvc/rquota.x: Likewise.
22910         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22911         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22912         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22913         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22914         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22915         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22916         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22917         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22918         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22919         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22920         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22921         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22923         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22925         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22926         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22928         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22929         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22930         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22932         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22933         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22934         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22938         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22939         * sysdeps/ieee754/s_lib_version.c: Likewise.
22940         * sysdeps/mach/hurd/check_fds.c: Likewise.
22941         * sysdeps/mach/hurd/getsockname.c: Likewise.
22942         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22943         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22944         * sysdeps/powerpc/bits/link.h: Likewise.
22945         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22946         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22947         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22948         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22949         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22950         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22951         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22952         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22953         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22954         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22955         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22956         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22957         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22958         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22959         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22960         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22963         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22965         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22966         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22967         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22968         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22969         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22970         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22971         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22972         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22973         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22976         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22977         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22978         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22979         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22980         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22981         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22982         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22983         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22984         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22985         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22986         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22987         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22988         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22989         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22990         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22991         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22992         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22993         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22994         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22996         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22997         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22998         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22999         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23000         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23001         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23002         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23003         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23005         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23006         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23007         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23008         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23009         * sysdeps/powerpc/sysdep.h: Likewise.
23010         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23011         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23012         * sysdeps/sh/dl-trampoline.S: Likewise.
23013         * sysdeps/sh/memset.S: Likewise.
23014         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23015         * sysdeps/sh/strlen.S: Likewise.
23016         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23017         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23018         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23019         * sysdeps/sparc/sparc32/rem.S: Likewise.
23020         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23021         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23022         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23023         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23024         * sysdeps/sparc/sparc32/urem.S: Likewise.
23025         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23026         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23027         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23028         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23029         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23030         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23031         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23032         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23033         * sysdeps/unix/bsd/times.c: Likewise.
23034         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23035         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23039         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23040         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23041         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23043         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23044         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23045         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23046         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23047         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23048         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23049         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23050         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23051         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23052         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23053         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23054         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23055         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23056         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23057         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23058         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23059         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23060         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23061         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23062         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23063         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23064         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23065         * sysdeps/x86_64/strcspn.S: Likewise.
23067 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23069         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23070         generated file.  Regenerate properly from gen-translit.pl.
23071         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23072         locale/C-translit.h.
23074 2013-06-05  Andreas Schwab  <schwab@suse.de>
23076         [BZ #15100]
23077         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23078         week as 6 instead of -1.
23079         * time/tst-strptime.c (day_tests): Add test case.
23081 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23083         * sysdeps/generic/math_private.h
23084         (libc_feholdexcept_setround_53bit): Replace with
23085         libc_feholdsetround_53bit.
23086         (libc_feupdateenv_53bit): Replace with
23087         libc_feresetround_53bit.
23088         (SET_RESTORE_ROUND_53BIT): Adjust.
23090 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23092         * string/test-strchrnul.c: Add copyright header.
23094         * posix/tst-getaddrinfo4.c: Increase test timeout.
23096 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23098         [BZ #15536]
23099         * math/libm-test.inc (MAX_EXP): Remove
23100         (MIN_EXP): Define.
23101         (ulp): Use MIN_EXP - MANT_DIG.
23102         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23104 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23106         * po/be.po: Revert last change.
23107         * po/zh_CN.po: Likewise.
23108         * po/header.pot: Likewise.
23110 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23112         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23113         link-libc-deps to empty as target-specific variable.
23114         * Makerules (link-libc-args): New variable.
23115         (libc-for-link): Likewise.
23116         (link-libc-deps): Likewise.
23117         (lib%.so): Depend on $(link-libc-deps).  Link with
23118         $(link-libc-args).
23119         (build-module): Link with $(link-libc-args).
23120         (build-module-asneeded): Likewise.
23121         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23122         list of objects.
23123         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23124         target-specific variable.
23125         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23126         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23127         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23128         libc.
23129         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23130         libc and ld.so.
23131         ($(objpfx)libpcprofile.so): Likewise.
23132         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23133         libc_nonshared.a.
23134         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23135         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23136         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23137         $(link-libc-deps).
23138         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23139         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23140         * login/Makefile ($(objpfx)libutil.so): Likewise.
23141         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23142         * math/Makefile ($(objpfx)libm.so): Likewise.
23143         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23144         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23145         variable instead of depending directly on libc.
23146         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23147         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23148         $(link-libc-deps).
23149         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23150         libc.
23151         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23152         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23153         ($(objpfx)libanl.so): Likewise.
23154         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23155         ld.so.
23156         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23157         $(link-libc-deps).
23158         * sysdeps/i386/fpu/Makefile: Remove file.
23159         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23160         ($(objpfx)libm.so): Remove dependency on ld.so.
23162 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23164         [BZ # 15553]
23165         * nis/yp_xdr.c (XDRMAXNAME): Define.
23166         (XDRMAXRECORD): Define.
23167         (xdr_domainname): Use XDRMAXNAME.
23168         (xdr_mapname): Likewise.
23169         (xdr_peername): Likewise.
23170         (xdr_keydat): Use XDRMAXRECORD.
23171         (xdr_valdat): Likewise.
23173 2013-05-30  Jeff Law  <law@redhat.com>
23175         [BZ #14256]
23176         * manual/errno.texi (ESTALE): Update to account for more than
23177         just NFS file systems.
23178         * sysdeps/gnu/errlist.c: Regenerated.
23180 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23182         [BZ #15465]
23183         * elf/Makefile (tests): Add tst-null-argv.
23184         (modules-names):  Add tst-null-argv-lib.
23185         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23186         (tst-null-argv-ENV): Set environment for tst-null-argv.
23187         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23188         (RTLD_PROGNAME): New macro.
23189         * elf/tst-null-argv.c: New test case.
23190         * elf/tst-null-argv-lib.c: Library for test case.
23191         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23192         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23193         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23194         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23195         * elf/dl-init.c (call_init): Likewise.
23196         (_dl_init): Likewise.
23197         * elf/dl-load.c (print_search_path): Likewise.
23198         (_dl_map_object): Likewise.
23199         * elf/dl-lookup.c (do_lookup_x): Likewise.
23200         (add_dependency): Likewise.
23201         (_dl_lookup_symbol_x): Likewise.
23202         (_dl_debug_bindings): Likewise.
23203         * elf/dl-open.c (_dl_show_scope): Likewise.
23204         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23205         * elf/dl-version.c (match_symbol): Likewise.
23206         (_dl_check_map_versions): Likewise.
23207         * elf/rtld.c (dl_main): Likewise.
23208         (print_unresolved): Use RTLD_PROGNAME.
23209         (print_missing_version): Likewise.
23210         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23211         (elf_machine_rela): Likewise.
23212         * sysdeps/powerpc/powerpc32/dl-machine.c
23213         (__process_machine_rela): Likewise.
23214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23215         Likewise.
23216         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23217         Likewise.
23218         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23219         Likewise.
23220         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23222         Likewise.
23223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23224         Likewise.
23225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23227 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23229         * po/be.po: Add descriptive title.
23230         * po/zh_CN.po: Likewise.
23231         * po/header.pot: Likewise.
23233 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23235         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23236         error message.
23237         (enlarge_archive): Likewise.
23239 2013-05-28  Ben North  <ben@redfrontdoor.org>
23241         * manual/arith.texi (frexp): It is the magnitude of the return
23242         value which lies in [0.5, 1), not the return value itself.
23244 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23248 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23250         * stdio-common/bug26.c (main): Correct fscanf template.
23252         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23253         declare _dl_skip_args.
23255         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23256         Don't declare.
23258         * manual/platform.texi: Add missing @end deftypefun.
23260 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23262         [BZ #15529]
23263         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23264         bit of mantissa of 2^16382.
23265         * math/libm-test.inc (hypot_test_data): Add more tests.
23267         * math/libm-test.inc: Add drem and pow10 to list of tested
23268         functions.
23269         (pow10_test): New function.
23270         (drem_test): Likewise.
23271         (drem_test_tonearest): Likewise.
23272         (drem_test_towardzero): Likewise.
23273         (drem_test_downward): Likewise.
23274         (drem_test_upward): Likewise.
23275         (main): Call the new functions.
23277         * math/libm-test.inc (finite_test_data): Remove.
23278         (finite_test): Run tests from isfinite_test_data.
23279         (gamma_test_data): Remove.
23280         (gamma_test): Run tests from lgamma_test_data.
23281         * sysdeps/i386/fpu/libm-test-ulps: Update.
23282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23284 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23286         * manual/platform.texi: Add PowerPC PPR function set documentation.
23287         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23288         implementation.
23290 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23292         * math/libm-test.inc (MAX_EXP): Define.
23293         (ULPDIFF): Define.
23294         (ulp): New function.
23295         (check_float_internal): Use ULPDIFF.
23296         (cpow_test): Disable failing test.
23297         (check_ulp): Test ulp() implemetnation.
23298         (main): Call check_ulp before starting tests.
23300 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23302         * math/gen-libm-test.pl (generate_testfile): Do not handle
23303         START_DATA and END_DATA.
23304         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23305         END_DATA.
23306         (acos_tonearest_test_data): Likewise.
23307         (acos_towardzero_test_data): Likewise.
23308         (acos_downward_test_data): Likewise.
23309         (acos_upward_test_data): Likewise.
23310         (acosh_test_data): Likewise.
23311         (asin_test_data): Likewise.
23312         (asin_tonearest_test_data): Likewise.
23313         (asin_towardzero_test_data): Likewise.
23314         (asin_downward_test_data): Likewise.
23315         (asin_upward_test_data): Likewise.
23316         (asinh_test_data): Likewise.
23317         (atan_test_data): Likewise.
23318         (atanh_test_data): Likewise.
23319         (atan2_test_data): Likewise.
23320         (cabs_test_data): Likewise.
23321         (cacos_test_data): Likewise.
23322         (cacosh_test_data): Likewise.
23323         (carg_test_data): Likewise.
23324         (casin_test_data): Likewise.
23325         (casinh_test_data): Likewise.
23326         (catan_test_data): Likewise.
23327         (catanh_test_data): Likewise.
23328         (cbrt_test_data): Likewise.
23329         (ccos_test_data): Likewise.
23330         (ccosh_test_data): Likewise.
23331         (ceil_test_data): Likewise.
23332         (cexp_test_data): Likewise.
23333         (cimag_test_data): Likewise.
23334         (clog_test_data): Likewise.
23335         (clog10_test_data): Likewise.
23336         (conj_test_data): Likewise.
23337         (copysign_test_data): Likewise.
23338         (cos_test_data): Likewise.
23339         (cos_tonearest_test_data): Likewise.
23340         (cos_towardzero_test_data): Likewise.
23341         (cos_downward_test_data): Likewise.
23342         (cos_upward_test_data): Likewise.
23343         (cosh_test_data): Likewise.
23344         (cosh_tonearest_test_data): Likewise.
23345         (cosh_towardzero_test_data): Likewise.
23346         (cosh_downward_test_data): Likewise.
23347         (cosh_upward_test_data): Likewise.
23348         (cpow_test_data): Likewise.
23349         (cproj_test_data): Likewise.
23350         (creal_test_data): Likewise.
23351         (csin_test_data): Likewise.
23352         (csinh_test_data): Likewise.
23353         (csqrt_test_data): Likewise.
23354         (ctan_test_data): Likewise.
23355         (ctan_tonearest_test_data): Likewise.
23356         (ctan_towardzero_test_data): Likewise.
23357         (ctan_downward_test_data): Likewise.
23358         (ctan_upward_test_data): Likewise.
23359         (ctanh_test_data): Likewise.
23360         (ctanh_tonearest_test_data): Likewise.
23361         (ctanh_towardzero_test_data): Likewise.
23362         (ctanh_downward_test_data): Likewise.
23363         (ctanh_upward_test_data): Likewise.
23364         (erf_test_data): Likewise.
23365         (erfc_test_data): Likewise.
23366         (exp_test_data): Likewise.
23367         (exp_tonearest_test_data): Likewise.
23368         (exp_towardzero_test_data): Likewise.
23369         (exp_downward_test_data): Likewise.
23370         (exp_upward_test_data): Likewise.
23371         (exp10_test_data): Likewise.
23372         (exp2_test_data): Likewise.
23373         (expm1_test_data): Likewise.
23374         (fabs_test_data): Likewise.
23375         (fdim_test_data): Likewise.
23376         (finite_test_data): Likewise.
23377         (floor_test_data): Likewise.
23378         (fma_test_data): Likewise.
23379         (fma_towardzero_test_data): Likewise.
23380         (fma_downward_test_data): Likewise.
23381         (fma_upward_test_data): Likewise.
23382         (fmax_test_data): Likewise.
23383         (fmin_test_data): Likewise.
23384         (fmod_test_data): Likewise.
23385         (fpclassify_test_data): Likewise.
23386         (frexp_test_data): Likewise.
23387         (gamma_test_data): Likewise.
23388         (hypot_test_data): Likewise.
23389         (ilogb_test_data): Likewise.
23390         (isfinite_test_data): Likewise.
23391         (isgreater_test_data): Likewise.
23392         (isgreaterequal_test_data): Likewise.
23393         (isinf_test_data): Likewise.
23394         (isless_test_data): Likewise.
23395         (islessequal_test_data): Likewise.
23396         (islessgreater_test_data): Likewise.
23397         (isnan_test_data): Likewise.
23398         (isnormal_test_data): Likewise.
23399         (issignaling_test_data): Likewise.
23400         (isunordered_test_data): Likewise.
23401         (j0_test_data): Likewise.
23402         (j1_test_data): Likewise.
23403         (jn_test_data): Likewise.
23404         (ldexp_test_data): Likewise.
23405         (lgamma_test_data): Likewise.
23406         (lrint_test_data): Likewise.
23407         (lrint_tonearest_test_data): Likewise.
23408         (lrint_towardzero_test_data): Likewise.
23409         (lrint_downward_test_data): Likewise.
23410         (lrint_upward_test_data): Likewise.
23411         (llrint_test_data): Likewise.
23412         (llrint_tonearest_test_data): Likewise.
23413         (llrint_towardzero_test_data): Likewise.
23414         (llrint_downward_test_data): Likewise.
23415         (llrint_upward_test_data): Likewise.
23416         (log_test_data): Likewise.
23417         (log10_test_data): Likewise.
23418         (log1p_test_data): Likewise.
23419         (log2_test_data): Likewise.
23420         (logb_test_data): Likewise.
23421         (logb_downward_test_data): Likewise.
23422         (lround_test_data): Likewise.
23423         (llround_test_data): Likewise.
23424         (modf_test_data): Likewise.
23425         (nearbyint_test_data): Likewise.
23426         (nextafter_test_data): Likewise.
23427         (nexttoward_test_data): Likewise.
23428         (pow_test_data): Likewise.
23429         (pow_tonearest_test_data): Likewise.
23430         (pow_towardzero_test_data): Likewise.
23431         (pow_downward_test_data): Likewise.
23432         (pow_upward_test_data): Likewise.
23433         (remainder_test_data): Likewise.
23434         (remainder_tonearest_test_data): Likewise.
23435         (remainder_towardzero_test_data): Likewise.
23436         (remainder_downward_test_data): Likewise.
23437         (remainder_upward_test_data): Likewise.
23438         (remquo_test_data): Likewise.
23439         (rint_test_data): Likewise.
23440         (rint_tonearest_test_data): Likewise.
23441         (rint_towardzero_test_data): Likewise.
23442         (rint_downward_test_data): Likewise.
23443         (rint_upward_test_data): Likewise.
23444         (round_test_data): Likewise.
23445         (scalb_test_data): Likewise.
23446         (scalbn_test_data): Likewise.
23447         (scalbln_test_data): Likewise.
23448         (signbit_test_data): Likewise.
23449         (sin_test_data): Likewise.
23450         (sin_tonearest_test_data): Likewise.
23451         (sin_towardzero_test_data): Likewise.
23452         (sin_downward_test_data): Likewise.
23453         (sin_upward_test_data): Likewise.
23454         (sincos_test_data): Likewise.
23455         (sinh_test_data): Likewise.
23456         (sinh_tonearest_test_data): Likewise.
23457         (sinh_towardzero_test_data): Likewise.
23458         (sinh_downward_test_data): Likewise.
23459         (sinh_upward_test_data): Likewise.
23460         (sqrt_test_data): Likewise.
23461         (tan_test_data): Likewise.
23462         (tan_tonearest_test_data): Likewise.
23463         (tan_towardzero_test_data): Likewise.
23464         (tan_downward_test_data): Likewise.
23465         (tan_upward_test_data): Likewise.
23466         (tanh_test_data): Likewise.
23467         (tgamma_test_data): Likewise.
23468         (trunc_test_data): Likewise.
23469         (y0_test_data): Likewise.
23470         (y1_test_data): Likewise.
23471         (yn_test_data): Likewise.
23472         (significand_test_data): Likewise.
23474         * math/gen-libm-test.pl (@functions): Remove variable.
23475         (generate_testfile): Don't handle START and END lines.
23476         * math/libm-test.inc (START): New macro.
23477         (END): Likewise.
23478         (END_COMPLEX): Likewise.
23479         (acos_test): Use END macro without arguments.
23480         (acos_test_tonearest): Likewise.
23481         (acos_test_towardzero): Likewise.
23482         (acos_test_downward): Likewise.
23483         (acos_test_upward): Likewise.
23484         (acosh_test): Likewise.
23485         (asin_test): Likewise.
23486         (asin_test_tonearest): Likewise.
23487         (asin_test_towardzero): Likewise.
23488         (asin_test_downward): Likewise.
23489         (asin_test_upward): Likewise.
23490         (asinh_test): Likewise.
23491         (atan_test): Likewise.
23492         (atanh_test): Likewise.
23493         (atan2_test): Likewise.
23494         (cabs_test): Likewise.
23495         (cacos_test): Use END_COMPLEX macro without arguments.
23496         (cacosh_test): Likewise.
23497         (carg_test): Use END macro without arguments.
23498         (casin_test): Use END_COMPLEX macro without arguments.
23499         (casinh_test): Likewise.
23500         (catan_test): Likewise.
23501         (catanh_test): Likewise.
23502         (cbrt_test): Use END macro without arguments.
23503         (ccos_test): Use END_COMPLEX macro without arguments.
23504         (ccosh_test): Likewise.
23505         (ceil_test): Use END macro without arguments.
23506         (cexp_test): Use END_COMPLEX macro without arguments.
23507         (cimag_test): Use END macro without arguments.
23508         (clog_test): Use END_COMPLEX macro without arguments.
23509         (clog10_test): Likewise.
23510         (conj_test): Likewise.
23511         (copysign_test): Use END macro without arguments.
23512         (cos_test): Likewise.
23513         (cos_test_tonearest): Likewise.
23514         (cos_test_towardzero): Likewise.
23515         (cos_test_downward): Likewise.
23516         (cos_test_upward): Likewise.
23517         (cosh_test): Likewise.
23518         (cosh_test_tonearest): Likewise.
23519         (cosh_test_towardzero): Likewise.
23520         (cosh_test_downward): Likewise.
23521         (cosh_test_upward): Likewise.
23522         (cpow_test): Use END_COMPLEX macro without arguments.
23523         (cproj_test): Likewise.
23524         (creal_test): Use END macro without arguments.
23525         (csin_test): Use END_COMPLEX macro without arguments.
23526         (csinh_test): Likewise.
23527         (csqrt_test): Likewise.
23528         (ctan_test): Likewise.
23529         (ctan_test_tonearest): Likewise.
23530         (ctan_test_towardzero): Likewise.
23531         (ctan_test_downward): Likewise.
23532         (ctan_test_upward): Likewise.
23533         (ctanh_test): Likewise.
23534         (ctanh_test_tonearest): Likewise.
23535         (ctanh_test_towardzero): Likewise.
23536         (ctanh_test_downward): Likewise.
23537         (ctanh_test_upward): Likewise.
23538         (erf_test): Use END macro without arguments.
23539         (erfc_test): Likewise.
23540         (exp_test): Likewise.
23541         (exp_test_tonearest): Likewise.
23542         (exp_test_towardzero): Likewise.
23543         (exp_test_downward): Likewise.
23544         (exp_test_upward): Likewise.
23545         (exp10_test): Likewise.
23546         (exp2_test): Likewise.
23547         (expm1_test): Likewise.
23548         (fabs_test): Likewise.
23549         (fdim_test): Likewise.
23550         (finite_test): Likewise.
23551         (floor_test): Likewise.
23552         (fma_test): Likewise.
23553         (fma_test_towardzero): Likewise.
23554         (fma_test_downward): Likewise.
23555         (fma_test_upward): Likewise.
23556         (fmax_test): Likewise.
23557         (fmin_test): Likewise.
23558         (fmod_test): Likewise.
23559         (fpclassify_test): Likewise.
23560         (frexp_test): Likewise.
23561         (gamma_test): Likewise.
23562         (hypot_test): Likewise.
23563         (ilogb_test): Likewise.
23564         (isfinite_test): Likewise.
23565         (isgreater_test): Likewise.
23566         (isgreaterequal_test): Likewise.
23567         (isinf_test): Likewise.
23568         (isless_test): Likewise.
23569         (islessequal_test): Likewise.
23570         (islessgreater_test): Likewise.
23571         (isnan_test): Likewise.
23572         (isnormal_test): Likewise.
23573         (issignaling_test): Likewise.
23574         (isunordered_test): Likewise.
23575         (j0_test): Likewise.
23576         (j1_test): Likewise.
23577         (jn_test): Likewise.
23578         (ldexp_test): Likewise.
23579         (lgamma_test): Likewise.
23580         (lrint_test): Likewise.
23581         (lrint_test_tonearest): Likewise.
23582         (lrint_test_towardzero): Likewise.
23583         (lrint_test_downward): Likewise.
23584         (lrint_test_upward): Likewise.
23585         (llrint_test): Likewise.
23586         (llrint_test_tonearest): Likewise.
23587         (llrint_test_towardzero): Likewise.
23588         (llrint_test_downward): Likewise.
23589         (llrint_test_upward): Likewise.
23590         (log_test): Likewise.
23591         (log10_test): Likewise.
23592         (log1p_test): Likewise.
23593         (log2_test): Likewise.
23594         (logb_test): Likewise.
23595         (logb_test_downward): Likewise.
23596         (lround_test): Likewise.
23597         (llround_test): Likewise.
23598         (modf_test): Likewise.
23599         (nearbyint_test): Likewise.
23600         (nextafter_test): Likewise.
23601         (nexttoward_test): Likewise.
23602         (pow_test): Likewise.
23603         (pow_test_tonearest): Likewise.
23604         (pow_test_towardzero): Likewise.
23605         (pow_test_downward): Likewise.
23606         (pow_test_upward): Likewise.
23607         (remainder_test): Likewise.
23608         (remainder_test_tonearest): Likewise.
23609         (remainder_test_towardzero): Likewise.
23610         (remainder_test_downward): Likewise.
23611         (remainder_test_upward): Likewise.
23612         (remquo_test): Likewise.
23613         (rint_test): Likewise.
23614         (rint_test_tonearest): Likewise.
23615         (rint_test_towardzero): Likewise.
23616         (rint_test_downward): Likewise.
23617         (rint_test_upward): Likewise.
23618         (round_test): Likewise.
23619         (scalb_test): Likewise.
23620         (scalbn_test): Likewise.
23621         (scalbln_test): Likewise.
23622         (signbit_test): Likewise.
23623         (sin_test): Likewise.
23624         (sin_test_tonearest): Likewise.
23625         (sin_test_towardzero): Likewise.
23626         (sin_test_downward): Likewise.
23627         (sin_test_upward): Likewise.
23628         (sincos_test): Likewise.
23629         (sinh_test): Likewise.
23630         (sinh_test_tonearest): Likewise.
23631         (sinh_test_towardzero): Likewise.
23632         (sinh_test_downward): Likewise.
23633         (sinh_test_upward): Likewise.
23634         (sqrt_test): Likewise.
23635         (tan_test): Likewise.
23636         (tan_test_tonearest): Likewise.
23637         (tan_test_towardzero): Likewise.
23638         (tan_test_downward): Likewise.
23639         (tan_test_upward): Likewise.
23640         (tanh_test): Likewise.
23641         (tgamma_test): Likewise.
23642         (trunc_test): Likewise.
23643         (y0_test): Likewise.
23644         (y1_test): Likewise.
23645         (yn_test): Likewise.
23646         (significand_test): Likewise.
23648 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23650         [BZ #15381]
23651         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23653 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23655         [BZ #14894]
23656         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23657         __ppc_mdoio and __ppc_mdoom.
23658         * manual/platform.texi: Document new functions __ppc_yield,
23659         __ppc_mdoio and __ppc_mdoom.
23661 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23663         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23664         (main): Mention "tls" pseudo-hwcap is legacy.
23665         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23667 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23669         * math/gen-libm-test.pl (parse_args): Output only string of
23670         arguments as text for test name, not full call or descriptions of
23671         tests for extra outputs.
23672         (generate_testfile): Do not pass function name to parse_args.
23673         Generate this_func variable from START.
23674         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23675         field to arg_str.
23676         (struct test_ff_f_data): Likewise.
23677         (test_ff_f_data_nexttoward): Likewise.
23678         (struct test_fi_f_data): Likewise.
23679         (struct test_fl_f_data): Likewise.
23680         (struct test_if_f_data): Likewise.
23681         (struct test_fff_f_data): Likewise.
23682         (struct test_c_f_data): Likewise.
23683         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23684         (struct test_fF_f1_data): Likewise.
23685         (struct test_ffI_f1_data): Likewise.
23686         (struct test_c_c_data): Rename test_name field to arg_str.
23687         (struct test_cc_c_data): Likewise.
23688         (struct test_f_i_data): Likewise.
23689         (struct test_ff_i_data): Likewise.
23690         (struct test_f_l_data): Likewise.
23691         (struct test_f_L_data): Likewise.
23692         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23693         and extra2_name.
23694         (COMMON_TEST_SETUP): New macro.
23695         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23696         (COMMON_TEST_CLEANUP): Likewise.
23697         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23698         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23699         macros.
23700         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23701         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23702         macros.
23703         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23704         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23705         cleanup macros.
23706         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23707         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23708         macros.
23709         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23710         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23711         macros.
23712         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23713         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23714         cleanup macros.
23715         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23716         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23717         cleanup macros.
23718         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23719         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23720         cleanup macros.
23721         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23722         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23723         macros.
23724         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23725         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23726         macros.
23727         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23728         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23729         macros.
23730         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23731         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23732         cleanup macros.
23733         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23734         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23735         cleanup macros.
23736         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23737         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23738         macros.
23739         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23740         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23741         cleanup macros.
23742         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23743         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23744         macros.
23745         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23746         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23747         macros.
23748         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23749         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23750         cleanup macros.
23751         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23753 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23755         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23756         to _sifields.sigfault.
23757         (si_addr_lsb): Define new macro.
23758         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23760         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23762 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23764         [BZ #15441]
23765         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23766         returns -1.
23767         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23768         null return -1.
23769         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23770         loading the domain.
23772 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23774         * math/gen-libm-test.pl (parse_args): Do not include expected
23775         result in test name.
23776         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23778         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23779         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23780         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23783 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23785         * benchtests/Makefile: Sort function entries.
23787         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23788         tanh, asinh, acosh, atanh.
23789         * benchtests/acos-inputs: New file.
23790         * benchtests/acosh-inputs: New file.
23791         * benchtests/asin-inputs: New file.
23792         * benchtests/asinh-inputs: New file.
23793         * benchtests/atanh-inputs: New file.
23794         * benchtests/cosh-inputs: New file.
23795         * benchtests/log-inputs: New file.
23796         * benchtests/sinh-inputs: New file.
23797         * benchtests/tanh-inputs: New file.
23799 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23801         [BZ #15339]
23802         * posix/tst-getaddrinfo4.c: New test.
23803         * posix/Makefile (tests): Add it.
23805 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23807         [BZ #15339]
23808         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23809         when no services were used.
23810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23811         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23813 2013-05-21  Andreas Schwab  <schwab@suse.de>
23815         [BZ #15014]
23816         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23817         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23818         successful.
23819         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23820         redundant variable declarations and reallocation of buffer when
23821         parsing as IPv6 address.  Always set NSS status when called from
23822         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23823         buffer too small.  Correct computation of needed size.
23824         * nss/Makefile (tests): Add test-digits-dots.
23825         * nss/test-digits-dots.c: New test.
23827 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23829         * benchtests/Makefile: Remove instructions for adding
23830         benchmark tests.
23831         * benchtests/README: New file to explain how to execute and
23832         enhance the benchmark tests.
23834 2013-05-21  Andreas Schwab  <schwab@suse.de>
23836         [BZ #15493]
23837         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23838         * setjmp/tst-sigsetjmp.c: New test.
23840 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23842         * sysdeps/x86_64/memset.S (memset): New implementation.
23843         (__bzero): Likewise.
23844         (__memset_tail): New function.
23846 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23848         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23849         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23850         __memcpy_sse2_unaligned ifunc selection.
23851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23852         Add memcpy-sse2-unaligned.S.
23853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23854         Add: __memcpy_sse2_unaligned.
23856 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23858         [BZ #15490]
23859         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23860         math_force_eval before restoring floating-point envrionment.
23861         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23862         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23863         Likewise.
23864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23865         <math_private.h>.
23866         (__nearbyintl): Use math_force_eval before restoring
23867         floating-point environment.
23868         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23870         * math/gen-libm-test.pl (special_functions): Remove.
23871         (parse_args): Don't handle TEST_extra.  Handle functions with no
23872         return value.
23873         * math/libm-test.inc (struct test_sincos_data): Replace with
23874         struct test_fFF_11_data.
23875         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23876         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23877         (sincos_test_data): Change element type to struct
23878         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23879         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23880         RUN_TEST_LOOP_sincos.
23881         * math/README.libm-test: Don't mention special handling of
23882         individual functions.
23883         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23885         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23886         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23887         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23890         * math/gen-libm-test.pl (get_variable): Remove function.
23891         (parse_args): Don't show pointer parameters to call in test
23892         names.  Use "extra output N" in test names for extra outputs
23893         rather than naming variables.
23895 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23897         [BZ #15488]
23898         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23899         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23900         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23901         double tests.
23902         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23903         disable.
23904         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23905         check_long_double.
23907         * math/gen-libm-test.pl (@tests): Remove variable.
23908         ($count): Likewise.
23909         (new_test): Remove function.
23910         (show_exceptions): New function.
23911         (special_functions): Use show_exceptions instead of new_test.
23912         (parse_args): Likewise.
23913         (generate_testfile): Pass only function name in generated call to
23914         print_max_error or print_complex_max_error.
23915         (get_ulps): Do not handle complex tests specially.
23916         (output_test): Rename to ...
23917         (get_all_ulps_for_test): ... this.  Return a string rather than
23918         printing to a file.  Require ulps to be present.
23919         (output_ulps): Generate arrays rather than #defines.
23920         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23921         (struct ulp_data): New type.
23922         (BUILD_COMPLEX_ULP): Remove macro.
23923         (compare_ulp_data): New function.
23924         (find_ulps): Likewise.
23925         (find_test_ulps): Likewise.
23926         (find_function_ulps): Likewise.
23927         (find_complex_function_ulps): Likewise.
23928         (print_max_error): Determine allowed ulps using
23929         find_function_ulps.
23930         (print_complex_max_error): Determine allowed ulps using
23931         find_complex_function_ulps.
23932         (check_float_internal): Determine max ulps using find_test_ulps.
23933         (check_float): Do not take max_ulp parameter.  Update call to
23934         check_float_internal.
23935         (check_complex): Likewise.
23936         (check_int): Do not take max_ulp parameter.
23937         (check_long): Likewise.
23938         (check_bool): Likewise.
23939         (check_longlong): Likewise.
23940         (struct test_f_f_data): Remove max_ulp field.
23941         (struct test_ff_f_data): Likewise.
23942         (struct test_ff_f_data_nexttoward): Likewise.
23943         (struct test_fi_f_data): Likewise.
23944         (struct test_fl_f_data): Likewise.
23945         (struct test_if_f_data): Likewise.
23946         (struct test_fff_f_data): Likewise.
23947         (struct test_c_f_data): Likewise.
23948         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23949         (struct test_fF_f1_data): Likewise.
23950         (struct test_ffI_f1_data): Likewise.
23951         (struct test_c_c_data): Remove max_ulp field.
23952         (struct test_cc_c_data): Likewise.
23953         (struct test_f_i_data): Likewise.
23954         (struct test_ff_i_data): Likewise.
23955         (struct test_f_l_data): Likewise.
23956         (struct test_f_L_data): Likewise.
23957         (struct test_sincos_data): Likewise.
23958         (RUN_TEST_f_f): Do not handle ulps.
23959         (RUN_TEST_LOOP_f_f): Likewise.
23960         (RUN_TEST_2_f): Likewise.
23961         (RUN_TEST_LOOP_2_f): Likewise.
23962         (RUN_TEST_fff_f): Likewise.
23963         (RUN_TEST_LOOP_fff_f): Likewise.
23964         (RUN_TEST_c_f): Likewise.
23965         (RUN_TEST_LOOP_c_f): Likewise.
23966         (RUN_TEST_f_f1): Likewise.
23967         (RUN_TEST_LOOP_f_f1): Likewise.
23968         (RUN_TEST_fF_f1): Likewise.
23969         (RUN_TEST_LOOP_fF_f1): Likewise.
23970         (RUN_TEST_fI_f1): Likewise.
23971         (RUN_TEST_LOOP_fI_f1): Likewise.
23972         (RUN_TEST_ffI_f1): Likewise.
23973         (RUN_TEST_LOOP_ffI_f1): Likewise.
23974         (RUN_TEST_c_c): Likewise.
23975         (RUN_TEST_LOOP_c_c): Likewise.
23976         (RUN_TEST_cc_c): Likewise.
23977         (RUN_TEST_LOOP_cc_c): Likewise.
23978         (RUN_TEST_f_i): Likewise.
23979         (RUN_TEST_LOOP_f_i): Likewise.
23980         (RUN_TEST_f_i_tg): Likewise.
23981         (RUN_TEST_LOOP_f_i_tg): Likewise.
23982         (RUN_TEST_ff_i_tg): Likewise.
23983         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23984         (RUN_TEST_f_b): Likewise.
23985         (RUN_TEST_LOOP_f_b): Likewise.
23986         (RUN_TEST_f_b_tg): Likewise.
23987         (RUN_TEST_LOOP_f_b_tg): Likewise.
23988         (RUN_TEST_f_l): Likewise.
23989         (RUN_TEST_LOOP_f_l): Likewise.
23990         (RUN_TEST_f_L): Likewise.
23991         (RUN_TEST_LOOP_f_L): Likewise.
23992         (RUN_TEST_sincos): Likewise.
23993         (RUN_TEST_LOOP_sincos): Likewise.
23995 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23997         [BZ #15480]
23998         [BZ #15485]
23999         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24000         main case of finite arguments, set rounding mode to FE_TONEAREST
24001         and discard exceptions.
24002         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24003         exceptions.
24004         (remainder_tonearest_test_data): New variable.
24005         (remainder_test_tonearest): New function.
24006         (remainder_towardzero_test_data): New variable.
24007         (remainder_test_towardzero): New function.
24008         (remainder_downward_test_data): New variable.
24009         (remainder_test_downward): New function.
24010         (remainder_upward_test_data): New variable.
24011         (remainder_test_upward): New function.
24012         (main): Call the new test functions.
24014         * math/libm-test.inc (struct test_f_f1_data): Remove field
24015         extra_init.
24016         (struct test_fF_f1_data): Likewise.
24017         (struct test_ffI_f1_data): Likewise.
24018         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24019         based on value of EXTRA_EXPECTED.
24020         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24021         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24022         EXTRA_VAR based on value of EXTRA_EXPECTED.
24023         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24024         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24025         EXTRA_VAR based on value of EXTRA_EXPECTED.
24026         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24027         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24028         EXTRA_VAR based on value of EXTRA_EXPECTED.
24029         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24030         * math/gen-libm-test.pl (parse_args): Don't output initializers
24031         for extra output values.
24033         * math/libm-test.inc (check_int): Expect result to be exactly
24034         equal to expected value and do not handle ulps.
24035         (check_long): Likewise.
24036         (check_longlong): Likewise.
24038         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24039         exceptions.
24040         (cimag_test_data): Likewise.
24041         (conj_test_data): Likewise.
24042         (copysign_test_data): Likewise.
24043         (cproj_test_data): Likewise.
24044         (creal_test_data): Likewise.
24045         (fabs_test_data): Likewise.
24046         (fdim_test_data): Likewise.
24047         (finite_test_data): Likewise.
24048         (floor_test_data): Likewise.
24049         (fmax_test_data): Likewise.
24050         (fmin_test_data): Likewise.
24051         (fmod_test_data): Likewise.
24052         (fpclassify_test_data): Likewise.
24053         (frexp_test_data): Likewise.
24054         (ilogb_test_data): Likewise.
24055         (isfinite_test_data): Likewise.
24056         (isgreater_test_data): Likewise.
24057         (isgreaterequal_test_data): Likewise.
24058         (isinf_test_data): Likewise.
24059         (isless_test_data): Likewise.
24060         (islessequal_test_data): Likewise.
24061         (islessgreater_test_data): Likewise.
24062         (isnan_test_data): Likewise.
24063         (isnormal_test_data): Likewise.
24064         (issignaling_test_data): Likewise.
24065         (isunordered_test_data): Likewise.
24066         (ldexp_test_data): Likewise.
24067         (lrint_test_data): Likewise.
24068         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24069         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24070         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24071         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24072         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24073         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24074         test input.
24075         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24076         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24077         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24078         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24079         that test input.
24080         (lrint_downward_test_data): Test for "inexact" exceptions.
24081         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24082         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24083         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24084         test input.
24085         (lrint_upward_test_data): Test for "inexact" exceptions.
24086         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24087         test input.
24088         (llrint_test_data): Test for "inexact" exceptions.
24089         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24090         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24091         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24092         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24093         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24094         (llrint_downward_test_data): Test for "inexact" exceptions.
24095         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24096         (llrint_upward_test_data): Test for "inexact" exceptions.
24097         (logb_test_data): Likewise.
24098         (logb_downward_test_data): Likewise.
24099         (nextafter_test_data): Likewise.
24100         (nexttoward_test_data): Likewise.
24101         (remainder_test_data): Likewise.
24102         (remquo_test_data): Likewise.
24103         (scalbn_test_data): Likewise.
24104         (scalbln_test_data): Likewise.
24105         (signbit_test_data): Likewise.
24106         (sqrt_test_data): Likewise.
24107         (significand_test_data): Likewise.
24109 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24111         [BZ #15424]
24112         * benchtests/bench-modf.c (struct args): Mark arg0 as
24113         volatile.
24114         * scripts/bench.pl: Mark members of struct args as volatile.
24116 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24118         [BZ # 15497]
24119         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24120         negative infinity on POWER6 or lower.
24121         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24123 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24125         [BZ #15442]
24126         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24127         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24128         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24129         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24130         (_FP_SETQNAN): New macro.
24131         (_FP_SETQNAN_SEMIRAW): Likewise.
24132         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24133         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24134         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24135         (FP_EXTEND): Use _FP_FRAC_SNANP.
24136         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24137         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24138         into account.
24139         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24140         New macro.
24141         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24142         Likewise.
24144 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24146         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24147         with DIVIDE_BY_ZERO_EXCEPTION.
24148         (gamma_test_data): Likewise.
24149         (lgamma_test_data): Likewise.
24150         (log_test_data): Likewise.
24151         (log10_test_data): Likewise.
24152         (log2_test_data): Likewise.
24153         (tgamma_test_data): Likewise.
24155         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24156         (acos_test_tonearest): Likewise.
24157         (acos_test_towardzero): Likewise.
24158         (acos_test_downward): Likewise.
24159         (acos_test_upward): Likewise.
24160         (acosh_test): Likewise.
24161         (asin_test): Likewise.
24162         (asin_test_tonearest): Likewise.
24163         (asin_test_towardzero): Likewise.
24164         (asin_test_downward): Likewise.
24165         (asin_test_upward): Likewise.
24166         (asinh_test): Likewise.
24167         (atan_test): Likewise.
24168         (atanh_test): Likewise.
24169         (atan2_test): Likewise.
24170         (cabs_test): Likewise.
24171         (cacos_test): Likewise.
24172         (cacosh_test): Likewise.
24173         (casin_test): Likewise.
24174         (casinh_test): Likewise.
24175         (catan_test): Likewise.
24176         (catanh_test): Likewise.
24177         (cbrt_test): Likewise.
24178         (ccos_test): Likewise.
24179         (ccosh_test): Likewise.
24180         (cexp_test): Likewise.
24181         (clog_test): Likewise.
24182         (clog10_test): Likewise.
24183         (cos_test): Likewise.
24184         (cos_test_tonearest): Likewise.
24185         (cos_test_towardzero): Likewise.
24186         (cos_test_downward): Likewise.
24187         (cos_test_upward): Likewise.
24188         (cosh_test): Likewise.
24189         (cosh_test_tonearest): Likewise.
24190         (cosh_test_towardzero): Likewise.
24191         (cosh_test_downward): Likewise.
24192         (cosh_test_upward): Likewise.
24193         (cpow_test): Likewise.
24194         (csin_test): Likewise.
24195         (csinh_test): Likewise.
24196         (csqrt_test): Likewise.
24197         (ctan_test): Likewise.
24198         (ctan_test_tonearest): Likewise.
24199         (ctan_test_towardzero): Likewise.
24200         (ctan_test_downward): Likewise.
24201         (ctan_test_upward): Likewise.
24202         (ctanh_test): Likewise.
24203         (ctanh_test_tonearest): Likewise.
24204         (ctanh_test_towardzero): Likewise.
24205         (ctanh_test_downward): Likewise.
24206         (ctanh_test_upward): Likewise.
24207         (erf_test): Likewise.
24208         (erfc_test): Likewise.
24209         (exp_test): Likewise.
24210         (exp_test_tonearest): Likewise.
24211         (exp_test_towardzero): Likewise.
24212         (exp_test_downward): Likewise.
24213         (exp_test_upward): Likewise.
24214         (exp10_test): Likewise.
24215         (exp2_test): Likewise.
24216         (expm1_test): Likewise.
24217         (fmod_test): Likewise.
24218         (gamma_test): Likewise.
24219         (hypot_test): Likewise.
24220         (j0_test): Likewise.
24221         (j1_test): Likewise.
24222         (jn_test): Likewise.
24223         (lgamma_test): Likewise.
24224         (log_test): Likewise.
24225         (log10_test): Likewise.
24226         (log1p_test): Likewise.
24227         (log2_test): Likewise.
24228         (logb_test_downward): Likewise.
24229         (pow_test): Likewise.
24230         (pow_test_tonearest): Likewise.
24231         (pow_test_towardzero): Likewise.
24232         (pow_test_downward): Likewise.
24233         (pow_test_upward): Likewise.
24234         (remainder_test): Likewise.
24235         (remquo_test): Likewise.
24236         (sin_test): Likewise.
24237         (sin_test_tonearest): Likewise.
24238         (sin_test_towardzero): Likewise.
24239         (sin_test_downward): Likewise.
24240         (sin_test_upward): Likewise.
24241         (sincos_test): Likewise.
24242         (sinh_test): Likewise.
24243         (sinh_test_tonearest): Likewise.
24244         (sinh_test_towardzero): Likewise.
24245         (sinh_test_downward): Likewise.
24246         (sinh_test_upward): Likewise.
24247         (sqrt_test): Likewise.
24248         (tan_test): Likewise.
24249         (tan_test_tonearest): Likewise.
24250         (tan_test_towardzero): Likewise.
24251         (tan_test_downward): Likewise.
24252         (tan_test_upward): Likewise.
24253         (tanh_test): Likewise.
24254         (tgamma_test): Likewise.
24255         (y0_test): Likewise.
24256         (y1_test): Likewise.
24257         (yn_test): Likewise.
24259         * math/gen-libm-test.pl (adjust_arg): Remove function.
24260         (special_function): Remove argument $in_func.  Only handle
24261         generating output for tables of tests, not inside functions.
24262         (parse_args): Likewise.
24263         (generate_testfile): Remove variable $in_func.  Update call to
24264         parse_args.
24265         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24266         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24267         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24268         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24269         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24270         (MAX_VALUE_INIT): Rename macro to max_value.
24271         (MIN_VALUE_INIT): Rename macro to min_value.
24272         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24273         (plus_zero): Remove variable.
24274         (minus_zero): Likewise.
24275         (plus_infty): Likewise.
24276         (minus_infty): Likewise.
24277         (qnan_value): Likewise.
24278         (max_value): Likewise.
24279         (min_value): Likewise.
24280         (min_subnorm_value): Likewise.
24282 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24284         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24285         uint64_t or uint32_t usage.
24286         * crypt/sha256-block.c: Likewise.
24287         * crypt/sha256-crypt.c: Likewise.
24288         * crypt/sha256.c: Likewise.
24289         * crypt/sha512-block.c: Likewise.
24290         * crypt/sha512-crypt.c: Likewise.
24291         * crypt/sha512.c: Likewise.
24292         * debug/backtrace-tst.c: Likewise.
24293         * debug/pcprofiledump.c: Likewise.
24294         * elf/cache.c: Likewise.
24295         * elf/dl-cache.c: Likewise.
24296         * elf/dl-misc.c: Likewise.
24297         * elf/dl-profile.c: Likewise.
24298         * elf/dl-support.c: Likewise.
24299         * elf/ldconfig.c: Likewise.
24300         * elf/sprof.c: Likewise.
24301         * iconv/dummy-repertoire.c: Likewise.
24302         * iconv/iconv_charmap.c: Likewise.
24303         * iconv/skeleton.c: Likewise.
24304         * iconvdata/8bit-generic.c: Likewise.
24305         * iconvdata/cp737.h: Likewise.
24306         * iconvdata/cp775.h: Likewise.
24307         * iconvdata/ibm1008.h: Likewise.
24308         * iconvdata/ibm1025.h: Likewise.
24309         * iconvdata/ibm1046.h: Likewise.
24310         * iconvdata/ibm1097.h: Likewise.
24311         * iconvdata/ibm1112.h: Likewise.
24312         * iconvdata/ibm1122.h: Likewise.
24313         * iconvdata/ibm1123.h: Likewise.
24314         * iconvdata/ibm1124.h: Likewise.
24315         * iconvdata/ibm1129.h: Likewise.
24316         * iconvdata/ibm1130.h: Likewise.
24317         * iconvdata/ibm1132.h: Likewise.
24318         * iconvdata/ibm1133.h: Likewise.
24319         * iconvdata/ibm1137.h: Likewise.
24320         * iconvdata/ibm1140.h: Likewise.
24321         * iconvdata/ibm1141.h: Likewise.
24322         * iconvdata/ibm1142.h: Likewise.
24323         * iconvdata/ibm1143.h: Likewise.
24324         * iconvdata/ibm1144.h: Likewise.
24325         * iconvdata/ibm1145.h: Likewise.
24326         * iconvdata/ibm1146.h: Likewise.
24327         * iconvdata/ibm1147.h: Likewise.
24328         * iconvdata/ibm1148.h: Likewise.
24329         * iconvdata/ibm1149.h: Likewise.
24330         * iconvdata/ibm1153.h: Likewise.
24331         * iconvdata/ibm1154.h: Likewise.
24332         * iconvdata/ibm1155.h: Likewise.
24333         * iconvdata/ibm1156.h: Likewise.
24334         * iconvdata/ibm1157.h: Likewise.
24335         * iconvdata/ibm1158.h: Likewise.
24336         * iconvdata/ibm1160.h: Likewise.
24337         * iconvdata/ibm1161.h: Likewise.
24338         * iconvdata/ibm1162.h: Likewise.
24339         * iconvdata/ibm1163.h: Likewise.
24340         * iconvdata/ibm1164.h: Likewise.
24341         * iconvdata/ibm1166.h: Likewise.
24342         * iconvdata/ibm1167.h: Likewise.
24343         * iconvdata/ibm12712.h: Likewise.
24344         * iconvdata/ibm1390.h: Likewise.
24345         * iconvdata/ibm1399.h: Likewise.
24346         * iconvdata/ibm16804.h: Likewise.
24347         * iconvdata/ibm4517.h: Likewise.
24348         * iconvdata/ibm4899.h: Likewise.
24349         * iconvdata/ibm4909.h: Likewise.
24350         * iconvdata/ibm4971.h: Likewise.
24351         * iconvdata/ibm5347.h: Likewise.
24352         * iconvdata/ibm803.h: Likewise.
24353         * iconvdata/ibm856.h: Likewise.
24354         * iconvdata/ibm901.h: Likewise.
24355         * iconvdata/ibm902.h: Likewise.
24356         * iconvdata/ibm9030.h: Likewise.
24357         * iconvdata/ibm9066.h: Likewise.
24358         * iconvdata/ibm921.h: Likewise.
24359         * iconvdata/ibm922.h: Likewise.
24360         * iconvdata/ibm9448.h: Likewise.
24361         * iconvdata/isiri-3342.h: Likewise.
24362         * iconvdata/jis0201.h: Likewise.
24363         * include/link.h: Likewise.
24364         * include/netdb.h: Likewise.
24365         * inet/check_native.c: Likewise.
24366         * inet/check_pf.c: Likewise.
24367         * inet/getipv4sourcefilter.c: Likewise.
24368         * inet/getnameinfo.c: Likewise.
24369         * inet/getsourcefilter.c: Likewise.
24370         * inet/htonl.c: Likewise.
24371         * inet/setipv4sourcefilter.c: Likewise.
24372         * inet/setsourcefilter.c: Likewise.
24373         * inet/test-inet6_opt.c: Likewise.
24374         * inet/tst-network.c: Likewise.
24375         * locale/C-collate.c: Likewise.
24376         * locale/C-ctype.c: Likewise.
24377         * locale/C-time.c: Likewise.
24378         * locale/C-translit.h: Likewise.
24379         * locale/loadarchive.c: Likewise.
24380         * locale/programs/3level.h: Likewise.
24381         * locale/programs/charmap.c: Likewise.
24382         * locale/programs/charmap.h: Likewise.
24383         * locale/programs/ld-address.c: Likewise.
24384         * locale/programs/ld-collate.c: Likewise.
24385         * locale/programs/ld-ctype.c: Likewise.
24386         * locale/programs/ld-identification.c: Likewise.
24387         * locale/programs/ld-measurement.c: Likewise.
24388         * locale/programs/ld-messages.c: Likewise.
24389         * locale/programs/ld-monetary.c: Likewise.
24390         * locale/programs/ld-name.c: Likewise.
24391         * locale/programs/ld-numeric.c: Likewise.
24392         * locale/programs/ld-paper.c: Likewise.
24393         * locale/programs/ld-telephone.c: Likewise.
24394         * locale/programs/ld-time.c: Likewise.
24395         * locale/programs/linereader.c: Likewise.
24396         * locale/programs/locale.c: Likewise.
24397         * locale/programs/locarchive.c: Likewise.
24398         * locale/programs/locfile.h: Likewise.
24399         * locale/programs/repertoire.c: Likewise.
24400         * locale/programs/simple-hash.c: Likewise.
24401         * locale/programs/simple-hash.h: Likewise.
24402         * malloc/memusage.c: Likewise.
24403         * malloc/memusagestat.c: Likewise.
24404         * nis/nis_defaults.c: Likewise.
24405         * nis/nis_hash.c: Likewise.
24406         * nis/nis_print.c: Likewise.
24407         * nis/nis_xdr.c: Likewise.
24408         * nscd/connections.c: Likewise.
24409         * nscd/hstcache.c: Likewise.
24410         * nscd/nscd_gethst_r.c: Likewise.
24411         * nscd/nscd_getserv_r.c: Likewise.
24412         * nscd/nscd_helper.c: Likewise.
24413         * nscd/servicescache.c: Likewise.
24414         * nss/makedb.c: Likewise.
24415         * nss/nss_db/db-XXX.c: Likewise.
24416         * nss/nss_db/db-initgroups.c: Likewise.
24417         * nss/nss_db/db-netgrp.c: Likewise.
24418         * nss/nss_files/files-network.c: Likewise.
24419         * nss/nss_files/files-parse.c: Likewise.
24420         * posix/bug-regex5.c: Likewise.
24421         * posix/fnmatch_loop.c: Likewise.
24422         * posix/regcomp.c: Likewise.
24423         * posix/regexec.c: Likewise.
24424         * posix/tst-rfc3484-2.c: Likewise.
24425         * posix/tst-rfc3484-3.c: Likewise.
24426         * posix/tst-rfc3484.c: Likewise.
24427         * resolv/nss_dns/dns-canon.c: Likewise.
24428         * resolv/nss_dns/dns-network.c: Likewise.
24429         * resolv/res_init.c: Likewise.
24430         * resolv/res_mkquery.c: Likewise.
24431         * resolv/tst-aton.c: Likewise.
24432         * stdlib/cxa_atexit.c: Likewise.
24433         * stdlib/cxa_finalize.c: Likewise.
24434         * stdlib/gen-fpioconst.c: Likewise.
24435         * stdlib/strtol_l.c: Likewise.
24436         * string/tst-endian.c: Likewise.
24437         * sunrpc/auth_des.c: Likewise.
24438         * sunrpc/clnt_udp.c: Likewise.
24439         * sunrpc/rtime.c: Likewise.
24440         * sunrpc/svcauth_des.c: Likewise.
24441         * sunrpc/xdr.c: Likewise.
24442         * sunrpc/xdr_intXX_t.c: Likewise.
24443         * sunrpc/xdr_rec.c: Likewise.
24444         * sysdeps/generic/ldconfig.h: Likewise.
24445         * sysdeps/generic/ldsodefs.h: Likewise.
24446         * sysdeps/generic/memusage.h: Likewise.
24447         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24448         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24449         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24450         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24453         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24454         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24455         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24457         * sysdeps/posix/getaddrinfo.c: Likewise.
24458         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24459         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24460         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24461         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24462         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24463         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24464         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24465         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24466         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24467         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24468         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24469         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24470         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24471         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24472         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24473         * sysdeps/x86_64/dl-tls.h: Likewise.
24474         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24475         * time/alt_digit.c: Likewise.
24476         * time/era.c: Likewise.
24477         * wcsmbs/tst-c16c32-1.c: Likewise.
24479 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24481         * math/libm-test.inc (struct test_sincos_data): New type.
24482         (RUN_TEST_LOOP_sincos): New macro.
24483         (sincos_test_data): New variable.
24484         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24486 2013-05-16  Richard Henderson  <rth@redhat.com>
24488         * math/atest-exp2.c (LIMB64): New macro.
24489         (CONSTSZ): New macro.
24490         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24491         (hexdig): Move ...
24492         (print_mpn_fp): ... to function scope.
24493         (read_mpn_hex): Remove.
24494         (get_log2): Remove.
24495         (exp2_mpn): Use mp_log2.
24496         (main): Use mp_exp1.
24498 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24500         * math/libm-test.inc: Remove comment about not testing "inexact"
24501         exceptions.
24502         (INEXACT_EXCEPTION): New macro.
24503         (NO_INEXACT_EXCEPTION): Likewise.
24504         (INVALID_EXCEPTION_OK): Update value.
24505         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24506         (OVERFLOW_EXCEPTION_OK): Likewise.
24507         (UNDERFLOW_EXCEPTION_OK): Likewise.
24508         (IGNORE_ZERO_INF_SIGN): Likewise.
24509         (ERRNO_UNCHANGED): Likewise.
24510         (ERRNO_EDOM): Likewise.
24511         (ERRNO_ERANGE): Likewise.
24512         (test_exceptions): Handle testing "inexact" exceptions.
24513         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24514         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24515         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24516         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24517         INEXACT_EXCEPTION.
24518         (rint_towardzero_test_data): Likewise.
24519         (rint_downward_test_data): Likewise.
24520         (rint_upward_test_data): Likewise.
24522         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24523         with OVERFLOW_EXCEPTION.
24524         (exp10_test_data): Likewise.
24525         (exp2_test_data): Likewise.
24526         (expm1_test_data): Likewise.
24527         (lgamma_test_data): Likewise.
24528         (pow_test_data): Likewise.
24529         (tgamma_test_data): Likewise.
24530         (yn_test_data): Remove duplicate test of overflow.
24532         * math/libm-test.inc (struct test_cc_c_data): New type.
24533         (RUN_TEST_LOOP_cc_c): New macro.
24534         (cpow_test_data): New variable.
24535         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24537         * math/libm-test.inc (struct test_f_L_data): New type.
24538         (RUN_TEST_LOOP_f_L): New macro.
24539         (llrint_test_data): New variable.
24540         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24541         (llrint_tonearest_test_data): New variable.
24542         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24543         (llrint_towardzero_test_data): New variable.
24544         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24545         (llrint_downward_test_data): New variable.
24546         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24547         (llrint_upward_test_data): New variable.
24548         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24549         (llround_test_data): New variable.
24550         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24552 2013-05-13  Peter Collingbourne  <pcc@google.com>
24554         * math/atest-exp2.c (get_log2): Remove const attribute.
24556 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24558         * math/libm-test.inc (struct test_f_l_data): New type.
24559         (RUN_TEST_LOOP_f_l): New macro.
24560         (lrint_test_data): New variable.
24561         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24562         (lrint_tonearest_test_data): New variable.
24563         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24564         (lrint_towardzero_test_data): New variable.
24565         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24566         (lrint_downward_test_data): New variable.
24567         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24568         (lrint_upward_test_data): New variable.
24569         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24570         (lround_test_data): New variable.
24571         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24573 2013-05-15  Peter Collingbourne  <pcc@google.com>
24575         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24576         (EXTRACT_WORDS64) Use where appropriate.
24577         (INSERT_WORDS64) Likewise.
24579         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24580         constraints with x constraints.
24581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24583         * malloc/obstack.c (_obstack_compat): Add initializer.
24585 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24587         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24588         si_trapno and add si_addr_lsb to _sifields.sigfault.
24589         (si_trapno): Remove macro.
24590         (si_addr_lsb): Define new macro.
24591         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24593 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24595         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24596         instead of TEST_f_l.
24597         (llrint_test_tonearest): Likewise.
24598         (llrint_test_towardzero): Likewise.
24599         (llrint_test_downward): Likewise.
24600         (llrint_test_upward): Likewise.
24601         (llround_test): Likewise.
24603         * math/libm-test.inc (struct test_f_i_data): Add comment.
24604         (RUN_TEST_LOOP_f_b): New macro.
24605         (RUN_TEST_LOOP_f_b_tg): Likewise.
24606         (finite_test_data): New variable.
24607         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24608         (isfinite_test_data): New variable.
24609         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24610         (isinf_test_data): New variable.
24611         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24612         (isnan_test_data): New variable.
24613         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24614         (isnormal_test_data): New variable.
24615         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24616         (issignaling_test_data): New variable.
24617         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24618         (signbit_test_data): New variable.
24619         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24621         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24622         with INVALID_EXCEPTION.
24623         (acosh_test_data): Likewise.
24624         (asin_test_data): Likewise.
24625         (atanh_test_data): Likewise.
24626         (fmod_test_data): Likewise.
24627         (log_test_data): Likewise.
24628         (log10_test_data): Likewise.
24629         (log2_test_data): Likewise.
24630         (pow_test_data): Likewise.
24631         (sqrt_test_data): Likewise.
24632         (y0_test_data): Likewise.
24633         (y1_test_data): Likewise.
24634         (yn_test_data): Likewise.
24636         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24637         function contents.
24639         * math/libm-test.inc (struct test_ff_i_data): New type.
24640         (RUN_TEST_LOOP_ff_i_tg): New macro.
24641         (isgreater_test_data): New variable.
24642         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24643         (isgreaterequal_test_data): New variable.
24644         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24645         (isless_test_data): New variable.
24646         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24647         (islessequal_test_data): New variable.
24648         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24649         (islessgreater_test_data): New variable.
24650         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24651         (isunordered_test_data): New variable.
24652         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24654 2013-05-14  David S. Miller  <davem@davemloft.net>
24656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24658 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24660         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24662         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24663         extra_test to int.
24664         (struct test_f_i_data): Change type of max_ulp to int.
24666         * math/libm-test.inc (test_ffI_f1_data): New type.
24667         (RUN_TEST_LOOP_ffI_f1): New macro.
24668         (remquo_test_data): New variable.
24669         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24671         * setjmp/tst-setjmp-fp.c: New file.
24672         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24673         (link-libm): New variable.
24674         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24676         * math/libm-test.inc (struct test_f_i_data): New type.
24677         (RUN_TEST_LOOP_f_i): New macro.
24678         (RUN_TEST_LOOP_f_i_tg): Likewise.
24679         (fpclassify_test_data): New variable.
24680         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24681         (ilogb_test_data): New variable.
24682         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24684         * math/libm-test.inc (scalbln_test): Correct function name in END
24685         call.
24687         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24688         (RUN_TEST_LOOP_fI_f1): New macro.
24689         (frexp_test_data): New variable.
24690         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24692         * math/libm-test.inc (struct test_fF_f1_data): New type.
24693         (RUN_TEST_LOOP_fF_f1): New macro.
24694         (modf_test_data): New variable.
24695         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24697         * math/libm-test.inc (struct test_f_f1_data): New type.
24698         (RUN_TEST_LOOP_f_f1): New macro.
24699         (gamma_test_data): New variable.
24700         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24701         (lgamma_test_data): New variable.
24702         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24704 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24706         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24707         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24708         (main): Comment "tls" pseudo-hwcap.
24710 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24712         * math/libm-test.inc (struct test_fl_f_data): New type.
24713         (RUN_TEST_LOOP_fl_f): New variable.
24714         (scalbln_test_data): New variable.
24715         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24717         * math/libm-test.inc (struct test_fi_f_data): New type.
24718         (RUN_TEST_LOOP_fi_f): New macro.
24719         (ldexp_test_data): New variable.
24720         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24721         (scalbn_test_data): New variable.
24722         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24724         * math/libm-test.inc (struct test_c_f_data): New type.
24725         (RUN_TEST_LOOP_c_f): New macro.
24726         (cabs_test_data): New variable.
24727         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24728         (carg_test_data): New variable.
24729         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24730         (cimag_test_data): New variable.
24731         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24732         (creal_test_data): New variable.
24733         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24735         * math/libm-test.inc (struct test_if_f_data): New type.
24736         (RUN_TEST_LOOP_if_f): New macro.
24737         (jn_test_data): New variable.
24738         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24739         (yn_test_data): New variable.
24740         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24742         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24744 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24746         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24747         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24749 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24751         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24752         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24753         (bench-deps): Add bench-timing.h.
24754         * benchtests-bench-skeleton.c: Include bench-timing.h.
24755         (main): Use TIMING_* macros instead of clock_gettime.
24756         * benchtests/bench-timing.h: New file.
24758         [BZ #14582]
24759         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24760         Renamed from _LIB_VERSION.
24761         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24763 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24765         * math/libm-test.inc (struct test_fff_f_data): New type.
24766         (RUN_TEST_LOOP_fff_f): New macro.
24767         (fma_test_data): New variable.
24768         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24769         (fma_towardzero_test_data): New variable.
24770         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24771         (fma_downward_test_data): New variable.
24772         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24773         (fma_upward_test_data): New variable.
24774         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24776         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24777         (struct test_c_c_data): New type.
24778         (RUN_TEST_LOOP_c_c): New macro.
24779         (cacos_test_data): New variable.
24780         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24781         (cacosh_test_data): New variable.
24782         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24783         (casin_test_data): New variable.
24784         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24785         (casinh_test_data): New variable.
24786         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24787         (catan_test_data): New variable.
24788         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24789         (catanh_test_data): New variable.
24790         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24791         (ccos_test_data): New variable.
24792         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24793         (ccosh_test_data): New variable.
24794         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24795         (cexp_test_data): New variable.
24796         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24797         (clog_test_data): New variable.
24798         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24799         (clog10_test_data): New variable.
24800         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24801         (conj_test_data): New variable.
24802         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24803         (cproj_test_data): New variable.
24804         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24805         (csin_test_data): New variable.
24806         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24807         (csinh_test_data): New variable.
24808         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24809         (csqrt_test_data): New variable.
24810         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24811         (ctan_test_data): New variable.
24812         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24813         (ctan_tonearest_test_data): New variable.
24814         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24815         (ctan_towardzero_test_data): New variable.
24816         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24817         (ctan_downward_test_data): New variable.
24818         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24819         (ctan_upward_test_data): New variable.
24820         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24821         (ctanh_test_data): New variable.
24822         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24823         (ctanh_tonearest_test_data): New variable.
24824         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24825         (ctanh_towardzero_test_data): New variable.
24826         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24827         (ctanh_downward_test_data): New variable.
24828         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24829         (ctanh_upward_test_data): New variable.
24830         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24831         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24832         of BUILD_COMPLEX.
24834         * math/libm-test.inc (struct test_ff_f_data): New type.
24835         (struct test_ff_f_data_nexttoward): Likewise.
24836         (RUN_TEST_LOOP_2_f): New macro.
24837         (RUN_TEST_LOOP_ff_f): Likewise.
24838         (atan2_test_data): New variable.
24839         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24840         (copysign_test_data): New variable.
24841         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24842         (fdim_test_data): New variable.
24843         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24844         (fmax_test_data): New variable.
24845         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24846         (fmin_test_data): New variable.
24847         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24848         (fmod_test_data): New variable.
24849         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24850         (hypot_test_data): New variable.
24851         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24852         (nextafter_test_data): New variable.
24853         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24854         (nexttoward_test_data): New variable.
24855         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24856         (pow_test_data): New variable.
24857         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24858         (pow_tonearest_test_data): New variable.
24859         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24860         (pow_towardzero_test_data): New variable.
24861         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24862         (pow_downward_test_data): New variable.
24863         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24864         (pow_upward_test_data): New variable.
24865         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24866         (remainder_test_data): New variable.
24867         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24868         (scalb_test_data): New variable.
24869         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24870         * sysdeps/i386/fpu/libm-test-ulps: Update.
24872 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24874         * math/libm-test.inc (fma_test): Use max_value instead of local
24875         variable fltmax.
24876         (nextafter_test): Likewise.
24878         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24879         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24880         (acos_downward_test_data): New variable.
24881         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24882         (acos_upward_test_data): New variable.
24883         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24884         (acosh_test_data): New variable.
24885         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24886         (asin_test_data): New variable.
24887         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24888         (asin_tonearest_test_data): New variable.
24889         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24890         (asin_towardzero_test_data): New variable.
24891         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24892         (asin_downward_test_data): New variable.
24893         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24894         (asin_upward_test_data): New variable.
24895         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24896         (asinh_test_data): New variable.
24897         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24898         (atan_test_data): New variable.
24899         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24900         (atanh_test_data): New variable.
24901         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24902         (cbrt_test_data): New variable.
24903         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24904         (ceil_test_data): New variable.
24905         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24906         (cos_test_data): New variable.
24907         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24908         (cos_tonearest_test_data): New variable.
24909         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24910         (cos_towardzero_test_data): New variable.
24911         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24912         (cos_downward_test_data): New variable.
24913         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24914         (cos_upward_test_data): New variable.
24915         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24916         (cosh_test_data): New variable.
24917         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24918         (cosh_tonearest_test_data): New variable.
24919         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24920         (cosh_towardzero_test_data): New variable.
24921         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24922         (cosh_downward_test_data): New variable.
24923         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24924         (cosh_upward_test_data): New variable.
24925         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24926         (erf_test_data): New variable.
24927         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24928         (erfc_test_data): New variable.
24929         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24930         (exp_test_data): New variable.
24931         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24932         (exp_tonearest_test_data): New variable.
24933         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24934         (exp_towardzero_test_data): New variable.
24935         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24936         (exp_downward_test_data): New variable.
24937         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24938         (exp_upward_test_data): New variable.
24939         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24940         (exp10_test_data): New variable.
24941         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24942         (exp2_test_data): New variable.
24943         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24944         (expm1_test_data): New variable.
24945         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24946         (fabs_test_data): New variable.
24947         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24948         (floor_test_data): New variable.
24949         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24950         (j0_test_data): New variable.
24951         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24952         (j1_test_data): New variable.
24953         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24954         (log_test_data): New variable.
24955         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24956         (log10_test_data): New variable.
24957         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24958         (log1p_test_data): New variable.
24959         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24960         (log2_test_data): New variable.
24961         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24962         (logb_test_data): New variable.
24963         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24964         (logb_downward_test_data): New variable.
24965         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24966         (nearbyint_test_data): New variable.
24967         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24968         (rint_test_data): New variable.
24969         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24970         (rint_tonearest_test_data): New variable.
24971         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24972         (rint_towardzero_test_data): New variable.
24973         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24974         (rint_downward_test_data): New variable.
24975         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24976         (rint_upward_test_data): New variable.
24977         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24978         (round_test_data): New variable.
24979         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24980         (sin_test_data): New variable.
24981         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24982         (sin_tonearest_test_data): New variable.
24983         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24984         (sin_towardzero_test_data): New variable.
24985         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24986         (sin_downward_test_data): New variable.
24987         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24988         (sin_upward_test_data): New variable.
24989         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24990         (sinh_test_data): New variable.
24991         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24992         (sinh_tonearest_test_data): New variable.
24993         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24994         (sinh_towardzero_test_data): New variable.
24995         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24996         (sinh_downward_test_data): New variable.
24997         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24998         (sinh_upward_test_data): New variable.
24999         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25000         (sqrt_test_data): New variable.
25001         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25002         (tan_test_data): New variable.
25003         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25004         (tan_tonearest_test_data): New variable.
25005         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25006         (tan_towardzero_test_data): New variable.
25007         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25008         (tan_downward_test_data): New variable.
25009         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25010         (tan_upward_test_data): New variable.
25011         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25012         (tanh_test_data): New variable.
25013         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25014         (tgamma_test_data): New variable.
25015         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25016         (trunc_test_data): New variable.
25017         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25018         (y0_test_data): New variable.
25019         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25020         (y1_test_data): New variable.
25021         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25022         (significand_test_data): New variable.
25023         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25025 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25027         [BZ #12387]
25028         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25030 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25032         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25034 2013-05-10  Andreas Jaeger  <aj@suse.de>
25036         [BZ #15448]
25037         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25038         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25040 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25042         * math/gen-libm-test.pl (adjust_arg): New function.
25043         (special_functions): Handle generating output in both functions
25044         and arrays.
25045         (parse_args): Likewise.
25046         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25047         $in_func argument to parse_args.
25048         * math/libm-test.inc (struct test_f_f_data): New type.
25049         (IF_ROUND_INIT_): New macro.
25050         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25051         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25052         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25053         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25054         (ROUND_RESTORE_): Likewise.
25055         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25056         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25057         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25058         (ROUND_RESTORE_FE_UPWARD): Likewise.
25059         (RUN_TEST_LOOP_f_f): New macro.
25060         (acos_test_data): New variable.
25061         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25062         (acos_tonearest_test_data): New variable.
25063         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25065 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25067         * benchtests/bench-skeleton.c (startup): Fix coding style.
25069 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25071         [BZ #6809]
25072         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25073         negative infinity argument.
25074         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25075         negative infinity argument.
25076         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25077         negative infinity argument.
25078         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25079         domain errors.
25081 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25083         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25084         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25085         * iconv/iconv_prog.c (main): Likewise.
25086         * locale/programs/charmap-dir.c (charmap_readdir)
25087         (fopen_uncompressed): Likewise.
25088         * locale/programs/locfile.c (siblings_uncached)
25089         (write_locale_data): Use lstat64 instead of lstat.
25090         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25091         stat.
25093 2013-05-10  Andreas Jaeger  <aj@suse.de>
25095         [BZ #15395]
25096         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25097         localization.
25098         Include <locale.h>.
25100 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25102         * elf/dl-close.c (_dl_close_worker): Add comments.
25104 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25106         [BZ #15359]
25107         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25108         high part of pi/2.
25109         (__ieee754_rem_pio2l): Update comments.
25111         [BZ #15429]
25112         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25113         high part of pi/2.
25114         (__ieee754_rem_pio2l): Update comments.
25116         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25117         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25119         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25120         M_PI_4l.
25122         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25123         (M_PI_34_LOG10El): Likewise.
25124         (M_PI2_LOG10El): Likewise.
25125         (M_PI4_LOG10El): Likewise.
25126         (M_PI_LOG10El): Likewise.
25128 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25132 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25134         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25135         (MINUS_ZERO_INIT): Likewise.
25136         (PLUS_INFTY_INIT): Likewise.
25137         (MINUS_INFTY_INIT): Likewise.
25138         (QNAN_VALUE_INIT): Likewise.
25139         (MAX_VALUE_INIT): Likewise.
25140         (MIN_VALUE_INIT): Likewise.
25141         (MIN_SUBNORM_VALUE_INIT): Likewise.
25142         (plus_zero): Initialize with PLUS_ZERO_INIT.
25143         (minus_zero): Initialize with MINUS_ZERO_INIT.
25144         (plus_infty): Initialize with PLUS_INFTY_INIT.
25145         (minus_infty): Initialize with MINUS_INFTY_INIT.
25146         (qnan_value): Initialize with QNAN_VALUE_INIT.
25147         (max_value): Initialize with MAX_VALUE_INIT.
25148         (min_value): Initialize with MIN_VALUE_INIT.
25149         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25151         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25152         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25153         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25154         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25156         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25157         (RUN_TEST_2_f): Likewise.
25158         (RUN_TEST_ff_f): Likewise.
25159         (RUN_TEST_fi_f): Likewise.
25160         (RUN_TEST_fl_f): Likewise.
25161         (RUN_TEST_fff_f): Likewise.
25162         (RUN_TEST_c_f): Likewise.
25163         (RUN_TEST_f_f1): Likewise.
25164         (RUN_TEST_fF_f1): Likewise.
25165         (RUN_TEST_fI_f1): Likewise.
25166         (RUN_TEST_ffI_f1): Likewise.
25167         (RUN_TEST_c_c): Likewise.
25168         (RUN_TEST_cc_c): Likewise.
25169         (RUN_TEST_f_i): Likewise.
25170         (RUN_TEST_f_i_tg): Likewise.
25171         (RUN_TEST_ff_i_tg): Likewise.
25172         (RUN_TEST_f_b): Likewise.
25173         (RUN_TEST_f_b_tg): Likewise.
25174         (RUN_TEST_f_l): Likewise.
25175         (RUN_TEST_f_L): Likewise.
25176         (RUN_TEST_sincos): Likewise.
25177         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25178         whether to show exceptions.  Do not include ");\n" in return
25179         value.
25180         (special_functions): Output call to RUN_TEST_sincos instead of
25181         check_float calls.  Update calls to new_test.
25182         (parse_args): Output call to single RUN_TEST_* macro instead of
25183         check_* calls and other assignments.  Update calls to new_test.
25185         [BZ #2546]
25186         [BZ #2560]
25187         [BZ #5159]
25188         [BZ #15426]
25189         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25190         input to result for tgamma overflow.
25191         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25192         (gamma_coeff): New variable.
25193         (NCOEFF): New macro.
25194         (gamma_positive): New function.
25195         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25196         underflow here.  Use gamma_positive instead of exp (lgamma) for
25197         other arguments.
25198         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25199         (gamma_coeff): New variable.
25200         (NCOEFF): New macro.
25201         (gammaf_positive): New function.
25202         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25203         underflow here.  Use gamma_positive instead of exp (lgamma) for
25204         other arguments.
25205         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25206         (gamma_coeff): New variable.
25207         (NCOEFF): New macro.
25208         (gammal_positive): New function.
25209         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25210         underflow here.  Use gamma_positive instead of exp (lgamma) for
25211         other arguments.
25212         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25213         (gamma_coeff): New variable.
25214         (NCOEFF): New macro.
25215         (gammal_positive): New function.
25216         (__ieee754_gammal_r): Handle positive infinity, overflow and
25217         underflow here.  Handle NaN the same as positive infinity.  Remove
25218         check x < 0xffffffff for negative integers.  Use gamma_positive
25219         instead of exp (lgamma) for other arguments.
25220         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25221         (gamma_coeff): New variable.
25222         (NCOEFF): New macro.
25223         (gammal_positive): New function.
25224         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25225         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25226         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25227         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25228         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25229         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25230         * sysdeps/generic/math_private.h (__gamma_productf): New
25231         prototype.
25232         (__gamma_product): Likewise.
25233         (__gamma_productl): Likewise.
25234         * math/Makefile (libm-calls): Add gamma_product.
25235         * math/libm-test.inc (tgamma_test): Add more tests.
25236         * sysdeps/i386/fpu/libm-test-ulps: Update.
25237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25239 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25241         * benchtests/bench-skeleton.c (main): Preheat CPU.
25243 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25245         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25247 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25249         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25250         and _dl_skip_args_internal.
25252 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25254         * manual/message.texi (Message Translation): Talk about users.
25255         Message to key mapping impacts design.
25257 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25259         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25261         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25263         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25264         * sysdeps/wordsize-64/glob64.c: ... here.
25266         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25267         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25268         New macros.
25270         * debug/getlogin_r_chk.c: Moved to ...
25271         * login/getlogin_r_chk.c: ... here.
25272         * debug/Makefile (routines): Move getlogin_r_chk to ...
25273         * login/Makefile (routines): ... here.
25274         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25275         * login/Versions (libc: GLIBC_2.4): ... here.
25277         * io/poll.c (__poll): Renamed from poll.
25278         Add libc_hidden_def.
25279         (poll): Define as weak alias.
25281         * debug/ptsname_r_chk.c: Moved to ...
25282         * login/ptsname_r_chk.c: ... here.
25283         * debug/Makefile (routines): Move ptsname_r_chk to ...
25284         * login/Makefile (routines): ... here.
25285         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25286         * login/Versions (libc: GLIBC_2.4): ... here.
25288         * posix/getlogin.c: Moved to ...
25289         * login/getlogin.c: ... here.
25290         * posix/getlogin_r.c: Moved to ...
25291         * login/getlogin_r.c: ... here.
25292         * posix/getlogin_r.c: Moved to ...
25293         * login/getlogin_r.c: ... here.
25294         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25295         * login/Makefile (routines): ... here.
25296         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25297         * login/Versions (libc: GLIBC_2.0): ... here.
25299         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25300         (setrlimit): Define as weak alias.
25302         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25303         Call __ names for open, ftruncate, and close.
25304         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25305         (truncate): Define as weak alias.
25307 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25309         * math/gen-libm-test.pl (parse_args): Initialize x before each
25310         test of frexp, modf and remquo.
25312         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25313         test signgam value.
25315 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25317         [BZ #15418]
25318         [BZ #15419]
25319         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25320         internal tests.
25321         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25323 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25325         * elf/dl-writev.h: New file.
25326         * elf/dl-misc.c: Include it.
25327         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25328         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25330 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25332         * math/libm-test.inc (noXFails): Remove variable.
25333         (noXPasses): Likewise.
25334         (BUILD_COMPLEX_INT): Remove macro.
25335         (print_screen): Remove xfail argument.
25336         (print_screen_max_error): Likewise.
25337         (update_stats): Likewise.
25338         (print_max_error): Likewise.  Update calls to other affected
25339         functions.
25340         (print_complex_max_error): Likewise.
25341         (test_single_exception): Update calls to print_screen.
25342         (test_single_errno): Likewise.
25343         (check_float_internal): Remove xfail argument.  Update calls to
25344         other affected functions.
25345         (check_float): Likewise.
25346         (check_complex): Likewise.
25347         (check_int): Likewise.
25348         (check_long): Likewise.
25349         (check_bool): Likewise.
25350         (check_longlong): Likewise.
25351         (main): Don't print noXFails and noXPasses.
25352         * math/gen-libm-test.pl (top level): Don't mention expected
25353         failure handling in comment.
25354         (new_test): Don't handle expected failures.
25355         (parse_args): Don't mention expected failure handling in comment.
25356         (generate_testfile): Don't handle expected failures.
25357         (parse_ulps): Likewise.
25358         (print_ulps_file): Likewise.
25359         (get_failure): Remove function.
25360         (output_test): Don't handle expected failures.
25361         * make/README.libm-test: Don't mention expected failure handling.
25363         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
25364         (minus_zero): Likewise.
25365         (plus_infty): Likewise.
25366         (minus_infty): Likewise.
25367         (qnan_value): Likewise.
25368         (max_value): Likewise.
25369         (min_value): Likewise.
25370         (min_subnorm_value): Likewise.
25371         (initialize): Do not initialize those variables dynamically.
25373 2013-05-03  Roland McGrath  <roland@hack.frob.com>
25375         * io/open.c (__open_2): Moved to ...
25376         * io/open_2.c: ... this new file.
25377         * io/open64.c (__open64_2): Moved to ...
25378         * io/open64_2.c: ... this new file.
25379         * io/openat.c (__openat_2): Moved to ...
25380         * io/openat_2.c: ... this new file.
25381         * io/openat64.c (__openat64_2): Moved to ...
25382         * io/openat64_2.c: ... this new file.
25383         * io/Makefile (routines): Add them.
25384         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25385         * sysdeps/unix/sysv/linux/open_2.c: File removed.
25386         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25387         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25388         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25389         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25390         (__openat64): Add hidden_ver.
25391         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25392         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25394         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25395         Separately conditionalize setting of GLRO(dl_sysinfo) so
25396         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25397         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25399 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25401         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25402         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25403         definition.
25404         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25405         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25406         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25407         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25408         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25410 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25412         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25413         test signgam value.
25415         * math/libm-test.inc (hypot_test): Do not use
25416         IGNORE_ZERO_INF_SIGN.
25418 2013-05-03  Andreas Jaeger  <aj@suse.de>
25420         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25421         Linux 3.9.
25422         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25423         (PF_MAX): Adjust for VSOCK change.
25425 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25429 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25431         [BZ #15264]
25432         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25433         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25434         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25436 2013-05-02  David S. Miller  <davem@davemloft.net>
25438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25440 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25442         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25444 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25446         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25448 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25450         [BZ #14952]
25451         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25452         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25453         Use __attribute__ ((__gnu_inline__)).
25454         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25455         Don't use __attribute__ ((__gnu_inline__)).
25457 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25459         [BZ #15423]
25460         * math/s_catan.c (__catan): Handle small real or imaginary part of
25461         input specially to avoid spurious underflow.
25462         * math/s_catanf.c (__catanf): Likewise.
25463         * math/s_catanh.c (__catanh): Likewise.
25464         * math/s_catanhf.c (__catanhf): Likewise.
25465         * math/s_catanhl.c (__catanhl): Likewise.
25466         * math/s_catanl.c (__catanl): Likewise.
25467         * math/libm-test.inc (catan_test): Add more tests.
25468         (catanh_test): Likewise.
25469         * sysdeps/i386/fpu/libm-test-ulps: Update.
25470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25472 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25476 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #15416]
25479         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25480         accurately for denominator in atan2.
25481         * math/s_catanf.c (__catanf): Likewise.
25482         * math/s_catanh.c (__catanh): Likewise.
25483         * math/s_catanhf.c (__catanhf): Likewise.
25484         * math/s_catanhl.c (__catanhl): Likewise.
25485         * math/s_catanl.c (__catanl): Likewise.
25486         * math/libm-test.inc (catan_test): Add more tests.
25487         (catanh_test): Likewise.
25488         * sysdeps/i386/fpu/libm-test-ulps: Update.
25489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25491 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25493         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25495         * benchtests/Makefile (bench): Remove slow benchmarks.
25496         * benchtests/atan-inputs: Add slow benchmark inputs.
25497         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25498         (BENCH_FUNC): Accept variant offset.
25499         (VARIANT): Define.
25500         * benchtests/bench-skeleton.c (main): Run benchmark for each
25501         variant.
25502         * benchtests/cos-inputs: Add slow benchmark inputs.
25503         * benchtests/exp-inputs: Likewise.
25504         * benchtests/pow-inputs: Likewise.
25505         * benchtests/sin-inputs: Likewise.
25506         * benchtests/slowatan-inputs: Remove.
25507         * benchtests/slowatan.c: Remove.
25508         * benchtests/slowcos-inputs: Remove.
25509         * benchtests/slowcos.c: Remove.
25510         * benchtests/slowexp-inputs: Remove.
25511         * benchtests/slowexp.c: Remove.
25512         * benchtests/slowpow-inputs: Remove.
25513         * benchtests/slowpow.c: Remove.
25514         * benchtests/slowsin-inputs: Remove.
25515         * benchtests/slowsin.c: Remove.
25516         * benchtests/slowtan-inputs: Remove.
25517         * benchtests/slowtan.c: Remove.
25518         * benchtests/tan-inputs: Add slow benchmark inputs.
25519         * scripts/bench.pl: Parse comments and directives.
25521         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25522         in CPPFLAGS.
25523         ($(objpfx)bench-%.c): Remove *-ITER.
25524         * benchtests/bench-modf.c: Remove definition of ITER.
25525         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25526         (main): Loop for DURATION seconds instead of fixed number of
25527         iterations.
25528         * scripts/bench.pl: Don't expect iterations in parameters.
25530 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25532         * io/fchdir.c (__fchdir): Renamed from fchdir.
25533         (fchdir): Define as weak alias.
25535 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25537         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25538         (ERRNO_EDOM): Likewise.
25539         (ERRNO_ERANGE): Likewise.
25540         (noErrnoTests): New variable.
25541         (init_max_error): Set errno to 0.
25542         (test_single_errno): New function.
25543         (test_errno): Likewise.
25544         (check_float_internal): Call test_errno.  Set errno to 0.
25545         (check_complex): Refer to errno tests in comment.
25546         (check_int): Call test_errno.  Set errno to 0.
25547         (check_long): Likewise.
25548         (check_bool): Likewise.
25549         (check_longlong): Likewise.
25550         (cos_test): Use ERRNO_* flags for errno tests instead of
25551         check_int.
25552         (expm1_test): Likewise.
25553         (fmod_test): Likewise.
25554         (ilogb_test): Likewise.
25555         (lgamma_test): Likewise.
25556         (pow_test): Likewise.
25557         (remainder_test): Likewise.
25558         (sin_test): Likewise.
25559         (tan_test): Likewise.
25560         (yn_test): Likewise.
25561         (initialize): Set errno to 0.
25562         (main): Print number of errno tests.
25563         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25565 2013-04-29  Andreas Jaeger  <aj@suse.de>
25567         [BZ #15084]
25568         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25569         and RES_USEVC.
25571         [BZ #15085]
25572         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25573         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25574         unimplemented.
25576         [BZ #15380]
25577         * stdlib/random.c (__initstate): Return NULL if
25578         __initstate fails.
25580         [BZ #15086]
25581         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25582         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25583         RES_SNGLKUPREOP.
25585 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25589 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25591         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25592         of individual tests.
25593         (casin_test): Likewise.
25594         (casinh_test): Likewise.
25596 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25598         [BZ #15409]
25599         * math/s_catan.c (__catan): Handle arguments with large real or
25600         imaginary part separately without squaring.
25601         * math/s_catanf.c (__catanf): Likewise.
25602         * math/s_catanh.c (__catanh): Likewise.
25603         * math/s_catanhf.c (__catanhf): Likewise.
25604         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25605         and redefine.
25606         (__catanhl): Handle arguments with large real or imaginary part
25607         separately without squaring.
25608         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25609         and redefine.
25610         (__catanl): Handle arguments with large real or imaginary part
25611         separately without squaring.
25612         * math/libm-test.inc (catan_test): Add more tests.
25613         (catanh_test): Likewise.
25614         * sysdeps/i386/fpu/libm-test-ulps: Update.
25615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25617 2013-04-27  Andreas Jaeger  <aj@suse.de>
25619         [BZ #15007]
25620         * stdlib/stdlib.h: Update guards for qecvt.
25621         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25622         <stdlib.h>.
25624 2013-04-27  Allan McRae  <allan@archlinux.org>
25626         * sysdeps/i386/fpu/libm-test-ulps: Update.
25628 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25630         [BZ #15406]
25631         * math/s_catan.c: Include <float.h>.
25632         (__catan): Ensure underflow exception occurs for underflowed
25633         result.
25634         * math/s_catanf.c: Include <float.h>.
25635         (__catanf): Ensure underflow exception occurs for underflowed
25636         result.
25637         * math/s_catanh.c: Include <float.h>.
25638         (__catanh): Ensure underflow exception occurs for underflowed
25639         result.
25640         * math/s_catanhf.c: Include <float.h>.
25641         (__catanhf): Ensure underflow exception occurs for underflowed
25642         result.
25643         * math/s_catanhl.c: Include <float.h>.
25644         (__catanhl): Ensure underflow exception occurs for underflowed
25645         result.
25646         * math/s_catanl.c: Include <float.h>.
25647         (__catanl): Ensure underflow exception occurs for underflowed
25648         result.
25649         * math/libm-test.inc (catan_test): Add more tests.
25650         (catanh_test): Likewise.
25652         [BZ #15405]
25653         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25654         underflowed result.
25655         * math/s_ccoshf.c (__ccoshf): Likewise.
25656         * math/s_ccoshl.c (__ccoshl): Likewise.
25657         * math/s_csin.c (__csin): Likewise.
25658         * math/s_csinf.c (__csinf): Likewise.
25659         * math/s_csinh.c (__csinh): Likewise.
25660         * math/s_csinhf.c (__csinhf): Likewise.
25661         * math/s_csinhl.c (__csinhl): Likewise.
25662         * math/s_csinl.c (__csinl): Likewise.
25663         * math/libm-test.inc (ccos_test): Add more tests.
25664         (ccosh_test): Likewise.
25665         (csin_test): Likewise.
25666         (csinh_test): Likewise.
25668 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25670         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25671         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25672         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25673         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25674         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25675         powerpc/power5+/fpu folders.
25676         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25679 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25683 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25685         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25686         additions to variable.
25687         [$(config-machine) = x86_64] (modules-names): Likewise.
25688         ($(objpfx)tst-audit3): Remove dependency.
25689         ($(objpfx)tst-audit3.out): Likewise.
25690         ($(objpfx)tst-audit4): Likewise.
25691         ($(objpfx)tst-audit4.out): Likewise.
25692         ($(objpfx)tst-audit5): Likewise.
25693         ($(objpfx)tst-audit5.out): Likewise.
25694         ($(objpfx)tst-audit6): Likewise.
25695         ($(objpfx)tst-audit6.out): Likewise.
25696         ($(objpfx)tst-audit7): Likewise.
25697         ($(objpfx)tst-audit7.out): Likewise.
25698         (tst-audit3-ENV): Remove variable.
25699         (tst-audit4-ENV): Likewise.
25700         (tst-audit5-ENV): Likewise.
25701         (tst-audit6-ENV): Likewise.
25702         (tst-audit7-ENV): Likewise.
25703         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25704         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25705         addition to variable.
25706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25709         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25710         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25711         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25712         tst-audit3, tst-audit4 and tst-audit5.
25713         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25714         tst-audit6 and tst-audit7.
25715         [$(subdir) = elf] (modules-names): Add audit modules for those
25716         tests.
25717         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25718         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25719         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25720         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25721         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25722         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25723         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25724         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25725         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25726         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25727         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25728         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25729         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25730         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25731         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25732         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25733         Likewise.
25734         [$(subdir) = elf && $(config-cflags-avx) = yes]
25735         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25736         [$(subdir) = elf && $(config-cflags-avx) = yes]
25737         (CFLAGS-tst-auditmod4a.c): Likewise.
25738         [$(subdir) = elf && $(config-cflags-avx) = yes]
25739         (CFLAGS-tst-auditmod4b.c): Likewise.
25740         [$(subdir) = elf && $(config-cflags-avx) = yes]
25741         (CFLAGS-tst-auditmod6b.c): Likewise.
25742         [$(subdir) = elf && $(config-cflags-avx) = yes]
25743         (CFLAGS-tst-auditmod6c.c): Likewise.
25744         [$(subdir) = elf && $(config-cflags-avx) = yes]
25745         (CFLAGS-tst-auditmod7b.c): Likewise.
25746         * elf/tst-audit3.c: Move to ...
25747         * sysdeps/x86_64/tst-audit3.c: ... here.
25748         * elf/tst-audit4.c: Move to ...
25749         * sysdeps/x86_64/tst-audit4.c: ... here.
25750         * elf/tst-audit5.c: Move to ...
25751         * sysdeps/x86_64/tst-audit5.c: ... here.
25752         * elf/tst-audit6.c: Move to ...
25753         * sysdeps/x86_64/tst-audit6.c: ... here.
25754         * elf/tst-audit7.c: Move to ...
25755         * sysdeps/x86_64/tst-audit7.c: ... here.
25756         * elf/tst-auditmod3a.c: Move to ...
25757         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25758         * elf/tst-auditmod3b.c: Move to ...
25759         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25760         * elf/tst-auditmod4a.c: Move to ...
25761         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25762         * elf/tst-auditmod4b.c: Move to ...
25763         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25764         * elf/tst-auditmod5a.c: Move to ...
25765         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25766         * elf/tst-auditmod5b.c: Move to ...
25767         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25768         * elf/tst-auditmod6a.c: Move to ...
25769         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25770         * elf/tst-auditmod6b.c: Move to ...
25771         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25772         * elf/tst-auditmod6c.c: Move to ...
25773         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25774         * elf/tst-auditmod7a.c: Move to ...
25775         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25776         * elf/tst-auditmod7b.c: Move to ...
25777         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25779 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25781         [BZ #15366]
25782         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25783         define unconditionally.
25784         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25785         define unconditionally.
25786         (INT8_C, INT16_C, etc.): Likewise.
25788 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25790         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25791         __ehdr_start with hidden visibility.
25793         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25795 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25797         * math/libm-test.inc (cos_test): Use accurate hex constants.
25798         (sincost_test): Likewise.
25800 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25802         * math/libm-test.inc (catan_test): Add more tests.
25803         (catanh_test): Likewise.
25805         * math/s_catanf.c (__catanf): Use suffixed floating-point
25806         constants.
25807         * math/s_catanhf.c (__catanhf): Likewise.
25808         * math/s_catanhl.c (__catanhl): Likewise.
25809         * math/s_catanl.c (__catanl): Likewise.
25811         [BZ #15394]
25812         * math/s_catan.c (__catan): Calculate imaginary part of result
25813         with log1p not log unless computing log of number close to 0.
25814         * math/s_catanf.c (__catanf): Likewise.
25815         * math/s_catanl.c (__catanl): Likewise.
25816         * math/s_catanh.c (__catanh): Calculate real part of result with
25817         log1p not log unless computing log of number close to 0.
25818         * math/s_catanhf.c (__catanhf): Likewise.
25819         * math/s_catanhl.c (__catanhl): Likewise.
25820         * math/libm-test.inc (catan_test): Add more tests.
25821         (catanh_test): Likewise.
25822         * sysdeps/i386/fpu/libm-test-ulps: Update.
25823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25825 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25827         * benchtests/Makefile: Mention files in which fast and slow
25828         paths of math functions are implemented.
25830 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25832         * sysdeps/posix/timespec_get.c: New file.
25834 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25836         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25837         POWER.
25838         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25839         for POWER.
25840         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25841         powerpc/power5/fpu folders.
25842         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25843         * benchtests/Makefile: Add modf testcase.
25844         * benchtests/bench-modf.c: New file: Benchmark test for mo
25846 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25848         [BZ #14888]
25849         * time/Makefile (tests): Add tst-strptime-whitespace.
25850         * time/strptime_l.c (get_number): Use ISSPACE.
25851         (__strptime_internal): Likewise.
25852         * time/tst-strptime-whitespace.c: New test case.
25854 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25856         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25857         member.
25858         (_nss_files_init): Set it here.
25860 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25862         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25863         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25864         unsigned.
25866 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25868         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25870 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25873         size just once.
25875 2013-04-21  David S. Miller  <davem@davemloft.net>
25877         * po/ru.po: Update Russion translation from translation project.
25879 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25881         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25882         and setfsgid.
25884 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25886         * configure.in: Remove i386 configure warning. Remove i386 case.
25887         * configure: Regenerate.
25888         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25889         Add example to error message.
25890         * sysdeps/i386/configure: Regenerate.
25892 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25894         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25895         slowtan.
25896         * benchtests/cos-inputs: New file.
25897         * benchtests/slowcos-inputs: New file.
25898         * benchtests/slowcos.c: New file.
25899         * benchtests/slowtan-inputs: New file.
25900         * benchtests/slowtan.c: New file.
25901         * benchtests/tan-inputs: New file.
25903 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25905         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25906         considered kosher.
25908 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25910         * benchtests/Makefile: Include cppflags-iterator.mk to add
25911         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25913         * Makefile.in (bench-clean): New target.
25914         * benchtests/Makefile (bench-clean): Likewise.
25916 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25918         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25920 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25922         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25924 2013-04-15  Andreas Schwab  <schwab@suse.de>
25926         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25928         * nscd/pwdcache.c (cache_addpw): Likewise.
25929         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25930         more than recsize.
25932 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25934         * benchtests/Makefile (bench): Write all output to
25935         bench-out.tmp together.
25937 2013-04-15  Andreas Schwab  <schwab@suse.de>
25939         * nscd/nscd.c (main): Don't fork again after closing files.
25941 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25943         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25945         * benchtests/Rules (bench-deps): Collect dependencies into a
25946         single variable.  Add Makefile to dependencies.
25947         ($(objpfx)bench-%.c): Depend on bench-deps.
25949 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25950             Xavier Roche  <roche+kml2@exalead.com>
25952         [BZ #15361]
25953         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25954         just that it's a file descriptor.
25955         * manual/llio.texi (Synchronizing AIO Operations): Update description
25956         for EBADF error from aio_fsync.
25958 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25960         * Rules (bench): Move target definition...
25961         * benchtests/Makefile: ... here.
25963 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25965         * math/libm-test.inc (cos_test): Fix PI/2 test.
25966         (sincos_test): Likewise.
25967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25968         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25970 2013-04-11  Andreas Schwab  <schwab@suse.de>
25972         [BZ #13988]
25973         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25974         accept exponent character only when digits were seen.
25975         * stdio-common/Makefile (tests): Add bug26.
25976         * stdio-common/bug26.c: New file.
25978         [BZ #14293]
25979         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25980         non-freeable.
25982 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25984         * Makeconfig (rtld-prefix): Define built linker prefix.
25985         * Rules (run-bench): Use it.
25986         * math/Makefile (run-regen-ulps): Likewise.
25988         * Rules (bench): Remove eval.
25990 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25991             Roland McGrath  <roland@hack.frob.com>
25992             Ondrej Bilka  <neleai@seznam.cz>
25994         [BZ #15346]
25995         * time/getdate.c: Include ctype.h and alloca.h.
25996         (__getdate_r): Trim leading and trailing spaces of input.
25997         * time/tst-getdate.c (tests): Add tests with leading and
25998         trailing spaces.
26000 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26002         [BZ #14280]
26003         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26004         when computing value.
26006 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26008         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26009         Use testrun.sh to run libm tests.
26011         [BZ #15309]
26012         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26014 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26016         [BZ #15264]
26017         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26019 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26021         * Makefile.in (regen-ulps): New target.
26022         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26023         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26024         [ifneq (no,$(PERL)] (regen-ulps): New target.
26025         [ifeq (no,$(PERL)] (regen-ulps): New target.
26026         * math/libm-test.inc (ulps_file_name): Define.
26027         (output_dir): New variable.
26028         (options): Add "output-dir" option.
26029         (parse_opt): Handle 'o' case.
26030         (main): If output_dir is non-NULL use it as a prefix
26031         otherwise use "".
26032         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26034 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26036         [BZ #10060, #10062]
26037         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26038         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26039         fail configure if __sync_val_compare_and_swap is not inlined.
26040         * sysdeps/i386/configure: Regenerate.
26041         * configure.in: Build for i686 when configured for i386.
26042         * configure: Regenerate.
26043         * README: Remove i386 reference.
26045 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26047         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26048         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26050 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26052         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26053         (lmsnanval): New variables.
26054         (F): Add conversion tests.
26055         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26056         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26058         * stdio-common/tstdiomisc.c (F): Properly collect individual
26059         tests' results.
26061         [BZ #14686, #15336]
26062         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26063         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26064         Instead, use input NaN values or generate a qNaN by arithmetic
26065         operation.  Also fix bugs to comply with the standard.
26066         * math/libm-test.inc (remainder_test): Add more tests.
26068         [BZ #15335, #15342]
26069         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26071         input NaN values or generate a qNaN by arithmetic operation.
26073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26074         unreachable code.
26076         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26077         definitions.
26079 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26081         [BZ #14478]
26082         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26083         underflowed result.
26084         * math/s_cexpf.c (__cexpf): Likewise.
26085         * math/s_cexpl.c (__cexpl): Likewise.
26086         * math/libm-test.inc (cexp_test): Add more tests.
26088 2013-04-03  Andreas Schwab  <schwab@suse.de>
26090         [BZ #15330]
26091         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26092         order arrays from heap if bigger than alloca cutoff.
26094 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26096         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26097         (SNAN_TESTS_double): Refer to GCC PR56831.
26098         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26099         GCC PR56828.
26101 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26103         * Rules (bench): Move bench.out after the run is complete.
26105         * Rules (bench): Echo currently running benchmark.
26107         * benchtests/Makefile (bench): Add atan and slowatan.
26108         * benchtests/atan-inputs: New file.
26109         * benchtests/slowatan-inputs: New file.
26110         * benchtests/slowatan.c: New file.
26112         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26113         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26114         its value.
26116         [BZ #15305]
26117         * sysdeps/unix/sysv/linux/kernel-features.h
26118         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26119         __ASSUME_XFS_RESTRICTED_CHOWN.
26120         * sysdeps/unix/sysv/linux/pathconf.c
26121         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26122         Save and restore errno.
26124 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26126         [BZ #15327]
26127         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26128         arguments using __kernel_casinh.
26129         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26130         arguments using __kernel_casinhf.
26131         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26132         arguments using __kernel_casinhl.
26133         * math/libm-test.inc (cacosh_test): Add more tests.
26134         * sysdeps/i386/fpu/libm-test-ulps: Update.
26135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26137 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26139         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26142         * bench/Makefile (bench): Add sin and slowsin.
26143         * benchtests/sin-inputs: New file.
26144         * benchtests/slowsin-inputs: New file.
26145         * benchtests/slowsin.c: New file.
26147         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26148         (bench): Add slowexp and slowpow.
26149         (exp-ITER): Increase iterations.
26150         (pow-ITER): Likewise.
26151         * benchtests/exp-inputs: Change input.
26152         * benchtests/pow-inputs: Likewise.
26153         * benchtests/slowexp-inputs: New file.
26154         * benchtests/slowexp.c: New file.
26155         * benchtests/slowpow-inputs: New file.
26156         * benchtests/slowpow.c: New file.
26158 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26160         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26161         instructions.
26162         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26163         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26164         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26165         * benchtests/Makefile: Add rint benchtest.
26166         * benchtests/rint-inputs: Input for rint benchtest.
26168 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26170         * Versions.def (libm): Add GLIBC_2.18.
26171         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26172         hidden libm prototypes.
26173         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26174         * math/Makefile (libm-calls): Add s_issignaling.
26175         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26176         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26177         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26178         declaration.
26179         * math/math.h [__USE_GNU] (issignaling): New macro.
26180         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26181         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26182         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26183         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26184         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26185         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26186         * manual/arith.texi (issignaling): New section.
26187         * manual/libm-err-tab.pl (@all_functions): Update comment.
26188         * math/gen-libm-test.pl (parse_args): Apply special handling for
26189         issignaling.
26190         * math/libm-test.inc (print_float, issignaling_test): New
26191         functions.
26192         (check_float_internal): Add issignaling checks.
26193         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26194         default definition.
26195         * sysdeps/powerpc/math-tests.h: New file.
26196         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26197         tests.
26198         * math/test-snan.c (TEST_FUNC): Likewise.
26200 2013-03-30  David S. Miller  <davem@davemloft.net>
26202         * po/de.po: Update from translation team.
26204 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26206         [BZ #10357]
26207         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26208         imaginary part less than 1.0 and real part less than 0.5
26209         specially.
26210         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26211         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26212         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26213         (cacos_test): Add more tests.
26214         (casin_test): Likewise.
26215         (casinh_test): Likewise.
26216         * sysdeps/i386/fpu/libm-test-ulps: Update.
26217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26219 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26221         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26222         ONE with its value.
26224         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26225         (__pow_mp): Replace ONE and MONE with their values.
26226         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26228         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26229         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26230         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26231         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26233         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26235         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26236         (__pow_mp): Replace ZERO and MZERO with their values.
26237         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26238         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26241         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26242         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26243         (__sqr): Likewise.
26245         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26247         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26249 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26251         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26252         Declare with __attribute__ ((weak)).
26253         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26254         Call __call_tls_dtors only if it's not NULL.
26256 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26258         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26259         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26260         magic __ehdr_start linker symbol if it's defined.
26261         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26262         them up here if it was already done.
26264         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26265         (_dl_aux_init): Use const in cast when setting it.
26266         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26267         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26268         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26270         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26271         Declare them here.
26272         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26273         * csu/libc-tls.c: Nor here.
26274         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26276         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26277         (__libc_message): Never call vsyslog.
26279 2013-03-28  Alan Modra  <amodra@gmail.com>
26281         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26282         Define as empty.
26283         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26284         Likewise.
26286 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26288         [BZ #15214]
26289         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26290         underflow.
26291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26293 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26295         [BZ #15304]
26296         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26297         Don't add gid passed as argument.
26299         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26301 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26303         [BZ #15307]
26304         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26305         imaginary part between 1.0 and 1.5 and real part less than 0.5
26306         specially.
26307         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26308         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26309         * math/libm-test.inc (cacos_test): Add more tests.
26310         (casin_test): Likewise.
26311         (casinh_test): Likewise.
26312         * sysdeps/i386/fpu/libm-test-ulps: Update.
26313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26315 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26317         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26318         constants.
26319         (norm): Likewise.
26320         (denorm): Likewise.
26321         (__dbl_mp): Likewise.
26322         (add_magnitudes): Likewise.
26323         (sub_magnitudes): Likewise.
26324         (__add): Likewise.
26325         (__sub): Likewise.
26326         (__mul): Likewise.
26327         (__sqr): Likewise.
26328         (__inv): Likewise.
26329         (__dvd): Likewise.
26331         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26332         commented code.
26333         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26334         (__dubcos): Likewise.
26335         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26336         (__ieee754_acos): Likewise.
26337         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26338         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26339         (__exp1): Likewise.
26340         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26341         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26342         (log1): Likewise.
26343         (my_log2): Likewise.
26344         (checkint): Likewise.
26345         * sysdeps/ieee754/dbl-64/e_remainder.c
26346         (__ieee754_remainder): Likewise.
26347         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26348         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26349         (bsloww): Likewise.
26350         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26352         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26353         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26354         MANTISSA_STORE_T to store computations on mantissa.  Use
26355         macros for rounding and division.
26356         (denorm): Likewise.
26357         (__dbl_mp): Likewise.
26358         (add_magnitudes): Likewise.
26359         (sub_magnitudes): Likewise.
26360         (__mul): Likewise.
26361         (__sqr): Likewise.
26362         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26363         powers of two in terms of TWOPOW macro.
26364         (mp_no): Make type of mantissa as MANTISSA_T.
26365         [!RADIXI]: Define RADIXI.
26366         [!TWO52]: Define TWO52.
26367         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26369 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26371         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26372         llroundl symbol when building for PPC32.
26374 2013-03-24  Mark H Weaver  <mhw@netris.org>
26376         * manual/arith.texi (Normalization Functions): Fix prototypes for
26377         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26379 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26381         [BZ #13889]
26382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26383         high value to check if expl overflow.
26384         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26385         to check for underflow and overflow.
26386         * math/libm-test.inc: Add exp test.
26388 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
26390         [BZ #11120]
26391         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26392         with NOT_IN_libc.
26394 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26396         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26397         symbol.
26399 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26401         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26402         wrap blocks consisting of several statements.
26404         * sysdeps/generic/math-tests.h: New file.
26405         * sysdeps/i386/fpu/math-tests.h: Likewise.
26406         * math/test-snan.c: Include it.
26407         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26409 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26411         [BZ #15285]
26412         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26413         (__ieee754_j0l): Do not improve calculations using cos of twice
26414         input for inputs above LDBL_MAX / 2.0L.
26415         (__ieee754_y0l): Likewise.
26416         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26417         (__ieee754_j1l): Do not improve calculations using cos of twice
26418         input for inputs above LDBL_MAX / 2.0L.
26419         (__ieee754_y1l): Likewise.
26420         * math/libm-test.inc (j0_test): Add another test.
26421         (j1_test): Likewise.
26422         (y0_test): Likewise.
26423         (y1_test): Likewise.
26424         * sysdeps/i386/fpu/libm-test-ulps: Update.
26426 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26428         * Rules ($(objpfx)bench-%.c): Include code from a C source
26429         file.
26431 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26433         [BZ #15287]
26434         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26435         imaginary part 1.0 and real part less than 0.5 specially.
26436         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26437         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26438         * math/libm-test.inc (cacos_test): Add more tests.
26439         (casin_test): Likewise.
26440         (casinh_test): Likewise.
26441         * sysdeps/i386/fpu/libm-test-ulps: Update.
26442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26444 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26446         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26447         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26449 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26451         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26452         * config.make.in (config-cflags-sse4): Remove variable.
26453         (config-cflags-avx): Likewise.
26454         (config-cflags-sse2avx): Likewise.
26455         (config-cflags-novzeroupper): Likewise.
26456         (config-asflags-i686): Likewise.
26457         (have-mfma4): Likewise.
26458         (have-as-vis3): Likewise.
26459         (MIG): Likewise.
26460         * configure.in (MIG): Do not AC_SUBST.
26461         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26462         (libc_cv_cc_sse4): Do not AC_SUBST.
26463         (libc_cv_cc_avx): Likewise.
26464         (libc_cv_cc_sse2avx): Likewise.
26465         (libc_cv_cc_novzeroupper): Likewise.
26466         (libc_cv_cc_fma4): Likewise.
26467         (libc_cv_as_i686): Likewise.
26468         (libc_cv_sparc_as_vis3): Likewise.
26469         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26470         LIBC_CONFIG_VAR.
26471         (config-asflags-i686): Likewise.
26472         (config-cflags-avx): Likewise.
26473         (config-cflags-sse2avx): Likewise.
26474         (have-mfma4): Likewise.
26475         (config-cflags-novzeroupper): Likewise.
26476         * sysdeps/mach/configure.in (MIG): Likewise.
26477         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26478         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26479         LIBC_CONFIG_VAR.
26480         (config-cflags-avx): Likewise.
26481         (config-cflags-sse2avx): Likewise.
26482         (have-mfma4): Likewise.
26483         (config-cflags-novzeroupper): Likewise.
26484         * configure: Regenerated.
26485         * sysdeps/i386/configure: Likewise.
26486         * sysdeps/mach/configure: Likewise.
26487         * sysdeps/sparc/configure: Likewise.
26488         * sysdeps/x86_64/configure: Likewise.
26490 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26492         [BZ #14812]
26493         * locale/programs/localedef.c (options): Put N_ translation marker
26494         on argument names, not just descriptions.
26496 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26498         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26500 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26502         [BZ #14176]
26503         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26505 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26507         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26508         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26509         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26510         [!BEFORE_ABORT] (before_abort): New function.
26511         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26512         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26513         (writev_for_fatal): New function.
26514         (WRITEV_FOR_FATAL): New macro; call that.
26515         (backtrace_and_maps): New function.
26516         (BEFORE_ABORT): New macro; call that.
26517         (struct str_list): Type removed.
26518         (__libc_message, __libc_fatal): Functions removed.
26519         Include <sysdeps/posix/libc_fatal.c> instead.
26521 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26523         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26524         constants.
26525         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26526         double constants.
26528 2013-03-19  Andreas Schwab  <schwab@suse.de>
26530         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26531         * sysdeps/gnu/configure: Regenerate.
26533         * configure.in: Substitute libc_cv_rtlddir.
26534         * configure: Regenerate.
26535         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26536         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26537         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26538         * elf/Makefile (install-others, CFLAGS-interp.c)
26539         (ldso_install, common-ldd-rewrite): Likewise.
26540         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26541         $(inst_slibdir)/$(rtld-installed-name).
26542         * scripts/rellns-sh: Add -p option.
26543         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26544         for source.
26546 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26548         * manual/nptl.texi: Renamed to ...
26549         * manual/threads.texi: ... this.
26550         * manual/Makefile (chapters): Update.
26552 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26554         [BZ #14812]
26555         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26556         on argument names, not just descriptions.
26557         * malloc/memusagestat.c (options): Likewise.
26558         * nss/getent.c (options): Likewise.
26560 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26562         [BZ #14812]
26563         * iconv/iconv_prog.c (options): Put N_ translation marker
26564         on argument names, not just descriptions.
26565         * iconv/iconvconfig.c (options): Likewise.
26567 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26569         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26570         implementation which is faster on all x86_64 architectures.
26571         Tested on AMD, Intel Nehalem, SNB, IVB.
26572         * sysdeps/x86_64/strnlen.S: Likewise.
26574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26575         Remove all multiarch strlen and strnlen versions.
26576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26577         Remove strlen and strnlen related parts.
26579         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26580         Inline strlen part.
26581         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26583         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26584         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26585         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26586         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26587         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26588         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26590 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26592         * manual/memory.texi (Malloc Tunable Parameters):
26593         Sort parameters alphabetically. Add comments for missing entries.
26595 2013-03-17  David S. Miller  <davem@davemloft.net>
26597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26599 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26601         [BZ #15283]
26602         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26603         for arguments at most half maximum finite value.
26604         * math/libm-test.inc (j0_test): Add more tests.
26605         (j1_test): Likewise.
26606         (y0_test): Likewise.
26607         (y1_test): Likewise.
26608         * sysdeps/i386/fpu/libm-test-ulps: Update.
26609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26611         [BZ #14155]
26612         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26613         1 / x and functions P and Q for arguments above 0x1p256L.
26614         (__ieee754_y0l): Likewise.
26615         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26616         (__ieee754_y1l): Likewise.
26617         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26618         (j1_test): Likewise.
26619         (y0_test): Likewise.
26620         (y1_test): Likewise.
26622 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26624         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26625         variable.
26627 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26629         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26630         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26631         zero since it's initialized to EXEC_PAGESIZE.
26633         * sysdeps/unix/sysv/linux/ldsodefs.h
26634         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26635         * sysdeps/generic/ldsodefs.h: ... here.
26637 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26639         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26641         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26642         math/test-snan.c.
26643         * math/test-snan.c: Renamed from
26644         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26645         * math/Makefile (tests): Add test-snan.
26646         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26647         test-powerpc-snan.
26649         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26650         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26651         functions.
26652         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26653         __builtin_nan family of functions.
26654         * math/libm-test.inc (initialize): Initialize qnan_value with
26655         __builtin_nan family of functions.
26656         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26657         Remove variables.
26658         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26659         Remove functions.
26660         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26661         storage class.  Initialize qNaN_var and sNaN_var with
26662         __builtin_nan and __builtin_nans families of functions,
26663         respectively.
26665         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26666         (sqrt_test): Remove duplicate test with qNaN input.
26667         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26668         (round_test, signbit_test, significand_test): Note missing +/-Inf
26669         as well as qNaN tests.
26671         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26672         qNaN_var.  Fix a few strings, too.
26673         * math/libm-test.inc (nan_value): Rename to qnan_value.
26674         * math/gen-libm-test.pl (%beautify): Adjust to that.
26675         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26676         * math/test-misc.c (main): Likewise.
26677         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26678         to __qnan_bytes, and __qnan_union, respectively.
26679         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26680         Likewise.
26681         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26682         and lqnanval, respectively.
26683         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26684         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26686         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26688         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26689         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26690         doubles.
26692         * math/test-misc.c (main): Fix copy'n'pastos.
26693         * misc/tst-efgcvt.c (special): Likewise.
26695         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26696         Remove declarations.
26698 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26700         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26701         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26702         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26703         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26705 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26707         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26708         macro to return vdso values correctly in IFUNC implementations.
26709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26710         Optimization by using IFUNC.
26712 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26713             Richard Henderson  <rth@redhat.com>
26714             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26716         * Makefile.in (bench): New target.
26717         * NEWS: Mention the benchmark framework.
26718         * Rules (bench): Likewise.
26719         (binaries-bench): Generate binaries for functions to
26720         benchmark.
26721         * benchtests/Makefile: New makefile for benchmark tests.
26722         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26723         programs.
26724         * benchtests/exp-inputs: New input file for EXP function.
26725         * benchtests/pow-inputs: New input file for POW function.
26726         * scripts/bench.pl: New script to generate source files for
26727         benchmark programs.
26729 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26731         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26732         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26733         computations on mantissa.  Use macros for rounding and
26734         division.
26735         (denorm): Likewise.
26736         (__dbl_mp): Likewise.
26737         (add_magnitudes): Likewise.
26738         (sub_magnitudes): Likewise.
26739         (__mul): Likewise.
26740         (__sqr): Likewise.
26741         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26742         powers of two in terms of TWOPOW macro.
26743         (mp_no): Make type of mantissa as MANTISSA_T.
26744         [!RADIXI]: Define RADIXI.
26745         [!TWO52]: Define TWO52.
26746         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26748         * manual/nptl.texi (cindex): Modify threads to pthreads.
26750 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26752         * sysdeps/x86_64/preconfigure: Regenerated.
26754 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26756         [BZ #14155]
26757         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26758         0x1p28 and above.
26759         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26760         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26761         0x1p28 and above.
26762         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26763         * math/libm-test.inc (j0_test): Do not allow one spurious
26764         underflow exception.
26765         (y1_test): Likewise.
26767 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26769         * manual/Makefile (chapters): Add nptl.
26770         * manual/debug.texi (Debugging Support): Add link to Threads
26771         chapter.
26772         * manual/nptl.texi: New file.
26774         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26776 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26778         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26779         for non-NULL pointer before the memory validity test. Pointed
26780         out by Holger Brunck <holger.brunck@keymile.com>.
26782 2013-03-13  Andreas Schwab  <schwab@suse.de>
26784         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26785         instead of .os.
26787 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26789         * timezone/zic.c: Update from tzcode 2013b.
26791 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26793         * manual/install.texi (Configuring and compiling):
26794         Mention i686 and i586.
26795         * INSTALL: Regenerate.
26797 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26799         * sysdeps/init_array/elf-init.c: New file.
26800         * csu/elf-init.c
26801         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26802         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26804         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26805         __gmon_start__ as global, but as static with a .preinit_array pointer.
26806         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26807         * sysdeps/init_array/crti.S: New file, empty except for comments.
26808         * sysdeps/init_array/crtn.S: Likewise.
26810 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26812         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26813         definining bcopy.
26814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26815         Remove Prefer_SSE_for_memop.
26816         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26817         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26818         HAS_PREFER_SSE_FOR_MEMOP.
26819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26820         memset-x86-64.
26821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26822         Remove bzero, memset ifunc support.
26823         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26824         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26828 2013-03-11  Andreas Schwab  <schwab@suse.de>
26830         [BZ #15234]
26831         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26832         by SHLIB_COMPAT.
26833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26834         (GLIBC_2.16): Remove pthread_atfork.
26836 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26838         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26839         (ptestcases.h): Likewise.
26841 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26843         * Makeconfig ($(common-objpfx)config.status): Depend on
26844         sysdeps/*/preconfigure{,.in} too.
26846 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26848         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26849         (__free_hook): Use void * instead of __malloc_ptr_t.
26850         (__malloc_hook): Likewise.
26851         (__realloc_hook): Likewise.
26852         (__memalign_hook): Likewise.
26853         (__after_morecore_hook): Likewise.
26854         * malloc/arena.c (save_malloc_hook): Likewise.
26855         (save_free_hook): Likewise.
26856         * malloc/hooks.c (malloc_hook_ini): Likewise.
26857         (realloc_hook_ini): Likewise.
26858         (memalign_hook_ini): Likewise.
26859         * malloc/malloc.c (malloc_hook_ini): Likewise.
26860         (realloc_hook_ini): Likewise.
26861         (memalign_hook_ini): Likewise.
26862         (__free_hook): Likewise.
26863         (__malloc_hook): Likewise.
26864         (__realloc_hook): Likewise.
26865         (__memalign_hook): Likewise.
26866         (__libc_malloc): Likewise.
26867         (__libc_free): Likewise.
26868         (__libc_realloc): Likewise.
26869         (__libc_memalign): Likewise.
26870         (__libc_valloc): Likewise.
26871         (__libc_pvalloc): Likewise.
26872         (__libc_calloc): Likewise.
26873         (__posix_memalign): Likewise.
26874         * malloc/morecore.c (__sbrk): Likewise.
26875         (__default_morecore): Likewise.
26877         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26879         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26880         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26881         __malloc_ptrdiff_t.
26883         * malloc/malloc.h (__malloc_size_t): Remove macro.
26884         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26885         __malloc_size_t.
26886         (old_memalign_hook): Likewise.
26887         (old_realloc_hook): Likewise.
26888         (struct hdr): Likewise.
26889         (flood): Likewise.
26890         (mallochook): Likewise.
26891         (memalignhook): Likewise.
26892         (reallochook): Likewise.
26893         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26894         (tr_old_realloc_hook): Likewise.
26895         (tr_old_memalign_hook): Likewise.
26896         (tr_mallochook): Likewise.
26897         (tr_reallochook): Likewise.
26898         (tr_memalignhook): Likewise.
26900 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26903         default_ldbl_pack and using as default implementation.
26904         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26905         implementation.
26906         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26907         redundant definition.
26908         (ldbl_insert_mantissa): Likewise.
26909         (ldbl_canonicalize): Likewise.
26910         (ldbl_nearbyint): Likewise.
26911         (ldbl_pack): Rename to ldbl_pack_ppc.
26912         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26913         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26914         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26916 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26919         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26920         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26921         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26923         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26924         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26925         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26927 2013-03-07  Andreas Jaeger  <aj@suse.de>
26929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26930         bits/mman-linux.h.
26932 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26934         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26935         Include mpa.h and declare __MPEXP.
26936         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26937         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26938         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26939         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26940         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26941         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26942         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26944         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26945         (__slowpow): Use long double EXPL and LOGL functions to
26946         compute POW.
26947         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26948         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26949         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26950         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26951         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26952         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26955         intermediate variable to calculate exponent.
26956         (__sqr): Likewise.
26957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26958         Likewise.
26959         (__sqr): Likewise.
26961         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26962         [!NO__SQR]: Define __sqr.
26963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26964         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26965         sysdeps/ieee754/dbl-64/mpa.c.
26966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26968         [BZ #12723]
26969         * posix/Makefile (tests): Add tst-pathconf.
26970         * posix/tst-pathconf.c: New test case.
26971         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26972         _PC_PIPE_BUF.
26973         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26975 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26977         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26979 2013-03-06  Andreas Jaeger  <aj@suse.de>
26981         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26982         definition via __MAP_ANONYMOUS.
26984         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26985         it's not part of Linux headers.
26987         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26988         (MAP_HUGE_MASK): Define.
26990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26991         Define.
26992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26993         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26994         Define.
26995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26996         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26997         Define.
26998         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26999         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27000         Define.
27001         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27003         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27004         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27005         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27006         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27007         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27008         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27010         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27011         Handle f2fs.
27013         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27014         Handle f2fs and efivarfs.
27016         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27017         f2fs.
27019         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27020         (EFIVARFS_MAGIC): Add.
27021         (F2FS_LINK_MAX): Add.
27023 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27025         * stdio-common/vfprintf.c: Replace __builtin_expect with
27026         __glibc_unlikely.
27028 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27030         [BZ #13550]
27031         * sysdeps/generic/bp-sym.h: Remove file.
27032         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27033         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27034         <bp-sym.h> and <bp-asm.h>.
27035         (__longjmp): Don't use BP_SYM.
27036         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27037         and <bp-asm.h>.
27038         (memcpy): Don't use BP_SYM.
27039         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27040         <bp-sym.h> and <bp-asm.h>.
27041         (memcpy): Don't use BP_SYM.
27042         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27043         <bp-asm.h>.
27044         (memcpy): Don't use BP_SYM.
27045         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27046         <bp-asm.h>.
27047         (memset): Don't use BP_SYM.
27048         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27049         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27050         (__bzero): Don't use BP_SYM.
27051         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27052         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27053         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27054         <bp-sym.h> and <bp-asm.h>.
27055         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27056         pointers.
27057         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27058         <bp-sym.h> and <bp-asm.h>.
27059         (memcpy): Don't use BP_SYM.
27060         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27061         <bp-sym.h> and <bp-asm.h>.
27062         (memset): Don't use BP_SYM.
27063         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27064         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27065         (__bzero): Don't use BP_SYM.
27066         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27067         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27068         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27069         <bp-sym.h> and <bp-asm.h>.
27070         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27071         pointers.
27072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27073         <bp-sym.h> and <bp-asm.h>.
27074         (memcpy): Don't use BP_SYM.
27075         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27076         <bp-sym.h> and <bp-asm.h>.
27077         (memset): Don't use BP_SYM.
27078         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27079         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27080         (__bzero): Don't use BP_SYM.
27081         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27082         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27084         <bp-sym.h> and <bp-asm.h>.
27085         (__memchr): Don't use BP_SYM.
27086         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27087         <bp-sym.h> and <bp-asm.h>.
27088         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27089         pointers.
27090         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27091         <bp-sym.h> and <bp-asm.h>.
27092         (memcpy): Don't use BP_SYM.
27093         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27094         <bp-sym.h> and <bp-asm.h>.
27095         (__mempcpy): Don't use BP_SYM.
27096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27097         <bp-sym.h> and <bp-asm.h>.
27098         (__memrchr): Don't use BP_SYM.
27099         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27100         <bp-sym.h> and <bp-asm.h>.
27101         (memset): Don't use BP_SYM.
27102         (__bzero): Likewise.
27103         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27104         <bp-sym.h> and <bp-asm.h>.
27105         (__rawmemchr): Don't use BP_SYM.
27106         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27107         <bp-sym.h> and <bp-asm.h>.
27108         (__STRCMP): Don't use BP_SYM.
27109         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27110         <bp-sym.h> and <bp-asm.h>.
27111         (strchr): Don't use BP_SYM.
27112         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27113         <bp-sym.h> and <bp-asm.h>.
27114         (__strchrnul): Don't use BP_SYM.
27115         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27116         <bp-sym.h> and <bp-asm.h>.
27117         (strlen): Don't use BP_SYM.
27118         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27119         <bp-sym.h> and <bp-asm.h>.
27120         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27121         pointers.
27122         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27123         <bp-sym.h> and <bp-asm.h>.
27124         (__strnlen): Don't use BP_SYM.
27125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27126         <bp-sym.h> and <bp-asm.h>.
27127         (__GI__setjmp): Don't use BP_SYM.
27128         (_setjmp): Likewise.
27129         (__sigsetjmp): Likewise.
27130         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27131         (L(start_addresses)): Don't use BP_SYM.
27132         (_start): Likewise.
27133         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27134         <bp-asm.h>.
27135         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27136         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27137         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27138         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27139         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27140         <bp-asm.h>.
27141         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27142         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27143         about bounded pointers.
27144         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27145         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27146         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27147         <bp-asm.h>.
27148         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27149         about bounded pointers.  Remove GKM FIXME comments.
27150         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27151         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27152         <bp-asm.h>.
27153         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27154         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27155         Remove GKM FIXME comments.
27156         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27157         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27158         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27159         <bp-asm.h>.
27160         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27161         about bounded pointers.  Remove GKM FIXME comment.
27162         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27163         and <bp-asm.h>.
27164         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27165         pointers.
27166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27167         <bp-sym.h> and <bp-asm.h>.
27168         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27170         <bp-sym.h> and <bp-asm.h>.
27171         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27172         comment.
27174 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27176         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27177         call free(NULL).
27179 2013-03-05  David S. Miller  <davem@davemloft.net>
27181         * po/es.po: Update from translation team.
27183 2013-03-05  Andreas Jaeger  <aj@suse.de>
27185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27186         <bits/mman-linux.h>.
27187         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27188         is fine.
27189         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27190         <bits/mman-linux.h> to end of file.
27191         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27192         is fine.
27193         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27194         <bits/mman-linux.h> to end of file.
27195         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27196         is fine.
27197         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27198         <bits/mman-linux.h> to end of file.
27200         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27201         (MCL_CURRENT, MCL_FUTURE): Define here.
27203 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27205         [BZ #15232]
27206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27207         attribute_hidden.
27208         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27210 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27213         fourth parameter needed for rt_sigprocmask syscall.
27214         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27215         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27216         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27217         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27218         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27219         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27221 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27223         [BZ #13550]
27224         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27225         comment about bounded pointers.
27226         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27227         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27229 2013-03-04  Andreas Jaeger  <aj@suse.de>
27231         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27232         common definitions.
27234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27235         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27236         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27237         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27239         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27241 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27243         [BZ #15055]
27244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27245         __ieee754_sqrl instead of __sqrl.
27247 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27249         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27250         * sysdeps/powerpc/fpu_control.h: ... here.
27251         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27252         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27253         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27254         * sysdeps/powerpc/bits/mathinline.h: ... here.
27256 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27258         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27259         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27260         to just [NEED_DL_SYSINFO_DSO].
27261         * elf/dl-support.c: Likewise.
27262         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27263         * elf/rtld.c (dl_main): Likewise.
27264         * elf/setup-vdso.h (setup_vdso): Likewise.
27265         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27266         * sysdeps/unix/sysv/linux/dl-sysdep.c
27267         (_dl_discover_osversion): Likewise.
27269 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27271         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27272         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27274 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27276         * NEWS: Mention libm performance improvements and non-x86 PI
27277         futex support.
27279         * csu/libc-start.c (__pthread_initialize_minimal): Change
27280         function arguments.
27281         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27283 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27285         [BZ #13550]
27286         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27287         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27288         <bp-sym.h> and <bp-asm.h>.
27289         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27290         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27291         and <bp-asm.h>.
27292         (memcpy): Don't use BP_SYM.
27293         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27294         <bp-asm.h>.
27295         (__mpn_add_n): Don't use BP_SYM.
27296         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27297         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27298         and <bp-asm.h>.
27299         (__mpn_addmul_1): Don't use BP_SYM.
27300         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27301         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27302         <bp-sym.h>.
27303         (_setjmp): Don't use BP_SYM.
27304         (__novmx_setjmp): Likewise.
27305         (__GI__setjmp): Likewise.
27306         (__vmx_setjmp): Likewise.
27307         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27308         <bp-sym.h>.
27309         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27310         (__bzero): Don't use BP_SYM.
27311         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27312         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27313         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27314         <bp-sym.h> and <bp-asm.h>.
27315         (memcpy): Don't use BP_SYM.
27316         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27317         <bp-sym.h> and <bp-asm.h>.
27318         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27319         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27320         <bp-sym.h> and <bp-asm.h>.
27321         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27322         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27323         <bp-asm.h>.
27324         (__mpn_lshift): Don't use BP_SYM.
27325         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27326         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27327         <bp-asm.h>.
27328         (memset): Don't use BP_SYM.
27329         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27330         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27331         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27332         <bp-asm.h>.
27333         (__mpn_mul_1): Don't use BP_SYM.
27334         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27336         <bp-sym.h> and <bp-asm.h>.
27337         (memcmp): Don't use BP_SYM.
27338         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27339         <bp-sym.h> and <bp-asm.h>.
27340         (memcpy): Don't use BP_SYM.
27341         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27342         <bp-sym.h> and <bp-asm.h>.
27343         (memset): Don't use BP_SYM.
27344         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27345         <bp-sym.h> and <bp-asm.h>.
27346         (strncmp): Don't use BP_SYM.
27347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27348         <bp-sym.h> and <bp-asm.h>.
27349         (memcpy): Don't use BP_SYM.
27350         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27351         <bp-sym.h> and <bp-asm.h>.
27352         (memset): Don't use BP_SYM.
27353         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27354         <bp-sym.h> and <bp-asm.h>.
27355         (__memchr): Don't use BP_SYM.
27356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27357         <bp-sym.h> and <bp-asm.h>.
27358         (memcmp): Don't use BP_SYM.
27359         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27360         <bp-sym.h> and <bp-asm.h>.
27361         (memcpy): Don't use BP_SYM.
27362         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27363         <bp-sym.h> and <bp-asm.h>.
27364         (__mempcpy): Don't use BP_SYM.
27365         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27366         <bp-sym.h> and <bp-asm.h>.
27367         (__memrchr): Don't use BP_SYM.
27368         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27369         <bp-sym.h> and <bp-asm.h>.
27370         (memset): Don't use BP_SYM.
27371         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27372         <bp-sym.h> and <bp-asm.h>.
27373         (__rawmemchr): Don't use BP_SYM.
27374         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27375         <bp-sym.h> and <bp-asm.h>.
27376         (__STRCMP): Don't use BP_SYM.
27377         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27378         <bp-sym.h> and <bp-asm.h>.
27379         (strchr): Don't use BP_SYM.
27380         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27381         <bp-sym.h> and <bp-asm.h>.
27382         (__strchrnul): Don't use BP_SYM.
27383         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27384         <bp-sym.h> and <bp-asm.h>.
27385         (strlen): Don't use BP_SYM.
27386         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27387         <bp-sym.h> and <bp-asm.h>.
27388         (strncmp): Don't use BP_SYM.
27389         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27390         <bp-sym.h> and <bp-asm.h>.
27391         (__strnlen): Don't use BP_SYM.
27392         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27393         <bp-asm.h>.
27394         (__mpn_rshift): Don't use BP_SYM.
27395         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27396         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27397         <bp-sym.h> and <bp-asm.h>.
27398         (__sigsetjmp): Don't use BP_SYM.
27399         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27400         (L(start_addresses)): Don't use BP_SYM.
27401         (_start): Likewise.
27402         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27403         <bp-asm.h>.
27404         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27405         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27406         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27407         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27408         <bp-asm.h>.
27409         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27410         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27411         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27412         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27413         <bp-asm.h>.
27414         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27415         comments.
27416         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27417         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27418         <bp-asm.h>.
27419         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27420         FIXME comments.
27421         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27422         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27423         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27424         <bp-asm.h>.
27425         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27426         comment.
27427         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27428         and <bp-asm.h>.
27429         (strncmp): Don't use BP_SYM,
27430         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27431         <bp-asm.h>.
27432         (__mpn_sub_n): Don't use BP_SYM.
27433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27434         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27435         and <bp-asm.h>.
27436         (__mpn_submul_1): Don't use BP_SYM.
27437         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27439         <bp-sym.h> and <bp-asm.h>.
27440         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27442         <bp-sym.h> and <bp-asm.h>.
27443         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27444         comment.
27446 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27449         Use ZK to minimize writes to Z.
27450         (sub_magnitudes): Simplify code a bit.
27451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27452         Use ZK to minimize writes to Z.
27453         (sub_magnitudes): Simplify code a bit.
27455 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27457         * csu/gmon-start.c: Add special exception to license text.
27459 2013-02-27  Richard Henderson  <rth@redhat.com>
27461         * scripts/config.guess: Update from config.git.
27462         * scripts/config.sub: Likewise.
27464 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27466         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27468         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27470         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27472         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27474         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27476 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27478         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27479         [$(build-shared = yes].
27481 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27483         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27484         (__mul): Reduce iterations for calculating mantissa.
27486         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27487         MPTWO.
27488         (__mpranred): Likewise.
27490         [BZ #15160]
27491         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27492         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27494 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27496         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27497         Define __attribute__.
27499 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27501         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27502         unused.
27503         * posix/regex_internal.h (__attribute): Remove.
27504         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27505         (re_string_context_at): Likewise.
27506         (bitset_not): Use __attribute__ and mark function as possibly
27507         unused.
27508         (bitset_merge): Likewise.
27509         (bitset_mask): Likewise.
27510         (re_string_char_size_at): Likewise.
27511         (re_string_wchar_at): Likewise.
27512         (re_string_elem_size_at): Likewise.
27514 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27516         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27517         code.
27518         (cc32): Likewise.
27520         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27521         (__acr): Likewise.
27522         (__cpy): Likewise.
27523         (norm): Likewise.
27524         (denorm): Likewise.
27525         (__dbl_mp): Likewise.
27526         (add_magnitudes): Likewise.
27527         (sub_magnitudes): Likewise.
27528         (__mul): Likewise.
27529         (__inv): Likewise.
27531         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27532         style.
27534         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27535         style.
27537         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27538         code.
27540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27541         up changes with default code.
27542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27543         Likewise.
27545 2013-02-24  Allan McRae  <allan@archlinux.org>
27547         * manual/socket.texi (The Internet Namespace): Order menu items
27548         to match that in the file.
27550         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27551         node listing of the info page menu.
27553 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27555         [BZ #13550]
27556         * sysdeps/i386/bp-asm.h: Remove file.
27557         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27558         (PARMS): Do not use macros from bp-asm.h.
27559         (S1): Likewise.
27560         (S2): Likewise.
27561         (SIZE): Likewise.
27562         (__mpn_add_n): Do not use BP_SYM
27563         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27564         "bp-asm.h".
27565         (PARMS): Do not use macros from bp-asm.h.
27566         (S1): Likewise.
27567         (SIZE): Likewise.
27568         (__mpn_addmul_1): Do not use BP_SYM
27569         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27570         "bp-asm.h".
27571         (PARMS): Do not use macros from bp-asm.h.
27572         (SIGMSK): Likewise.
27573         (_setjmp): Likewise.  Do not use BP_SYM.
27574         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27575         "bp-asm.h".
27576         (PARMS): Do not use macros from bp-asm.h.
27577         (SIGMSK): Likewise.
27578         (setjmp): Likewise.  Do not use BP_SYM.
27579         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27580         "bp-asm.h".
27581         (PARMS): Do not use macros from bp-asm.h.
27582         (__frexp): Do not use BP_SYM.
27583         (frexp): Likewise.
27584         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27585         "bp-asm.h".
27586         (PARMS): Do not use macros from bp-asm.h.
27587         (__frexpf): Do not use BP_SYM.
27588         (frexpf): Likewise.
27589         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27590         "bp-asm.h".
27591         (PARMS): Do not use macros from bp-asm.h.
27592         (__frexpl): Do not use BP_SYM.
27593         (frexpl): Likewise.
27594         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27595         "bp-asm.h".
27596         (PARMS): Do not use macros from bp-asm.h.
27597         (__remquo): Do not use BP_SYM.
27598         (remquo): Likewise.
27599         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27600         "bp-asm.h".
27601         (PARMS): Do not use macros from bp-asm.h.
27602         (__remquof): Do not use BP_SYM.
27603         (remquof): Likewise.
27604         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27605         "bp-asm.h".
27606         (PARMS): Do not use macros from bp-asm.h.
27607         (__remquol): Do not use BP_SYM.
27608         (remquol): Likewise.
27609         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27610         "bp-asm.h".
27611         (PARMS): Do not use macros from bp-asm.h.
27612         (DEST): Likewise.
27613         (SRC): Likewise.
27614         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27615         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27616         "bp-asm.h".
27617         (PARMS): Do not use macros from bp-asm.h.
27618         (strlen): Do not use BP_SYM.
27619         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27620         "bp-asm.h".
27621         (PARMS): Do not use macros from bp-asm.h.
27622         (S1): Likewise.
27623         (S2): Likewise.
27624         (SIZE): Likewise.
27625         (__mpn_add_n): Do not use BP_SYM.
27626         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27627         "bp-asm.h".
27628         (PARMS): Do not use macros from bp-asm.h.
27629         (S1): Likewise.
27630         (SIZE): Likewise.
27631         (__mpn_addmul_1): Do not use BP_SYM.
27632         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27633         weak_alias.
27634         (bzero): Likewise.
27635         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27636         "bp-asm.h".
27637         (PARMS): Do not use macros from bp-asm.h.
27638         (S): Likewise.
27639         (SIZE): Likewise.
27640         (__mpn_lshift): Do not use BP_SYM.
27641         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27642         "bp-asm.h".
27643         (PARMS): Do not use macros from bp-asm.h.
27644         (DEST): Likewise.
27645         (SRC): Likewise.
27646         (LEN): Likewise.
27647         (memcpy): Likewise.  Do not use BP_SYM.
27648         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27649         libc_hidden_def and weak_alias.
27650         (mempcpy): Do not use BP_SYM in weak_alias.
27651         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27652         "bp-asm.h".
27653         (PARMS): Do not use macros from bp-asm.h.
27654         (DEST): Likewise.
27655         (LEN): Likewise.
27656         [!BZERO_P] (CHR): Likewise.
27657         (memset): Likewise.  Do not use BP_SYM.
27658         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27659         "bp-asm.h".
27660         (PARMS): Do not use macros from bp-asm.h.
27661         (S1): Likewise.
27662         (SIZE): Likewise.
27663         (__mpn_mul_1): Do not use BP_SYM.
27664         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27665         "bp-asm.h".
27666         (PARMS): Do not use macros from bp-asm.h.
27667         (S): Likewise.
27668         (SIZE): Likewise.
27669         (__mpn_rshift): Do not use BP_SYM.
27670         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27671         "bp-asm.h".
27672         (PARMS): Do not use macros from bp-asm.h.
27673         (STR): Likewise.
27674         (CHR): Likewise.
27675         (strchr): Likewise.  Do not use BP_SYM.
27676         (index): Do not use BP_SYM in weak_alias.
27677         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27678         "bp-asm.h".
27679         (PARMS): Do not use macros from bp-asm.h.
27680         (DEST): Likewise.
27681         (SRC): Likewise.
27682         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27683         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27684         "bp-asm.h".
27685         (PARMS): Do not use macros from bp-asm.h.
27686         (strlen): Do not use BP_SYM.
27687         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27688         "bp-asm.h".
27689         (PARMS): Do not use macros from bp-asm.h.
27690         (S1): Likewise.
27691         (S2): Likewise.
27692         (SIZE): Likewise.
27693         (__mpn_sub_n): Do not use BP_SYM.
27694         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27695         "bp-asm.h".
27696         (PARMS): Do not use macros from bp-asm.h.
27697         (S1): Likewise.
27698         (SIZE): Likewise.
27699         (__mpn_submul_1): Do not use BP_SYM.
27700         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27701         "bp-asm.h".
27702         (PARMS): Do not use macros from bp-asm.h.
27703         (S1): Likewise.
27704         (S2): Likewise.
27705         (SIZE): Likewise.
27706         (__mpn_add_n): Do not use BP_SYM.
27707         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27708         weak_alias.
27709         (bzero): Likewise.
27710         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27711         "bp-asm.h".
27712         (PARMS): Do not use macros from bp-asm.h.
27713         (BLK2): Likewise.
27714         (LEN): Likewise.
27715         (memcmp): Do not use BP_SYM.
27716         (bcmp): Do not use BP_SYM in weak_alias.
27717         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27718         "bp-asm.h".
27719         (PARMS): Do not use macros from bp-asm.h.
27720         (DEST): Likewise.
27721         (SRC): Likewise.
27722         (LEN): Likewise.
27723         (memcpy): Likewise.  Do not use BP_SYM.
27724         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27725         "bp-asm.h".
27726         (PARMS): Do not use macros from bp-asm.h.
27727         (DEST): Likewise.
27728         (SRC): Likewise.
27729         (LEN): Likewise.
27730         (memmove): Likewise.  Do not use BP_SYM.
27731         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27732         "bp-asm.h".
27733         (PARMS): Do not use macros from bp-asm.h.
27734         (DEST): Likewise.
27735         (SRC): Likewise.
27736         (LEN): Likewise.
27737         (__mempcpy): Likewise.  Do not use BP_SYM.
27738         (mempcpy): Do not use BP_SYM in weak_alias.
27739         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27740         "bp-asm.h".
27741         (PARMS): Do not use macros from bp-asm.h.
27742         (DEST): Likewise.
27743         (LEN): Likewise.
27744         [!BZERO_P] (CHR): Likewise.
27745         (memset): Likewise.  Do not use BP_SYM.
27746         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27747         "bp-asm.h".
27748         (PARMS): Do not use macros from bp-asm.h.
27749         (STR2): Likewise.
27750         (strcmp): Do not use BP_SYM.
27751         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27752         "bp-asm.h".
27753         (PARMS): Do not use macros from bp-asm.h.
27754         (STR): Likewise.
27755         (DELIM): Likewise.
27756         [USE_AS_STRTOK_R] (SAVE): Likewise.
27757         (FUNCTION): Likewise.  Do not use BP_SYM.
27758         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27759         aliases.
27760         (strtok_r): Likewise.
27761         (__GI___strtok_r): Likewise.
27762         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27763         (PARMS): Do not use macros from bp-asm.h.
27764         (S): Likewise.
27765         (SIZE): Likewise.
27766         (__mpn_lshift): Do not use BP_SYM.
27767         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27768         (PARMS): Do not use macros from bp-asm.h.
27769         (STR): Likewise.
27770         (CHR): Likewise.
27771         (__memchr): Do not use BP_SYM.
27772         (memchr): Do not use BP_SYM in weak_alias.
27773         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27774         (PARMS): Do not use macros from bp-asm.h.
27775         (BLK2): Likewise.
27776         (LEN): Likewise.
27777         (memcmp): Do not use BP_SYM.
27778         (bcmp): Do not use BP_SYM in weak_alias.
27779         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27780         (PARMS): Do not use macros from bp-asm.h.
27781         (S1): Likewise.
27782         (SIZE): Likewise.
27783         (__mpn_mul_1): Do not use BP_SYM.
27784         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27785         "bp-asm.h".
27786         (PARMS): Do not use macros from bp-asm.h.
27787         (STR): Likewise.
27788         (CHR): Likewise.
27789         (__rawmemchr): Do not use BP_SYM.
27790         (rawmemchr): Do not use BP_SYM in weak_alias.
27791         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27792         (PARMS): Do not use macros from bp-asm.h.
27793         (S): Likewise.
27794         (SIZE): Likewise.
27795         (__mpn_rshift): Do not use BP_SYM.
27796         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27797         (PARMS): Do not use macros from bp-asm.h.
27798         (SIGMSK): Likewise.
27799         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27800         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27801         (_start): Do not use BP_SYM.
27802         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27803         (PARMS): Do not use macros from bp-asm.h.
27804         (DEST): Likewise.
27805         (SRC): Likewise.
27806         (__stpcpy): Likewise.  Do not use BP_SYM.
27807         (stpcpy): Do not use BP_SYM in weak_alias.
27808         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27809         "bp-asm.h".
27810         (PARMS): Do not use macros from bp-asm.h.
27811         (DEST): Likewise.
27812         (SRC): Likewise.
27813         (LEN): Likewise.
27814         (__stpncpy): Likewise.  Do not use BP_SYM.
27815         (stpncpy): Do not use BP_SYM in weak_alias.
27816         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27817         (PARMS): Do not use macros from bp-asm.h.
27818         (STR): Likewise.
27819         (CHR): Likewise.
27820         (strchr): Likewise.  Do not use BP_SYM.
27821         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27822         "bp-asm.h".
27823         (PARMS): Do not use macros from bp-asm.h.
27824         (STR): Likewise.
27825         (CHR): Likewise.
27826         (__strchrnul): Likewise.  Do not use BP_SYM.
27827         (strchrnul): Do not use BP_SYM in weak_alias.
27828         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27829         "bp-asm.h".
27830         (PARMS): Do not use macros from bp-asm.h.
27831         (STOP): Likewise.
27832         (strcspn): Do not use BP_SYM.
27833         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27834         "bp-asm.h".
27835         (PARMS): Do not use macros from bp-asm.h.
27836         (STR): Likewise.
27837         (STOP): Likewise.
27838         (strpbrk): Likewise.  Do not use BP_SYM.
27839         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27840         "bp-asm.h".
27841         (PARMS): Do not use macros from bp-asm.h.
27842         (STR): Likewise.
27843         (CHR): Likewise.
27844         (strrchr): Likewise.  Do not use BP_SYM.
27845         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27846         (PARMS): Do not use macros from bp-asm.h.
27847         (SKIP): Likewise.
27848         (strspn): Do not use BP_SYM.
27849         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27850         (PARMS): Do not use macros from bp-asm.h.
27851         (STR): Likewise.
27852         (DELIM): Likewise.
27853         (SAVE): Likewise.
27854         (FUNCTION): Likewise.  Do not use BP_SYM.
27855         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27856         aliases.
27857         (strtok_r): Likewise.
27858         (__GI___strtok_r): Likewise.
27859         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27860         (PARMS): Do not use macros from bp-asm.h.
27861         (S1): Likewise.
27862         (S2): Likewise.
27863         (SIZE): Likewise.
27864         (__mpn_sub_n): Do not use BP_SYM.
27865         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27866         "bp-asm.h".
27867         (PARMS): Do not use macros from bp-asm.h.
27868         (S1): Likewise.
27869         (SIZE): Likewise.
27870         (__mpn_submul_1): Do not use BP_SYM.
27871         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27872         <bp-sym.h>.
27873         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27874         and <bp-asm.h>.
27875         (PARMS): Do not use macros from bp-asm.h.
27876         (FLAGS): Likewise.
27877         (PTID): Likewise.
27878         (TLS): Likewise.
27879         (CTID): Likewise.
27880         (__clone): Do not use BP_SYM.
27881         (clone): Do not use BP_SYM in weak_alias.
27882         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27883         and <bp-asm.h>.
27884         (PARMS): Do not use macros from bp-asm.h.
27885         (LEN): Likewise.
27886         (__mmap64): Do not use BP_SYM.
27887         (mmap64): Do not use BP_SYM in weak_alias.
27888         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27889         <bp-sym.h> and <bp-asm.h>.
27890         (PARMS): Do not use macros from bp-asm.h.
27891         (__posix_fadvise64_l64): Do not use BP_SYM.
27892         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27893         (PARMS): Do not use macros from bp-asm.h.
27894         (NSOPS): Likewise.
27895         (semtimedop): Do not use BP_SYM.
27896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27897         and <bp-asm.h>.
27899 2013-02-21  Allan McRae  <allan@archlinux.org>
27901         * manual/message.texi (Charset conversion in gettext):
27902         Move @end statement to beginning of line.
27904 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27907         static.
27908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27909         Likewise.
27911         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27912         (denorm): Likewise.
27913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27916 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27918         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27919         tail-call to the resolved function if pltexit isn't needed.
27921 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27924         or Y being zero as being unlikely.
27925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27926         Likewise.
27928 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27930         * manual/nss.texi (System Databases and Name Service Switch):
27931         Remove frobnicate @pxref.
27933 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27935         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27936         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27938 2013-02-20  Petr Machata  <pmachata@redhat.com>
27940         * elf/elf.h (R_ARM_TARGET1): New macro.
27941         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27942         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27943         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27944         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27945         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27946         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27947         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27948         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27949         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27950         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27951         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27952         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27953         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27954         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27955         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27956         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27957         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27958         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27959         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27960         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27961         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27962         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27963         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27964         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27965         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27966         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27967         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27968         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27969         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27970         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27971         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27972         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27973         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27974         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27975         (R_ARM_THM_GOT_BREL12): Likewise.
27976         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27977         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27978         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27979         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27980         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27981         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27982         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27983         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27984         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27986 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27988         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27989         __attribute_used__ to __attribute__ ((unused)).
27991 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27993         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27994         powerpc mpa.c.
27995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27996         comment formatting.
27997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27999 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28001         [BZ #13550]
28002         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28003         Remove macro.
28004         (ENTER): Remove both macro definitions.
28005         (LEAVE): Likewise.
28006         (CHECK_BOUNDS_LOW): Likewise.
28007         (CHECK_BOUNDS_HIGH): Likewise.
28008         (CHECK_BOUNDS_BOTH): Likewise.
28009         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28010         (RETURN_BOUNDED_POINTER): Likewise.
28011         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28012         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28013         (POP_ERRNO_LOCATION_RETURN): Likewise.
28014         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28015         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28016         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28017         macros.
28018         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28019         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28020         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28021         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28022         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28023         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28024         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28025         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28026         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28027         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28028         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28029         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28030         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28031         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28032         removed macros.
28033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28034         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28035         macros.
28036         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28037         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28038         * sysdeps/i386/i586/memset.S (memset): Likewise.
28039         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28040         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28041         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28042         macros.
28043         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28044         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28045         Change uses of L(2) to L(out).
28046         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28047         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28048         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28049         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28050         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28051         removed macros.
28052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28053         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28054         macros.
28055         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28056         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28057         (RETURN): Do not use macro LEAVE.
28058         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28059         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28060         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28061         * sysdeps/i386/i686/memset.S (memset): Likewise.
28062         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28063         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28064         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28065         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28066         Likewise.
28067         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28068         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28069         L(1_2) and L(1_3) into L(1).
28070         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28071         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28072         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28073         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28074         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28075         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28076         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28077         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28078         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28079         macros.
28080         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28081         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28082         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28083         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28084         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28085         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28086         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28087         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28088         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28089         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28090         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28091         * sysdeps/i386/strspn.S (strspn): Likewise.
28092         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28093         conditional code.
28094         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28095         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28096         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28097         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28098         L(1_3) into L(1_1).
28099         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28100         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28101         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28102         macros.
28103         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28105 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28107         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28108         macro.
28110 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28112         * math/atest-exp.c (exp_mpn): Remove ROUND.
28113         * math/atest-exp2.c (exp_mpn): Likewise.
28114         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28116         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28117         * stdlib/tst-tls-atexit-lib.c: Likewise.
28118         * stdlib/tst-tls-atexit.c: Likewise.
28120 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28122         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28123         and __attribute_alloc_size__.
28125 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28127         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28128         __attribute_alloc_size__.
28129         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28130         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28132 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28134         * include/programs/xmalloc.h: New file.
28135         * catgets/gencat.c: Include it.
28136         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28137         * elf/pldd.c: Likewise.
28138         * iconv/iconv_charmap.c: Likewise.
28139         * iconv/iconvconfig.c: Likewise.
28140         * iconv/strtab.c: Likewise.
28141         * locale/programs/locale.c: Likewise.
28142         * locale/programs/localedef.h: Likewise.
28143         * locale/programs/simple-hash.c: Likewise.
28144         * nscd/nscd.h: Likewise.
28145         * nss/makedb.c: Likewise.
28146         * sysdeps/generic/ldconfig.h: Likewise.
28148 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28150         * Versions.def: Add GLIBC_2.18.
28151         * include/link.h (struct link_map): New member l_tls_dtor_count.
28152         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28153         (__call_tls_dtors): Likewise.
28154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28155         __cxa_thread_atexit_impl.
28156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28157         Likewise.
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28159         Likewise.
28160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28161         Likewise.
28162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28163         Likewise.
28164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28166         Likewise.
28167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28168         Likewise.
28169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28171         Likewise.
28172         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28173         (tests): Add test case tst-tls-atexit.
28174         (modules-names): Add shared library for tst-tls-atexit.
28175         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28176         (GLIBC_PRIVATE): Add __call_tls_dtors.
28177         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28178         for libstdc++.
28179         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28180         * stdlib/tst-tls-atexit.c: New test case.
28181         * stdlib/tst-tls-atexit-lib.c: New test case.
28183         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28185         * elf/Versions (ld): Add _dl_find_dso_for_object.
28186         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28187         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28188         (dl_open_worker): Use _dl_find_dso_for_object.
28189         * elf/dl-sym.c (do_sym): Likewise.
28190         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28192 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28194         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28195         Syntactic changes only.
28196         (_dl_runtime_profile): Do a tail-call to the resolved function.
28198 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28200         [BZ #13550]
28201         * sysdeps/x86_64/bp-asm.h: Remove file.
28202         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28203         <bp-sym.h> and <bp-asm.h>.
28204         (__clone): Do not use BP_SYM.
28205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28206         <bp-sym.h> and <bp-asm.h>.
28207         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28208         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28209         "bp-asm.h".
28210         (_setjmp): Do not use BP_SYM.
28211         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28212         "bp-asm.h".
28213         (setjmp): Do not use BP_SYM.
28214         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28215         libc_hidden_def.
28216         (mempcpy): Do not use BP_SYM in weak_alias.
28217         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28218         "bp-asm.h".
28219         (strchr): Do not use BP_SYM.
28220         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28221         "bp-asm.h".
28222         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28223         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28224         (_start): Do not use BP_SYM.
28225         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28226         "bp-asm.h".
28227         (strcat): Do not use BP_SYM.
28228         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28229         "bp-asm.h".
28230         (STRCMP): Do not use BP_SYM.
28231         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28232         "bp-asm.h".
28233         (STRCPY): Do not use BP_SYM.
28234         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28235         "bp-asm.h".
28236         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28237         "bp-asm.h".
28238         (FUNCTION): Do not use BP_SYM.
28239         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28240         weak_alias.
28241         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28243 2013-02-17  Andreas Jaeger  <aj@suse.de>
28245         * time/Versions: Sort entries.
28246         * string/Versions: Likewise.
28247         * resolv/Versions: Likewise.
28248         * posix/Versions: Likewise.
28249         * iconv/Versions: Likewise.
28250         * elf/Versions: Likewise.
28251         * wcsmbs/Versions: Likewise.
28253 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28255         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28256         loop termination condition.
28258         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28259         variable to calculate EZ.
28260         (__sqr): Likewise.
28262         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28263         the lower precision input.
28265 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28267         [BZ #13550]
28268         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28269         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28270         (run-via-rtld-prefix): Do not handle %-bp tests.
28271         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28272         (all-object-suffixes): Remove .ob.
28273         (bppfx): Remove variable.
28274         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28275         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28276         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28277         [$(build-bounded) = yes] (libtype.ob): Likewise.
28278         * Makerules (elide-routines.ob): Remove variable.
28279         (do-tests-clean): Do not handle *-bp.out.
28280         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28281         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28282         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28283         (tests): Do not include $(tests-bp.out).
28284         (xtests): Do not include $(xtests-bp.out).
28285         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28286         [$(build-bounded) = yes] ($(addprefix
28287         $(objpfx),$(binaries-bounded))): Remove rule.
28288         ($(objpfx)%-bp.out): Remove rule.
28289         * config.make.in (build-bounded): Remove variable.
28290         * crypt/Makefile [$(build-bounded) = yes]
28291         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28292         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28293         append to variable.
28294         [$(build-bounded) = yes] (install-lib): Likewise.
28295         [$(build-bounded) = yes] (generated): Likewise.
28296         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28297         Remove rule.
28298         * intl/Makefile [$(build-bounded) = yes]
28299         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28300         * math/Makefile [$(build-bounded) = yes]
28301         ($(tests:%=$(objpfx)%-bp): Likewise.
28302         * misc/Makefile [$(build-bounded) = yes]
28303         ($(objpfx)tst-tsearch-bp): Likewise.
28304         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28305         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28306         Remove dependency.
28307         * string/Makefile (o-objects.ob): Remove variable.
28308         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28309         (CFLAGS-.ob): Remove variable.
28310         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28311         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28312         both definitions of variable.
28313         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28314         (ASFLAGS-.ob): Remove variable.
28316 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28318         [BZ #13550]
28319         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28320         Remove __BOUNDED_POINTERS__ from condition.
28321         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28322         * string/bits/string2.h [!__NO_STRING_INLINES &&
28323         !__BOUNDED_POINTERS__]: Likewise.
28324         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28325         Likewise.
28326         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28327         Remove conditional code.
28328         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28329         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28330         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28331         condition.
28333         [BZ #13550]
28334         * csu/libc-start.c: Do not include <bp-sym.h>.
28335         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28336         * elf/dl-open.c: Do not include <bp-sym.h>.
28337         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28338         * math/fegetenv.c: Do not include <bp-sym.h>.
28339         (fegetenv): Do not use BP_SYM in versioned symbols.
28340         * nptl/sysdeps/pthread/bits/libc-lockP.h
28341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28342         <bp-sym.h>.
28343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28344         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28346         (__pthread_mutex_destroy): Likewise.
28347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28348         (__pthread_mutex_lock): Likewise.
28349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28350         (__pthread_mutex_trylock): Likewise.
28351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28352         (__pthread_mutex_unlock): Likewise.
28353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28354         (__pthread_mutexattr_init): Likewise.
28355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28356         (__pthread_mutexattr_destroy): Likewise.
28357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28358         (__pthread_mutexattr_settype): Likewise.
28359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28360         (__pthread_rwlock_init): Likewise.
28361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28362         (__pthread_rwlock_destroy): Likewise.
28363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28364         (__pthread_rwlock_rdlock): Likewise.
28365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28366         (__pthread_rwlock_tryrdlock): Likewise.
28367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28368         (__pthread_rwlock_wrlock): Likewise.
28369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28370         (__pthread_rwlock_trywrlock): Likewise.
28371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28372         (__pthread_rwlock_unlock): Likewise.
28373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28374         (__pthread_key_create): Likewise.
28375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28376         (__pthread_setspecific): Likewise.
28377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28378         (__pthread_getspecific): Likewise.
28379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28380         Likewise.
28381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28382         (_pthread_cleanup_push_defer): Likewise.
28383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28384         (_pthread_cleanup_pop_restore): Likewise.
28385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28386         (pthread_setcancelstate): Likewise.
28387         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28388         <bp-sym.h>.
28389         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28390         (memchr): Do not use BP_SYM in weak_alias.
28391         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28392         (fegetenv): Do not use BP_SYM in versioned symbols.
28393         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28394         (fesetenv): Do not use BP_SYM in versioned symbols.
28395         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28396         (feupdateenv): Do not use BP_SYM in versioned symbols.
28397         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28398         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28399         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28400         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28401         (open64): Do not use BP_SYM in weak_alias.
28402         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28403         (fegetenv): Do not use BP_SYM in versioned symbols.
28404         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28405         (fesetenv): Do not use BP_SYM in versioned symbols.
28406         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28407         (feupdateenv): Do not use BP_SYM in versioned symbols.
28408         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28409         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28410         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28411         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28412         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28413         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28414         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28415         <bp-sym.h>.
28416         (__libc_start_main): Do not use BP_SYM.
28418 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28421         redundant return line.
28422         (norm): Likewise.
28423         (denorm): Likewise.
28424         (dbl_mp): Likewise.
28425         (sub_magnitudes): Likewise.
28426         (__add): Likewise.
28427         (__sub): Likewise.
28428         (__mul): Likewise.
28429         (__inv): Likewise.
28430         (__dvd): Likewise.
28431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28432         (norm): Likewise.
28433         (denorm): Likewise.
28434         (dbl_mp): Likewise.
28435         (sub_magnitudes): Likewise.
28436         (__add): Likewise.
28437         (__sub): Likewise.
28438         (__mul): Likewise.
28439         (__inv): Likewise.
28440         (__dvd): Likewise.
28442         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28443         instead of __mul.
28444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28445         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28446         (cc32): Likewise.
28448         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28449         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28451         of __mul for squares.
28452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28453         function
28454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28455         Likewise.
28456         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28457         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28459 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28461         [BZ #13550]
28462         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28463         code.
28464         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28465         prototype or function definition.  Rename ubp_* variables and
28466         parameters.  Remove argv definitions conditional on
28467         [__BOUNDED_POINTERS__].
28468         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28469         * elf/dl-runtime.c (_dl_fixup): Likewise.
28470         * include/set-hooks.h (RUN_HOOK): Likewise.
28471         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28472         definition.
28473         * string/strcpy.c (strcpy): Do not use __unbounded.
28474         * sysdeps/generic/frame.h (struct layout): Likewise.
28475         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28476         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28477         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28478         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28479         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28480         (__backtrace): Likewise.
28481         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28482         use __ptrvalue.
28483         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28484         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28485         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28486         Likewise.
28487         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28488         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28489         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28491         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28492         Do not use __unbounded.
28493         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28494         Rename __unboundedrlimits parameter to rlimits in prototype.
28495         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28496         Do not use __unbounded.
28497         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28498         not use __ptrvalue.
28499         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28500         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28501         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28502         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28503         __ptrvalue or __unbounded.
28504         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28505         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28506         use __unbounded.
28507         (__new_msgctl): Do not use __ptrvalue.
28508         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28509         __unbounded.
28510         (__libc_msgrcv): Do not use __ptrvalue.
28511         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28512         startup_info): Do not use __unbounded.
28513         (__libc_start_main): Likewise.  Rename ubp_* variables and
28514         parameters.  Remove argv definitions conditional on
28515         [__BOUNDED_POINTERS__].
28516         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28517         __ptrvalue.
28518         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28519         use __unbounded.
28520         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28521         or __ptrvalue.
28522         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28523         use __unbounded.
28524         (__new_shmctl): Do not use __ptrvalue.
28525         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28526         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28527         Likewise.
28528         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28530         (__libc_sigaction): Likewise.
28531         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28532         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28533         Likewise.
28534         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28536 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28538         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28540         * string/mempcpy.c: Implement by calling memcpy.
28542 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28547         evaluation.
28549         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28550         values in the mantissa.
28552         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28553         minimize writes to Z.
28554         (sub_magnitudes): Simplify code a bit.
28556 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28558         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28559         from the message.  The linker prefixes all warnings with that already.
28561 2013-02-12  Andreas Schwab  <schwab@suse.de>
28563         [BZ #15078]
28564         * posix/regexec.c (extend_buffers): Add parameter min_len.
28565         (check_matching): Pass minimum needed length.
28566         (clean_state_log_if_needed): Likewise.
28567         (get_subexp): Likewise.
28568         * posix/Makefile (tests): Add bug-regex34.
28569         (bug-regex34-ENV): Define.
28570         * posix/bug-regex34.c: New file.
28572         [BZ #11561]
28573         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28574         elements compare against the byte sequence of it, not its name.
28575         * posix/Makefile (tests): Add bug-regex35.
28576         (bug-regex35-ENV): Define.
28577         * posix/bug-regex35.c: New file.
28579 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28581         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28582         comment.
28583         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28584         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28585         (CHECK_EOL): Add undef.
28587 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28589         * bits/stdlib-bsearch.h: New file.
28590         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28591         * stdlib/stdlib.h: Likewise.
28593 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28595         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28596         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28597         declaration.
28598         * manual/search.texi (Array Search Function): Add missing const in
28599         lfind prototype.
28600         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28601         declaration to use rlim_t.
28602         (Basic Scheduling Functions): Remove erroneous const from
28603         sched_getparam prototype.  Remove erroneous * from
28604         sched_get_priority_max and sched_get_priority_min prototypes.
28605         (Resource Usage): Fix summary @comment on vtimes to refer to
28606         sys/vtimes.h rather than vtimes.h.
28607         Add missing *s in vtimes prototype.
28608         (Limits on Resources): Fix ulimit prototype to return long int.
28609         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28610         prototypes to use long int rather than double.
28611         (BSD Random): Fix initstate and setstate to use char *, not void *.
28612         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28613         prototype to make second argument 'struct aiocb64 *const[]'.
28614         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28615         (Status of AIO Operations): Remove erroneous const in aio_return and
28616         aio_return64 prototypes.
28617         (Synchronizing I/O): Fix sync prototype to return void.
28618         * manual/startup.texi (Suboptions): Remove an erroneous const in
28619         getsubopt prototype.
28620         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28621         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28622         use size_t rather than int.
28623         (Scanning All Users): Likewise for getpwent_r.
28624         (Setting Groups): Add missing const to setgroups prototype.
28625         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28626         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28627         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28628         'const void *' rather than 'const char *'.
28629         (Host Address Functions): Likewise for inet_ntop.
28630         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28631         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28632         ssize_t for return value.
28633         (Sending Data): Likewise for send, sendto, sendmsg.
28634         (Socket Option Functions): Add a missing const in setsockopt prototype.
28635         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28636         use wchar_t for the argument.
28637         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28638         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28639         take no arguments.
28640         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28641         double/float/long double for second argument.
28642         Fix return types of significand, significandf, significandl.
28643         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28644         argument in fchmod prototype.
28645         (File Owner): Use uid_t and gid_t in fchown prototype.
28646         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28647         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28648         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28649         use 'const struct dirent **' as argument types to CMP function pointer
28650         argument.
28651         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28652         (File Times): Fix summary magic @comment for struct utimbuf and utime
28653         to refer to utime.h, not time.h.
28654         * manual/string.texi (Argz Functions): Add missing const in
28655         argz_extract and argz_next prototypes.
28656         (Finding Tokens in a String): Likewise for basename.
28657         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28658         (Copying and Concatenation): Fix typo in wmemmove prototype.
28659         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28660         (Signal Stack): Remove erroneous const in sigstack prototype.
28661         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28662         prototype.
28663         (Simple Calendar Time): Likewise for stime.
28664         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28665         prototype.
28666         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28667         say sys/sysctl.h instead.
28668         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28669         and vsyslog prototypes.
28671 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28673         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28674         Remove.
28676 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28678         * misc/sys/mman.h: Fix typo in mremap comment.
28680 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28682         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28683         the '\0' terminator.
28685 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28687         [BZ #13550]
28688         * debug/segfault.c: Don't include <bp-checks.h>.
28689         * sysdeps/generic/bp-checks.h: Remove file.
28690         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28691         (__GETDENTS): Don't use CHECK_N.
28692         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28693         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28694         (__getgroups): Don't use CHECK_N.
28695         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28696         (setgroups): Don't use CHECK_N.
28697         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28698         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28699         (__libc_msgrcv): Don't use CHECK_N.
28700         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28701         (__libc_msgsnd): Don't use CHECK_N.
28702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28703         <bp-checks.h>.
28704         (__libc_pread): Don't use CHECK_N.
28705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28706         include <bp-checks.h>.
28707         (__libc_pread64): Don't use CHECK_N.
28708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28709         include <bp-checks.h>.
28710         (__libc_pwrite): Don't use CHECK_N.
28711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28712         include <bp-checks.h>.
28713         (__libc_pwrite64): Don't use CHECK_N.
28714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28715         <bp-checks.h>.
28716         (__libc_pread): Don't use CHECK_N.
28717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28718         include <bp-checks.h>.
28719         (__libc_pread64): Don't use CHECK_N.
28720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28721         include <bp-checks.h>.
28722         (__libc_pwrite): Don't use CHECK_N.
28723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28724         include <bp-checks.h>.
28725         (__libc_pwrite64): Don't use CHECK_N.
28726         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28727         (do_pread): Don't use CHECK_N.
28728         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28729         (do_pread64): Don't use CHECK_N.
28730         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28731         (do_pwrite): Don't use CHECK_N.
28732         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28733         (do_pwrite64): Don't use CHECK_N.
28734         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28735         (__libc_readv): Don't use CHECK_N.
28736         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28737         (semop): Don't use CHECK_N.
28738         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28739         <bp-checks.h>.
28740         (semtimedop): Don't use CHECK_N.
28741         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28742         (__libc_pread): Don't use CHECK_N.
28743         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28744         <bp-checks.h>.
28745         (__libc_pread64): Don't use CHECK_N.
28746         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28747         <bp-checks.h>.
28748         (__libc_pwrite): Don't use CHECK_N.
28749         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28750         <bp-checks.h>.
28751         (__libc_pwrite64): Don't use CHECK_N.
28752         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28753         <bp-checks.h>.
28754         (__libc_msgrcv): Don't use CHECK_N.
28755         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28756         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28757         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28758         (__libc_writev): Don't use CHECK_N.
28760 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28762         * string/strcpy.c: Removed unused variable.
28764         * Makeconfig (+sysdep-includes): Define with := rather than =.
28765         Use an existing include/ subdir of each sysdeps dir before it.
28767 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28769         * nscd/connection.c (register_traced_file): Comment function.
28770         [HAVE_INOTIFY] (union __inev): Define.
28771         [HAVE_INOTIFY] (inotify_check_files): New function.
28772         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28773         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28774         clear_db_cache.
28775         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28777 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28779         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28780         loaded if not already and that a failure is permanent.
28782 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28784         [BZ #15006]
28785         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28786         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28788 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28790         [BZ #13550]
28791         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28792         (CHECK_1_NULL_OK): Likewise.
28793         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28794         (__fxstat): Do not use CHECK_1.
28795         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28796         <bp-checks.h>.
28797         (___fxstat64): Do not use CHECK_1.
28798         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28799         <bp-checks.h>.
28800         (__fxstatat): Do not use CHECK_1.
28801         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28802         <bp-checks.h>.
28803         (__fxstatat64): Do not use CHECK_1.
28804         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28805         <bp-checks.h>.
28806         (__fxstat): Do not use CHECK_1.
28807         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28808         <bp-checks.h>.
28809         (__fxstatat): Do not use CHECK_1.
28810         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28811         <bp-checks.h>.
28812         (__getresgid): Do not use CHECK_1.
28813         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28814         <bp-checks.h>.
28815         (__getresuid): Do not use CHECK_1.
28816         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28817         <bp-checks.h>.
28818         (__lxstat): Do not use CHECK_1.
28819         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28820         <bp-checks.h>.
28821         (__old_msgctl): Do not use CHECK_1.
28822         (__new_msgctl): Likewise.
28823         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28824         <bp-checks.h>.
28825         (__new_setrlimit): Do not use CHECK_1.
28826         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28827         <bp-checks.h>.
28828         (__old_shmctl): Do not use CHECK_1.
28829         (__new_shmctl): Likewise.
28830         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28831         <bp-checks.h>.
28832         (__xstat): Do not use CHECK_1.
28833         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28834         (__lxstat): Do not use CHECK_1.
28835         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28836         <bp-checks.h>.
28837         (___lxstat64): Do not use CHECK_1.
28838         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28839         (__old_msgctl): Do not use CHECK_1.
28840         (__new_msgctl): Likewise.
28841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28842         <bp-checks.h>.
28843         (__gettimeofday): Do not use CHECK_1.
28844         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28845         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28846         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28847         <bp-checks.h>.
28848         (__gettimeofday): Do not use CHECK_1.
28849         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28850         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28851         (__new_shmctl): Do not use CHECK_1.
28852         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28853         <bp-checks.h>.
28854         (do_sigtimedwait): Do not use CHECK_1.
28855         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28856         <bp-checks.h>.
28857         (do_sigwaitinfo): Do not use CHECK_1.
28858         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28859         <bp-checks.h>.
28860         (msgctl): Do not use CHECK_1.
28861         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28862         <bp-checks.h>.
28863         (shmctl): Do not use CHECK_1.
28864         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28865         (ustat): Do not use CHECK_1.
28866         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28867         <bp-checks.h>.
28868         (__fxstat): Do not use CHECK_1.
28869         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28870         <bp-checks.h>.
28871         (__fxstatat): Do not use CHECK_1.
28872         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28873         <bp-checks.h>.
28874         (__lxstat): Do not use CHECK_1.
28875         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28876         <bp-checks.h>.
28877         (__xstat): Do not use CHECK_1.
28878         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28879         (__xstat): Do not use CHECK_1.
28880         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28881         (___xstat64): Do not use CHECK_1.
28883         [BZ #13550]
28884         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28885         definitions.
28886         (CHECK_BOUNDS_HIGH): Likewise.
28887         * string/strcpy.c: Do not include <bp-checks.h>.
28888         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28890 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28892         * nscd/nscd-client.h (__nscd_drop_map_ref):
28893         Add __attribute__ ((unused)).
28894         * nis/nss-nisplus.h (niserr2nss): Likewise.
28896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28897         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28899         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28900         Remove inline keyword.
28901         * include/rounding-mode.h (round_away): Likewise.
28902         * libio/wfileops.c (adjust_wide_data): Likewise.
28903         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28904         (__m128i_strloadu_tolower): Likewise.
28905         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28906         (__m128i_strloadu_tolower): Likewise.
28907         * time/mktime.c (ydhms_diff): Likewise.
28908         * locale/elem-hash.h (elem_hash): Likewise.
28909         * locale/setlocale.c (setdata): Likewise.
28910         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28911         (re_string_wchar_at): Likewise.
28912         (bitset_not, bitset_merge, bitset_mask): Likewise.
28913         [!(__GNUC__ > 3)] (inline): Remove macro.
28914         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28915         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28916         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28917         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28918         * string/memcmp.c (memcmp_bytes): Likewise.
28919         * locale/programs/locarchive.c (compute_hashval): Likewise.
28920         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28921         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28922         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28923         * nss/getent.c (print_rpc, print_protocols): Likewise.
28924         (print_passwd, print_group, print_aliases): Likewise.
28925         * nis/nss-nisplus.h (niserr2nss): Likewise.
28926         * nscd/connections.c (restart_p): Likewise.
28927         Change return type to bool.
28929 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28931         * Makeconfig (all-Depend-files): Add existing
28932         $(sorted-subdirs:=/Depend) files.
28933         (all-subdirs): Remove nss.
28934         * sysdeps/unix/inet/Subdirs: Add it here instead.
28935         * hesiod/Depend: New file.
28937         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28938         instead of calling alloca.
28940         * io/lseek.c (__lseek): Rename to __libc_lseek.
28941         Define __lseek as an alias.
28943         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28945 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28947         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28948         else clause and remove check for non-standard endianness.
28950 2013-02-04  David S. Miller  <davem@davemloft.net>
28952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28954 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28956         [BZ #13550]
28957         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28958         (__ubp_memchr): Remove prototype.
28959         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28960         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28961         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28962         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28963         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28964         Remove alias.
28965         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28966         (__ubp_memchr): Likewise.
28967         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28968         (__ubp_memchr): Likewise.
28969         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28970         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28971         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28972         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28973         CHECK_STRING.
28974         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28975         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28976         (__getcwd): Do not use CHECK_STRING.
28977         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28978         <bp-checks.h>.
28979         (__real_chown): Do not use CHECK_STRING.
28980         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28981         <bp-checks.h>.
28982         (fchownat): Do not use CHECK_STRING.
28983         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28984         CHECK_STRING.
28985         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28986         <bp-checks.h>.
28987         (__lchown): Do not use CHECK_STRING.
28988         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28989         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28990         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28991         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28993         include <bp-checks.h>.
28994         (truncate64): Do not use CHECK_STRING.
28995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28996         <bp-checks.h>.
28997         (__real_chown): Do not use CHECK_STRING.
28998         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28999         <bp-checks.h>.
29000         (__lchown): Do not use CHECK_STRING.
29001         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29002         <bp-checks.h>.
29003         (__chown): Do not use CHECK_STRING.
29004         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29005         <bp-checks.h>.
29006         (truncate64): Do not use CHECK_STRING.
29007         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29008         Likewise.
29009         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29010         (__xmknod): Do not use CHECK_STRING.
29011         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29012         <bp-checks.h>.
29013         (__xmknodat): Do not use CHECK_STRING.
29014         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29015         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29017 2013-02-04  Andreas Schwab  <schwab@suse.de>
29019         [BZ #14142]
29020         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29021         * include/netdb.h: Likewise for h_errno.
29022         * elf/tst-stackguard1.c: Include <tls.h>.
29024 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29026         * elf/link.h (struct link_map): Extend the l_addr comment.
29027         * include/link.h (struct link_map): Likewise.
29029 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29031         [BZ #13550]
29032         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29033         (BOUNDED_1): Remove macro.
29034         * debug/backtrace.c: Don't include <bp-checks.h>.
29035         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29036         (__backtrace): Likewise.
29037         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29038         <bp-checks.h>.
29039         (__backtrace): Don't use BOUNDED_1.
29040         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29041         <bp-checks.h>.
29042         (__backtrace): Don't use BOUNDED_1.
29043         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29044         (__backtrace): Don't use BOUNDED_1.
29045         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29046         (shmat): Don't use BOUNDED_N.
29048 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29050         [BZ #13550]
29051         * sysdeps/generic/bp-start.h: Remove file.
29052         * csu/libc-start.c: Don't include <bp-start.h>.
29053         (LIBC_START_MAIN): Set up __environ directly instead of using
29054         INIT_ARGV_and_ENVIRON.
29055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29056         <bp-start.h>.
29058         [BZ #13550]
29059         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29060         definitions.
29061         (CHECK_FCNTL): Likewise.
29062         (CHECK_N_PAGES): Likewise.
29064         [BZ #13550]
29065         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29066         definitions.
29067         (CHECK_SIGSET_NULL_OK): Likewise.
29068         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29069         <bp-checks.h>.
29070         (sigpending): Don't use CHECK_SIGSET.
29071         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29072         <bp-checks.h>.
29073         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29074         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29075         <bp-checks.h>.
29076         (do_sigsuspend): Don't use CHECK_SIGSET.
29077         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29078         use CHECK_SIGSET.
29079         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29080         (do_sigwait): Don't use CHECK_SIGSET.
29081         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29082         use CHECK_SIGSET.
29083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29084         include <bp-checks.h>.
29085         (sigpending): Don't use CHECK_SIGSET.
29086         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29087         include <bp-checks.h>.
29088         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29089         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29090         <bp-checks.h>.
29091         (sigpending): Don't use CHECK_SIGSET.
29092         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29093         <bp-checks.h>.
29094         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29096         [BZ #13550]
29097         * sysdeps/generic/bp-semctl.h: Remove file.
29098         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29099         <bp-checks.h> and <bp-semctl.h>.
29100         (__old_semctl): Don't use CHECK_SEMCTL.
29101         (__new_semctl): Likewise.
29102         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29103         and <bp-semctl.h>.
29104         (__old_semctl): Don't use CHECK_SEMCTL.
29105         (__new_semctl): Likewise.
29106         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29107         <bp-checks.h> and <bp-semctl.h>.
29108         (__old_semctl): Don't use CHECK_SEMCTL.
29109         (__new_semctl): Likewise.
29110         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29111         <bp-checks.h> and <bp-semctl.h>.
29112         (semctl): Don't use CHECK_SEMCTL.
29114         [BZ #13550]
29115         * Makerules (elide-bp-thunks): Remove variable.
29116         (elide-routines.oS): Don't use $(elide-bp-thunks).
29117         (elide-routines.os): Likewise.
29118         (elide-routines.o): Likewise.
29119         (elide-routines.op): Likewise.
29120         (elide-routines.og): Likewise.
29121         (objects): Don't use $(bp-thunks).
29122         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29123         include.
29124         (common-generated): Do not add s-proto-bp.d.
29125         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29126         (int): Likewise.
29127         (typ): Likewise.
29128         Do not generate makefile rules for bounded-pointer thunks.
29129         * sysdeps/generic/bp-thunks.h: Remove file.
29130         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29131         * sysdeps/unix/s-proto-bp.S: Likewise.
29133         [BZ #15062]
29134         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29135         parts of result separately when argument is not close to line from
29136         -i to i and one part of argument is small.
29137         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29138         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29139         * math/libm-test.inc (cacos_test): Add more tests.
29140         (casin_test): Likewise.
29141         (casinh_test): Likewise.
29142         * sysdeps/i386/fpu/libm-test-ulps: Update.
29143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29145 2013-01-31  David S. Miller  <davem@davemloft.net>
29147         * po/de.po: Update from translation team.
29149 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29151         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29153 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29155         * configure.in (_AC_PROG_CC_C89): New definition.
29156         * configure: Regenerate.
29158         * configure.in (AC_PROG_CPP): New definition.
29159         * configure: Regenerate.
29161 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29163         * debug/tst-backtrace.h: New file.
29164         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29165         (ret): Remove variable.
29166         (x): Likewise.
29167         (FAIL): Remove macro.
29168         (NO_INLINE): Likewise.
29169         (fn1): Use match function instead of strstr.
29170         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29171         (ret): Remove variable.
29172         (x): Likewise.
29173         (FAIL): Remove macro.
29174         (NO_INLINE): Likewise.
29175         (fn): Use match function instead of strstr.
29176         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29177         (ret): Remove variable.
29178         (x): Likewise.
29179         (FAIL): Remove macro.
29180         (NO_INLINE): Likewise.
29181         (handle_signal): Use match function instead of strstr.
29182         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29183         (ret): Remove variable.
29184         (x): Likewise.
29185         (FAIL): Remove macro.
29186         (NO_INLINE): Likewise.
29187         (handle_signal): Use match function instead of strstr.
29189 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29191         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29193 2013-01-23  David S. Miller  <davem@davemloft.net>
29195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29196         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29197         argument of CAS if possible.
29198         * sysdeps/sparc/sparc64/bits/atomic.h
29199         (__arch_compare_and_exchange_val_32_acq): Likewise.
29200         (__arch_compare_and_exchange_val_64_acq): Likewise.
29202 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29204         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29205         * sysdeps/posix/ulimit.c: ... this.
29206         Include <limits.h>.
29207         * sysdeps/unix/bsd/ulimit.c: Remove file.
29209 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29211         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29212         (LDFLAGS-tst-array5): Likewise.
29214 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29216         [BZ #15036]
29217         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29218         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29219         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29220         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29222 2013-01-21  David S. Miller  <davem@davemloft.net>
29224         * sysdeps/sparc/backtrace.c: New file.
29225         * sysdeps/sparc/sparc32/backtrace.h: New file.
29226         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29227         * sysdeps/sparc/sparc64/backtrace.h: New file.
29228         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29229         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29230         -funwind-tables.
29232 2013-01-21  Andreas Schwab  <schwab@suse.de>
29234         [BZ #15020]
29235         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29236         closed its stdout.
29238 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29241         "mpa2.h".
29242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29244 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29245             Mark Mitchell  <mark@codesourcery.com>
29246             Tom de Vries  <tom@codesourcery.com>
29247             Paul Pluzhnikov  <ppluzhnikov@google.com>
29249         * debug/tst-backtrace2.c: New file.
29250         * debug/tst-backtrace3.c: Likewise.
29251         * debug/tst-backtrace4.c: Likewise.
29252         * debug/tst-backtrace5.c: Likewise.
29253         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29254         (CFLAGS-tst-backtrace3.c): Likewise.
29255         (CFLAGS-tst-backtrace4.c): Likewise.
29256         (CFLAGS-tst-backtrace5.c): Likewise.
29257         (LDFLAGS-tst-backtrace2): Likewise.
29258         (LDFLAGS-tst-backtrace3): Likewise.
29259         (LDFLAGS-tst-backtrace4): Likewise.
29260         (LDFLAGS-tst-backtrace5): Likewise.
29261         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29262         tst-backtrace4 and tst-backtrace5.
29264 2013-01-18  Anton Blanchard  <anton@samba.org>
29265             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29267         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29268         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29269         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29270         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29272         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29273         "+r" and remove output regs list as redundant.  Add explicit inline
29274         asm to specify register of return val to work around compiler codegen
29275         bug.  Remove (int) cast on return value.  Add return type parameter to
29276         use in macro so that this macro does not truncate return value for
29277         64-bit values.
29278         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29279         pass to INTERNAL_VSYSCALL_NCS.
29280         (INLINE_VSYSCALL): Add 'long int' as return type to
29281         INTERNAL_VSYSCALL_NCS macro invocation.
29282         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29283         INTERNAL_VSYSCALL_NCS macro invocation.
29284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29286 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29288         [BZ #14496]
29289         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29290         Fix application of SIMD FP exception mask.
29292         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29293         mp_no from a power of two.
29294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29295         __mpexp_twomm1.  Use __pow_mp.
29297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29298         multiplication.
29300 2013-01-17  David S. Miller  <davem@davemloft.net>
29302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29304 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29306         [BZ #15023]
29307         * include/complex.h: Condition contents on [!_COMPLEX_H].
29308         (__kernel_casinhf): New prototype.
29309         (__kernel_casinh): Likewise.
29310         (__kernel_casinhl): Likewise.
29311         * math/Makefile (libm_calls): Add k_casinh.
29312         * math/k_casinh.c: New file.
29313         * math/k_casinhf.c: Likewise.
29314         * math/k_casinhl.c: Likewise.
29315         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29316         finite nonzero arguments.
29317         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29318         finite nonzero arguments.
29319         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29320         finite nonzero arguments.
29321         * math/s_casinh.c: Do not include <float.h>.
29322         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29323         * math/s_casinhf.c: Do not include <float.h>.
29324         (__casinhf): Move code for finite nonzero arguments to
29325         k_casinhf.c.
29326         * math/s_casinhl.c: Do not include <float.h>.
29327         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29328         redefine.
29329         (__casinhl): Move code for finite nonzero arguments to
29330         k_casinhl.c.
29331         * math/libm-test.inc (cacos_test): Add more tests.
29332         * sysdeps/i386/fpu/libm-test-ulps: Update.
29333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29335 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29337         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29338         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29339         [!HAVE_MREMAP]: Remove [defined linux] case.
29340         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29342 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29344         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29346 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29348         * elf/elf.h (R_386_SIZE32): New relocation.
29349         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29350         R_386_SIZE32.
29351         (elf_machine_rela): Likewise.
29352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29353         R_X86_64_SIZE64 and R_X86_64_SIZE32.
29355 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29357         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29358         (FP_FAST_FMA): Do not define.
29359         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29360         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29361         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29362         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29363         !_SOFT_FLOAT]: Likewise.
29364         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29366         value.
29367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29368         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29369         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29370         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29371         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29372         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29373         file.
29375 2013-01-16  Andreas Schwab  <schwab@suse.de>
29377         [BZ #14327]
29378         * include/stdlib.h (__mktemp): Add declaration.
29379         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29380         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29384         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29385         definitions.
29386         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29387         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29388         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29389         definitions here.
29390         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29391         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29392         definitions.
29393         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29394         and ONE.
29395         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29396         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29397         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29398         definitions.
29399         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29400         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29401         definitions.
29402         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29404         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29406 2013-01-15  David S. Miller  <davem@davemloft.net>
29408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29409         trunc{,f} to libm-sysdep_routes.
29410         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29412         file.
29413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29415         file.
29416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29417         file.
29418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29420         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29421         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29422         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29423         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29424         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29425         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29428         nearbyint{,f} to libm-sysdep_routes.
29429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29431         New file.
29432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29433         file.
29434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29435         New file.
29436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29437         file.
29438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29441         file.
29442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29443         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29444         file.
29445         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29446         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29447         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29449         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29450         libc_feholdexcept and libc_fesetenv.
29452 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29454         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29456 2013-01-14  David S. Miller  <davem@davemloft.net>
29458         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29459         (SPARC_ASM_VIS2_IFUNC): Likewise.
29460         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29462         use of 'siam' instruction.
29463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29464         Likewise.
29465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29466         Likewise.
29467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29468         Likewise.
29469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29474         file.
29475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29476         file.
29477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29478         file.
29479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29480         file.
29481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29486         new VIS2 routines.
29487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29490         Likewise.
29491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29496         routines to libm-sysdep_routines.
29497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29500         fdim/fdimf to libm-sysdep_routines.
29501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29502         file.
29503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29505         file.
29506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29509         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29510         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29511         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29512         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29514 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29516         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29517         to optimize copies.
29519         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29524         local variable MPTWO.
29525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29526         Likewise.
29528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29530         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29531         GLOB_NOESCAPE.
29533 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29535         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29537 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29539         * manual/pattern.texi (glob_t): Document gl_flags.
29540         (glob64_t): Likewise.
29542 2013-01-11  David S. Miller  <davem@davemloft.net>
29544         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29545         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29546         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29547         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29548         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29549         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29550         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29551         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29552         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29553         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29554         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29555         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29556         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29558         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29559         sparc V9 rather than using V8 code.
29560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29563         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29564         Move to...
29565         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29566         Here.
29568 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29570         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29571         not in the main loop.
29572         * configure: Regenerated.
29574 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29576         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29577         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29578         to just #else.
29579         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29580         [!__GLIBC_HAVE_LONG_LONG] case.
29581         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29582         condition to just #else.
29583         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29584         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29585         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29586         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29587         unconditional.
29588         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29589         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29590         #elif condition to just #else.
29591         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29592         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29593         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29594         #elif condition to just #else.
29596 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29598         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29599         (EF_MIPS_ARCH_64): Fix value.
29600         (EF_MIPS_ARCH_32R2): New.
29601         (EF_MIPS_ARCH_64R2): New.
29603 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29605         * Makeconfig (+link-pie-before-libc): New.
29606         (+link-pie-after-libc): Likewise.
29607         (+link-pie-tests): Likewise.
29608         (+link-pie): Rewritten.
29609         (link-before-libc): Remove $(config-LDFLAGS).
29610         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29611         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29612         (config-LDFLAGS): Renamed to ...
29613         (rtld-LDFLAGS): This.
29614         (rtld-tests-LDFLAGS): New macro.
29615         (link-libc-rpath-link): Likewise.
29616         (link-libc-tests-rpath-link): Likewise.
29617         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29618         (link-libc): Prepand $(link-libc-rpath-link).
29619         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29620         (test-program-prefix): New macro.
29621         (test-via-rtld-prefix): Likewise.
29622         (test-program-cmd): Likewise.
29623         (host-test-program-cmd): Likewise.
29624         * Makefile ($(common-objpfx)testrun.sh): Replace
29625         $(run-program-prefix) with $(test-program-prefix).
29626         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29627         $(rtld-LDFLAGS).
29628         ($(common-objpfx)shlib.lds): Likewise.
29629         (build-module-helper): Likewise.
29630         ($(common-objpfx)format.lds): Likewise.
29631         * Rules (binaries-pie-tests): New.
29632         (binaries-pie-notests): Likewise.
29633         (binaries-pie): Rewritten.
29634         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29635         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29636         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29637         (make-test-out): Replace $(host-built-program-cmd) with
29638         $(host-test-program-cmd).
29639         * config.make.in (build-hardcoded-path-in-tests): New variable.
29640         * configure.in (--enable-hardcoded-path-in-tests): New configure
29641         option.
29642         (hardcoded_path_in_tests): New AC_SUBST.
29643         * configure: Regenerated.
29644         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29645         $(built-program-cmd) with $(test-program-cmd).
29646         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29647         (test_program_cmd): This.
29648         * elf/Makefile ($(objpfx)order.out): Run test with
29649         $(test-program-prefix).
29650         ($(objpfx)order2.out): Likewise.
29651         ($(objpfx)tst-initorder.out): Likewise.
29652         ($(objpfx)tst-initorder2.out): Likewise.
29653         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29654         $(test-program-cmd).
29655         ($(objpfx)tst-array1-static.out): Likewise.
29656         ($(objpfx)tst-array2.out): Likewise.
29657         ($(objpfx)tst-array3.out): Likewise.
29658         ($(objpfx)tst-array4.out): Likewise.
29659         ($(objpfx)tst-array5.out): Likewise.
29660         ($(objpfx)tst-array5-static.out): Likewise.
29661         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29662         $(test-program-cmd).
29663         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29664         $(run-program-prefix) with $(test-program-prefix).
29665         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29666         (test_program_prefix): This.
29667         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29668         $(run-program-prefix) with $(test-program-prefix).
29669         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29670         (test_program_prefix): This.
29671         * iconvdata/tst-tables.sh: Likewise.
29672         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29673         $(run-program-prefix) with $(test-program-prefix).
29674         ($(objpfx)tst-translit.out): Likewise.
29675         ($(objpfx)tst-gettext2.out): Likewise.
29676         ($(objpfx)tst-gettext4.out): Likewise.
29677         ($(objpfx)tst-gettext6.out): Likewise.
29678         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29679         (test_program_prefix): This.
29680         * intl/tst-gettext2.sh: Likewise.
29681         * intl/tst-gettext4.sh  Likewise.
29682         * intl/tst-gettext6.sh: Likewise.
29683         * intl/tst-translit.sh: Likewise.
29684         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29685         with $(test-program-cmd).
29686         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29687         $(run-program-prefix) with $(test-program-prefix).
29688         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29689         (test_program_prefix): This.
29690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29691         $(run-program-prefix) with $(test-program-prefix).
29692         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29693         (test_program_prefix): This.
29694         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29695         * posix/Makefile ($(objpfx)globtest.out): Replace
29696         $(run-via-rtld-prefix) and $(test-wrapper) with
29697         $(test-program-prefix) and $(test-via-rtld-prefix).
29698         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29699         $(test-program-prefix).
29700         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29701         $(host-test-program-cmd).
29702         (tst-spawn-ARGS): Likewise.
29703         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29704         $(test-program-prefix).
29705         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29706         (test_via_rtld_prefix): This.
29707         (test_wrapper): Renamed to ...
29708         (test_program_prefix): This.
29709         (run_program_prefix): Replaced by test_program_prefix.
29710         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29711         (test_program_prefix): This.
29712         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29713         with $(host-test-program-cmd).
29714         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29715         $(run-program-prefix) with $(test-program-prefix).
29716         ($(objpfx)tst-printf.out): Likewise.
29717         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29718         $(test-program-cmd).
29719         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29720         (test_program_prefix): This.
29721         * stdio-common/tst-unbputc.sh: Likewise.
29722         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29723         $(run-program-prefix) with $(test-program-prefix).
29724         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29725         (test_program_prefix): This.
29726         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29727         $(built-program-cmd) with $(test-program-cmd).
29729 2013-01-11  Andreas Jaeger  <aj@suse.de>
29731         [BZ #15003]
29732         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29733         value. Sync with Linux 3.7.
29735 2013-01-10  David S. Miller  <davem@davemloft.net>
29737         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29738         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29739         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29741 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29743         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29744         never set.
29745         * configure: Regenerated.
29747 2013-01-10  David S. Miller  <davem@davemloft.net>
29749         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29750         sparc V9 rather than using V8 code.
29751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29754 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29756         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29757         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29758         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29759         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29760         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29761         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29762         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29763         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29764         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29765         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29766         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29767         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29768         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29769         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29770         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29771         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29772         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29773         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29774         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29775         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29776         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29777         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29778         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29779         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29780         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29781         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29782         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29784 2013-01-10  David S. Miller  <davem@davemloft.net>
29786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29788 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29790         * posix/Makefile (tests-static): New variable.
29791         (tests): Add $(tests-static).
29792         (tst-exec-static-ARGS): New variable.
29793         (tst-spawn-static-ARGS): Likewise.
29794         * posix/tst-exec-static.c: New file.
29795         * posix/tst-spawn-static.c: Likewise.
29796         * posix/tst-exec.c: Support run directly.
29797         * posix/tst-spawn.c: Likewise.
29799 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29801         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29802         long.
29803         * math/bits/mathcalls.h (llrint): Likewise.
29804         (llround): Likewise.
29805         * stdlib/stdlib.h (struct drand48_data): Likewise.
29806         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29807         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29808         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29809         Likewise.
29810         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29811         Likewise.
29812         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29813         (elf_greg_t): Likewise.
29814         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29815         (__jmp_buf): Likewise.
29816         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29817         definitions.
29818         (llrint): Likewise, for all definitions.
29819         (llrintl): Likewise.
29821         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29822         Remove [__GNUC__] condition.
29823         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29824         condition to just [__USE_ISOC99].
29825         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29827 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29829         [BZ #14200]
29830         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29831         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29832         defined.
29833         (_POSIX_V6_ILP32_OFF32): Likewise.
29834         (_XBS5_ILP32_OFF32): Likewise.
29835         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29836         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29838 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29840         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29843         doubles __mpexp_twomm1.  Adjust usage.
29844         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29845         Remove.
29847 2013-01-10  Andreas Schwab  <schwab@suse.de>
29849         [BZ #14964]
29850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29851         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29853 2013-01-09  David S. Miller  <davem@davemloft.net>
29855         [BZ #15003]
29856         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29857         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29858         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29859         (TCP_FASTOPEN): Define.
29860         (tcp_repair_opt): New structure.
29861         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29862         enum values.
29863         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29864         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29865         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29866         (tcp_cookie_transactions): New structure.
29868 2013-01-09  Anton Blanchard  <anton@samba.org>
29870         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29871         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29873         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29875 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29877         * include/features.h (__USE_ANSI): Remove.
29879 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29881         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29883         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29885 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29887         * sysdeps/s390/fpu/libm-test-ulps: Update.
29889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29891         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29892         (__acr): Likewise.
29893         (__cpy): Likewise.
29894         (norm): Likewise.
29895         (denorm): Likewise.
29896         (__mp_dbl): Likewise.
29897         (__dbl_mp): Likewise.
29898         (add_magnitudes): Likewise.
29899         (sub_magnitudes): Likewise.
29900         (__add): Likewise.
29901         (__sub): Likewise.
29902         (__mul): Likewise.
29903         (__inv): Likewise.
29904         (__dvd): Likewise.
29905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29906         (__acr): Likewise.
29907         (__cpy): Likewise.
29908         (norm): Likewise.
29909         (denorm): Likewise.
29910         (__mp_dbl): Likewise.
29911         (__dbl_mp): Likewise.
29912         (add_magnitudes): Likewise.
29913         (sub_magnitudes): Likewise.
29914         (__add): Likewise.
29915         (__sub): Likewise.
29916         (__mul): Likewise.
29917         (__inv): Likewise.
29918         (__dvd): Likewise.
29919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29920         (__acr): Likewise.
29921         (__cpy): Likewise.
29922         (norm): Likewise.
29923         (denorm): Likewise.
29924         (__mp_dbl): Likewise.
29925         (__dbl_mp): Likewise.
29926         (add_magnitudes): Likewise.
29927         (sub_magnitudes): Likewise.
29928         (__add): Likewise.
29929         (__sub): Likewise.
29930         (__mul): Likewise.
29931         (__inv): Likewise.
29932         (__dvd): Likewise.
29934 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29936         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29937         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29938         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29939         2 && __USE_EXTERN_INLINES]: Likewise.
29941 2013-01-08  Andreas Jaeger  <aj@suse.de>
29943         [BZ# 14985]
29944         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29945         Remove.
29946         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29947         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29949 2013-01-07  Anton Blanchard  <anton@samba.org>
29951         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29952         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29953         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29954         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29955         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29956         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29957         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29958         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29960         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29963         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29965         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29969         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29970         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29971         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29972         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29974         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29975         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29976         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29977         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29981         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29983         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29986         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29987         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29988         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29990         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29991         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29993         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29995 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29997         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29998         (__MALLOC_PMT): Likewise.
29999         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30000         [__GNUC__], only on [_LIBC].
30001         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30002         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30003         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30004         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30005         forward declaration.
30006         (realloc_hook_ini): Likewise.
30007         (memalign_hook_ini): Likewise.
30008         (__libc_memalign): Do not use __MALLOC_PMT in variable
30009         declaration.
30010         (__libc_valloc): Likewise.
30011         (__libc_pvalloc): Likewise.
30012         (__libc_calloc): Likewise.
30013         (__posix_memalign): Likewise.
30015         [BZ #14996]
30016         * math/s_casinh.c: Include <float.h>.
30017         (__casinh): Do not do computation with squaring and square root
30018         for large arguments.
30019         * math/s_casinhf.c: Include <float.h>.
30020         (__casinhf): Do not do computation with squaring and square root
30021         for large arguments.
30022         * math/s_casinhl.c: Include <float.h>.
30023         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30024         (__casinhl): Do not do computation with squaring and square root
30025         for large arguments.
30026         * math/libm-test.inc (casin_test): Add more tests.
30027         (casinh_test): Likewise.
30028         * sysdeps/i386/fpu/libm-test-ulps: Update.
30029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30031 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30033         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30034         (__x86_64_raw_data_cache_size): Likewise.
30035         (__x86_64_data_cache_size_half): Likewise.
30036         (__x86_64_raw_data_cache_size_half): Likewise.
30037         (__x86_64_shared_cache_size): Likewise.
30038         (__x86_64_raw_shared_cache_size): Likewise.
30039         (__x86_64_shared_cache_size_half): Likewise.
30040         (__x86_64_raw_shared_cache_size_half): Likewise.
30041         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30042         to ...
30043         (__x86_data_cache_size): This.
30044         (__x86_64_raw_data_cache_size): Renamed to ...
30045         (__x86_raw_data_cache_size): This.
30046         (__x86_64_data_cache_size_half): Renamed to ...
30047         (__x86_data_cache_size_half): This.
30048         (__x86_64_raw_data_cache_size_half): Renamed to ...
30049         (__x86_raw_data_cache_size_half): This.
30050         (__x86_64_shared_cache_size): Renamed to ...
30051         (__x86_shared_cache_size): This.
30052         (__x86_64_raw_shared_cache_size): Renamed to ...
30053         (__x86_raw_shared_cache_size): This.
30054         (__x86_64_shared_cache_size_half): Renamed to ...
30055         (__x86_shared_cache_size_half): This.
30056         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30057         (__x86_raw_shared_cache_size_half): This.
30058         * sysdeps/x86_64/memcpy.S: Updated.
30059         * sysdeps/x86_64/memset.S: Likewise.
30060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30064 2013-01-04  David S. Miller  <davem@davemloft.net>
30066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30068 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30070         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30071         1 to avoid redefinition warning.
30072         (__USE_GNU): Don't define.
30073         (init_signaling_nan): Protoize.
30075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30077 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30079         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30081         (__cpymn): Likewise.
30082         (norm): Remove commented code.
30083         (denorm): Likewise.
30084         (__mp_dbl): Likewise.
30085         (__inv): Likewise.
30086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30087         (__cpymn): Likewise.
30088         (norm): Remove commented code.
30089         (denorm): Likewise.
30090         (__mp_dbl): Likewise.
30091         (__inv): Likewise.
30093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30094         mp_no value for 1.0 and 2.0.
30095         (norm): Use RADIXI instead of radixi.d.
30096         (denorm): Likewise.
30097         (__mul): Use 0.0 instead of zero.d.
30098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30099         mp_no value for 1.0 and 2.0.
30100         (norm): Use RADIXI instead of radixi.d.
30101         (denorm): Likewise.
30102         (__mul): Use 0.0 instead of zero.d.
30104 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30106         [BZ #14994]
30107         * math/s_casinh.c (__casinh): Reduce finite argument to first
30108         quadrant then set signs of results at the end.
30109         * math/s_casinhf.c (__casinhf): Likewise.
30110         * math/s_casinhl.c (__casinhl): Likewise.
30111         * math/libm-test.inc (casin_test): Add more tests.
30112         (casinh_test): Likewise.
30113         * sysdeps/i386/fpu/libm-test-ulps: Update.
30114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30116 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30118         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30120         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30122         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30123         declarations.
30124         (denorm): Likewise.
30125         (__mp_dbl): Likewise.
30126         (__inv): Likewise.
30128         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30129         and adjust the header comment.
30131         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30132         variable name from declaration.
30134 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30137         Initialize COMMON_CPUID_INDEX_7 element.
30138         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30139         (CPUID_RTM): Likewise.
30140         (HAS_RTM): Likewise.
30141         (COMMON_CPUID_INDEX_7): New enum.
30143 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30145         [BZ #14981]
30146         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30147         size is zero, record memory as freed.
30149 2013-01-03  Andreas Jaeger  <aj@suse.de>
30151         * po/ia.po: Add new Interlingua translation.
30153 2012-01-03  Allan McRae  <allan@archlinux.org>
30155         * locale/programs/localedef.c: Fix description of '--posix' flag.
30157 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30159         * NEWS: Update dates in second copyright notice.
30160         * README: Update copyright dates in example.
30161         * manual/libc.texinfo: Update copyright dates.
30162         * scripts/test-installation.pl: Update copyright date in --version
30163         output.
30165         * hurd/ctty-input.c: Fix copyright notice formatting.
30166         * hurd/ctty-output.c: Likewise.
30167         * hurd/dtable.c: Likewise.
30168         * hurd/hurd-raise.c: Likewise.
30169         * hurd/hurdprio.c: Likewise.
30170         * hurd/msgportdemux.c: Likewise.
30171         * misc/sys/file.h: Likewise.
30172         * misc/sys/ioctl.h: Likewise.
30173         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30174         * sysdeps/mach/hurd/chdir.c: Likewise.
30175         * sysdeps/mach/hurd/fchdir.c: Likewise.
30176         * sysdeps/mach/hurd/rename.c: Likewise.
30177         * sysdeps/mach/hurd/rmdir.c: Likewise.
30178         * sysdeps/mach/hurd/seekdir.c: Likewise.
30179         * sysdeps/mach/hurd/setsid.c: Likewise.
30180         * sysdeps/posix/wait3.c: Likewise.
30182         * All files with FSF copyright notices: Update copyright dates
30183         using scripts/update-copyrights.
30184         * intl/plural.c: Regenerated.
30185         * locale/programs/charmap-kw.h: Likewise.
30186         * locale/programs/locfile-kw.h: Likewise.
30188 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30191         four values.
30193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30194         calculation loop and add branch prediction.
30196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30197         check access beyond bounds of m1np.
30199         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30200         MPTWO.
30201         (__inv): Remove local variable MPTWO to use the global
30202         constant.
30203         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30204         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30205         variable MPTWO.
30206         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30207         MP3HALFS static const.
30209 2013-01-01  David S. Miller  <davem@davemloft.net>
30211         * po/ca.po: Update from translation team.
30213 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30215         * scripts/update-copyrights: New file.
30216         * Makeconfig: Reformat copyright notice.
30217         * ctype/ctype.h: Likewise.
30218         * debug/swprintf_chk.c: Likewise.
30219         * elf/dl-cache.c: Likewise.
30220         * elf/dl-debug.c: Likewise.
30221         * elf/dl-object.c: Likewise.
30222         * grp/initgroups.c: Likewise.
30223         * hurd/Makefile: Likewise.
30224         * hurd/hurd/signal.h: Likewise.
30225         * hurd/hurdfault.c: Likewise.
30226         * hurd/hurdioctl.c: Likewise.
30227         * hurd/hurdlookup.c: Likewise.
30228         * hurd/intr-msg.c: Likewise.
30229         * iconv/gconv_open.c: Likewise.
30230         * libio/swprintf.c: Likewise.
30231         * locale/lc-ctype.c: Likewise.
30232         * locale/nl_langinfo.c: Likewise.
30233         * mach/Machrules: Likewise.
30234         * mach/Makefile: Likewise.
30235         * malloc/obstack.h: Likewise.
30236         * manual/Makefile: Likewise.
30237         * manual/tsort.awk: Likewise.
30238         * misc/bits/stab.def: Likewise.
30239         * nis/nis_print_group_entry.c: Likewise.
30240         * nis/nis_table.c: Likewise.
30241         * nis/nss_compat/compat-pwd.c: Likewise.
30242         * nis/nss_compat/compat-spwd.c: Likewise.
30243         * po/Makefile: Likewise.
30244         * posix/fnmatch.c: Likewise.
30245         * posix/regex.h: Likewise.
30246         * resolv/Makefile: Likewise.
30247         * resolv/nss_dns/dns-network.c: Likewise.
30248         * resolv/res_hconf.c: Likewise.
30249         * scripts/gen-sorted.awk: Likewise.
30250         * soft-fp/soft-fp.h: Likewise.
30251         * stdio-common/printf.h: Likewise.
30252         * stdlib/monetary.h: Likewise.
30253         * stdlib/random.c: Likewise.
30254         * stdlib/random_r.c: Likewise.
30255         * sysdeps/generic/Makefile: Likewise.
30256         * sysdeps/gnu/Makefile: Likewise.
30257         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30259         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30264         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30265         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30266         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30269         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30270         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30271         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30272         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30273         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30275         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30276         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30277         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30278         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30279         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30280         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30281         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30282         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30283         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30284         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30285         * sysdeps/mach/hurd/errnos.awk: Likewise.
30286         * sysdeps/mach/hurd/fork.c: Likewise.
30287         * sysdeps/mach/hurd/getcwd.c: Likewise.
30288         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30289         * sysdeps/mach/hurd/mmap.c: Likewise.
30290         * sysdeps/mach/hurd/utimes.c: Likewise.
30291         * sysdeps/mach/hurd/xmknod.c: Likewise.
30292         * sysdeps/posix/profil.c: Likewise.
30293         * sysdeps/posix/readdir_r.c: Likewise.
30294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30295         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30296         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30297         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30299         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30303         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30305         * sysdeps/pthread/lio_listio.c: Likewise.
30306         * sysdeps/sparc/dl-procinfo.h: Likewise.
30307         * sysdeps/unix/i386/sysdep.S: Likewise.
30308         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30309         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30310         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30311         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30313         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30314         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30315         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30316         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30317         * sysdeps/wordsize-32/divdi3.c: Likewise.
30318         * time/sys/time.h: Likewise.
30319         * wcsmbs/Makefile: Likewise.
30321 2013-01-01  David S. Miller  <davem@davemloft.net>
30323         * po/fr.po: Update from translation team.
30325         * catgets/gencat.c: Update copyright year.
30326         * csu/version.c: Likewise.
30327         * debug/catchsegv.sh: Likewise.
30328         * debug/pcprofiledump.c: Likewise.
30329         * debug/xtrace.sh: Likewise.
30330         * elf/ldconfig.c: Likewise.
30331         * elf/ldd.bash.in: Likewise.
30332         * elf/pldd.c: Likewise.
30333         * elf/sotruss.ksh: Likewise.
30334         * elf/sprof.c: Likewise.
30335         * iconv/iconv_prog.c: Likewise.
30336         * iconv/iconvconfig.c: Likewise.
30337         * locale/programs/locale.c: Likewise.
30338         * locale/programs/localedef.c: Likewise.
30339         * login/programs/pt_chown.c: Likewise.
30340         * malloc/memusage.sh: Likewise.
30341         * malloc/memusagestat.c: Likewise.
30342         * malloc/mtrace.pl: Likewise.
30343         * nscd/nscd.c: Likewise.
30344         * nss/getent.c: Likewise.
30345         * nss/makedb.c: Likewise.
30346         * posix/getconf.c: Likewise.
30348 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30350         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30351         numbers.
30353 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
30355         * math/bits/mathcalls.h (modf): Use __nonnull.
30357 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30360         (split): Use macro CN instead of the bare value.
30361         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30362         could be used.
30363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30364         instead of the bare value.
30365         (power1): Likewise.
30367 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30369         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30370         __ATAN_TWOM.
30371         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30373         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30374         their values.
30375         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30376         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30377         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30378         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30380 2012-12-28  Andreas Jaeger  <aj@suse.de>
30382         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
30383         values are from Linux 3.7.
30385         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30386         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
30388 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30390         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30391         TRUE case.
30393         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30394         (norm): Likewise.
30395         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30396         variables with preprocessor constants.
30397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30398         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30399         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30401 2012-12-27  Bruno Haible  <bruno@clisp.org>
30403         [BZ #14317]
30404         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30405         only if needed.
30407 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30410         and use variable directly.
30411         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30413         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30414         MPONE.
30415         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30417         variable MPONE.
30418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30420         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30421         include directive.  Remove local variable MPONE.
30422         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30423         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30424         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30426 2012-12-25  David S. Miller  <davem@davemloft.net>
30428         * version.h (RELEASE): Set to "development".
30429         (VERSION): Set to "2.17.90".
30430         * NEWS: Add 2.18 section.
30432 2012-12-21  David S. Miller  <davem@davemloft.net>
30434         * po/hr.po: Update from translation team.
30436 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30438         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30440 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30442         * NEWS:  Mention new memcpy for MIPS.
30444 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30446         * manual/contrib.texi (Contributors): Spelling correction.
30448 2012-12-15  David S. Miller  <davem@davemloft.net>
30450         * po/ru.po: Update from translation team.
30452 2012-12-13  David S. Miller  <davem@davemloft.net>
30454         * NEWS: Mention IFUNC testsuite enhancements.
30456         * po/pl.po: Update from translation team.
30457         * po/bg.po: Likewise.
30459         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30460         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30462 2012-12-11  David S. Miller  <davem@davemloft.net>
30464         * po/sv.po: Update from translation team.
30466         * po/vi.po: Update from translation team.
30468         * po/cs.po: Update from translation team.
30470         * po/de.po: Update from translation team.
30471         * po/eo.po: Likewise.
30472         * po/nl.po: Likewise.
30474 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30476         [BZ #14246]
30477         * manual/argp.texi (Argp Helper Functions): Move node to follow
30478         Argp Parsing State.
30480         [BZ #14872]
30481         * manual/conf.texi (Limits on File System Capacity): Mention if
30482         terminating null is included in the max size.
30484 2012-12-10  Andreas Jaeger  <aj@suse.de>
30486         * po/cs.po: Update from translation team.
30488 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30491         void pointer and cast to uintptr_t.
30492         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30493         path.
30494         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30495         * sysdeps/s390/s390-64/memset.S: Likewise.
30497 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30499         [BZ #14833]
30500         * menual/message.texi (Message Translation): Fix typos.
30501         (Helper programs for gettext): Likewise.
30503 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30505         [BZ #14898]
30506         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30507         Change to -1.
30509 2012-12-07  David S. Miller  <davem@davemloft.net>
30511         * po/libc.pot: Update.
30513 2012-12-07  Richard Henderson  <rth@redhat.com>
30515         [BZ #10114]
30516         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30517         normal/normal case to before the switch.
30518         (_FP_DIV): Likewise.
30520 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30521             Mike Frysinger  <vapier@gentoo.org>
30523         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30524         check for __NR_fadvise64_64.
30526 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30528         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30529         0, not just to plain "0" as a statement.
30530         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30531         with cw.
30533 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30535         * NEWS: Use sourceware.org in Bugzilla URL.
30537 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30540         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30542         * stdio-common/tst-put-error.c (do_test): Add newline to the
30543         padded test to ensure flush.
30545 2012-12-05  Jeff Law  <law@redhat.com>
30547         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30549 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30551         * README: Don't refer to ports add-on as distributed separately.
30552         Mention AArch64 in list of systems supported in the ports add-on.
30554         * LICENSES: Add more non-FSF copyright and license notices.
30556         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30557         ((unused)).
30559         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30561         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30562         10000 as width of padded output.
30564 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30566         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30568         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30569         variable LX with __attribute__ ((unused)).
30570         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30571         Likewise.
30572         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30575         with __attribute__ ((unused)).
30577 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30579         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30581 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30583         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30584         (CFLAGS-nldbl-acos.c): New variable.
30585         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30586         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30587         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30588         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30589         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30590         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30591         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30592         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30593         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30594         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30595         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30596         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30597         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30598         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30599         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30600         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30601         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30602         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30603         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30604         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30605         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30606         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30607         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30608         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30609         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30610         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30611         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30612         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30613         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30614         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30615         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30616         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30617         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30618         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30619         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30620         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30621         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30622         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30623         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30624         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30625         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30626         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30627         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30628         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30629         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30630         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30631         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30632         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30633         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30634         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30635         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30636         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30637         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30638         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30639         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30640         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30641         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30642         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30643         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30644         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30645         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30646         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30647         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30648         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30649         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30650         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30651         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30652         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30653         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30654         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30655         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30656         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30657         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30658         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30659         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30660         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30661         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30662         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30663         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30664         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30665         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30666         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30667         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30668         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30669         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30670         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30671         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30672         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30673         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30674         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30675         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30676         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30677         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30678         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30679         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30680         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30681         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30684         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30686         [BZ #14914]
30687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30688         whole low double instead of just low 47 bits when splitting values
30689         into two parts.
30691 2012-12-03  Allan McRae  <allan@archlinux.org>
30693         * manual/stdio.texi (Predefined Printf Handlers): Remove
30694         @hsep and @vsep usage.
30696 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30698         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30699         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30701 2012-12-03  Jeff Law  <law@redhat.com>
30703         * time/sys/time.h (settimeofday): Do not mark TV argument
30704         as __nonnull.
30706 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30708         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30709         when currently writing and seek to current position when not.
30710         * libio/Makefile (tests): Remove bug-fclose1.
30711         * libio/bug-fclose1.c: Delete.
30713 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30715         * manual/arith.texi (feenableexcept): Fix typo.
30716         (fedisableexcept): Likewise.
30718 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30720         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30721         second, differently-typed declaration, rather than a cast.
30723 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30725         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30726         * include/rpc/svc.h: ... here.
30728 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30730         [BZ #13013]
30731         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30732         depending n and resplen2 to catch cases where answer
30733         equals answerp2.
30735 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30737         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30738         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30740 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30744 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30746         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30748 2012-11-28  Jeff Law  <law@redhat.com>
30750         [BZ #13761]
30751         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30752         dataset_temporary.  Track alloca usage into alloca_used.
30753         If dataset is large allocate and release it via malloc/free.
30755 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30757         [BZ #14197]
30758         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30760 2012-11-28  David S. Miller  <davem@davemloft.net>
30762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30764 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30766         [BZ #14803]
30767         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30768         of pi/2 rounded to nearest to 64 bits.
30769         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30770         nearest to 64 bits.
30771         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30772         bits.
30774 2012-11-28  Jeff Law <law@redhat.com>
30775             Martin Osvald <mosvald@redhat.com>
30777         [BZ #14889]
30778         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30779         * sunrpc/svc.c: Include time.h.
30780         (__svc_accept_failed): New function.
30781         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30782         any reason other than EINTR, call __svc_accept_failed.
30783         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30784         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30786 2012-11-28  Andreas Schwab  <schwab@suse.de>
30788         * scripts/abilist.awk: Also handle indirect functions in .opd
30789         section.
30791 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30793         [BZ #13881]
30794         * sysdeps/x86/fpu/powl_helper.c: New file.
30795         * sysdeps/x86/fpu/Makefile: Likewise.
30796         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30797         (p3): New object.
30798         (__ieee754_powl): Use __powl_helper for finite arguments except
30799         integer exponents below 8.
30800         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30801         (p3): New object.
30802         (__ieee754_powl): Use __powl_helper for finite arguments except
30803         integer exponents below 8.
30804         * math/libm-test.inc (pow_test): Add more tests and enable some
30805         previously disabled tests.
30806         * sysdeps/i386/fpu/libm-test-ulps: Update.
30807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30809 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30810             Carlos O'Donell  <carlos_odonell@mentor.com>
30812         * nss/makedb.c (is_prime): Assert that input is odd and greater
30813         than 4.  Note that fact in a comment too.
30814         (next_prime): Add 4 to input.
30816 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30818         [BZ #11741]
30819         * libio/Makefile (tests): Add test case tst-fwrite-error.
30820         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30821         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30822         * libio/tst-fwrite-error.c: New test case.
30824 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30826         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30827         before casting to void *.
30828         * include/libc-internal.h (__pointer_type): New macro.
30829         (__integer_if_pointer_type_sub): Likewise.
30830         (__integer_if_pointer_type): Likewise.
30831         (cast_to_integer): Likewise.
30832         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30833         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30834         before casting to atomic64_t.
30835         (atomic_exchange_acq): Likewise.
30836         (__arch_exchange_and_add_body): Likewise.
30837         (__arch_add_body): Likewise.
30838         (atomic_add_negative): Likewise.
30839         (atomic_add_zero): Likewise.
30841 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30843         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30844         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30845         (add_fdes): Likewise.
30846         (linear_search_fdes): Likewise.
30847         (binary_search_unencoded_fdes): Likewise.
30849 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30851         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30853 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30855         * configure.in: Autodetect C++ header directories.
30856         * configure: Regenerated.
30858 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30860         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30862 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30866 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30868         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30869         LDBL_MANT_DIG == 106]: Disable some tests.
30870         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30871         Likewise.
30872         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30873         Likewise.
30875         [BZ #14871]
30876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30877         input for small inputs.  Return +/- pi/2 for large inputs.
30878         * math/libm-test.inc (atan_test): Add more tests.
30880         * sysdeps/generic/unwind-dw2-fde-glibc.c
30881         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30882         __attribute__ ((unused)).
30884         [BZ #14645]
30885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30886         x * y if x and y are nonzero and z is zero.
30888         [BZ #14811]
30889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30890         nonzero exponents with absolute value below 0x1p-117 to +/-
30891         0x1p-117.
30893         [BZ #14869]
30894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30895         up arguments below 2**-450, not just those below 2**-500.
30896         * math/libm-test.inc (hypot_test): Add another test.
30898         [BZ #14868]
30899         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30900         Return a+b for ratio over 2**120, not 2**60.
30901         * math/libm-test.inc (hypot_test): Add another test.
30903         * math/libm-test.inc (clog_test): Use
30904         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30905         (clog10_test): Likewise.
30907         [BZ #6778]
30908         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30910 2012-11-22  Andreas Schwab  <schwab@suse.de>
30912         * sysdeps/i386/fpu/libm-test-ulps: Update.
30914 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30916         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30917         printf output with newline.
30919 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30921         [BZ #14865]
30922         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30923         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30924         -z nodlopen, -z initfirst and -z execstack support.
30925         * configure: Regenerated.
30927         * elf/elf.h (DF_1_NODIRECT): New macro.
30928         (DF_1_IGNMULDEF): Likewise.
30929         (DF_1_NOKSYMS): Likewise.
30930         (DF_1_NOHDR): Likewise.
30931         (DF_1_EDITED): Likewise.
30932         (DF_1_NORELOC): Likewise.
30933         (DF_1_SYMINTPOSE): Likewise.
30934         (DF_1_GLOBAUDIT): Likewise.
30935         (DF_1_SINGLETON): Likewise.
30936         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30937         DT_1_SUPPORTED_MASK bits.
30938         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30940 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30942         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30944 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30946         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30947         macro.
30949         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30950         (sendmmsg): Move declarations...
30951         * socket/sys/socket.h: ... here.
30952         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30953         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30954         include it from...
30955         * socket/recvmmsg.c: ... this new file.
30956         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30957         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30958         definition of __sendmmsg hidden.
30959         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30960         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30961         Move ENOSYS stub into and include it from...
30962         * socket/sendmmsg.c: ... this new file.
30963         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30964         (sysdep_routines): Move recvmmsg and sendmmsg...
30965         * socket/Makefile (routines): ... here.
30966         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30967         (GLIBC_PRIVATE): Add __sendmmsg.
30968         * include/sys/socket.h (__sendmmsg): Add declarations.
30969         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30970         sendmmsg.
30972 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30975         variable I1 with __attribute__ ((unused)).
30976         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30978 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30980         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30981         DUMMY variables with __attribute__ ((unused)).
30983         * bits/byteswap.h: Include <bits/types.h>.
30984         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30988         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30989         string_t.  Do not manually set errno.
30990         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30991         length with __strnlen.  Make sure to both set errno and return it on
30992         failure.
30994 2012-11-19  David S. Miller  <davem@davemloft.net>
30996         With help from Joseph Myers.
30997         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30998         very large arguments properly.
30999         * math/libm-test.inc (atan_test): New tests.
31000         (atan2_test): New tests.
31001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31004 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31006         [BZ #14856]
31007         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31008         Define to 3.
31010         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31011         [POSIX] (EADDRNOTAVAIL): Likewise.
31012         [POSIX] (EAFNOSUPPORT): Likewise.
31013         [POSIX] (EALREADY): Likewise.
31014         [POSIX] (ECONNABORTED): Likewise.
31015         [POSIX] (ECONNREFUSED): Likewise.
31016         [POSIX] (ECONNRESET): Likewise.
31017         [POSIX] (EDESTADDRREQ): Likewise.
31018         [POSIX] (EDQUOT): Likewise.
31019         [POSIX] (EHOSTUNREACH): Likewise.
31020         [POSIX] (EIDRM): Likewise.
31021         [POSIX] (EISCONN): Likewise.
31022         [POSIX] (ELOOP): Likewise.
31023         [POSIX] (EMULTIHOP): Likewise.
31024         [POSIX] (ENETDOWN): Likewise.
31025         [POSIX] (ENETUNREACH): Likewise.
31026         [POSIX] (ENOBUFS): Likewise.
31027         [POSIX] (ENODATA): Likewise.
31028         [POSIX] (ENOLINK): Likewise.
31029         [POSIX] (ENOMSG): Likewise.
31030         [POSIX] (ENOPROTOOPT): Likewise.
31031         [POSIX] (ENOSR): Likewise.
31032         [POSIX] (ENOSTR): Likewise.
31033         [POSIX] (ENOTCONN): Likewise.
31034         [POSIX] (ENOTSOCK): Likewise.
31035         [POSIX] (EOPNOTSUPP): Likewise.
31036         [POSIX] (EOVERFLOW): Likewise.
31037         [POSIX] (EPROTO): Likewise.
31038         [POSIX] (EPROTONOSUPPORT): Likewise.
31039         [POSIX] (EPROTOTYPE): Likewise.
31040         [POSIX] (ESTALE): Likewise.
31041         [POSIX] (ETIME): Likewise.
31042         [POSIX] (ETXTBSY): Likewise.
31043         [POSIX] (EWOULDBLOCK): Likewise.
31044         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31045         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31046         [POSIX] (SEEK_CUR): Likewise.
31047         [POSIX] (SEEK_END): Likewise.
31048         [POSIX || UNIX98] (mode_t): Do not require.
31049         [POSIX] (off_t): Likewise.
31050         [POSIX] (pid_t): Likewise.
31051         [POSIX] (sys/stat.h): Do not allow header.
31052         [POSIX] (unistd.h): Likewise.
31053         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31054         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31055         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31056         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31057         require.
31058         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31059         sigevent): Specify elements.
31060         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31061         entry.
31062         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31063         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31065         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31066         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31067         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31068         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31069         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31070         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31071         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31072         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31073         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31074         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31075         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31076         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31077         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31079         Likewise.
31080         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31081         Likewise.
31082         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31083         Likewise.
31084         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31085         Likewise.
31086         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31088         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31089         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31090         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31091         Specify lower bound on value.
31092         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31093         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31094         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31095         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31096         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31097         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31098         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31099         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31100         value.
31101         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31102         as optional.
31103         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31104         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31105         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31106         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31107         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31108         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31109         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31110         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31111         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31112         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31113         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31114         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31115         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31116         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31117         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31118         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31119         entry.
31120         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31121         optional.
31122         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31123         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31124         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31125         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31126         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31128         Likewise.
31129         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31130         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31131         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31132         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31133         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31134         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31136         as optional.
31137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31139         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31140         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31141         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31142         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31143         specify as optional.
31144         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31145         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31147         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31148         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31149         [XPG3] (NL_LANGMAX): Likewise.
31150         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31151         [POSIX || XPG3] (NL_NMAX): Likewise.
31152         [POSIX || XPG3] (NL_SETMAX): Likewise.
31153         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31154         [XPG3] (NZERO): Likewise.
31155         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31156         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31157         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31158         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31159         (REG_ERANGE): Expect.
31160         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31161         optional-constant.
31162         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31163         Use (void) in prototype.
31164         [POSIX] (*_t): Allow.
31165         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31166         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31167         (WRDE_BADVAL): Expect.
31169         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31170         expect.
31171         [XPG3 || XPG4] (O_RSYNC): Likewise.
31172         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31173         Likewise.
31174         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31175         [XPG3 || XPG4] (sigqueue): Likewise.
31176         [XPG3 || XPG4] (sigtimedwait): Likewise.
31177         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31178         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31179         [XPG3 || XPG4] (vsnprintf): Likewise.
31180         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31181         Likewise.
31182         [XPG3 || XPG4] (blksize_t): Likewise.
31183         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31184         Likewise.
31185         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31186         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31187         [XPG3 || XPG4] (struct itimerspec): Likewise.
31188         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31189         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31190         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31191         [XPG3 || XPG4] (clockid_t): Likewise.
31192         [XPG3 || XPG4] (timer_t): Likewise.
31193         [XPG3 || XPG4] (clock_getres): Likewise.
31194         [XPG3 || XPG4] (clock_gettime): Likewise.
31195         [XPG3 || XPG4] (clock_settime): Likewise.
31196         [XPG3 || XPG4] (nanosleep): Likewise.
31197         [XPG3 || XPG4] (timer_create): Likewise.
31198         [XPG3 || XPG4] (timer_delete): Likewise.
31199         [XPG3 || XPG4] (timer_gettime): Likewise.
31200         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31201         [XPG3 || XPG4] (timer_settime): Likewise.
31202         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31203         [XPG3 || XPG4] (getlogin_r): Likewise.
31204         [XPG3 || XPG4] (pread): Likewise.
31205         [XPG3 || XPG4] (pthread_atfork): Likewise.
31206         [XPG3 || XPG4] (pwrite): Likewise.
31208         [BZ #14835]
31209         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31210         <bits/siginfo.h>.
31212 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31214         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31215         finalizing MALLSTREAM.
31217         * sysdeps/mach/hurd/syncfs.c: New file.
31219 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31221         [BZ #14719]
31222         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31223         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31225         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31226         (_nss_dns_gethostbyname4_r): Likewise.
31227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31228         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31230 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31232         [BZ #13763]
31233         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31235 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31237         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31238         * elf/cache.c (print_entry): Print ",AArch64" for
31239         FLAG_AARCH64_LIB64
31241         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31242         * elf/cache.c (print_entry): Print ",hard-float" for
31243         FLAG_ARM_LIBHF.
31245 2012-11-18  David S. Miller  <davem@davemloft.net>
31247         With help from Joseph Myers.
31248         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31249         cutoff to 2**-13.
31250         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31251         cutoff to 2**-25.
31252         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31253         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31254         small.
31255         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31256         * math/libm-test.inc (y0_test): New tests.
31257         (y1_test): New tests.
31258         * sysdeps/i386/fpu/libm-test-ulps: Update.
31259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31262 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31264         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31265         64-bit targets.
31266         * configure: Regenerated.
31268 2012-11-17  David S. Miller  <davem@davemloft.net>
31270         [BZ #14811]
31271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31272         nonzero exponents with absolute value below 0x1p-128 to +/-
31273         0x1p-128.
31275 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31277         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31279         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31281         * posix/getconf-speclist.c: New file.
31282         * posix/posix-envs.def: Likewise.
31283         * posix/confstr.c (START_ENV_GROUP): New macro.
31284         (END_ENV_GROUP): Likewise.
31285         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31286         (KNOWN_PRESENT_ENV_STRING): Likewise.
31287         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31288         (UNKNOWN_ENVIRONMENT): Likewise.
31289         (confstr): Include posix-envs.def instead of handling
31290         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31291         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31292         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31293         (END_ENV_GROUP): Likewise.
31294         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31295         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31296         (UNKNOWN_ENVIRONMENT): Likewise.
31297         (__sysconf): Include posix-envs.def instead of handling associated
31298         cases directly here.
31299         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31300         preprocessing getconf-speclist.c rather than running getconf or
31301         generating empty file.
31303 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31305         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31307 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31309         [BZ #14672]
31310         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31312 2012-11-16  David S. Miller  <davem@davemloft.net>
31314         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31315         smaller than LDBL_EPSILON/2.0L, just return xm1.
31317 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31319         * elf/tst-array1.c (init): Set constructor priority to 1000.
31320         (fini): Set destructor priority to 1000.
31321         * elf/tst-array2dep.c: Likewise.
31323 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31325         [BZ #11741]
31326         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31327         (_IO_new_file_xsputn): Also return EOF if none of the input
31328         data was written when overflow failed.
31329         * libio/iopadn.c (_IO_padn): Likewise.
31330         * libio/iowpadn.c (_IO_wpadn): Likewise.
31331         * stdio-common/tst-put-error.c: Add copyright notice.
31332         (do_test): Add case for printing padded string.
31333         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31334         _IO_padn returned error.
31335         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31336         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31337         return EOF.
31339 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31341         * libio/libioP.h: Add comment note that the references to C++
31342         bits are now obsolete.
31344 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31346         * math/libm-test.inc (check_complex): Use asprintf.
31348 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
31350         * debug/pcprofiledump.c (print_version): Update copyright year.
31351         * malloc/memusagestat.c (print_version): Likewise.
31353 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
31355         [BZ #14831]
31356         * elf/Makefile (tests): Add tst-audit8.
31357         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31358         ($(objpfx)tst-audit8.out): New target.
31359         (tst-audit8-ENV): New variable.
31360         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31361         audit if l_reloc_result is NULL.
31362         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31363         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31364         * elf/tst-audit8.c: New file.
31366 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31368         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31369         * misc/Makefile (CFLAGS-select.c): Define.
31370         * posix/Makefile (CFLAGS-pause.c): Define.
31372 2012-11-13  David S. Miller  <davem@davemloft.net>
31374         * crypt/Makefile: Move test targets after toplevel Rules
31375         inclusion.  Grab any necessary sysdep routines when linking.
31376         * crypt/md5.c (md5_process_block): Remove define, we will always
31377         name it __md5_process_block.
31378         (md5_finish_ctx): Update md5_process_block call.
31379         (md5_stream): Likewise.
31380         (md5_process_bytes): Likewise.
31381         (md5_process_block): Rename to __md5_process_block and move to ...
31382         * crypt/md5-block.c: ... here.
31383         * crypt/sha256.c (sha256_process_block): Move to ...
31384         * crypt/sha256-block.c: ... here.
31385         * crypt/sha512.c (sha512_process_block): Move to ...
31386         * crypt/sha512-block.c: ... here.
31387         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31388         path.
31389         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31390         * sysdeps/sparc/sparc64/multiarch/Makefile
31391         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31392         crypt subdir.
31393         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31394         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31395         multiarch changes.
31396         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31397         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31398         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31399         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31400         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31401         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31402         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31403         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31405         file.
31406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31408         file.
31409         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31411 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31413         * timezone/tzselect.ksh: Update from tzcode git revision
31414         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31415         * timezone/zdump.c: Likewise.
31416         * timezone/zic.c: Likewise.
31417         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31418         in TZVERSION setting, not $(PKGVERSION).
31419         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31420         REPORT_BUGS_TO settings.
31422         [BZ #14838]
31423         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31424         macro.
31426 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31428         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31429         detection to immediately after _FP_ROUND().
31430         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31431         bits are 0.
31433 2012-11-11  David S. Miller  <davem@davemloft.net>
31435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31436         inttypes.h
31437         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31438         __close rather than their public counterparts.
31440 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31442         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31443         file.
31444         [UNIX98] (sem_timedwait): Do not expect.
31445         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31446         [XPG4 || UNIX98] (sockatmark): Do not expect.
31447         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31448         (clock_getcpuclockid): Do not expect.
31449         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31450         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31451         Do not expect.
31452         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31453         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31454         [UNIX98] (vwscanf): Likewise.
31455         [UNIX98] (vswscanf): Likewise.
31457 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31459         * timezone/version.h: Remove file.
31460         * timezone/README: Do not refer to version.h.
31461         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31462         $(objpfx)version.h.
31463         ($(objpfx)zdump.o): Likewise.
31464         ($(objpfx)version.h): New target.
31466         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31467         2012i.
31468         * timezone/README: Don't mention modification to tzselect.ksh.
31469         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31470         work on unmodified tzselect.ksh.  Substitute version numbers in
31471         tzselect.ksh.
31473         * Makefile (format-me): Remove.
31474         (INSTALL): Adjust indentation.  Use commands directly instead of
31475         using $(format-me).
31477         * aclocal.m4 (ACX_PKGVERSION): New macro.
31478         (ACX_BUGURL): Likewise.
31479         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31480         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31481         (REPORT_BUGS_TO): Likewise.
31482         * configure: Regenerated.
31483         * config.h.in (PKGVERSION): New macro.
31484         (REPORT_BUGS_TO): Likewise.
31485         * config.make.in (PKGVERSION): New variable.
31486         (PKGVERSION_TEXI): Likewise.
31487         (REPORT_BUGS_TO): Likewise.
31488         (REPORT_BUGS_TEXI): Likewise.
31489         * Makefile (format-me): Use -I$(common-objpfx)manual.
31490         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31491         ($(common-objpfx)manual/%): New target.
31492         (manual/%): Remove target.
31493         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31494         (print_version): Use PKGVERSION.
31495         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31496         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31497         and REPORT_BUGS_TO.
31498         ($(objpfx)xtrace): Likewise.
31499         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31500         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31501         (print_version): Use PKGVERSION.
31502         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31503         (do_version): Use PKGVERSION.
31504         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31505         REPORT_BUGS_TO.
31506         (common-ldd-rewrite): Likewise.
31507         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31508         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31509         (print_version): Use PKGVERSION.
31510         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31511         * elf/pldd.c (argp_program_bug_address): Remove variable.
31512         (more_help): New function.
31513         (argp): Use more_help.
31514         (print_version): Use PKGVERSION.
31515         * elf/sln.c (main): Use PKGVERSION.
31516         (usage): Use REPORT_BUGS_TO.
31517         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31518         (top level): Use PKGVERSION.
31519         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31520         (print_version): Use PKGVERSION.
31521         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31522         (print_version): Use PKGVERSION.
31523         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31524         (print_version): Use PKGVERSION.
31525         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31526         (print_version): Use PKGVERSION.
31527         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31528         (print_version): Use PKGVERSION.
31529         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31530         (print_version): Use PKGVERSION.
31531         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31532         and BUGURL.
31533         ($(objpfx)memusage): Likewise.
31534         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31535         (do_version): Use PKGVERSION.
31536         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31537         (print_version): Use PKGVERSION.
31538         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31539         ($PKGVERSION): New variable.
31540         ($REPORT_BUGS_TO): Likewise.
31541         (usage): Use $REPORT_BUGS_TO.
31542         (top level): Use $PKGVERSION.
31543         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31544         ($(objpfx)pkgvers.texi): New rule.
31545         ($(objpfx)stamp-pkgvers): Likewise.
31546         * manual/install.texi: Include pkgvers.texi.
31547         (--with-pkgversion): Document new configure option.
31548         (--with-bugurl): Likewise.
31549         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31550         than necessarily for this particular distribution.  Use
31551         REPORT_BUGS_TO for where to report bugs.
31552         * INSTALL: Regenerated.
31553         * manual/libc.texinfo: Include pkgvers.texi.
31554         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31555         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31556         (print_version): Use PKGVERSION.
31557         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31558         (print_version): Use PKGVERSION.
31559         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31560         (print_version): Use PKGVERSION.
31561         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31562         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31563         macro.
31564         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31565         (print_version): Use PKGVERSION.
31566         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31567         (print_version): Use PKGVERSION.
31568         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31569         and PKGVERSION.
31571         * timezone/checktab.awk: Update from tzcode 2012i.
31572         * timezone/ialloc.c: Likewise.
31573         * timezone/private.h: Likewise.
31574         * timezone/scheck.c: Likewise.
31575         * timezone/tzfile.h: Likewise.
31576         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31577         (TZVERSION): Hardcode tzcode version number.
31578         * timezone/zdump.c: Update from tzcode 2012i.
31579         * timezone/zic.c: Likewise.
31580         * timezone/version.h: New file.
31581         * timezone/README: Describe version.h.  Update upstream location.
31583         [BZ #14824]
31584         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31585         (mktemp): Enable declaration.
31586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31590         Likewise.
31591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31592         Likewise.
31593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31594         Likewise.
31595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31596         Likewise.
31597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31598         Likewise.
31599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31600         Likewise.
31602         [BZ #14821]
31603         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31604         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31605         for copies of such integer values.
31606         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31607         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31609 2012-11-09  Andreas Jaeger  <aj@suse.de>
31611         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31612         definitions and declarations that are provided by
31613         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31615 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31617         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31618         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31619         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31620         definition.
31622 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31624         * elf/elf.h: Update comment before AArch64 relocations.
31626 2012-11-07  David S. Miller  <davem@davemloft.net>
31628         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31629         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31630         (__start_context): Declare.
31631         (__makecontext_ret): Delete.
31632         (__makecontext): Hook up __start_context instead of
31633         __makecontext_ret.
31634         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31635         (sysdep_routines): Add __start_context when in stdlib.
31637 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31639         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31640         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31641         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31642         hardcoded "nm".
31643         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31644         (READELF): New variable.  Use it instead of hardcoded "readelf".
31646 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31648         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31649         * sysdeps/x86/Makefile: Here.
31650         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31651         * sysdeps/x86/tst-xmmymm.sh: This.
31653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31655         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31656         expectations.
31657         [UNIX98] (pthread_barrier_t): Do not expect.
31658         [UNIX98] (pthread_barrierattr_t): Likewise.
31659         [UNIX98] (pthread_spinlock_t): Likewise.
31660         [UNIX98] (pthread_barrier_destroy): Likewise.
31661         [UNIX98] (pthread_barrier_init): Likewise.
31662         [UNIX98] (pthread_barrier_wait): Likewise.
31663         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31664         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31665         [UNIX98] (pthread_barrierattr_init): Likewise.
31666         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31667         [UNIX98] (pthread_getcpuclockid): Likewise.
31668         [UNIX98] (pthread_mutex_timedlock): Likewise.
31669         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31670         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31671         [UNIX98] (pthread_sigmask): Likewise.
31672         [UNIX98] (pthread_spin_destroy): Likewise.
31673         [UNIX98] (pthread_spin_init): Likewise.
31674         [UNIX98] (pthread_spin_lock): Likewise.
31675         [UNIX98] (pthread_spin_trylock): Likewise.
31676         [UNIX98] (pthread_spin_unlock): Likewise.
31677         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31678         Do not expect.
31679         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31680         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31681         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31682         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31683         [XPG3 || XPG4] (pthread_key_t): Likewise.
31684         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31685         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31686         [XPG3 || XPG4] (pthread_once_t): Likewise.
31687         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31688         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31689         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31690         [XPG3 || XPG4] (pthread_t): Likewise.
31692         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31693         not expect.
31694         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31696         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31697         Change function return type to int.
31699         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31700         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31701         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31702         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31703         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31704         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31705         [!POSIX] (posix_madvise): Likewise.
31706         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31707         && !UNIX98].
31708         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31709         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31710         (mode_t): Likewise.
31711         (posix_mem_offset): Likewise.
31712         (posix_typed_mem_get_info): Likewise.
31713         (posix_typed_mem_open): Likewise.
31715         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31716         Change condition to [XOPEN2K8].
31718         * conform/conformtest.pl: Preprocess allow-header data with -x c
31719         instead of from stdin.
31720         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31721         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31722         [C99-based standards] (cerfc): Likewise.
31723         [C99-based standards] (cexp2): Likewise.
31724         [C99-based standards] (cexpm1): Likewise.
31725         [C99-based standards] (clog10): Likewise.
31726         [C99-based standards] (clog1p): Likewise.
31727         [C99-based standards] (clog2): Likewise.
31728         [C99-based standards] (clgamma): Likewise.
31729         [C99-based standards] (ctgamma): Likewise.
31730         [C99-based standards] (cerff): Likewise.
31731         [C99-based standards] (cerfcf): Likewise.
31732         [C99-based standards] (cexp2f): Likewise.
31733         [C99-based standards] (cexpm1f): Likewise.
31734         [C99-based standards] (clog10f): Likewise.
31735         [C99-based standards] (clog1pf): Likewise.
31736         [C99-based standards] (clog2f): Likewise.
31737         [C99-based standards] (clgammaf): Likewise.
31738         [C99-based standards] (ctgammaf): Likewise.
31739         [C99-based standards] (cerfl): Likewise.
31740         [C99-based standards] (cerfcl): Likewise.
31741         [C99-based standards] (cexp2l): Likewise.
31742         [C99-based standards] (cexpm1l): Likewise.
31743         [C99-based standards] (clog10l): Likewise.
31744         [C99-based standards] (clog1pl): Likewise.
31745         [C99-based standards] (clog2l): Likewise.
31746         [C99-based standards] (clgammal): Likewise.
31747         [C99-based standards] (ctgammal): Likewise.
31748         * conform/data/inttypes.h-data [C99-based standards]: Include
31749         stdint.h-data.  Remove all expectations for stdint.h contents.
31750         [C99-based standards] (PRI*): Do not allow.
31751         [C99-based standards] (SCN*): Likewise.
31752         [C99-based standards] (*_t): Likewise.
31753         [C99-based-standards] (PRId8): Expect macro.
31754         [C99-based-standards] (PRIi8): Likewise.
31755         [C99-based-standards] (PRIo8): Likewise.
31756         [C99-based-standards] (PRIu8): Likewise.
31757         [C99-based-standards] (PRIx8): Likewise.
31758         [C99-based-standards] (PRIX8): Likewise.
31759         [C99-based-standards] (SCNd8): Likewise.
31760         [C99-based-standards] (SCNi8): Likewise.
31761         [C99-based-standards] (SCNo8): Likewise.
31762         [C99-based-standards] (SCNu8): Likewise.
31763         [C99-based-standards] (SCNx8): Likewise.
31764         [C99-based-standards] (PRIdLEAST8): Likewise.
31765         [C99-based-standards] (PRIiLEAST8): Likewise.
31766         [C99-based-standards] (PRIoLEAST8): Likewise.
31767         [C99-based-standards] (PRIuLEAST8): Likewise.
31768         [C99-based-standards] (PRIxLEAST8): Likewise.
31769         [C99-based-standards] (PRIXLEAST8): Likewise.
31770         [C99-based-standards] (SCNdLEAST8): Likewise.
31771         [C99-based-standards] (SCNiLEAST8): Likewise.
31772         [C99-based-standards] (SCNoLEAST8): Likewise.
31773         [C99-based-standards] (SCNuLEAST8): Likewise.
31774         [C99-based-standards] (SCNxLEAST8): Likewise.
31775         [C99-based-standards] (PRIdFAST8): Likewise.
31776         [C99-based-standards] (PRIiFAST8): Likewise.
31777         [C99-based-standards] (PRIoFAST8): Likewise.
31778         [C99-based-standards] (PRIuFAST8): Likewise.
31779         [C99-based-standards] (PRIxFAST8): Likewise.
31780         [C99-based-standards] (PRIXFAST8): Likewise.
31781         [C99-based-standards] (SCNdFAST8): Likewise.
31782         [C99-based-standards] (SCNiFAST8): Likewise.
31783         [C99-based-standards] (SCNoFAST8): Likewise.
31784         [C99-based-standards] (SCNuFAST8): Likewise.
31785         [C99-based-standards] (SCNxFAST8): Likewise.
31786         [C99-based-standards] (PRId16): Likewise.
31787         [C99-based-standards] (PRIi16): Likewise.
31788         [C99-based-standards] (PRIo16): Likewise.
31789         [C99-based-standards] (PRIu16): Likewise.
31790         [C99-based-standards] (PRIx16): Likewise.
31791         [C99-based-standards] (PRIX16): Likewise.
31792         [C99-based-standards] (SCNd16): Likewise.
31793         [C99-based-standards] (SCNi16): Likewise.
31794         [C99-based-standards] (SCNo16): Likewise.
31795         [C99-based-standards] (SCNu16): Likewise.
31796         [C99-based-standards] (SCNx16): Likewise.
31797         [C99-based-standards] (PRIdLEAST16): Likewise.
31798         [C99-based-standards] (PRIiLEAST16): Likewise.
31799         [C99-based-standards] (PRIoLEAST16): Likewise.
31800         [C99-based-standards] (PRIuLEAST16): Likewise.
31801         [C99-based-standards] (PRIxLEAST16): Likewise.
31802         [C99-based-standards] (PRIXLEAST16): Likewise.
31803         [C99-based-standards] (SCNdLEAST16): Likewise.
31804         [C99-based-standards] (SCNiLEAST16): Likewise.
31805         [C99-based-standards] (SCNoLEAST16): Likewise.
31806         [C99-based-standards] (SCNuLEAST16): Likewise.
31807         [C99-based-standards] (SCNxLEAST16): Likewise.
31808         [C99-based-standards] (PRIdFAST16): Likewise.
31809         [C99-based-standards] (PRIiFAST16): Likewise.
31810         [C99-based-standards] (PRIoFAST16): Likewise.
31811         [C99-based-standards] (PRIuFAST16): Likewise.
31812         [C99-based-standards] (PRIxFAST16): Likewise.
31813         [C99-based-standards] (PRIXFAST16): Likewise.
31814         [C99-based-standards] (SCNdFAST16): Likewise.
31815         [C99-based-standards] (SCNiFAST16): Likewise.
31816         [C99-based-standards] (SCNoFAST16): Likewise.
31817         [C99-based-standards] (SCNuFAST16): Likewise.
31818         [C99-based-standards] (SCNxFAST16): Likewise.
31819         [C99-based-standards] (PRId32): Likewise.
31820         [C99-based-standards] (PRIi32): Likewise.
31821         [C99-based-standards] (PRIo32): Likewise.
31822         [C99-based-standards] (PRIu32): Likewise.
31823         [C99-based-standards] (PRIx32): Likewise.
31824         [C99-based-standards] (PRIX32): Likewise.
31825         [C99-based-standards] (SCNd32): Likewise.
31826         [C99-based-standards] (SCNi32): Likewise.
31827         [C99-based-standards] (SCNo32): Likewise.
31828         [C99-based-standards] (SCNu32): Likewise.
31829         [C99-based-standards] (SCNx32): Likewise.
31830         [C99-based-standards] (PRIdLEAST32): Likewise.
31831         [C99-based-standards] (PRIiLEAST32): Likewise.
31832         [C99-based-standards] (PRIoLEAST32): Likewise.
31833         [C99-based-standards] (PRIuLEAST32): Likewise.
31834         [C99-based-standards] (PRIxLEAST32): Likewise.
31835         [C99-based-standards] (PRIXLEAST32): Likewise.
31836         [C99-based-standards] (SCNdLEAST32): Likewise.
31837         [C99-based-standards] (SCNiLEAST32): Likewise.
31838         [C99-based-standards] (SCNoLEAST32): Likewise.
31839         [C99-based-standards] (SCNuLEAST32): Likewise.
31840         [C99-based-standards] (SCNxLEAST32): Likewise.
31841         [C99-based-standards] (PRIdFAST32): Likewise.
31842         [C99-based-standards] (PRIiFAST32): Likewise.
31843         [C99-based-standards] (PRIoFAST32): Likewise.
31844         [C99-based-standards] (PRIuFAST32): Likewise.
31845         [C99-based-standards] (PRIxFAST32): Likewise.
31846         [C99-based-standards] (PRIXFAST32): Likewise.
31847         [C99-based-standards] (SCNdFAST32): Likewise.
31848         [C99-based-standards] (SCNiFAST32): Likewise.
31849         [C99-based-standards] (SCNoFAST32): Likewise.
31850         [C99-based-standards] (SCNuFAST32): Likewise.
31851         [C99-based-standards] (SCNxFAST32): Likewise.
31852         [C99-based-standards] (PRId64): Likewise.
31853         [C99-based-standards] (PRIi64): Likewise.
31854         [C99-based-standards] (PRIo64): Likewise.
31855         [C99-based-standards] (PRIu64): Likewise.
31856         [C99-based-standards] (PRIx64): Likewise.
31857         [C99-based-standards] (PRIX64): Likewise.
31858         [C99-based-standards] (SCNd64): Likewise.
31859         [C99-based-standards] (SCNi64): Likewise.
31860         [C99-based-standards] (SCNo64): Likewise.
31861         [C99-based-standards] (SCNu64): Likewise.
31862         [C99-based-standards] (SCNx64): Likewise.
31863         [C99-based-standards] (PRIdLEAST64): Likewise.
31864         [C99-based-standards] (PRIiLEAST64): Likewise.
31865         [C99-based-standards] (PRIoLEAST64): Likewise.
31866         [C99-based-standards] (PRIuLEAST64): Likewise.
31867         [C99-based-standards] (PRIxLEAST64): Likewise.
31868         [C99-based-standards] (PRIXLEAST64): Likewise.
31869         [C99-based-standards] (SCNdLEAST64): Likewise.
31870         [C99-based-standards] (SCNiLEAST64): Likewise.
31871         [C99-based-standards] (SCNoLEAST64): Likewise.
31872         [C99-based-standards] (SCNuLEAST64): Likewise.
31873         [C99-based-standards] (SCNxLEAST64): Likewise.
31874         [C99-based-standards] (PRIdFAST64): Likewise.
31875         [C99-based-standards] (PRIiFAST64): Likewise.
31876         [C99-based-standards] (PRIoFAST64): Likewise.
31877         [C99-based-standards] (PRIuFAST64): Likewise.
31878         [C99-based-standards] (PRIxFAST64): Likewise.
31879         [C99-based-standards] (PRIXFAST64): Likewise.
31880         [C99-based-standards] (SCNdFAST64): Likewise.
31881         [C99-based-standards] (SCNiFAST64): Likewise.
31882         [C99-based-standards] (SCNoFAST64): Likewise.
31883         [C99-based-standards] (SCNuFAST64): Likewise.
31884         [C99-based-standards] (SCNxFAST64): Likewise.
31885         [C99-based-standards] (PRIdMAX): Likewise.
31886         [C99-based-standards] (PRIiMAX): Likewise.
31887         [C99-based-standards] (PRIoMAX): Likewise.
31888         [C99-based-standards] (PRIuMAX): Likewise.
31889         [C99-based-standards] (PRIxMAX): Likewise.
31890         [C99-based-standards] (PRIXMAX): Likewise.
31891         [C99-based-standards] (SCNdMAX): Likewise.
31892         [C99-based-standards] (SCNiMAX): Likewise.
31893         [C99-based-standards] (SCNoMAX): Likewise.
31894         [C99-based-standards] (SCNuMAX): Likewise.
31895         [C99-based-standards] (SCNxMAX): Likewise.
31896         [C99-based-standards] (PRIdPTR): Likewise.
31897         [C99-based-standards] (PRIiPTR): Likewise.
31898         [C99-based-standards] (PRIoPTR): Likewise.
31899         [C99-based-standards] (PRIuPTR): Likewise.
31900         [C99-based-standards] (PRIxPTR): Likewise.
31901         [C99-based-standards] (PRIXPTR): Likewise.
31902         [C99-based-standards] (SCNdPTR): Likewise.
31903         [C99-based-standards] (SCNiPTR): Likewise.
31904         [C99-based-standards] (SCNoPTR): Likewise.
31905         [C99-based-standards] (SCNuPTR): Likewise.
31906         [C99-based-standards] (SCNxPTR): Likewise.
31907         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31908         allow.
31909         * conform/data/stdint.h-data: Update comments to clarify
31910         requirements.
31911         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31912         type.
31913         [C99-based standards] (INT8_MAX): Likewise.
31914         [C99-based standards] (INT16_MIN): Likewise.
31915         [C99-based standards] (INT16_MAX): Likewise.
31916         [C99-based standards] (INT32_MIN): Likewise.
31917         [C99-based standards] (INT32_MAX): Likewise.
31918         [C99-based standards] (INT64_MIN): Likewise.
31919         [C99-based standards] (INT64_MAX): Likewise.
31920         [C99-based standards] (UINT8_MAX): Likewise.
31921         [C99-based standards] (UINT16_MAX): Likewise.
31922         [C99-based standards] (UINT32_MAX): Likewise.
31923         [C99-based standards] (UINT64_MAX): Likewise.
31924         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31925         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31926         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31927         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31928         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31929         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31930         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31931         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31932         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31933         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31934         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31935         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31936         [C99-based standards] (INT_FAST8_MIN): Likewise.
31937         [C99-based standards] (INT_FAST8_MAX): Likewise.
31938         [C99-based standards] (INT_FAST16_MIN): Likewise.
31939         [C99-based standards] (INT_FAST16_MAX): Likewise.
31940         [C99-based standards] (INT_FAST32_MIN): Likewise.
31941         [C99-based standards] (INT_FAST32_MAX): Likewise.
31942         [C99-based standards] (INT_FAST64_MIN): Likewise.
31943         [C99-based standards] (INT_FAST64_MAX): Likewise.
31944         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31945         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31946         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31947         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31948         [C99-based standards] (INTPTR_MIN): Likewise.
31949         [C99-based standards] (INTPTR_MAX): Likewise.
31950         [C99-based standards] (UINTPTR_MAX): Likewise.
31951         [C99-based standards] (INTMAX_MIN): Likewise.
31952         [C99-based standards] (INTMAX_MAX): Likewise.
31953         [C99-based standards] (UINTMAX_MAX): Likewise.
31954         [C99-based standards] (PTRDIFF_MIN): Likewise.
31955         [C99-based standards] (PTRDIFF_MAX): Likewise.
31956         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31957         [C99-based standards] (SIZE_MAX): Likewise.
31958         [C99-based standards] (WCHAR_MAX): Likewise.
31959         [C99-based standards] (WINT_MAX): Likewise.
31960         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31961         constraint on value.
31962         [C99-based standards] (WCHAR_MIN): Likewise.
31963         [C99-based standards] (WINT_MIN): Likewise.
31964         [C99-based standards] (*_t): Allow.
31965         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31966         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31967         Include math.h-data and complex.h-data.  Remove all expectations
31968         of math.h and complex.h contents.
31969         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31970         at end of line.
31971         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31972         (struct tm): Expect tag.
31973         [C99-based-standards] (wcstof): Expect function.
31974         [C99-based-standards] (wcstold): Likewise.
31975         [C99-based-standards] (wcstoll): Likewise.
31976         [C99-based-standards] (wcstoull): Likewise.
31977         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31978         macro-int-constant.  Specify type.
31979         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31980         constraint on value.
31981         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31982         Specify type.
31983         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31984         Specify value.
31985         [ISO C standards]: Do not allow headers.
31986         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31987         wcs[abcdefghijklmnopqrstuvwxyz]*.
31988         [ISO C standards] (*_t): Do not allow.
31989         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31990         Expect function.
31991         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31992         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31993         Specify type.
31994         [ISO C standards]: Do not allow headers.
31995         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31996         is[abcdefghijklmnopqrstuvwxyz]*.
31997         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31998         to[abcdefghijklmnopqrstuvwxyz]*.
31999         [ISO C standards] (*_t): Do not allow.
32000         * conform/data/stdalign.h-data: New file.
32001         * conform/data/stdbool.h-data: Likewise.
32002         * conform/data/stdnoreturn.h-data: Likewise.
32004 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32006         [BZ #14815]
32007         * manual/filesys.texi (Directory Entries): Typo fix.
32008         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32010 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32012         * elf/elf.h (EM_AARCH64): New macro.
32013         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32014         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32015         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32016         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32017         (R_AARCH64_TLSDESC): Likewise.
32018         (NT_ARM_TLS): Likewise.
32019         (NT_ARM_HW_BREAK): Likewise.
32020         (NT_ARM_HW_WATCH): Likewise.
32022 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32024         [BZ #14811]
32025         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32026         (__ieee754_powl): Saturate nonzero exponents with absolute value
32027         below 0x1p-79 to +/- 0x1p-79.
32028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32029         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32030         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32031         nonzero exponents with absolute value below 0x1p-32 to +/-
32032         0x1p-32.
32033         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32034         (__ieee754_powl): Saturate nonzero exponents with absolute value
32035         below 0x1p-79 to +/- 0x1p-79.
32036         * math/libm-test.inc (pow_test): Add more tests.
32038 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32040         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32041         _dl_s390_cap_flags with kernel. Increase string length.
32042         (_dl_s390_platforms): Add z196 and zEC12.
32044 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32046         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32047         Change XOPEN21K to XOPEN2K.
32049 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32051         * string/memmove.c: Use memcpy when possible.
32053 2012-11-06  Andreas Jaeger  <aj@suse.de>
32055         * po/eo.po: Update from translation team.
32057 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32059         [BZ #14793]
32060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32061         exponent and small x and y exponents, scale x or y up.  Increase
32062         by 2 the exponent used in scaling up.
32063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32065         * math/libm-test.inc (fma_test): Add more tests.
32066         (fma_test_towardzero): Likewise.
32067         (fma_test_downward): Likewise.
32068         (fma_test_upward): Likewise.
32070 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32072         [BZ #14805]
32073         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32074         fenv_t *.
32076         [BZ #14801]
32077         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32078         namespace for names of struct fields.
32079         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32080         fenv_t fields.
32081         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32082         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32084 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32086         [BZ #3665]
32087         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32089 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32091         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32092         PTR_DEMANGLE.
32094         [BZ #5246]
32095         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32096         PTR_DEMANGLE.
32098 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32100         [BZ #14797]
32101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32102         definitely overflow as x * y not x * y + z.
32103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32105         * math/libm-test.inc (fma_test): Add more tests.
32106         (fma_test_towardzero): Likewise.
32107         (fma_test_downward): Likewise.
32108         (fma_test_upward): Likewise.
32110 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32112         [BZ #157]
32114         * include/stub-tag.h: Remove file.
32115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32116         '#include' of it.
32117         * manual/maint.texi (Porting): Don't reference it.
32118         * Makerules ($(objpfx)stubs): Likewise.
32119         * dirent/closedir.c: Don't include <stub-tag.h>.
32120         * dirent/dirfd.c: Likewise.
32121         * dirent/fdopendir.c: Likewise.
32122         * dirent/getdents.c: Likewise.
32123         * dirent/getdents64.c: Likewise.
32124         * dirent/opendir.c: Likewise.
32125         * dirent/readdir.c: Likewise.
32126         * dirent/readdir64.c: Likewise.
32127         * dirent/readdir64_r.c: Likewise.
32128         * dirent/readdir_r.c: Likewise.
32129         * dirent/rewinddir.c: Likewise.
32130         * dirent/seekdir.c: Likewise.
32131         * dirent/telldir.c: Likewise.
32132         * gmon/profil.c: Likewise.
32133         * grp/setgroups.c: Likewise.
32134         * inet/if_index.c: Likewise.
32135         * io/access.c: Likewise.
32136         * io/chdir.c: Likewise.
32137         * io/chmod.c: Likewise.
32138         * io/chown.c: Likewise.
32139         * io/close.c: Likewise.
32140         * io/dup.c: Likewise.
32141         * io/dup2.c: Likewise.
32142         * io/dup3.c: Likewise.
32143         * io/euidaccess.c: Likewise.
32144         * io/faccessat.c: Likewise.
32145         * io/fchdir.c: Likewise.
32146         * io/fchmod.c: Likewise.
32147         * io/fchmodat.c: Likewise.
32148         * io/fchown.c: Likewise.
32149         * io/fchownat.c: Likewise.
32150         * io/fcntl.c: Likewise.
32151         * io/flock.c: Likewise.
32152         * io/fstatfs.c: Likewise.
32153         * io/fstatfs64.c: Likewise.
32154         * io/fstatvfs.c: Likewise.
32155         * io/fstatvfs64.c: Likewise.
32156         * io/futimens.c: Likewise.
32157         * io/fxstat.c: Likewise.
32158         * io/fxstat64.c: Likewise.
32159         * io/fxstatat.c: Likewise.
32160         * io/fxstatat64.c: Likewise.
32161         * io/getcwd.c: Likewise.
32162         * io/isatty.c: Likewise.
32163         * io/lchmod.c: Likewise.
32164         * io/lchown.c: Likewise.
32165         * io/link.c: Likewise.
32166         * io/linkat.c: Likewise.
32167         * io/lseek.c: Likewise.
32168         * io/lseek64.c: Likewise.
32169         * io/lxstat64.c: Likewise.
32170         * io/mkdir.c: Likewise.
32171         * io/mkdirat.c: Likewise.
32172         * io/mkfifo.c: Likewise.
32173         * io/mkfifoat.c: Likewise.
32174         * io/open.c: Likewise.
32175         * io/open64.c: Likewise.
32176         * io/openat.c: Likewise.
32177         * io/openat64.c: Likewise.
32178         * io/pipe.c: Likewise.
32179         * io/pipe2.c: Likewise.
32180         * io/poll.c: Likewise.
32181         * io/posix_fadvise.c: Likewise.
32182         * io/posix_fadvise64.c: Likewise.
32183         * io/posix_fallocate.c: Likewise.
32184         * io/posix_fallocate64.c: Likewise.
32185         * io/read.c: Likewise.
32186         * io/readlink.c: Likewise.
32187         * io/readlinkat.c: Likewise.
32188         * io/rmdir.c: Likewise.
32189         * io/sendfile.c: Likewise.
32190         * io/sendfile64.c: Likewise.
32191         * io/statfs.c: Likewise.
32192         * io/statfs64.c: Likewise.
32193         * io/statvfs.c: Likewise.
32194         * io/statvfs64.c: Likewise.
32195         * io/symlink.c: Likewise.
32196         * io/symlinkat.c: Likewise.
32197         * io/ttyname.c: Likewise.
32198         * io/ttyname_r.c: Likewise.
32199         * io/umask.c: Likewise.
32200         * io/unlink.c: Likewise.
32201         * io/unlinkat.c: Likewise.
32202         * io/utime.c: Likewise.
32203         * io/utimensat.c: Likewise.
32204         * io/write.c: Likewise.
32205         * io/xmknod.c: Likewise.
32206         * io/xmknodat.c: Likewise.
32207         * io/xstat.c: Likewise.
32208         * io/xstat64.c: Likewise.
32209         * login/getpt.c: Likewise.
32210         * login/grantpt.c: Likewise.
32211         * login/unlockpt.c: Likewise.
32212         * math/e_acoshl.c: Likewise.
32213         * math/e_acosl.c: Likewise.
32214         * math/e_asinl.c: Likewise.
32215         * math/e_atan2l.c: Likewise.
32216         * math/e_atanhl.c: Likewise.
32217         * math/e_coshl.c: Likewise.
32218         * math/e_expl.c: Likewise.
32219         * math/e_fmodl.c: Likewise.
32220         * math/e_gammal_r.c: Likewise.
32221         * math/e_hypotl.c: Likewise.
32222         * math/e_j0l.c: Likewise.
32223         * math/e_j1l.c: Likewise.
32224         * math/e_jnl.c: Likewise.
32225         * math/e_lgammal_r.c: Likewise.
32226         * math/e_log10l.c: Likewise.
32227         * math/e_log2l.c: Likewise.
32228         * math/e_logl.c: Likewise.
32229         * math/e_powl.c: Likewise.
32230         * math/e_rem_pio2l.c: Likewise.
32231         * math/e_sinhl.c: Likewise.
32232         * math/e_sqrtl.c: Likewise.
32233         * math/fclrexcpt.c: Likewise.
32234         * math/fedisblxcpt.c: Likewise.
32235         * math/feenablxcpt.c: Likewise.
32236         * math/fegetenv.c: Likewise.
32237         * math/fegetexcept.c: Likewise.
32238         * math/fegetround.c: Likewise.
32239         * math/feholdexcpt.c: Likewise.
32240         * math/fesetenv.c: Likewise.
32241         * math/fesetround.c: Likewise.
32242         * math/feupdateenv.c: Likewise.
32243         * math/fgetexcptflg.c: Likewise.
32244         * math/fraiseexcpt.c: Likewise.
32245         * math/fsetexcptflg.c: Likewise.
32246         * math/ftestexcept.c: Likewise.
32247         * math/k_cosl.c: Likewise.
32248         * math/k_rem_pio2l.c: Likewise.
32249         * math/k_sinl.c: Likewise.
32250         * math/k_tanl.c: Likewise.
32251         * math/s_asinhl.c: Likewise.
32252         * math/s_atanl.c: Likewise.
32253         * math/s_cbrtl.c: Likewise.
32254         * math/s_erfl.c: Likewise.
32255         * math/s_expm1l.c: Likewise.
32256         * math/s_log1pl.c: Likewise.
32257         * math/s_tanhl.c: Likewise.
32258         * misc/acct.c: Likewise.
32259         * misc/brk.c: Likewise.
32260         * misc/chflags.c: Likewise.
32261         * misc/chroot.c: Likewise.
32262         * misc/fchflags.c: Likewise.
32263         * misc/fgetxattr.c: Likewise.
32264         * misc/flistxattr.c: Likewise.
32265         * misc/fremovexattr.c: Likewise.
32266         * misc/fsetxattr.c: Likewise.
32267         * misc/fsync.c: Likewise.
32268         * misc/ftruncate.c: Likewise.
32269         * misc/futimes.c: Likewise.
32270         * misc/futimesat.c: Likewise.
32271         * misc/getdomain.c: Likewise.
32272         * misc/getdtsz.c: Likewise.
32273         * misc/gethostid.c: Likewise.
32274         * misc/gethostname.c: Likewise.
32275         * misc/getloadavg.c: Likewise.
32276         * misc/getpagesize.c: Likewise.
32277         * misc/getsysstats.c: Likewise.
32278         * misc/getxattr.c: Likewise.
32279         * misc/gtty.c: Likewise.
32280         * misc/ioctl.c: Likewise.
32281         * misc/lgetxattr.c: Likewise.
32282         * misc/listxattr.c: Likewise.
32283         * misc/llistxattr.c: Likewise.
32284         * misc/lremovexattr.c: Likewise.
32285         * misc/lsetxattr.c: Likewise.
32286         * misc/lutimes.c: Likewise.
32287         * misc/madvise.c: Likewise.
32288         * misc/mincore.c: Likewise.
32289         * misc/mlock.c: Likewise.
32290         * misc/mlockall.c: Likewise.
32291         * misc/mmap.c: Likewise.
32292         * misc/mprotect.c: Likewise.
32293         * misc/msync.c: Likewise.
32294         * misc/munlock.c: Likewise.
32295         * misc/munlockall.c: Likewise.
32296         * misc/munmap.c: Likewise.
32297         * misc/preadv.c: Likewise.
32298         * misc/preadv64.c: Likewise.
32299         * misc/ptrace.c: Likewise.
32300         * misc/pwritev.c: Likewise.
32301         * misc/pwritev64.c: Likewise.
32302         * misc/readv.c: Likewise.
32303         * misc/reboot.c: Likewise.
32304         * misc/remap_file_pages.c: Likewise.
32305         * misc/removexattr.c: Likewise.
32306         * misc/revoke.c: Likewise.
32307         * misc/select.c: Likewise.
32308         * misc/setdomain.c: Likewise.
32309         * misc/setegid.c: Likewise.
32310         * misc/seteuid.c: Likewise.
32311         * misc/sethostid.c: Likewise.
32312         * misc/sethostname.c: Likewise.
32313         * misc/setregid.c: Likewise.
32314         * misc/setreuid.c: Likewise.
32315         * misc/setxattr.c: Likewise.
32316         * misc/sstk.c: Likewise.
32317         * misc/stty.c: Likewise.
32318         * misc/swapoff.c: Likewise.
32319         * misc/swapon.c: Likewise.
32320         * misc/sync.c: Likewise.
32321         * misc/syncfs.c: Likewise.
32322         * misc/syscall.c: Likewise.
32323         * misc/truncate.c: Likewise.
32324         * misc/ualarm.c: Likewise.
32325         * misc/usleep.c: Likewise.
32326         * misc/ustat.c: Likewise.
32327         * misc/utimes.c: Likewise.
32328         * misc/vhangup.c: Likewise.
32329         * misc/writev.c: Likewise.
32330         * posix/_exit.c: Likewise.
32331         * posix/alarm.c: Likewise.
32332         * posix/execve.c: Likewise.
32333         * posix/fexecve.c: Likewise.
32334         * posix/fork.c: Likewise.
32335         * posix/fpathconf.c: Likewise.
32336         * posix/getaddrinfo.c: Likewise.
32337         * posix/getegid.c: Likewise.
32338         * posix/geteuid.c: Likewise.
32339         * posix/getgid.c: Likewise.
32340         * posix/getgroups.c: Likewise.
32341         * posix/getlogin.c: Likewise.
32342         * posix/getlogin_r.c: Likewise.
32343         * posix/getpgid.c: Likewise.
32344         * posix/getpid.c: Likewise.
32345         * posix/getppid.c: Likewise.
32346         * posix/getresgid.c: Likewise.
32347         * posix/getresuid.c: Likewise.
32348         * posix/getsid.c: Likewise.
32349         * posix/getuid.c: Likewise.
32350         * posix/glob64.c: Likewise.
32351         * posix/nanosleep.c: Likewise.
32352         * posix/pathconf.c: Likewise.
32353         * posix/pause.c: Likewise.
32354         * posix/posix_madvise.c: Likewise.
32355         * posix/pread.c: Likewise.
32356         * posix/pread64.c: Likewise.
32357         * posix/pwrite.c: Likewise.
32358         * posix/pwrite64.c: Likewise.
32359         * posix/sched_getaffinity.c: Likewise.
32360         * posix/sched_getp.c: Likewise.
32361         * posix/sched_gets.c: Likewise.
32362         * posix/sched_primax.c: Likewise.
32363         * posix/sched_primin.c: Likewise.
32364         * posix/sched_rr_gi.c: Likewise.
32365         * posix/sched_setaffinity.c: Likewise.
32366         * posix/sched_setp.c: Likewise.
32367         * posix/sched_sets.c: Likewise.
32368         * posix/sched_yield.c: Likewise.
32369         * posix/setgid.c: Likewise.
32370         * posix/setlogin.c: Likewise.
32371         * posix/setpgid.c: Likewise.
32372         * posix/setresgid.c: Likewise.
32373         * posix/setresuid.c: Likewise.
32374         * posix/setsid.c: Likewise.
32375         * posix/setuid.c: Likewise.
32376         * posix/sleep.c: Likewise.
32377         * posix/spawni.c: Likewise.
32378         * posix/sysconf.c: Likewise.
32379         * posix/times.c: Likewise.
32380         * posix/wait.c: Likewise.
32381         * posix/wait3.c: Likewise.
32382         * posix/wait4.c: Likewise.
32383         * posix/waitpid.c: Likewise.
32384         * resolv/gai_sigqueue.c: Likewise.
32385         * resource/getpriority.c: Likewise.
32386         * resource/getrlimit.c: Likewise.
32387         * resource/getrusage.c: Likewise.
32388         * resource/nice.c: Likewise.
32389         * resource/setpriority.c: Likewise.
32390         * resource/setrlimit.c: Likewise.
32391         * resource/ulimit.c: Likewise.
32392         * rt/aio_cancel.c: Likewise.
32393         * rt/aio_fsync.c: Likewise.
32394         * rt/aio_read.c: Likewise.
32395         * rt/aio_sigqueue.c: Likewise.
32396         * rt/aio_suspend.c: Likewise.
32397         * rt/aio_write.c: Likewise.
32398         * rt/clock_getres.c: Likewise.
32399         * rt/clock_gettime.c: Likewise.
32400         * rt/clock_nanosleep.c: Likewise.
32401         * rt/clock_settime.c: Likewise.
32402         * rt/lio_listio.c: Likewise.
32403         * rt/mq_close.c: Likewise.
32404         * rt/mq_getattr.c: Likewise.
32405         * rt/mq_notify.c: Likewise.
32406         * rt/mq_open.c: Likewise.
32407         * rt/mq_receive.c: Likewise.
32408         * rt/mq_send.c: Likewise.
32409         * rt/mq_setattr.c: Likewise.
32410         * rt/mq_timedreceive.c: Likewise.
32411         * rt/mq_timedsend.c: Likewise.
32412         * rt/mq_unlink.c: Likewise.
32413         * rt/shm_open.c: Likewise.
32414         * rt/shm_unlink.c: Likewise.
32415         * rt/timer_create.c: Likewise.
32416         * rt/timer_delete.c: Likewise.
32417         * rt/timer_getoverr.c: Likewise.
32418         * rt/timer_gettime.c: Likewise.
32419         * rt/timer_settime.c: Likewise.
32420         * setjmp/__longjmp.c: Likewise.
32421         * setjmp/setjmp.c: Likewise.
32422         * signal/kill.c: Likewise.
32423         * signal/killpg.c: Likewise.
32424         * signal/raise.c: Likewise.
32425         * signal/sigaction.c: Likewise.
32426         * signal/sigaltstack.c: Likewise.
32427         * signal/sigblock.c: Likewise.
32428         * signal/sigignore.c: Likewise.
32429         * signal/sigintr.c: Likewise.
32430         * signal/signal.c: Likewise.
32431         * signal/sigpause.c: Likewise.
32432         * signal/sigpending.c: Likewise.
32433         * signal/sigqueue.c: Likewise.
32434         * signal/sigreturn.c: Likewise.
32435         * signal/sigset.c: Likewise.
32436         * signal/sigsetmask.c: Likewise.
32437         * signal/sigstack.c: Likewise.
32438         * signal/sigsuspend.c: Likewise.
32439         * signal/sigtimedwait.c: Likewise.
32440         * signal/sigvec.c: Likewise.
32441         * signal/sigwait.c: Likewise.
32442         * signal/sigwaitinfo.c: Likewise.
32443         * signal/sysv_signal.c: Likewise.
32444         * socket/accept.c: Likewise.
32445         * socket/accept4.c: Likewise.
32446         * socket/bind.c: Likewise.
32447         * socket/connect.c: Likewise.
32448         * socket/getpeername.c: Likewise.
32449         * socket/getsockname.c: Likewise.
32450         * socket/getsockopt.c: Likewise.
32451         * socket/isfdtype.c: Likewise.
32452         * socket/listen.c: Likewise.
32453         * socket/recv.c: Likewise.
32454         * socket/recvfrom.c: Likewise.
32455         * socket/recvmsg.c: Likewise.
32456         * socket/send.c: Likewise.
32457         * socket/sendmsg.c: Likewise.
32458         * socket/sendto.c: Likewise.
32459         * socket/setsockopt.c: Likewise.
32460         * socket/shutdown.c: Likewise.
32461         * socket/sockatmark.c: Likewise.
32462         * socket/socket.c: Likewise.
32463         * socket/socketpair.c: Likewise.
32464         * stdio-common/ctermid.c: Likewise.
32465         * stdio-common/cuserid.c: Likewise.
32466         * stdio-common/remove.c: Likewise.
32467         * stdio-common/rename.c: Likewise.
32468         * stdio-common/renameat.c: Likewise.
32469         * stdio-common/tempname.c: Likewise.
32470         * stdlib/getcontext.c: Likewise.
32471         * stdlib/makecontext.c: Likewise.
32472         * stdlib/setcontext.c: Likewise.
32473         * stdlib/swapcontext.c: Likewise.
32474         * stdlib/system.c: Likewise.
32475         * streams/fattach.c: Likewise.
32476         * streams/fdetach.c: Likewise.
32477         * streams/getmsg.c: Likewise.
32478         * streams/getpmsg.c: Likewise.
32479         * streams/putmsg.c: Likewise.
32480         * streams/putpmsg.c: Likewise.
32481         * sysdeps/unix/bsd/getpt.c: Likewise.
32482         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32483         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32484         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32486         Likewise.
32487         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32488         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32489         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32490         * sysvipc/msgctl.c: Likewise.
32491         * sysvipc/msgget.c: Likewise.
32492         * sysvipc/msgrcv.c: Likewise.
32493         * sysvipc/msgsnd.c: Likewise.
32494         * sysvipc/semctl.c: Likewise.
32495         * sysvipc/semget.c: Likewise.
32496         * sysvipc/semop.c: Likewise.
32497         * sysvipc/semtimedop.c: Likewise.
32498         * sysvipc/shmat.c: Likewise.
32499         * sysvipc/shmctl.c: Likewise.
32500         * sysvipc/shmdt.c: Likewise.
32501         * sysvipc/shmget.c: Likewise.
32502         * termios/tcdrain.c: Likewise.
32503         * termios/tcflow.c: Likewise.
32504         * termios/tcflush.c: Likewise.
32505         * termios/tcgetattr.c: Likewise.
32506         * termios/tcgetpgrp.c: Likewise.
32507         * termios/tcsendbrk.c: Likewise.
32508         * termios/tcsetattr.c: Likewise.
32509         * termios/tcsetpgrp.c: Likewise.
32510         * time/adjtime.c: Likewise.
32511         * time/clock.c: Likewise.
32512         * time/getitimer.c: Likewise.
32513         * time/gettimeofday.c: Likewise.
32514         * time/setitimer.c: Likewise.
32515         * time/settimeofday.c: Likewise.
32516         * time/stime.c: Likewise.
32517         * time/time.c: Likewise.
32519 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32521         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32522         /usr/old/bin.
32524         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32525         instead of spaces.
32526         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32528 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32530         [BZ #14796]
32531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32532         FE_TONEAREST before applying Dekker multiplication and Knuth
32533         addition.  Clear inexact exceptions and check for exact zero
32534         results afterwards.
32535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32538         * math/libm-test.inc (fma_test): Add more tests.
32539         (fma_test_towardzero): Likewise.
32540         (fma_test_downward): Likewise.
32541         (fma_test_upward): Likewise.
32542         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32543         function.
32544         (libc_fesetround): New macro.
32545         (libc_fesetroundf): Likewise.
32546         (libc_fesetroundl): Likewise.
32547         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32548         function.
32549         (libc_fesetround_387): Likewise.
32550         (libc_fesetroundf): New macro.
32551         (libc_fesetround): Likewise.
32552         (libc_fesetroundl): Likewise.
32553         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32554         function.
32555         (libc_fesetroundf): New macro.
32556         (libc_fesetround): Likewise.
32557         (libc_fesetroundl): Likewise.
32558         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32559         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32560         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32561         libm_hidden_ver.
32562         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32563         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32564         libm_hidden_def.
32565         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32566         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32567         libm_hidden_ver.
32568         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32569         libm_hidden_def.
32571         [BZ #3439]
32572         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32573         integer constant usable in #if and use that to give value to enum
32574         constant.
32575         (FE_DIVBYZERO): Likewise.
32576         (FE_UNDERFLOW): Likewise.
32577         (FE_OVERFLOW): Likewise.
32578         (FE_INVALID): Likewise.
32579         (FE_INVALID_SNAN): Likewise.
32580         (FE_INVALID_ISI): Likewise.
32581         (FE_INVALID_IDI): Likewise.
32582         (FE_INVALID_ZDZ): Likewise.
32583         (FE_INVALID_IMZ): Likewise.
32584         (FE_INVALID_COMPARE): Likewise.
32585         (FE_INVALID_SOFTWARE): Likewise.
32586         (FE_INVALID_SQRT): Likewise.
32587         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32588         (FE_TONEAREST): Likewise.
32589         (FE_TOWARDZERO): Likewise.
32590         (FE_UPWARD): Likewise.
32591         (FE_DOWNWARD): Likewise.
32592         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32593         (FE_DIVBYZERO): Likewise.
32594         (FE_OVERFLOW): Likewise.
32595         (FE_UNDERFLOW): Likewise.
32596         (FE_INEXACT): Likewise.
32597         (FE_TONEAREST): Likewise.
32598         (FE_DOWNWARD): Likewise.
32599         (FE_UPWARD): Likewise.
32600         (FE_TOWARDZERO): Likewise.
32601         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32602         (FE_UNDERFLOW): Likewise.
32603         (FE_OVERFLOW): Likewise.
32604         (FE_DIVBYZERO): Likewise.
32605         (FE_INVALID): Likewise.
32606         (FE_TONEAREST): Likewise.
32607         (FE_TOWARDZERO): Likewise.
32608         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32609         (FE_OVERFLOW): Likewise.
32610         (FE_UNDERFLOW): Likewise.
32611         (FE_DIVBYZERO): Likewise.
32612         (FE_INEXACT): Likewise.
32613         (FE_TONEAREST): Likewise.
32614         (FE_TOWARDZERO): Likewise.
32615         (FE_UPWARD): Likewise.
32616         (FE_DOWNWARD): Likewise.
32617         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32618         (FE_DIVBYZERO): Likewise.
32619         (FE_OVERFLOW): Likewise.
32620         (FE_UNDERFLOW): Likewise.
32621         (FE_INEXACT): Likewise.
32622         (FE_TONEAREST): Likewise.
32623         (FE_DOWNWARD): Likewise.
32624         (FE_UPWARD): Likewise.
32625         (FE_TOWARDZERO): Likewise.
32627 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32629         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32631 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32633         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32634         commands.  Quote $PWD.
32635         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32636         -x" by "export".
32637         (remove_newlines): Remove.
32639 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32641         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32642         * stdlib/stdlib.h (atof): Moved to ...
32643         * include/bits/stdlib-float.h: Here.  New file.
32644         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32645         * stdlib/bits/stdlib-float.h: New file.
32646         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32647         -mno-sse -mno-mmx.
32648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32649         <xmmintrin.h>.
32651 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32653         * conform/conformtest.pl (@headers): Add fenv.h.
32654         * conform/data/fenv.h-data: New file.
32655         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32656         include of <math/fenv.h>.
32658         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32659         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32660         && !UNIX98].  Enables tests for XOPEN2K8.
32661         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32662         POSIX2008]: Likewise.
32664         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32665         (struct rusage): Do not expect type or its members.
32667         [BZ #3439]
32668         * math/math.h (FP_NAN): Define macro to integer constant usable in
32669         #if and use that to give value to enum constant.
32670         (FP_INFINITE): Likewise.
32671         (FP_ZERO): Likewise.
32672         (FP_SUBNORMAL): Likewise.
32673         (FP_NORMAL): Likewise.
32675 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32677         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32678         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32679         arguments.
32681 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32683         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32684         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32685         autoconf-time if not.
32686         * configure.in: Remove AC_PREREQ.
32688 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32690         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32691         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32692         of the internal implementation.
32694 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32696         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32697         except include of <misc/sys/syslog.h>.
32699 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32702         function returns with a NULL context exit with zero.
32704 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32706         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32708 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32710         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32711         (run_program_cmd): This.
32712         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32713         (tst_langinfo): New variable.  Use it.
32715 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32717         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32718         floating point opcodes.
32720 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32722         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32723         variable.
32725         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32727         * sysdeps/mach/hurd/powerpc: Remove directory.
32728         * sysdeps/mach/powerpc: Likewise.
32730 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32732         * scripts/check-local-headers.sh: Ignore c++ headers.
32734 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32736         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32737         __libc_cleanup_region_start argument.
32739 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32741         [BZ #14784]
32742         [BZ #14785]
32743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32744         x * y using scaling, not as x * y + z.
32745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32747         * math/libm-test.inc (fma_test): Add more tests.
32748         (fma_test_towardzero): Likewise.
32749         (fma_test_downward): Likewise.
32750         (fma_test_upward): Likewise.
32752 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32754         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32756 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32758         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32759         New variable.
32761 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32763         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32765 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32768         Fix sort order.
32769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32770         Likewise.
32772 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32775         Fix the order of the list for glibc 2.17.
32776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32777         Likewise.
32779 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32783 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32785         [BZ #14610]
32786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32787         for low part of x being zero before using __atanl (y).
32788         * math/libm-test.inc (atan2_test): Add another test.
32790         * manual/install.texi (Configuring and compiling): Document
32791         general use of test-wrapper and test-wrapper-env.
32792         * INSTALL: Regenerated.
32794         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32795         (__fma): Do not extract and scale down low bits on after-rounding
32796         systems when result rounded to normal precision would have normal
32797         exponent.
32798         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32799         (__fmal): Do not extract and scale down low bits on after-rounding
32800         systems when result rounded to normal precision would have normal
32801         exponent.
32802         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32803         (__fmal): Do not extract and scale down low bits on after-rounding
32804         systems when result rounded to normal precision would have normal
32805         exponent.
32806         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32807         macro.
32808         (fma_test): Add more tests.
32809         (fma_test_towardzero): Likewise.
32810         (fma_test_downward): Likewise.
32811         (fma_test_upward): Likewise.
32813 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32815         * sysdeps/i386/tininess.h: Renamed to ...
32816         * sysdeps/x86/tininess.h: This.
32817         * sysdeps/x86_64/tininess.h: Removed.
32819 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32821         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32822         input.  Use $(build-program-cmd).
32823         ($(objpfx)tst-array1-static.out): Likewise.
32824         ($(objpfx)tst-array2.out): Likewise.
32825         ($(objpfx)tst-array3.out): Likewise.
32826         ($(objpfx)tst-array4.out): Likewise.
32827         ($(objpfx)tst-array5.out): Likewise.
32828         ($(objpfx)tst-array5-static.out): Likewise.
32830 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32832         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32833         if defined.
32835         * nss/nsswitch.h (nss_interface_function): Provide new
32836         macro for use with NSS functions.
32837         * grp/initgroups.c: Use new macro.
32838         * nss/getXXbyYY.c: Likewise.
32839         * nss/getXXbyYY_r.c: Likewise.
32840         * nss/getXXent.c: Likewise.
32841         * nss/getXXent_r.c: Likewise.
32842         * sysdeps/posix/getaddrinfo.c: Likewise.
32844 2012-10-30  Andreas Jaeger  <aj@suse.de>
32846         * po/ru.po: Update Russion translation from translation project.
32848 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32850         [BZ #14152]
32851         [BZ #14783]
32852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32853         result and shift together with sticky bit instead of replicating
32854         round-to-nearest rounding.
32855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32857         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32858         missing underflow exceptions.
32859         (fma_test_towardzero): Add more tests.
32860         (fma_test_downward): Likewise.
32861         (fma_test_upward): Likewise.
32863         [BZ #14047]
32864         * sysdeps/generic/tininess.h: New file.
32865         * sysdeps/i386/tininess.h: Likewise.
32866         * sysdeps/sh/tininess.h: Likewise.
32867         * sysdeps/x86_64/tininess.h: Likewise.
32868         * stdlib/tst-strtod-underflow.c: Likewise.
32869         * stdlib/tst-tininess.c: Likewise.
32870         * stdlib/strtod_l.c: Include <tininess.h>.
32871         (round_and_return): Do not set errno for exact underflow cases.
32872         Force an underflow exception when setting errno for underflow.
32873         Determine underflow based on rounding to normal precision if
32874         TININESS_AFTER_ROUNDING.
32875         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32876         ERANGE for exact underflow cases.
32877         * stdlib/Makefile (tests): Add tst-tininess and
32878         tst-strtod-underflow.
32879         ($(objpfx)tst-tininess): Use $(link-libm).
32880         ($(objpfx)tst-strtod-underflow): Likewise.
32882 2012-10-30  Andreas Jaeger  <aj@suse.de>
32884         [BZ#14767]
32885         * elf/Makefile (tests): Remove conditional for have-initfini-array
32886         since this is now always required and the variable does not exist
32887         anymore.
32888         (tests-static): Likewise.
32889         (modules-names): Likewise.
32891         * po/eo.po: Add Esperanto translation from translation project.
32893         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32894         merged with constructor/destructor.
32895         (init_array): Likewise.
32896         * elf/tst-array2dep.c (fini_array): Likewise.
32897         (init_array): Likewise.
32899 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32901         * manual/message.texi: Delete @cartouche tags.
32903 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32905         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32906         EOPNOTSUPP.
32907         * sysdeps/mach/hurd/fsync.c: Likewise.
32909         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32910         [_POSIX_REALTIME_SIGNALS]: Change condition to
32911         [_POSIX_REALTIME_SIGNALS > 0].
32913 2012-10-27  Andreas Jaeger  <aj@suse.de>
32915         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32916         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32918         [__WORDSIZE != 64]: Likewise.
32920 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32922         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32923         *  iconvdata/tst-tables.sh: Likewise.
32925 2012-10-25  David S. Miller  <davem@davemloft.net>
32927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32928         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32929         of strtoull.
32931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32932         ifunc-impl-list.c
32933         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32934         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32935         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32936         file.
32938 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32941         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32942         __getdirentries.
32944 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32945             Jim Blandy  <jimb@codesourcery.com>
32947         * scripts/cross-test-ssh.sh: New file.
32948         * manual/install.texi (Configuring and compiling): Document use of
32949         cross-test-ssh.sh.
32950         * INSTALL: Regenerated.
32952 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32954         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32955         EOPNOTSUPP.
32957 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32959         * Makeconfig (run-program-prefix): Fix comment.
32961 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32962             Jim Blandy  <jimb@codesourcery.com>
32964         * Makeconfig (test-wrapper): New variable,
32965         (test-wrapper-env): Likewise.
32966         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32967         (run-built-tests): Define to yes.
32968         (run-program-prefix): Use $(test-wrapper).
32969         (built-program-cmd): Likewise.
32970         * Rules (make-test-out): Use $(test-wrapper-env) and
32971         $(host-built-program-cmd).
32972         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32973         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32974         tst-pathopt.sh.
32975         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32976         $(test-wrapper-env) to tst-rtld-load-self.sh.
32977         ($(objpfx)order2.out): Use $(test-wrapper).
32978         ($(objpfx)tst-initorder.out): Likewise.
32979         ($(objpfx)tst-initorder2.out): Likewise.
32980         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32981         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32982         (test_wrapper_env): New variable.  Use it to run ld.so.
32983         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32984         Use it to run ld.so.
32985         (test_wrapper_env): Likewise.
32986         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32987         $(test-wrapper) to run-iconv-test.sh.
32988         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32989         (ICONV): Use $test_wrapper.
32990         * posix/Makefile ($(objpfx)globtest.out): Pass
32991         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32992         globtest.sh, not $(run-program-prefix).
32993         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32994         (test_wrapper): Likewise.
32995         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32996         set together with run_via_rtld_prefix.
32997         (run_program_prefix): Define in terms of test_wrapper and
32998         run_via_rtld_prefix.
33000 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33002         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33003         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33004         Targets removed.
33006         [BZ #14743]
33007         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33008         Declare __clock_getres, __clock_gettime, __clock_settime,
33009         __clock_nanosleep, and __clock_getcpuclockid.
33010         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33011         Remove librt_hidden_def (clock_gettime).
33012         * sysdeps/unix/clock_gettime.c: Likewise.
33013         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33015         * rt/clock_getres.c: Define __clock_getres as an alias.
33016         * sysdeps/posix/clock_getres.c: Likewise.
33017         * rt/clock_settime.c: Define __clock_settime as an alias.
33018         * sysdeps/unix/clock_settime.c: Likewise.
33019         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33020         * sysdeps/unix/clock_nanosleep.c: Likewise.
33021         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33022         * rt/clock-compat.c: New file.
33023         * rt/Makefile (librt-routines): Add clock-compat and move
33024         $(clock-routines) to ...
33025         (routines): ... here, new variable.
33026         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33027         Don't add get_clockfreq here.
33028         * rt/Versions (libc: GLIBC_2.17): New version set.
33029         Add clock_* symbols here.
33030         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33032         (GLIBC_2.17): Add clock_* symbols.
33033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33035         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33037         Likewise.
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33039         Likewise.
33040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33044         * NEWS: Mention the move.
33046         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33047         Use __open, __read, __close rather than their public counterparts.
33048         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33049         (__get_clockfreq_via_cpuinfo): Likewise.
33050         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33051         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33053         * config.h.in (HAVE_IFUNC): New #undef.
33054         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33055         was successful.
33056         * configure: Regenerated.
33058 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33060         * configure.in: Move READELF check to start of file.
33061         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33062         libc_cv_asm_gnu_indirect_function in the process.
33063         * configure: Regenerated.
33065 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33067         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33068         send the output to /dev/null.
33069         (libc_cv_cc_with_libunwind): Likewise.
33070         (libc_cv_as_noexecstack): Likewise.
33071         * configure: Regenerate.
33073 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33075         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33077         * posix/globtest.sh (TMPDIR): Do not set.
33078         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33079         (testout): Likewise.
33081 2012-10-24  Andreas Jaeger  <aj@suse.de>
33083         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33084         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33085         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33086         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33087         posix_fadvise64, posix_fallocate64.
33089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33090         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33091         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33092         Likewise.
33093         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33094         Likewise.
33095         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33098         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33099         <bits/fcntl-linux.h>.
33100         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33103         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33104         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33105         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33106         [__WORDSIZE != 64]: Likewise.
33108 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33110         * Makeconfig (run-built-tests): New variable.
33111         * Rules [$(cross-compiling) = yes]: Change condition to
33112         [$(run-built-tests) = no].
33113         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33114         to [$(run-built-tests) = yes].
33115         * elf/Makefile [$(cross-compiling) = no]: Likewise
33116         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33117         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33118         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33119         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33120         * io/Makefile [$(cross-compiling) = no]: Likewise.
33121         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33122         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33123         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33124         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33125         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33126         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33127         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33128         * string/Makefile [$(cross-compiling) = no]: Likewise.
33130         * posix/Makefile ($(objpfx)globtest.out): Pass
33131         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33132         $(rtld-installed-name).
33133         * posix/globtest.sh (elf_objpfx): Remove variable.
33134         (rtld_installed_name): Likewise.
33135         (library_path): Likewise.
33136         (run_program_prefix): New variable.  Use for running globtest
33137         binary.
33139 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33140             Joseph Myers  <joseph@codesourcery.com>
33142         * Makeconfig (host-built-program-cmd): New variable.
33143         * elf/Makefile (tst-stackguard1-ARGS): Use
33144         $(host-built-program-cmd).
33145         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33146         (tst-spawn-ARGS): Likewise.
33147         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33149 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33150             Jim Blandy  <jimb@codesourcery.com>
33152         * Makeconfig (run-via-rtld-prefix): New variable.
33153         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33154         (built-program-cmd): Likewise.
33156 2012-10-22  Andreas Jaeger  <aj@suse.de>
33158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33159         __O_RSYNC if it exists, otherwise to O_SYNC.
33161 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33162             Joseph Myers  <joseph@codesourcery.com>
33164         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33165         /dev/null.
33166         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33167         from /dev/null
33168         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33169         /dev/null.
33171 2012-10-22  Andreas Jaeger  <aj@suse.de>
33173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33174         Define always.
33175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33178         bits/fcntl-linux.h.
33180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33181         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33184         to __O_LARGEFILE.
33185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33186         to __O_LARGEFILE.
33188 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33189             Joseph Myers  <joseph@codesourcery.com>
33191         * config.make.in (NM): New variable.
33193 2012-10-21  Andreas Jaeger  <aj@suse.de>
33195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33196         definitions and declarations that are provided by
33197         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33199 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33201         [BZ #14683]
33202         * elf/Makefile (tests-static): Add tst-leaks1-static.
33203         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33204         ($(objpfx)tst-leaks1-static): New rule.
33205         ($(objpfx)tst-leaks1-static-mem): Likewise.
33206         (tst-leaks1-static-ENV): New macro.
33207         * elf/dl-open.c (dl_open_worker): Check the main application
33208         only if SHARED is defined.
33209         * elf/tst-leaks1-static.c: New file.
33211 2012-10-20  Andreas Jaeger  <aj@suse.de>
33213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33214         generic values for Linux.
33215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33216         and declarations that are provided by <bits/fcntl-linux.h> and
33217         include <bits/fcntl-linux.h>.
33218         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33221 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33223         * io/fcntl.h: Move include of <bits/types.h> to the top and
33224         include it unconditionally.
33226 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33228         * wcsmbs/Makefile (tests-ifunc): New variable.
33229         (tests): Add $(tests-ifunc).
33230         * wcsmbs/test-wcschr-ifunc.c: New file.
33231         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33232         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33233         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33234         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33235         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33237         * string/Makefile (tests-ifunc): New variable.
33238         (tests): Add $(tests-ifunc).
33239         * string/test-memccpy.c (TEST_NAME): New macro.
33240         * string/test-memchr.c (TEST_NAME): Likewise.
33241         * string/test-memcmp.c (TEST_NAME): Likewise.
33242         * string/test-memcpy.c (TEST_NAME): Likewise.
33243         * string/test-memmem.c (TEST_NAME): Likewise.
33244         * string/test-memmove.c (TEST_NAME): Likewise.
33245         * string/test-memset.c (TEST_NAME): Likewise.
33246         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33247         * string/test-stpcpy.c (TEST_NAME): Likewise.
33248         * string/test-stpncpy.c (TEST_NAME): Likewise.
33249         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33250         * string/test-strcasestr.c (TEST_NAME): Likewise.
33251         * string/test-strcat.c (TEST_NAME): Likewise.
33252         * string/test-strchr.c (TEST_NAME): Likewise.
33253         * string/test-strcmp.c(TEST_NAME): Likewise.
33254         * string/test-strcpy.c (TEST_NAME): Likewise.
33255         * string/test-strcspn.c (TEST_NAME): Likewise.
33256         * string/test-strlen.c (TEST_NAME): Likewise.
33257         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33258         * string/test-strncmp.c (TEST_NAME): Likewise.
33259         * string/test-strncpy.c (TEST_NAME): Likewise.
33260         * string/test-strnlen.c (TEST_NAME): Likewise.
33261         * string/test-strpbrk.c (TEST_NAME): Likewise.
33262         * string/test-strrchr.c (TEST_NAME): Likewise.
33263         * string/test-strspn.c (TEST_NAME): Likewise.
33264         * string/test-strstr.c (TEST_NAME): Likewise.
33265         * string/test-bcopy-ifunc.c: New file.
33266         * string/test-bzero-ifunc.c: Likewise.
33267         * string/test-memccpy-ifunc.c: Likewise.
33268         * string/test-memchr-ifunc.c: Likewise.
33269         * string/test-memcmp-ifunc.c: Likewise.
33270         * string/test-memcpy-ifunc.c: Likewise.
33271         * string/test-memmem-ifunc.c: Likewise.
33272         * string/test-memmove-ifunc.c: Likewise.
33273         * string/test-mempcpy-ifunc.c: Likewise.
33274         * string/test-memset-ifunc.c: Likewise.
33275         * string/test-rawmemchr-ifunc.c: Likewise.
33276         * string/test-stpcpy-ifunc.c: Likewise.
33277         * string/test-stpncpy-ifunc.c: Likewise.
33278         * string/test-strcasecmp-ifunc.c: Likewise.
33279         * string/test-strcasestr-ifunc.c: Likewise.
33280         * string/test-strcat-ifunc.c: Likewise.
33281         * string/test-strchr-ifunc.c: Likewise.
33282         * string/test-strchrnul-ifunc.c: Likewise.
33283         * string/test-strcmp-ifunc.c: Likewise.
33284         * string/test-strcpy-ifunc.c: Likewise.
33285         * string/test-strcspn-ifunc.c: Likewise.
33286         * string/test-strlen-ifunc.c: Likewise.
33287         * string/test-strncasecmp-ifunc.c: Likewise.
33288         * string/test-strncat-ifunc.c: Likewise.
33289         * string/test-strncmp-ifunc.c: Likewise.
33290         * string/test-strncpy-ifunc.c: Likewise.
33291         * string/test-strnlen-ifunc.c: Likewise.
33292         * string/test-strpbrk-ifunc.c: Likewise.
33293         * string/test-strrchr-ifunc.c: Likewise.
33294         * string/test-strspn-ifunc.c: Likewise.
33295         * string/test-strstr-ifunc.c: Likewise.
33297         * debug/Makefile (tests-ifunc): New variable.
33298         (tests): Add $(tests-ifunc).
33299         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33300         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33301         * debug/test-stpcpy_chk-ifunc.c: New file.
33302         * debug/test-strcpy_chk-ifunc.c: Likewise.
33304 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33306         [BZ #13601]
33307         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33308         header is not read in.
33310 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33312         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33313         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33314         directly.  Pass built executable to script as
33315         $(built-program-cmd).
33316         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33317         $testprogram without using LD_LIBRARY_PATH and $ldso.
33319         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33320         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33321         $(rtld-installed-name).
33322         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33323         (rtld_installed_name): Likewise.
33324         (library_path): Likewise.
33325         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33326         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33327         $(run-program-prefix) to tst-tables.sh.
33328         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33329         it to run tst-table-from and tst-table-to.
33330         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33331         Pass it to tst-table.sh.
33332         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33333         $(run-program-prefix) to tst-gettext.sh.
33334         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33335         tst-translit.sh.
33336         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33337         tst-gettext2.sh.
33338         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33339         to run tst-gettext.
33340         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33341         to run tst-gettext2.
33342         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33343         to run tst-translit.
33344         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33345         $(run-program-prefix) to tst-mtrace.sh.
33346         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33347         to run tst-mtrace.
33348         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33349         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33350         $(rtld-installed-name).
33351         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33352         (rtld_installed_name): Likewise.
33353         (run_program_prefix): New variable.  Use it to run wordexp-test.
33355         * Makeconfig (ARCH): Remove all definitions.
33356         (machine): Likewise.
33357         [ARCH]: Remove conditional code.
33358         [!objdir]: Give error.
33359         [!objdir] (objpfx): Remove.
33360         [!objdir] (common-objpfx): Likewise.
33361         [!objdir] (common-objdir): Likewise.
33362         * configure.in (config_makefile): Remove.  Hardcode Makefile in
33363         AC_CONFIG_FILES call.
33364         * configure: Regenerated.
33366         [BZ #13888]
33367         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33368         or TMPDIR.
33369         (testout): Likewise.
33371         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33372         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33373         $(rtld-installed-name).
33374         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33375         (rtld_installed_name): Likwise.
33376         (runit): Remove function.
33377         (run_getconf): New variable,  Use it for running getconf binary.
33379 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
33381         [BZ #14716]
33382         * string/test-memmem.c (check_result): New function.
33383         (do_one_test): Use it.
33384         (check1): New function.
33385         (test_main): Use it.
33387 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
33389         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33391 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33393         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33394         (_G_LSEEK64): Likewise.
33395         (_G_MMAP64): Likewise.
33396         (_G_FSTAT64): Likewise.
33397         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33398         (_G_LSEEK64): Likewise.
33399         (_G_MMAP64): Likewise.
33400         (_G_FSTAT64): Likewise.
33401         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33402         unconditional.  Call __mmap64 directly.
33403         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33404         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33405         __lseek64 directly.
33406         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33407         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33408         __mmap64 directly.
33409         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33410         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33411         __lseek64 directly.
33412         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33413         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33414         __lseek64 directly.
33415         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33416         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33417         __lseek64 directly.
33418         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33419         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33420         __fxstat64 directly.
33421         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33422         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33423         unconditional.
33424         (freopen64) [!_G_OPEN64]: Remove conditional code.
33425         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33426         unconditional.
33427         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33428         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33429         unconditional.
33430         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33431         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33432         unconditional.
33433         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33434         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33435         unconditional.
33436         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33437         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33438         unconditional.
33439         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33440         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33441         unconditional.
33442         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33443         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33444         unconditional.
33445         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33447 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33449         [BZ #12140]
33450         * manual/memory.texi (Malloc Tunable Parameters): Add note
33451         about free list pointers overwriting some perturb bytes.
33452         Wording suggested by Roland McGrath.
33454 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33456         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33457         (lgamma_test): Likewise.
33458         (tgamma_test): Likewise.
33460 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33462         [BZ #14700]
33463         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33464         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33466 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33468         * NEWS: Mention BZ #14716.
33469         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33470         when removing AVAILABLE1_USES_J macro.
33472 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33474         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33475         (__bswap_64): __uint64_t for unsigned 64-bit int.
33477 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33479         * include/string.h (memmem): Declare libc hidden alias.
33480         * string/memmem.c (memmem): Define libc hidden alias.
33481         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33482         __read, __close instead of open, read, close.
33484 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33486         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33487         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33488         global and hidden.
33489         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33490         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33491         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33492         Likewise.
33493         (__rawmemchr_sse2): Likewise.
33494         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33495         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33496         (__strchr_sse2): Likewise.
33497         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33498         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33499         (__strcasecmp_sse2): Likewise.
33500         (__strncasecmp_sse2): Likewise.
33501         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33502         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33503         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33504         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33505         (__strrchr_sse2): Likewise.
33506         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33507         ifunc-impl-list.c.
33508         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33509         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33510         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33511         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33512         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33513         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33516         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33517         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33518         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33519         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33520         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33521         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33522         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33524         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33525         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33526         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33527         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33528         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33529         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33530         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33531         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33532         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33534         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33535         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33536         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33537         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33539         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33540         global and hidden.
33541         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33542         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33543         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33544         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33545         Likewise.
33546         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33547         Likewise.
33548         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33549         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33550         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33551         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33552         ifunc-impl-list.c.
33553         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33554         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33555         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33562         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33563         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33564         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33565         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33566         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33567         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33568         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33569         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33570         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33571         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33572         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33574         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33575         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33576         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33578         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33579         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33580         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33581         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33582         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33583         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33584         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33585         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33586         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33589         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33591         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33592         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33593         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33595         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33596         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33597         * include/ifunc-impl-list.h: New file.
33598         * misc/ifunc-impl-list.c: Likewise.
33599         * misc/Makefile (routines): Add ifunc-impl-list.
33600         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33601         * string/test-string.h: Include <ifunc-impl-list.h>.
33602         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33603         TEST_NAME]: New variables.
33604         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33605         are defined.
33606         (test_init): Call __libc_ifunc_impl_list to initialize
33607         func_list if TEST_IFUNC and TEST_NAME are defined.
33609         * string/Makefile (strop-tests): Add bcopy and bzero.
33610         * string/test-bcopy.c: New file.
33611         * string/test-bzero.c: Likewise.
33612         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33613         defined.
33614         * string/test-memset.c: Support bzero test if TEST_BZERO is
33615         defined.
33616         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33617         __libc_memmove.
33618         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33619         __libc_memset.
33620         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33621         of memset.
33623 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33625         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33626         * configure: Regenerated.
33628         * Makeconfig (+link-static-before-libc): Don't include
33629         $(link-static-libc).
33631         * libio/libio.h (_IO_pos_t): Remove.
33633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33635         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33636         McGrath.
33638 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33640         * crypt/crypt-entry.c: Include fips-private.h.
33641         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33642         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33643         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33644         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33646 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33648         * crypt/crypt-private.h: Include stdbool.h.
33649         (_ufc_setup_salt_r): Return bool.
33650         * crypt/crypt-entry.c: Include errno.h.
33651         (__crypt_r): Return NULL with EINVAL for bad salt.
33652         * crypt/crypt_util.c (bad_for_salt): New.
33653         (_ufc_setup_salt_r): Check that salt is long enough and within
33654         the specified alphabet.
33655         * crypt/badsalttest.c: New file.
33656         * crypt/Makefile (tests): Add it.
33657         ($(objpfx)badsalttest): New.
33659 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33661         * NEWS: Add entry for BZ #14602.
33663 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33665         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33666         type-generic.
33667         * math/libm-test.inc: Update comment listing what functions and
33668         macros are tested.
33669         (isgreater_test): New function.
33670         (isgreaterequal_test): Likewise.
33671         (isless_test): Likewise.
33672         (islessequal_test): Likewise.
33673         (islessgreater_test): Likewise.
33674         (isunordered_test): Likewise.
33675         (main): Call the new functions.
33677 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33679         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33680         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33681         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33682         * sysdeps/i386/configure: Regenerated.
33683         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33684         * sysdeps/mach/configure: Regenerated.
33685         * sysdeps/mach/hurd/configure: Regenerated.
33686         * sysdeps/powerpc/configure: Regenerated.
33687         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33688         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33689         * sysdeps/s390/s390-32/configure: Regenerated.
33690         * sysdeps/s390/s390-64/configure: Regenerated.
33691         * sysdeps/sh/configure: Regenerated.
33692         * sysdeps/sparc/configure: Regenerated.
33693         * sysdeps/unix/sysv/linux/configure: Regenerated.
33694         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33695         * sysdeps/x86_64/configure: Regenerated.
33697         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33698         defined.  Don't check if MAP is NULL.
33700 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33702         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33703         (_G_stat64): Likewise.
33704         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33705         (_G_stat64): Likewise.
33706         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33707         instead of struct _G_stat64.
33708         * libio/fileops.c (mmap_remap_check): Likewise.
33709         (decide_maybe_mmap): Likewise.
33710         (_IO_new_file_seekoff): Likewise.
33711         (_IO_file_stat): Likewise.
33712         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33713         _G_off64_t.
33714         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33715         instead of struct _G_stat64.
33716         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33718 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33720         [BZ #14602]
33721         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33722         Replace with ...
33723         (CHECK_EOL): New macro.
33724         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33725         CHECK_EOL.
33726         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33727         Replace with CHECK_EOL.
33728         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33729         Replace with CHECK_EOL.
33731 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33733         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33734         type-generic.
33735         * math/libm-test.inc: Update comment listing what functions and
33736         macros are tested.
33737         (finite_test): New function.
33738         (isinf_test): Likewise.
33739         (isnan_test): Likewise.
33740         (fpclassify_test): Test subnormal input.
33741         (isfinite_test): Likewise.
33742         (isnormal_test): Likewise.
33743         (main): Call the new functions.
33745 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33747         [BZ #14660]
33748         * Makerules (%.dynsym): Force C locale when running
33749         $(OBJDUMP) --dynamic-syms.
33751 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33753         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33754         <stdint.h>.
33756 2012-10-06  David S. Miller  <davem@davemloft.net>
33758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33759         upper 32-bits of the length value in %o2 since we use branch-on-register
33760         tests which consider the entire 64-bit register.
33762 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33764         * string/test-strstr.c (check2): Add a test for page boundary.
33766 2012-10-05  David S. Miller  <davem@davemloft.net>
33768         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33769         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33770         file.
33771         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33772         sysdep_routines.
33773         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33774         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33775         and bzero when HWCAP_SPARC_CRYPTO is present.
33777 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33779         [BZ #14602]
33780         * string/test-strstr.c (check2): New function.
33781         (test_main): Call check2.
33783         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33784         and bug-strchr1.
33785         * string/bug-strcasestr1.c (do_test): Moved to ...
33786         * string/test-strcasestr.c (check1): Here.  New function.
33787         (do_one_test): Break out result checking code into ...
33788         (check_result): This.  New function.
33789         (do_one_test): Call check_result.
33790         (test_main): Call check1.
33791         * string/bug-strchr1.c (do_test): Moved to ...
33792         * string/test-strchr.c (check1): Here.  New function.
33793         (do_one_test): Break out result checking code into ...
33794         (check_result): This.  New function.
33795         (do_one_test): Call check_result.
33796         (test_main): Call check1.
33797         * string/bug-strstr1.c (main): Moved to ...
33798         * string/test-strstr.c (check1): Here.  New function.
33799         (do_one_test): Break out result checking code into ...
33800         (check_result): This.  New function.
33801         (do_one_test): Call check_result.
33802         (test_main): Call check1.
33803         * string/bug-strcasestr1.c: Removed.
33804         * string/bug-strchr1.c: Likewise.
33805         * string/bug-strstr1.c: Likewise.
33807         * elf/Makefile (dl-routines): Add hwcaps.
33808         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33809         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33810         (_dl_important_hwcaps): Moved to ...
33811         * elf/dl-hwcaps.c: Here.  New file.
33812         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33814         [BZ #14557]
33815         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33816         if IS_IN_rtld isn't defined.
33818         * elf/dl-support.c (_dl_sysinfo_map): New.
33819         Include "get-dynamic-info.h" and "setup-vdso.h".
33820         (_dl_non_dynamic_init): Call setup_vdso.
33821         * elf/dynamic-link.h: Don't include <assert.h>.
33822         (elf_get_dynamic_info): Moved to ...
33823         * elf/get-dynamic-info.h: Here.  New file.
33824         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33825         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33826         * elf/setup-vdso.h: Here.  New file.
33827         * elf/rtld.c: Include "setup-vdso.h".
33828         (dl_main): Call setup_vdso.
33830 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33832         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33833         creal in comment listing functions tested.  List finite, isinf,
33834         isnan, isless, islessequal, isgreater, isgreaterequal,
33835         islessgreater, isunordered, lgamma_r and pow10 as functions and
33836         macros not tested.  Mention which functions not tested are aliases
33837         for other functions.  Fix typo.  Note that signs of NaNs are not
33838         tested.
33840         * scripts/config.guess: Update from config.git.
33841         * scripts/config.sub: Likewise.
33843 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33845         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33846         * misc/madvise.c (madvise): Renamed to __madvise.
33847         Make madvise a weak alias.
33848         * include/sys/mman.h: Declare __madvise.
33849         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33850         * sysdeps/unix/syscalls.list
33851         (madvise): Make __madvise the strong name, and madvise a weak alias.
33852         * sysdeps/unix/sysv/linux/syscalls.list
33853         (madvise, mmap): Remove redundant entries.
33854         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33855         * malloc/malloc.c (mtrim): Likewise.
33856         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33858 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33860         * sysdeps/mach/hurd/dl-cache.c: File removed.
33861         * config.h.in (USE_LDCONFIG): New #undef.
33862         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33863         * configure: Regenerated.
33864         * elf/Makefile (dl-routines): Add dl-cache only under
33865         [$(use-ldconfig) = yes].
33866         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33867         cache on [USE_LDCONFIG].
33868         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33869         [USE_LDCONFIG].
33870         * elf/rtld.c (dl_main): Likewise.
33872 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33874         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33875         _SC_LEVEL4_CACHE_LINESIZE.
33877 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33879         * sysdeps/unix/bsd/confstr.h: File removed.
33881 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33883         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33884         sys/sdt-config.h.
33886 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33888         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33889         Make 'mapoff' field ElfW(Off) rather than off_t.
33891 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33893         * nscd/Makefile: Remove nscd-cflags and all its users.
33894         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33895         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33897         [BZ #10631]
33898         * malloc.c (malloc_printerr): Clarify error message.
33900 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33902         [BZ #14648]
33903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33904         Set bit_FMA_Usable if FMA is supported.
33905         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33906         macro.
33907         (bit_FMA4_Usable): Updated.
33908         (index_FMA_Usable): New macro.
33909         (CPUID_FMA): Likewise
33910         (HAS_FMA): Defined with bit_FMA_Usable.
33912 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33914         * bits/types.h (__swblk_t): Type removed.
33915         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33916         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33918         (__SWBLK_T_TYPE): Likewise.
33919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33920         (__SWBLK_T_TYPE): Likewise.
33921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33922         (__SWBLK_T_TYPE): Likewise.
33923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33924         (__SWBLK_T_TYPE): Likewise.
33926 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33927             Honza Horak <hhorak@redhat.com>
33929         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33930         (xdr_mapname): Use YPMAXMAP as maxsize.
33931         (xdr_peername): Use YPMAXPEER as maxsize.
33932         (xdr_keydat): Use YPAXRECORD as maxsize.
33933         (xdr_valdat): Use YPMAXRECORD as maxsize.
33935 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33937         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33939         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33940         * csu/init-first.c: ... here.
33941         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33942         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33943         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33944         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33945         * sysdeps/i386/init-first.c: File removed.
33946         * sysdeps/sh/init-first.c: File removed.
33948 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33950         [BZ #14645]
33951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33952         if x * y might underflow to zero and z is zero.
33953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33955         * math/libm-test.inc (min_subnorm_value): New variable.
33956         (fma_test): Add more tests.
33957         (fma_test_towardzero): Likewise.
33958         (fma_test_downward): Likewise
33959         (fma_test_upward): Likewise.
33960         (initialize): Set min_subnorm_value.
33962 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33964         [BZ #14638]
33965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33966         0 + 0.
33967         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33968         mode for addition resulting in exact zero.
33969         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33971         exact 0 + 0.
33972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33974         * math/libm-test.inc (fma_test): Add more tests.
33975         (fma_test_towardzero): New function.
33976         (fma_test_downward): Likewise.
33977         (fma_test_upward): Likewise.
33978         (main): Call the new functions.
33980 2012-09-28  David S. Miller  <davem@davemloft.net>
33982         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33984 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33986         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33987         instead of SIGALRM.
33989         * sysdeps/gnu/_G_config.h: Moved to ...
33990         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33991         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33992         * sysdeps/generic/_G_config.h: ... here.
33994         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33996         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33998         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33999         Conditionalize target on [libnss_test1.so-version].
34001         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34003         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34004         (elfobjdir): Move out of conditionals.
34006         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34007         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34008         (__nss_lookup_function): Conditionalize label remove_from_tree on
34009         [!DO_STATIC_NSS || SHARED], matching its only use.
34011 2012-09-28  David S. Miller  <davem@davemloft.net>
34013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34014         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34015         file.
34016         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34017         sysdep_routines.
34018         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34020         when HWCAP_SPARC_CRYPTO is present.
34022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34024         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34026 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34028         [BZ #6530]
34029         * stdio-common/vfprintf.c (process_string_arg): Revert
34030         2000-07-22 change.
34032 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34034         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34035         for testcase.
34036         * stdio-common/tst-sprintf.c: Include <locale.h>
34037         (main): Test sprintf's handling of incomplete multibyte
34038         characters.
34040 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34042         * elf/dl-runtime.c (VERSYMIDX): Removed.
34043         * elf/dl-version.c (VERSYMIDX): Likewise.
34044         * elf/do-rel.h (VERSYMIDX): Likewise.
34045         (VALIDX): Likewise.
34046         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34047         * elf/rtld.c (VALIDX): Likewise.
34048         (ADDRIDX): Likewise.
34049         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34050         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34051         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34052         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34053         (VALIDX): Likewise.
34054         (ADDRIDX): Likewise.
34056 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34058         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34060 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34062         [BZ #11438]
34063         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34064         to global scope.
34065         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34066         addresses are in the same scope as 192.0.2/24.
34067         * posix/gai.conf: Document new scope table defaults.
34069 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34071         [BZ #5298]
34072         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34073         for ftell.  Compute offsets from write pointers instead.
34074         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34076 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34078         [BZ #14543]
34079         * libio/Makefile (tests): New test case tst-fseek.
34080         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34081         combination works in wide mode.
34082         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34083         state when the external buffer state changes.
34085 2012-09-27  David S. Miller  <davem@davemloft.net>
34087         [BZ #14376]
34088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34089         pass reloc->r_addend in as the 'high' argument to
34090         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34096         * rt/tst-aio2.c: Include <pthread.h>.
34097         * rt/tst-aio3.c: Likewise.
34099 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34101         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34103 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34105         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34106         contents on [SHARED].
34108 2012-09-26  Marek Polacek  <polacek@redhat.com>
34110         [BZ #14530]
34111         [BZ #13741]
34112         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34113         for C++ and GCC <4.3 as well as for non GCC compilers.
34115 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34119 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34121         * Makefile.in (all, install): Declare with .PHONY.
34122         Reported by Michael Hope <michael.hope@linaro.org>.
34124 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34126         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34127         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34128         system header.
34129         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34130         Likewise.
34131         (sydep_routines): Add the new and the internal functions.
34132         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34133         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34135         (GLIBC_2.17): Add the new function.
34136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34137         (GLIBC_2.17): Likewise.
34138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34139         (GLIBC_2.17): Likewise.
34140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34141         (GLIBC_2.17): Likewise.
34142         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34144 2012-09-25  Alan Modra  <amodra@gmail.com>
34146         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34147         Add release barrier before setting once_control to say
34148         initialisation is done.  Add hints on lwarx.  Use macro in
34149         place of isync.
34150         (clear_once_control): Add release barrier.
34152 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34154         [BZ #13629]
34155         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34156         specially.
34157         * math/s_clog10.c (__clog10): Likewise.
34158         * math/s_clog10f.c (__clog10f): Likewise.
34159         * math/s_clog10l.c (__clog10l): Likewise.
34160         * math/s_clogf.c (__clogf): Likewise.
34161         * math/s_clogl.c (__clogl): Likewise.
34162         * math/Makefile (libm-calls): Add x2y2m1.
34163         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34164         (__x2y2m1): Likewise.
34165         (__x2y2m1l): Likewise.
34166         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34167         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34168         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34169         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34170         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34171         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34172         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34173         * sysdeps/i386/fpu/libm-test-ulps: Update.
34174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34176         [BZ #14621]
34177         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34178         int as type of variable DEPTH.
34179         (glob): Use size_t instead of int as type of variables NEWCOUNT
34180         and OLD_PATHC.
34182 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34184         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34185         Add s_sincosf-sse2.
34186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34187         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34188         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34189         macros for using routine as __sincosf_ia32.
34190         Use macro for function declaration and weak_alias.
34191         * sysdeps/i386/fpu/libm-test-ulps: Update.
34193         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34196         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34197         subnormal argument.
34198         * math/s_cexpf.c (__cexpf): Likewise.
34199         * math/s_csinf.c (__csinf): Likewise.
34200         * math/s_csinhf.c (__csinhf): Likewise.
34201         * math/s_ctanf.c (__ctanf): Likewise.
34202         * math/s_ctanhf.c (__ctanhf): Likewise.
34203         * math/s_ccosh.c (__ccoshf): Likewise.
34204         * math/s_cexp.c (__cexpl): Likewise.
34205         * math/s_csin.c (__csin): Likewise.
34206         * math/s_csinh.c (__csinh): Likewise.
34207         * math/s_ctan.c (__ctan): Likewise.
34208         * math/s_ctanh.c (ctanh): Likewise.
34209         * math/s_ccoshl.c (__ccoshl): Likewise.
34210         * math/s_cexpl.c (__cexpl): Likewise.
34211         * math/s_csinl.c (__csinl): Likewise.
34212         * math/s_csinhl.c (__csinhl): Likewise.
34213         * math/s_ctanl.c (__ctanl): Likewise.
34214         * math/s_ctanhl.c (__ctanhl): Likewise.
34216 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34218         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34219         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34220         (_IO_off_t): Define to __off_t, not _G_off_t.
34221         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34222         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34223         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34224         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34225         type of __dummy and __dummy2 fields.
34226         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34227         (_G_ssize_t): Likewise.
34228         (_G_off_t): Likewise.
34229         (_G_pid_t): Likewise.
34230         (_G_uid_t): Likewise.
34231         (_G_wchar_t): Likewise.
34232         (_G_wint_t): Likewise.
34233         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34234         (_G_ssize_t): Likewise.
34235         (_G_off_t): Likewise.
34236         (_G_pid_t): Likewise.
34237         (_G_uid_t): Likewise.
34238         (_G_wchar_t): Likewise.
34239         (_G_wint_t): Likewise.
34240         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34241         (_G_ssize_t): Likewise.
34242         (_G_off_t): Likewise.
34243         (_G_pid_t): Likewise.
34244         (_G_uid_t): Likewise.
34245         (_G_wchar_t): Likewise.
34246         (_G_wint_t): Likewise.
34248 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34250         * malloc/arena.c: Include malloc-sysdep.h.
34251         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34252         is sufficient to shrink the heap or an unmap is needed.
34253         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34254         new function check_may_shrink_heap.
34255         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34256         new function check_may_shrink_heap.
34258 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34260         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34261         comments.
34263 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34265         * catgets/test-gencat.sh: Add "set -e".
34266         * elf/tst-pathopt.sh: Likewise.
34267         * grp/tst_fgetgrent.sh: Likewise.
34268         * iconvdata/run-iconv-test.sh: Likewise.
34269         * intl/tst-gettext.sh: Likewise.
34270         * intl/tst-gettext2.sh: Likewise.
34271         * intl/tst-gettext4.sh: Likewise.
34272         * intl/tst-gettext6.sh: Likewise.
34273         * intl/tst-translit.sh: Likewise.
34274         * io/ftwtest-sh: Likewise.
34275         * libio/test-freopen.sh: Likewise.
34276         * malloc/tst-mtrace.sh: Likewise.
34277         * posix/globtest.sh: Likewise.
34278         * posix/tst-getconf.sh: Likewise.
34279         * posix/wordexp-tst.sh: Likewise.
34280         * stdio-common/tst-printf.sh: Likewise.
34281         * stdio-common/tst-unbputc.sh: Likewise.
34282         * stdlib/tst-fmtmsg.sh: Likewise.
34283         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34284         * catgets/Makefile: Do not specify -e option when running
34285         testsuite shell scripts.
34286         * elf/Makefile: Likewise.
34287         * grp/Makefile: Likewise.
34288         * iconvdata/Makefile: Likewise.
34289         * intl/Makefile: Likewise.
34290         * io/Makefile: Likewise.
34291         * libio/Makefile: Likewise.
34292         * malloc/Makefile: Likewise.
34293         * posix/Makefile: Likewise.
34294         * stdio-common/Makefile: Likewise.
34295         * stdlib/Makefile: Likewise.
34296         * sysdeps/x86_64/Makefile: Likewise.
34298         * io/ftwtest-sh: Add copyright header.
34299         * posix/globtest.sh: Likewise.
34300         * posix/tst-getconf.sh: Likewise.
34301         * posix/wordexp-tst.sh: Likewise.
34302         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34304 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34306         [BZ #13679]
34307         * Makeconfig (+link): Defined as $(+link-static) if
34308         $(build-shared) isn't yes.
34309         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34310         isn't yes.
34311         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34313         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34315         [BZ #14562]
34316         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34317         new chunk size with MALLOC_ALIGN_MASK.
34319 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34321         [BZ #5044]
34322         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34323         <rounding-mode.h>.
34324         (__printf_fphex): Determine rounding using get_rounding_mode and
34325         round_away.
34326         * stdio-common/tst-printf-round.c (struct hex_test): New
34327         structure.
34328         (hex_tests): New variable.
34329         (test_hex_in_one_mode): New function.
34330         (do_test): Also run tests for hex float output.
34332 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34334         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34335         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34336         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34337         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34338         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34339         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34340         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34343 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34345         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34346         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34347         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34348         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34350 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
34352         [BZ #14579]
34353         * elf/rtld.c (dl_main): Limit the check for self loading to normal
34354         mode only.
34355         * elf/tst-rtld-load-self.sh: New test.
34356         * elf/Makefile: Run it.
34358 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
34360         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34361         (tst-writev-ENV): Remove.
34362         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34364 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
34366         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34368 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
34370         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34371         unconditional.
34372         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34373         Likewise.
34374         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34375         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34376         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34377         Likewise.
34379 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
34381         [BZ #14587]
34382         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34383         * config.make.in (have-cpp-asm-debuginfo): Removed.
34384         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34385         * configure: Regenerated.
34387 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
34389         [BZ #5044]
34390         * stdio-common/printf_fp.c: Include <stdbool.h> and
34391         <rounding-mode.h>.
34392         (___printf_fp): Determine rounding using get_rounding_mode and
34393         round_away.
34394         * stdio-common/tst-printf-round.c: New file.
34395         * stdio-common/Makefile (tests): Add tst-printf-round.
34396         (link-libm): New variable.
34397         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34399 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34401         [BZ #14576]
34402         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34403         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34404         Likewise.
34405         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34406         Likewise.
34408 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34410         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34411         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34412         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34413         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34415 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34417         [BZ #14518]
34418         * include/rounding-mode.h: New file.
34419         * sysdeps/generic/get-rounding-mode.h: Likewise.
34420         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34421         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34422         (MAX_VALUE): New macro.
34423         (MIN_VALUE): Likewise.
34424         (overflow_value): New function.
34425         (underflow_value): Likewise.
34426         (round_and_return): Use overflow_value and underflow_value to
34427         determine return values in overflow and underflow cases.  Use
34428         round_away to determine rounding depending on rounding mode.
34429         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34430         determine return values in overflow and underflow cases.
34431         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34432         (struct test_results): New structure.
34433         (struct test): Use struct test_results to store expected results
34434         for all rounding modes.
34435         (TEST): Include expected results for all rounding modes.
34436         (test_in_one_mode): New function.
34437         (do_test): Use test_in_one_mode to compute and check results.
34438         Check results for all rounding modes.
34439         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34440         $(link-libm).
34442 2012-12-09  Allan McRae  <allan@archlinux.org>
34444         * sysdeps/i386/fpu/libm-test-ulps: Update
34446 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34448         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34449         (_G_int32_t): Likewise.
34450         (_G_uint16_t): Likewise.
34451         (_G_uint32_t): Likewise.
34452         (_G_HAVE_BOOL): Likewise.
34453         (_G_HAVE_ATEXIT): Likewise.
34454         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34455         (_G_HAVE_IO_FILE_OPEN): Likewise.
34456         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34457         (_G_int32_t): Likewise.
34458         (_G_uint16_t): Likewise.
34459         (_G_uint32_t): Likewise.
34460         (_G_HAVE_BOOL): Likewise.
34461         (_G_HAVE_ATEXIT): Likewise.
34462         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34463         (_G_HAVE_IO_FILE_OPEN): Likewise.
34464         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34465         (_G_int32_t): Likewise.
34466         (_G_uint16_t): Likewise.
34467         (_G_uint32_t): Likewise.
34468         (_G_HAVE_BOOL): Likewise.
34469         (_G_HAVE_ATEXIT): Likewise.
34470         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34471         (_G_HAVE_IO_FILE_OPEN): Likewise.
34473 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34475         * csu/libc-tls.c: Update copyright years.
34477 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34479         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34480         [!_G_USING_THUNKS]: Remove conditional code.
34481         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34482         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34484         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34485         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34486         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34487         (_G_VTABLE_LABEL_PREFIX): Likewise.
34488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34489         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34490         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34491         (_G_VTABLE_LABEL_PREFIX): Likewise.
34492         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34493         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34494         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34495         (_G_VTABLE_LABEL_PREFIX): Likewise.
34496         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34498 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34500         * libio/Makefile: Include ../Makeconfig before tests.
34501         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34502         only if $(build-shared) is yes.
34504         * iconv/gconv_db.c: Update copyright years.
34506 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34508         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34509         unwind info if defined PIC. Fix special cases description.
34510         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34512         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34513         DP_HI_MASK entry.
34514         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34516 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34518         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34520         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34521         is NULL.
34523         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34524         (LDLIBS-tst-chk4): This.
34525         (LDFLAGS-tst-chk5): Renamed to ...
34526         (LDLIBS-tst-chk5): This.
34527         (LDFLAGS-tst-chk6): Renamed to ...
34528         (LDLIBS-tst-chk6): This.
34529         (LDFLAGS-tst-lfschk4): Renamed to ...
34530         (LDLIBS-tst-lfschk4): This.
34531         (LDFLAGS-tst-lfschk5): Renamed to ...
34532         (LDLIBS-tst-lfschk5): This.
34533         (LDFLAGS-tst-lfschk6): Renamed to ...
34534         (LDLIBS-tst-lfschk6): This.
34536         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34537         on $(common-objpfx)soversions.mk.
34539 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34541         [BZ #10014]
34542         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34543         example host name.
34545 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34547         * malloc/arena.c (arena_get_retry): New function that gets
34548         another arena for the caller to try its request on.
34549         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34550         current arena cannot fulfill the request.
34551         (__libc_memalign): Likewise.
34552         (__libc_memalign): Likewise.
34553         (__libc_pvalloc): Likewise.
34554         (__libc_calloc): Likewise.
34556 2012-09-05  John Tobey  <john.tobey@gmail.com>
34558         [BZ #13542]
34559         * manual/arith.texi (Operations on Complex): Fix description
34560         of carg branch cut.
34562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34564         [BZ #10014]
34565         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34566         host name.
34568         [BZ #10038]
34569         * manual/memory.texi (Memory): Make order of menu items match
34570         order of sections.
34572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34574         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34575         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34576         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34578 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34580         * csu/libc-tls.c (static_dtv): Renamed to ...
34581         (_dl_static_dtv): This.  Make it global.
34582         (_dl_initial_dtv): Removed.
34583         (__libc_setup_tls): Updated.
34584         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34585         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34586         DL_INITIAL_DTV.
34588 2012-09-06  Petr Machata  <pmachata@redhat.com>
34590         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34591         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34592         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34593         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34597         [BZ #14545]
34598         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34599         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34600         freeing dtv[-1].
34602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34604         [BZ #14544]
34605         * Makeconfig (link-static-before-libc): Replace $(+prector)
34606         with $(+prectorT).
34607         (link-static-after-libc): Replace $(+postctor) with
34608         $(+postctorT).
34609         (link-bounded): Replace $(+prector)/$(+postctor) with
34610         $(+prectorT)/$(+postctorT).
34611         (+prectorT): New macro.
34612         (+postctorT): Likewise.
34614 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34616         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34617         (round_str): Handle values above the maximum for IBM long double
34618         as inexact.
34619         * stdlib/tst-strtod-round.c (tests): Regenerated.
34621 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34623         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34624         assembler flag.
34625         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34626         zarch_nohighgprs around the zarch optimized routines.
34627         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34628         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34629         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34630         for zarch.
34632 2012-09-05  David S. Miller  <davem@davemloft.net>
34634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34636         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34637         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34638         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34639         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34640         entries.
34642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34644         * malloc/arena.c: Fold copyright years.
34645         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34647 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34649         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34651 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34653         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34657         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34658         change internal state upon failure.
34660 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34662         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34663         * malloc/memusage.c (mmap): Likewise.
34664         (mmap64, mremap): Likewise.  Adjust name in comment.
34666 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34668         * libio/fileops.c: Fix typos in comments.
34669         * libio/oldfileops.c: Likewise.
34670         * libio/wfileops.c: Likewise.
34672 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34674         [BZ #1349]
34675         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34676         (tst-malloc-usable-ENV): Set environment for test case.
34677         * malloc/hooks.c (malloc_check_get_size): New function to get
34678         requested size.
34679         * malloc/malloc.c (musable): Use malloc_check_get_size.
34680         * malloc/tst-malloc-usable.c: New test case.
34682 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34684         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34686 2012-09-05  Allan McRae  <allan@archlinux.org>
34688         [BZ #13966]
34689         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34690         determine header location.
34691         * configure: Regenerated.
34693 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34695         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34696         float format.
34697         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34698         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34699         format.
34700         (test): Regenerate.
34702 2012-09-04  David S. Miller  <davem@davemloft.net>
34704         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34705         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34706         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34708 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34710         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34711         failures.
34713         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34715 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34717         [BZ #9914]
34718         * libio/iogetdelim.c: Include <limits.h>.
34719         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34720         + len + 1 would overflow.
34722 2012-09-03  Andreas Jaeger  <aj@suse.de>
34724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34725         * sysdeps/i386/fpu/libm-test-ulps: Update.
34727 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34729         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34730         Add s_sinf-sse2, s_conf-sse2.
34732         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34733         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34734         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34735         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34737         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34738         for using routine as __sinf_ia32.
34739         Use macro for function declaration and weak_alias.
34740         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34741         for using routine as __cosf_ia32.
34742         Use macro for function declaration and weak_alias.
34744         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34745         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34747         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34748         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34751         * math/libm-test.inc (cos_test): Add more test cases.
34752         (sin_test): Likewise.
34753         (sincos_test): Likewise.
34755 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34758         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34759         hidden.
34760         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34762 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34764         [BZ #14538]
34765         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34766         first element of the GOT.
34767         (elf_machine_load_address): Return the difference between
34768         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34770 2012-09-01  Allan McRae  <allan@archlinux.org>
34772         [BZ #13412]
34773         * configure.in (AWK): Require gawk version 3.0 or later.
34774         * configure: Regenerated.
34776 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34778         * sysdeps/unix/sysv/linux/kernel-features.h
34779         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34781         [__NR_clock_getres]: Make code unconditional.
34782         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34783         (clock_getcpuclockid): Remove code left unreachable by removal of
34784         conditionals.
34785         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34786         code unconditional.
34787         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34788         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34789         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34790         Make code unconditional.
34791         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34792         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34793         * sysdeps/unix/sysv/linux/clock_settime.c
34794         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34795         conditional code.
34796         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34797         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34799 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34801         [BZ #14476]
34802         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34803         scripts/test-installation.pl.
34805         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34806         and $ld_so_version if it is set.
34808 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34810         [BZ #14516]
34811         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34812         failure if reading from procfs failed.
34813         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34815 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34817         * sysdeps/unix/sysv/linux/kernel-features.h
34818         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34819         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34820         Remove conditional code.
34821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34822         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34823         Remove conditional code.
34824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34825         * sysdeps/unix/sysv/linux/i386/fxstat.c
34826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34828         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34831         * sysdeps/unix/sysv/linux/i386/lxstat.c
34832         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34834         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34835         Remove conditional code.
34836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34837         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34838         Remove conditional code.
34839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34840         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34841         <kernel-features.h>.
34842         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34843         Remove.
34844         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34845         Remove conditional code.
34846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34847         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34848         Remove conditional.
34850 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34852         [BZ #5400]
34853         * NEWS: Add fixed bug number.
34855 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34857         [BZ #14519]
34858         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34859         underflowing exponent in case of negative sign.
34860         * stdlib/tst-strtod-round-data: Add more tests.
34861         * stdlib/tst-strtod-round.c (tests): Regenerated.
34863         [BZ #3479]
34864         * stdlib/strtod_l.c (NDIG): Remove.
34865         (HEXNDIG): Likewise.
34866         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34867         smallest representable value.
34868         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34869         lie within an exact representation of 1/2 ulp of the result.
34870         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34871         unconditionally.
34872         (TENS_P9_IDX): Define unconditionally.
34873         (TENS_P9_SIZE): Likewise.
34874         (TENS_P10_IDX): Likewise.
34875         (TENS_P10_SIZE): Likewise.
34876         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34877         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34878         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34879         entries for 10^2^13 and 10^2^14.
34880         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34881         (TENS_P13_IDX): Define.
34882         (TENS_P13_SIZE): Likewise.
34883         (TENS_P14_IDX): Likewise.
34884         (TENS_P14_SIZE): Likewise.
34885         (_fpioconst_pow10): Change array size to
34886         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34887         unconditional.
34888         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34889         1024]: Add entries for 10^2^13 and 10^2^14.
34890         [LAST_POW10 > _LAST_POW10]: Remove #error.
34891         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34892         (_fpioconst_pow10): Change array size to
34893         FPIOCONST_POW10_ARRAY_SIZE.
34894         * stdlib/gen-fpioconst.c: New file.
34895         * stdlib/gen-tst-strtod-round.c: Likewise.
34896         * stdlib/tst-strtod-round-data: Likewise.
34897         * stdlib/tst-strtod-round.c: Likewise.
34898         * stdlib/Makefile (tests): Add tst-strtod-round.
34900         [BZ #14459]
34901         * stdlib/strtod_l.c: Include <stdint.h>.
34902         (NDEBUG): Do not define.
34903         (round_and_return): Change EXPONENT parameter to type intmax_t.
34904         Rearrange calculations to avoid internal overflow possibilities.
34905         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34906         Rearrange calculations to avoid internal overflow possibilities.
34907         Assert that number fits inside MPNSIZE limbs.
34908         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34909         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34910         calculations and add assertions to avoid internal overflow
34911         possibilities.  Add casts to avoid signed/unsigned operations.
34912         * stdlib/tst-strtod-overflow.c: New file.
34913         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34915 2012-08-25  Marek Polacek  <polacek@redhat.com>
34917         * time/time.h: Fix some typos in comments.
34919 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34921         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34922         * posix/tst-rfc3484-2.c: Likewise.
34923         * posix/tst-rfc3484-3.c: Likewise.
34925 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34927         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34928         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34930 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34932         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34933         #include of fxstatat64.c.
34935 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34937         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34938         * shadow/getspent_r.c: Likewise.
34939         * shadow/getspnam.c: Likewise.
34940         * shadow/getspnam_r.c: Likewise.
34941         * gshadow/getsgent.c: Likewise.
34942         * gshadow/getsgent_r.c: Likewise.
34943         * gshadow/getsgnam.c: Likewise.
34944         * gshadow/getsgnam_r.c: Likewise.
34945         * inet/getnetbyad.c: Likewise.
34946         * inet/getnetbyad_r.c: Likewise.
34947         * inet/getnetbynm.c: Likewise.
34948         * inet/getnetbynm_r.c: Likewise.
34949         * inet/getnetent.c: Likewise.
34950         * inet/getnetent_r.c: Likewise.
34951         * inet/getproto.c: Likewise.
34952         * inet/getproto_r.c: Likewise.
34953         * inet/getprtent.c: Likewise.
34954         * inet/getprtent_r.c: Likewise.
34955         * inet/getprtname.c: Likewise.
34956         * inet/getprtname_r.c: Likewise.
34957         * inet/getrpcbyname.c: Likewise.
34958         * inet/getrpcbyname_r.c: Likewise.
34959         * inet/getrpcbynumber.c: Likewise.
34960         * inet/getrpcbynumber_r.c: Likewise.
34961         * inet/getrpcent.c: Likewise.
34962         * inet/getrpcent_r.c: Likewise.
34963         * inet/getaliasent.c: Likewise.
34964         * inet/getaliasent_r.c: Likewise.
34965         * inet/getaliasname.c: Likewise.
34966         * inet/getaliasname_r.c: Likewise.
34967         * nscd/getgrgid_r.c: Likewise.
34968         * nscd/getgrnam_r.c: Likewise.
34969         * nscd/gethstbyad_r.c: Likewise.
34970         * nscd/gethstbynm3_r.c: Likewise.
34971         * nscd/getpwnam_r.c: Likewise.
34972         * nscd/getpwuid_r.c: Likewise.
34973         * nscd/getsrvbynm_r.c: Likewise.
34974         * nscd/getsrvbypt_r.c: Likewise.
34975         * nscd/gai.c: Likewise.
34977         * configure.in (build_nscd): New substituted variable, set
34978         by --disable-build-nscd and defaults to $use_nscd.
34979         * configure: Regenerated.
34980         * config.make.in (build-nscd): New substituted variable.
34981         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34982         Change conditional to require [$(build-nscd) = yes] as well.
34983         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34985         [BZ# 13696]
34986         * configure.in (use_nscd): New substituted variable, set by
34987         --disable-nscd.  If enabled, define USE_NSCD.
34988         * configure: Regenerated.
34989         * config.h.in: Add USE_NSCD.
34990         * config.make.in (use-nscd): New substituted variable.
34991         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34992         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34993         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34994         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34995         (CFLAGS-getgrnam_r.c): Likewise.
34996         (CFLAGS-initgroups.c): Likewise.
34997         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34998         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34999         Variables removed.
35000         * inet/getnetgrent_r.c
35001         (nscd_setnetgrent): New function, broken out of ...
35002         (setnetgrent): ... here.  Call it.
35003         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35004         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35005         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35006         * nscd/Makefile (routines, aux): Move definitions after include of
35007         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35008         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35009         Conditionalize on [USE_NSCD].
35010         (is_nscd, nscd_init_cb): Likewise.
35011         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35012         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35013         * nss/nss_db/db-init.c: Likewise.
35014         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35015         [USE_NSCD].
35016         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35017         (make_request): Use it.
35018         (cache_valid_p): New function.
35019         (__check_pf): Use it.
35020         * NEWS: Add item for --disable-nscd.
35022 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35024         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35025         to support sed >= 4.2.1-20-ga9bf076.
35026         * configure: Regenerated.
35028 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35030         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35031         Conditionalize whole body on [IREL].
35033 2012-08-22  Jeff Law <law@redhat.com>
35035         [BZ #14505]
35036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35037         if the family is PF_UNSPEC.
35039 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35041         * Makerules (lib-version): Rename from V.
35042         (install-lib-nosubdir): Change V to lib-version.
35044 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35046         [BZ #14252]
35047         * powerpc32/power6/wcschr.c: New file.
35048         * powerpc32/power6/wcscpy.c: New file.
35049         * powerpc32/power6/wcsrchr.c: New file.
35050         * powerpc64/power6/wcschr.c: New file.
35051         * powerpc64/power6/wcscpy.c: New file.
35052         * powerpc64/power6/wcsrchr.c: New file.
35054 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35056         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35057         (two_way_short_needle): Use it.
35058         * string/strstr.c (AVAILABLE1_USES_J): Define.
35059         * string/strcasestr.c: Likewise.
35061         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35062         array references.
35063         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35065         [BZ #11607]
35066         * NEWS: Add an entry.
35067         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35068         define their defaults.
35069         (two_way_short_needle): Detect end-of-string on-the-fly.
35070         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35071         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35072         * string/bug-strcasestr1.c: New test.
35073         * string/Makefile: Run it.
35075 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35077         [BZ #11607]
35078         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35079         the first character.
35081 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35083         * csu/elf-init.c (__libc_csu_irel): Function removed.
35084         * csu/libc-start.c (apply_irel): New function.
35085         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35087 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35089         * sysdeps/unix/sysv/linux/kernel-features.h
35090         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35091         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35092         <kernel-features.h>.
35093         [__NR_fadvise64_64]: Make code unconditional.
35094         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35095         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35096         !__NR_fadvise64_64)]: Likewise.
35097         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35098         !__NR_fadvise64_64))]: Likewise.
35099         [__NR_fadvise64]: Make code unconditional.
35100         [!__NR_fadvise64]: Remove conditional code.
35101         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35102         <kernel-features.h>.
35103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35104         unconditional.
35105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35106         conditional code.
35107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35108         not include <kernel-features.h>.
35109         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35110         unconditional.
35111         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35112         conditional code.
35113         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35114         include <kernel-features.h>.
35115         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35116         unconditional.
35117         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35118         conditional code.
35120 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35123         slight instruction rearrangements per scrollpipe analysis.
35124         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35126 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35128         * manual/syslog.texi (syslog; vsyslog, closelog):
35129         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35130         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35132         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35133         DSOCAPS to match condition on defining it.
35135 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35137         * sysdeps/unix/sysv/linux/kernel-features.h
35138         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35146         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35147         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35149         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35150         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35152         * sysdeps/unix/sysv/linux/kernel-features.h
35153         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35154         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35155         unconditional.
35156         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35157         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35158         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35159         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35160         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35161         Make code unconditional.
35162         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35163         (__mmap64) [!__NR_mmap2]: Likewise.
35164         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35165         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35166         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35167         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35168         [__NR_mmap2]: Make code unconditional.
35169         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35170         (__mmap64) [!__NR_mmap2]: Likewise.
35172 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35174         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35176 2012-08-18  Andreas Jaeger  <aj@suse.de>
35178         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35180 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35182         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35183         * include/unistd.h (__have_sock_cloexec): Likewise.
35184         (__have_pipe2): Likewise.
35185         (__have_dup3): Likewise.
35187 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35189         [BZ #9685]
35190         * include/unistd.h (__have_pipe2): Change define into an extern int.
35191         (__have_dup3): Likewise.
35192         * socket/have_sock_cloexec.c: Include fcntl.h.
35193         (__have_pipe2): New variable.
35194         (__have_dup3): Likewise.
35196 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35198         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35200 2012-08-17  Marek Polacek  <polacek@redhat.com>
35202         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35203         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35205 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35207         * configure.in: Add AC_SUBST for sysheaders.
35208         * configure: Regenerated.
35209         * config.make.in (sysheaders): New substituted variable.
35211         * sysdeps/unix/mkfifo.c: Moved ...
35212         * sysdeps/posix/mkfifo.c: ... here.
35213         * sysdeps/unix/mkfifoat.c: Moved ...
35214         * sysdeps/posix/mkfifoat.c: ... here.
35216         * sysdeps/unix/utime.c: Moved ...
35217         * sysdeps/posix/utime.c: ... here.
35219         * sysdeps/unix/time.c: Moved ...
35220         * sysdeps/posix/time.c: ... here.
35221         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35222         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35224         * sysdeps/unix/nice.c: Moved ...
35225         * sysdeps/posix/nice.c: ... here.
35227         * sysdeps/unix/alarm.c: Moved ...
35228         * sysdeps/posix/alarm.c: ... here.
35230         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35232 2012-08-17  Jeff Law <law@redhat.com>
35234         * intl/Makefile (codeset_mo): New variable.
35235         ($(codeset_mo)): New target.
35236         (tst-codeset.out): Depend on that.  Remove explicit rule.
35237         (tst-gettext3.out, tst-gettext5.out): Likewise.
35238         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35239         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35240         * intl/tst-codeset.sh: Remove.
35241         * intl/tst-gettext3.sh: Likewise.
35242         * intl/tst-gettext5.sh: Likewise.
35244 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35246         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35247         * sysdeps/unix/syscalls.list: ... here.
35249         * sysdeps/posix/getaddrinfo.c
35250         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35251         (gaiconf_init, gaiconf_reload): Use them.
35252         [!_STATBUF_ST_NSEC]
35253         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35254         Define using time_t rather than struct timespec.
35256         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35257         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35258         Macros removed.
35259         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35260         [!NO_THREADS].
35261         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35262         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35263         Likewise.
35265         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35266         __libc_cleanup_push argument.
35268         * bits/param.h: New file.
35269         * misc/sys/param.h: New file.
35270         * include/sys/param.h: New file.
35271         * misc/Makefile (headers): Add bits/param.h.
35272         * sysdeps/generic/sys/param.h: File removed.
35273         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35274         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35275         * sysdeps/mach/hurd/bits/param.h: New file.
35276         * sysdeps/mach/hurd/sys/param.h: File removed.
35278         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35279         last change.
35281         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35282         [_IO_MTSAFE_IO].
35283         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35284         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35285         New macros.
35287         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35288         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35289         rather than -D_IO_MTSAFE_IO conditionally.
35290         * stdio-common/Makefile (CPPFLAGS): Likewise.
35291         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35292         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35293         Use $(libio-mtsafe).
35294         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35295         of -D_IO_MTSAFE_IO.
35296         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35297         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35298         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35299         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35300         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35301         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35302         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35303         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35304         (CFLAGS-fread_u_chk.c): Likewise.
35305         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35306         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35307         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35308         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35309         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35310         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35311         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35312         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35313         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35315         * libio/Makefile: Test [$(libc-reentrant) = yes]
35316         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35318         * Makeconfig
35319         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35320         * sysdeps/pthread/configure: File removed.
35321         * sysdeps/pthread/Makeconfig: New file.
35322         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35323         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35325 2012-08-16  Gary Benson  <gbenson@redhat.com>
35327         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35328         unmapping the first object in a namespace.
35330 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35332         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35333         (__internal_setnetgrent): ... this.  Add internal_function to
35334         definition.  Add libc_hidden_def.
35335         (setnetgrent): Update caller.
35336         (internal_endnetgrent): Renamed to ...
35337         (__internal_endnetgrent): ... this.  Add internal_function to
35338         definition.  Add libc_hidden_def.
35339         (endnetgrent): Update caller.
35340         (internal_getnetgrent_r): Renamed to ...
35341         (__internal_getnetgrent_r): ... this.  Add internal_function to
35342         definition.  Add libc_hidden_def.
35343         (__getnetgrent_r): Update caller.
35344         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35346 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35348         * stdlib/longlong.h: Update from GCC.
35350 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35352         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35353         on _QL, which is set by umul_ppmm but never used.
35354         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35355         variables, which are set by GMP macros but never used.
35356         * stdio-common/_itowa.c (_itowa): Likewise.
35357         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35358         * stdlib/mod_1.c (mpn_mod_1): Likewise.
35360 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
35362         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35363         struct La_sh_regs is not constant.
35364         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35365         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35366         and struct La_sparc64_regs are not constant.
35368 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35370         * sysdeps/unix/sysv/linux/kernel-features.h
35371         (__ASSUME_POSIX_TIMERS): Remove.
35372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35374         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35375         Make code unconditional.
35376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35377         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35378         Make code unconditional.
35379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35380         * sysdeps/unix/sysv/linux/clock_nanosleep.c
35381         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35383         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35384         Make code unconditional.
35385         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35386         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35387         (__libc_missing_posix_timers): Remove.
35389 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35391         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35392         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35394         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35396         * elf/dl-sym.c: Include <stdlib.h>.
35398         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35399         constants, which avoids warnings in 32-bit builds.
35401         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35402         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35404         * misc/lseek.c: File moved to ...
35405         * io/lseek.c: ... here.
35407         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35409         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35410         shifting LEN more than 31 bits at once.
35412 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35414         [BZ #14195]
35415         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35416         segmentation fault for a case of two empty input strings.
35417         * string/test-strncasecmp.c (check1): Renamed to...
35418         (bz12205): ...this.
35419         (bz14195): Add new testcase for two empty input strings and N > 0.
35420         (test_main): Call new testcase, adapt for renamed function.
35422 2012-08-15  Andreas Jaeger  <aj@suse.de>
35424         [BZ #14090]
35425         * crypt/md5test2.c: New test, based on test supplied by Serge
35426         Belyshev <belyshev@depni.sinp.msu.ru>.
35427         * crypt/Makefile (xtests): Add md5test-giant..
35428         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35430 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35432         [BZ #14090]
35433         * crypt/md5.c (md5_process_block): Don't assume the buffer
35434         length is less than 2**32.
35435         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35436         length is less than 2**64.
35438 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35440         * string/str-two-way.h: Include <sys/param.h>.
35441         (MAX): Macro removed.
35443         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35444         Move #define and #undef of memmove to just before and after
35445         including <string.h>.
35447         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35448         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35449         and after including <string.h>.  Move declarations of
35450         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35451         to before #include "string/memmove.c".
35453         * include/dirent.h: Declare __getdirentries.
35455         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35456         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35458 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35460         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35461         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35462         * sysdeps/i386/configure: Regenerated.
35463         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35464         STABS_CURRENT_FILE, and STABS_FUN.
35465         (END): Remove call to STABS_FUN_END.
35466         (STABS_CURRENT_FILE1): Delete.
35467         (STABS_CURRENT_FILE): Likewise.
35468         (STABS_FUN): Likewise.
35469         (STABS_FUN_END): Likewise.
35470         (STABS_FUN2): Likewise.
35471         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35472         * sysdeps/x86_64/configure: Regenerated.
35474 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35476         * elf/dl-open.c: Include <atomic.h>.
35477         * elf/dl-lookup.c: Likewise.
35479 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35481         * sysdeps/unix/sysv/linux/kernel-features.h
35482         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35483         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35484         unconditionally.
35485         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35486         unconditionally.
35487         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35488         condition on __ASSUME_CLONE_THREAD_FLAGS.
35490 2012-08-14  Andreas Jaeger  <aj@suse.de>
35492         * sysdeps/i386/fpu/libm-test-ulps: Update.
35494 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35496         * include/atomic.h (atomic_exchange_and_add): Split into ...
35497         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35498         New atomic macros.
35500 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35504 2012-08-13  Jeff Law <law@redhat.com>
35506         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35507         null byte in the output string.
35509 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35511         * sysdeps/unix/sysv/linux/kernel-features.h
35512         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35513         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35514         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35515         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35516         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35517         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35518         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35520 2012-08-09  Jeff Law <law@redhat.com>
35522         [BZ #13939]
35523         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35524         When avoid_arena is set, don't retry in the that arena.  Pick the
35525         next one, whatever it might be.
35526         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35527         (arena_lock): Pass in new parameter to arena_get2.
35528         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35529         arena_get2.
35530         (__libc_malloc): Unify retrying after main arena failure with
35531         __libc_memalign version.
35532         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35534 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35536         [BZ #14166]
35537         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35538         to __redirect_strstr.
35539         (__strstr_sse42): Use typeof __redirect_strstr.
35540         (__strstr_ia32): Likewise.
35541         (__libc_strstr): New prototype.
35542         (strstr): Renamed to ...
35543         (__libc_strstr): This.
35544         (strstr): New strong alias of __libc_strstr.
35545         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35546         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35547         __redirect_time.
35548         Include <time.h>.
35549         (__libc_time): New prototype.
35550         (time_ifunc): Replace time with __libc_time.
35551         (time): New strong alias and hidden definition of __libc_time.
35552         (__GI_time): Remove strong alias.
35553         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35554         Include <stddef.h>.
35555         (memmove): Redefined to __redirect_memmove.
35556         (__memmove_sse2): Use typeof __redirect_memmove.
35557         (__memmove_ssse3): Likewise.
35558         (__memmove_ssse3_back): Likewise.
35559         (__libc_memmove): New prototype.
35560         (memmove): Renamed to ...
35561         (__libc_memmove): This.
35562         (memmove): New strong alias of __libc_memmove.
35564 2012-08-08  Mark Salter  <msalter@redhat.com>
35566         * elf/elf.h
35567         (R_MN10300_TLS_GD): Define.
35568         (R_MN10300_TLS_LD): Likewise.
35569         (R_MN10300_TLS_LDO): Likewise.
35570         (R_MN10300_TLS_GOTIE): Likewise.
35571         (R_MN10300_TLS_IE): Likewise.
35572         (R_MN10300_TLS_LE): Likewise.
35573         (R_MN10300_TLS_DTPMOD): Likewise.
35574         (R_MN10300_TLS_DTPOFF): Likewise.
35575         (R_MN10300_TLS_TPOFF): Likewise.
35576         (R_MN10300_SYM_DIFF): Likewise.
35577         (R_MN10300_ALIGN): Likewise.
35578         (R_MN10300_NUM): Update.
35580 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35583         Remove.
35585 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35587         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35589         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35590         sysdeps/unix -> sysdeps/posix move.
35591         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35593 2012-08-07      Allan McRae     <allan@archlinux.org>
35595         [BZ #14303]
35596         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35597         (SUNOS_CPP): Likewise.
35598         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35599         not found.
35600         (open_input): Call CPP using execvp.
35602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35604         * sysdeps/unix/sysv/linux/kernel-features.h
35605         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35606         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35607         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35608         (__ASSUME_WAITID_SYSCALL): Likewise.
35609         * sysdeps/unix/sysv/linux/dl-execstack.c
35610         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35611         code unconditional.
35612         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35613         conditional code.
35614         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35615         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35616         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35617         code.
35618         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35619         unconditional.
35620         [__ASSUME_WAITID_SYSCALL]: Likewise.
35621         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35623 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35625         * sysdeps/unix/closedir.c: Renamed to ...
35626         * sysdeps/posix/closedir.c: ... here.
35627         * sysdeps/unix/dirfd.c: Renamed to ...
35628         * sysdeps/posix/dirfd.c: ... here.
35629         * sysdeps/unix/dirstream.h: Renamed to ...
35630         * sysdeps/posix/dirstream.h: ... here.
35631         * sysdeps/unix/fdopendir.c: Renamed to ...
35632         * sysdeps/posix/fdopendir.c: ... here.
35633         * sysdeps/unix/opendir.c: Renamed to ...
35634         * sysdeps/posix/opendir.c: ... here.
35635         * sysdeps/unix/readdir.c: Renamed to ...
35636         * sysdeps/posix/readdir.c: ... here.
35637         * sysdeps/unix/readdir_r.c: Renamed to ...
35638         * sysdeps/posix/readdir_r.c: ... here.
35639         * sysdeps/unix/rewinddir.c: Renamed to ...
35640         * sysdeps/posix/rewinddir.c: ... here.
35641         * sysdeps/unix/seekdir.c: Renamed to ...
35642         * sysdeps/posix/seekdir.c: ... here.
35643         * sysdeps/unix/telldir.c: Renamed to ...
35644         * sysdeps/posix/telldir.c: ... here.
35645         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35646         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35647         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35648         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35650         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35651         * bits/fcntl.h: ... here.
35653         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35654         not 0.
35655         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35656         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35657         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35658         (struct flock): Move l_start, l_len to the beginning.
35659         Use __pid_t for l_pid.
35660         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35661         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35662         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35663         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35664         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35665         [__USE_LARGEFILE64] (struct flock64): New type.
35666         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35668         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35669         * bits/dirent.h: ... here.
35671         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35672         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35674 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35676         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35677         Change from 2.6.0 to 2.6.16.
35678         * sysdeps/unix/sysv/linux/configure: Regenerated.
35679         * sysdeps/unix/sysv/linux/kernel-features.h
35680         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35681         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35682         version.
35683         (__ASSUME_UTIMES): Likewise.
35684         (__ASSUME_CLONE_STOPPED): Remove.
35685         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35686         architectures, not kernel version.
35687         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35688         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35689         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35690         (__ASSUME_WAITID_SYSCALL): Likewise.
35691         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35692         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35693         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35694         refer to older versions.
35696 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35698         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35699         Define alphasort64 as an alias.
35700         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35701         Define versionsort64 as an alias.
35702         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35703         Define scandir64 as an alias.
35704         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35705         Define scandirat64 as an alias.
35706         * dirent/alphasort64.c (alphasort64):
35707         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35708         * dirent/versionsort64.c: Likewise.
35709         * dirent/scandir64.c: Likewise.
35710         * dirent/scandirat64.c: Likewise.
35711         * sysdeps/wordsize-64/alphasort.c: File removed.
35712         * sysdeps/wordsize-64/alphasort64.c: File removed.
35713         * sysdeps/wordsize-64/scandir.c: File removed.
35714         * sysdeps/wordsize-64/scandir64.c: File removed.
35715         * sysdeps/wordsize-64/scandirat.c: File removed.
35716         * sysdeps/wordsize-64/scandirat64.c: File removed.
35717         * sysdeps/wordsize-64/versionsort.c: File removed.
35718         * sysdeps/wordsize-64/versionsort64.c: File removed.
35719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35720         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35722         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35724         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35728         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35730         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35732         [defined __arch64__ || defined __sparcv9]
35733         (__INO_T_MATCHES_INO64_T): New macro.
35734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35735         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35736         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35737         * sysdeps/unix/sysv/linux/bits/dirent.h
35738         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35739         (_DIRENT_MATCHES_DIRENT64): New macro.
35741         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35742         Define lockf64 as an alias.
35743         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35744         Define fseeko64 as an alias.
35745         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35746         Define ftello64 as an alias.
35747         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35748         Define _IO_fgetpos64 and fgetpos64 as aliases.
35749         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35750         Define _IO_fsetpos64 and fsetpos64 as aliases.
35751         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35752         Conditionalize body on this.
35753         * libio/fseeko64.c: Likewise.
35754         * libio/ftello64.c: Likewise.
35755         * libio/iofgetpos64.c: Likewise.
35756         * libio/iofsetpos64.c: Likewise.
35757         * sysdeps/wordsize-64/lockf.c: File removed.
35758         * sysdeps/wordsize-64/lockf64.c: File removed.
35759         * sysdeps/wordsize-64/fseeko.c: File removed.
35760         * sysdeps/wordsize-64/fseeko64.c: File removed.
35761         * sysdeps/wordsize-64/ftello.c: File removed.
35762         * sysdeps/wordsize-64/ftello64.c: File removed.
35763         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35764         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35765         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35766         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35768         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35770         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35772         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35774         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35776         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35778         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35780         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35782         [defined __arch64__ || defined __sparcv9]
35783         (__OFF_T_MATCHES_OFF64_T): New macro.
35784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35785         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35787         (__OFF_T_MATCHES_OFF64_T): New macro.
35789 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35791         * stdlib/secure-getenv.c (__secure_getenv): Replace
35792         GLIBC_2_16 with GLIBC_2_17.
35794 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35797         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35799 2012-08-03  David S. Miller  <davem@davemloft.net>
35801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35803 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35806         Remove.
35807         (__ASSUME_CORRECT_SI_PID): Likewise.
35808         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35809         (__ASSUME_TMPFS_NAME): Likewise.
35810         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35811         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35812         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35813         (HAVE_AUX_SECURE): Make definition unconditional.
35814         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35815         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35817 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35819         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35820         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35821         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35822         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35823         __eloop_threshold instead of SYMLOOP_MAX.
35825         * sysdeps/generic/eloop-threshold.h: New file.
35826         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35827         of MAXSYMLINKS.
35828         * elf/chroot_canon.c (chroot_canon): Likewise.
35830 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35832         [BZ #13717]
35833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35834         Change to 2.6.0 everywhere.
35835         * sysdeps/unix/sysv/linux/configure: Regenerated.
35836         * sysdeps/unix/sysv/linux/kernel-features.h
35837         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35838         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35839         kernel versions.
35840         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35841         (__ASSUME_FUTEX_REQUEUE): Remove.
35842         (__ASSUME_STATFS64): Define unconditionally.
35843         (__ASSUME_AT_SECURE): Likewise.
35844         (__ASSUME_CORRECT_SI_PID): Likewise.
35845         (__ASSUME_TGKILL): Define without depending on kernel version for
35846         i386.
35847         (__ASSUME_UTIMES): Likewise.
35848         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35849         kernel version.
35850         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35851         (__ASSUME_TMPFS_NAME): Likewise.
35852         * README: Update reference to Linux kernel versions.
35854 2012-08-02  Marek Polacek  <polacek@redhat.com>
35856         [BZ# 14150]
35857         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35858         libc_cv_asm_type_prefix with %.
35859         * configure: Regenerated.
35860         * include/libc-symbols.h: Remove comment about
35861         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35862         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35863         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35864         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35865         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35866         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35867         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35868         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35869         * elf/tst-unique2mod1.c: Likewise.
35870         * elf/tst-unique1mod2.c: Likewise.
35871         * elf/tst-unique1mod1.c: Likewise.
35872         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35873         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35874         Replace ASM_TYPE_DIRECTIVE with .type.
35875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35876         * sysdeps/i386/sysdep.h: Likewise.
35877         * sysdeps/x86_64/sysdep.h: Likewise.
35878         * sysdeps/sh/sysdep.h: Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35880         Do not define ASM_TYPE_DIRECTIVE.
35881         * sysdeps/powerpc/sysdep.h: Likewise.
35882         * sysdeps/powerpc/powerpc32/sysdep.h:
35883         Replace ASM_TYPE_DIRECTIVE with .type.
35884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35885         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35886         * sysdeps/i386/fpu/e_powf.S: Likewise.
35887         * sysdeps/i386/fpu/e_expl.S: Likewise.
35888         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35889         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35890         * sysdeps/i386/fpu/e_pow.S: Likewise.
35891         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35892         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35893         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35894         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35895         * sysdeps/i386/fpu/e_log2.S: Likewise.
35896         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35897         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35898         * sysdeps/i386/fpu/e_powl.S: Likewise.
35899         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35900         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35901         * sysdeps/i386/fpu/e_logl.S: Likewise.
35902         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35903         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35904         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35905         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35907         * sysdeps/i386/fpu/e_log.S: Likewise.
35908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35909         * sysdeps/i386/fpu/e_logf.S: Likewise.
35910         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35911         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35912         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35913         * sysdeps/i386/fpu/e_log10.S: Likewise.
35914         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35915         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35916         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35917         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35918         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35919         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35920         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35921         * sysdeps/i386/i686/strtok.S: Likewise.
35922         * sysdeps/i386/i386-mcount.S: Likewise.
35923         * sysdeps/i386/strtok.S: Likewise.
35924         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35925         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35926         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35927         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35928         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35929         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35930         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35931         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35932         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35933         * sysdeps/x86_64/_mcount.S: Likewise.
35934         * sysdeps/x86_64/strtok.S: Likewise.
35935         * sysdeps/sh/_mcount.S: Likewise.
35937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35939         * libio/iofopen.c: Include <fcntl.h>.
35940         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35941         (_IO_fopen64, fopen64): Define as aliases.
35942         * libio/iofopen64.c: Include <fcntl.h>.
35943         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35944         Conditionalize body on this.
35945         * sysdeps/wordsize-64/iofopen.c: File removed.
35946         * sysdeps/wordsize-64/iofopen64.c: File removed.
35948 2012-08-01  Marek Polacek  <polacek@redhat.com>
35950         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35951         Use dlfcn directly instead of a variable.
35952         (binfmt-subdir): Do not define.
35953         (dlfcn): Likewise.
35955 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35958         Remove all definitions.
35959         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35960         <kernel-features.h>.
35961         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35962         (miss_F_GETOWN_EX): Remove all definitions.
35963         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35964         macro definition.
35965         [!__ASSUME_FCNTL64]: Remove conditional code.
35966         [__ASSUME_FCNTL64]: Make code unconditional.
35967         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35968         <kernel-features.h>.
35969         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35970         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35971         (lockf64) [__NR_fcntl64]: Make code unconditional.
35972         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35974         * sysdeps/unix/sysv/linux/kernel-features.h
35975         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35976         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35977         Make code unconditional.
35978         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35979         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35981         [__NR_vfork]: Make code unconditional.
35982         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35983         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35985         [__NR_vfork]: Make code unconditional.
35986         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35987         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35989 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35991         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35992         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35994         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35995         Define mkstemp64 as an alias.
35996         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35997         Define mkstemps64 as an alias.
35998         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35999         Define mkostemp64 as an alias.
36000         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36001         Define mkostemps64 as an alias.
36002         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36003         Conditionalize body on this.
36004         * misc/mkostemp64.c: Likewise.
36005         * misc/mkostemps64.c: Likewise.
36006         * misc/mkstemps64.c: Likewise.
36007         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36008         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36009         * sysdeps/wordsize-64/mkostemp.c: File removed.
36010         * sysdeps/wordsize-64/mkstemp.c: File removed.
36011         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36013         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36016         [BZ #14138]
36017         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36018         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36019         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36020         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36022         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36023         compat_symbol macros from <shlib-compat.h> rather than the underlying
36024         default_symbol_version and symbol_version macros, so that DEFAULT
36025         lines in shlib-versions are respected.
36026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36028 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36030         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36031         Declare with warn_unused_result.
36032         (setgid, setregid, setegid, setresgid): Likewise.
36033         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36034         Likewise.
36035         * WUR-REPORT: Remove set*id functions.
36037 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36039         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36041 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36043         [BZ #10191]
36044         * include/sys/socket.h (__libc_accept, __libc_accept4):
36045         Add attribute_hidden.
36046         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36048         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36049         use of PTR_MANGLE.
36050         * inet/getnetgrent_r.c (setup): Likewise.
36052         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36054 2012-07-31  David S. Miller  <davem@davemloft.net>
36056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36058 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36060         [BZ #13629]
36061         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36062         value between 1.0 and 2.0 and smaller part has absolute value less
36063         than 1.0.
36064         * math/s_clog10.c (__clog10): Likewise.
36065         * math/s_clog10f.c (__clog10f): Likewise.
36066         * math/s_clog10l.c (__clog10l): Likewise.
36067         * math/s_clogf.c (__clogf): Likewise.
36068         * math/s_clogl.c (__clogl): Likewise.
36069         * math/libm-test.inc (clog_test): Add more tests.
36070         (clog10_test): Likewise.
36071         * sysdeps/i386/fpu/libm-test-ulps: Update.
36072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36074 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36076         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36077         Exit with zero in case no suitable GID is found, and write a
36078         message to standard error.
36080 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36082         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36083         rather than to 1.
36084         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36085         (MAXPATHLEN): Removed.
36086         (NOGROUP, NODEV): New macros.
36087         (setbit, clrbit, isset, isclr): New macros.
36088         (howmany, roundup, powerof2): New macros.
36089         (DEV_BSIZE): New macro.
36091         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36092         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36094         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36095         definition on [!__NO_LONG_DOUBLE_MATH].
36097         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36098         PTR_MANGLE and PTR_DEMANGLE.
36100         * socket/accept4.c (accept4): Rename to __libc_accept4.
36101         Define accept4 as a weak alias.
36103         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36104         on [_DIRENT_HAVE_D_TYPE].
36105         * io/ftw.c (ftw_dir): Likewise.
36107         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36109         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36111         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36112         Use the BSD numbers rather than the arbitrary ones we had.
36113         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36114         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36115         (SIGXCPU, SIGXFSZ): New macros.
36116         (_NSIG): Now 32.
36118         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36119         initializer on [_LIBC_REENTRANT].
36121         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36122         definitions inside [_POSIX_MAPPED_FILES].
36124         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36126         * dirent/opendir.c: Include <fcntl.h>.
36128         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36129         (__libc_getspecific): Likewise.
36130         (__libc_key_create): Likewise.
36132         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36133         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36134         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36135         (tmpfile64): Define as alias.
36136         * sysdeps/wordsize-64/tmpfile.c: File removed.
36137         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36139         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36141         * stdio-common/vfscanf.c: Include <stdbool.h>.
36142         * nss/makedb.c: Likewise.
36143         * stdio-common/_i18n_number.h: Likewise.
36144         * argp/argp-help.c: Likewise.
36145         * posix/wordexp.c: Likewise.
36146         * sysdeps/posix/spawni.c: Likewise.
36147         * nss/nss_files/files-initgroups.c: Likewise.
36148         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36149         * nss/nss_files/files-initgroups.c: Likewise.
36150         * nss/nss_db/db-netgrp.c: Likewise.
36151         * nss/nss_db/db-initgroups.c: Likewise.
36152         * io/fchmodat.c: Include <sys/stat.h>.
36154         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36155         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36157         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36158         [HAVE_MMAP].
36160         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36161         Add multiple inclusion protection.
36163 2012-07-27  David S. Miller  <davem@davemloft.net>
36165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36167 2012-07-27  Gary Benson  <gbenson@redhat.com>
36169         [BZ #14298]
36170         * elf/rtld.c: Include <stap-probe.h>.
36171         (dl_main): Added static probes "init_start" and "init_complete".
36172         * elf/dl-load.c: Include <stap-probe.h>.
36173         (lose): Take new parameter "nsid".
36174         Added static probe "map_failed".
36175         (_dl_map_object_from_fd): Pass namespace id to lose.
36176         Added static probe "map_start".
36177         (open_verify): Pass namespace id to lose.
36178         * elf/dl-open.c: Include <stap-probe.h>.
36179         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36180         and "reloc_complete".
36181         * elf/dl-close.c: Include <stap-probe.h>.
36182         (_dl_close_worker): Added static probes "unmap_start" and
36183         "unmap_complete".
36184         * elf/rtld-debugger-interface.txt: New file documenting the above.
36186 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36188         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36189         rather than a string variable.
36190         * sunrpc/rpc_main.c (h_output): Likewise.
36191         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36193 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36195         * inet/check_native.c: New file.
36197 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36199         [BZ #13629]
36200         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36201         if larger part has absolute value 1.0.
36202         * math/s_clog10.c (__clog10): Likewise.
36203         * math/s_clog10f.c (__clog10f): Likewise.
36204         * math/s_clog10l.c (__clog10l): Likewise.
36205         * math/s_clogf.c (__clogf): Likewise.
36206         * math/s_clogl.c (__clogl): Likewise.
36207         * math/libm-test.inc (clog_test): Add more tests.
36208         (clog10_test): Likewise.
36209         * sysdeps/i386/fpu/libm-test-ulps: Update.
36210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36212         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36213         (pltexit): Likewise.
36214         (La_regs): Likewise.
36215         (La_retval): Likewise.
36216         (int_retval): Likewise.
36217         Update #error for removed macros to refer only to definitions in
36218         tst-audit.h.
36219         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36220         macro.
36221         (pltexit): Likewise.
36222         (La_regs): Likewise.
36223         (La_retval): Likewise.
36224         (int_retval): Likewise.
36225         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36226         macro.
36227         (pltexit): Likewise.
36228         (La_regs): Likewise.
36229         (La_retval): Likewise.
36230         (int_retval): Likewise.
36231         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36232         macro.
36233         (pltexit): Likewise.
36234         (La_regs): Likewise.
36235         (La_retval): Likewise.
36236         (int_retval): Likewise.
36237         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36238         macro.
36239         (pltexit): Likewise.
36240         (La_regs): Likewise.
36241         (La_retval): Likewise.
36242         (int_retval): Likewise.
36243         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36244         macro.
36245         (pltexit): Likewise.
36246         (La_regs): Likewise.
36247         (La_retval): Likewise.
36248         (int_retval): Likewise.
36249         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36250         macro.
36251         (pltexit): Likewise.
36252         (La_regs): Likewise.
36253         (La_retval): Likewise.
36254         (int_retval): Likewise.
36255         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36256         macro definitions in tst-audit.h.
36257         * sysdeps/i386/tst-audit.h: New file.
36258         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36259         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36260         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36261         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36262         * sysdeps/sh/tst-audit.h: Likewise.
36263         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36264         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36265         * sysdeps/x86_64/tst-audit.h: Likewise.
36267 2012-07-26  Andreas Jaeger  <aj@suse.de>
36269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36270         ptrace.
36272         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36273         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36274         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36275         PTRACE_O_MASK.
36276         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36277         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36278         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36280         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36281         value.
36283         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36284         _sigsys.
36285         (si_call_addr, si_syscall, si_arch): Define new macro.
36286         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36287         _sigsys.
36288         (si_call_addr, si_syscall, si_arch): Define new marcro.
36289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36290         _sigsys.
36291         (si_call_addr, si_syscall, si_arch): Define new macro.
36292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36293         _sigsys.
36294         (si_call_addr, si_syscall, si_arch): Define new macro.
36296 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36298         [BZ #13717]
36299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36300         Change to 2.4.21 where previously 2.4.1.
36301         * sysdeps/unix/sysv/linux/configure: Regenerated.
36302         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36303         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36304         Linux kernel version.
36305         (__ASSUME_STD_AUXV): Remove.
36306         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36307         kernel version.
36308         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36309         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36310         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36311         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36312         (__ASSUME_NETLINK_SUPPORT): Likewise.
36313         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36314         (__no_netlink_support): Remove conditional definition.
36315         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36316         Remove.
36317         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36318         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36319         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36320         (if_nameindex_ioctl): Remove.
36321         (if_nameindex_netlink): Do not handle __no_netlink_support.
36322         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36323         code.
36324         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36325         Remove conditional code.
36326         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36327         code.
36328         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36329         unconditional.
36330         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36331         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36332         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36333         Remove.
36334         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36335         [!__ASSUME_STD_AUXV]: Remove conditional code.
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36337         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36338         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36340         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36341         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36342         code.
36343         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36345         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36346         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36347         conditional code.
36348         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36350         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36351         code.
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36353         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36354         conditional code.
36355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36356         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36357         code unconditional.
36358         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36359         conditional code.
36360         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36361         unconditional.
36362         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36363         conditional code.
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36365         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36366         unconditional.
36367         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36368         conditional code.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36370         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36371         code unconditional.
36372         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36373         conditional code.
36374         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36375         unconditional.
36376         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36377         conditional code.
36378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36379         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36380         code unconditional.
36381         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36382         conditional code.
36383         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36384         unconditional.
36385         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36386         conditional code.
36388 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
36390         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36391         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36392         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36393         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36394         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36395         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36396         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36397         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36398         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36399         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36400         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36401         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36402         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36403         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36404         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36405         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36406         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36407         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36408         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36410         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36411         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36414 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36416         * Versions.def: Add GLIBC_2.17.
36417         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36418         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36419         Introduce __libc_secure_getenv.
36420         * stdlib/Versions (2.17): Add secure_getenv
36421         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36422         * stdlib/secure-getenv.c: Rename __secure_getenv to
36423         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36424         symbol __secure_getenv for GLIBC_2.0.
36425         * stdlib/tst-secure-getenv.c: New.
36426         * stdlib/Makefile (tests): Add testcase.
36427         * manual/startup.texi (Environment Access): Document
36428         secure_getenv.
36429         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36430         __libc_secure_getenv.
36431         * inet/ruserpass.c (ruserpass): Likewise.
36432         * malloc/mtrace.c (mtrace): Likewise.
36433         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36434         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36435         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36436         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36437         HAVE_SECURE_GETENV.
36438         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36439         __secure_getenv to __libc_secure_getenv.
36440         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36442         Likewise.
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36444         Likewise.
36445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36453 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36455         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36456         (struct La_i86_retval): Likewise.
36457         (struct La_x86_64_regs): Likewise.
36458         (struct La_x86_64_retval): Likewise.
36459         (struct La_x32_regs): Likewise.
36460         (struct La_x32_retval): Likewise.
36461         (struct La_ppc32_regs): Likewise.
36462         (struct La_ppc32_retval): Likewise.
36463         (struct La_ppc64_regs): Likewise.
36464         (struct La_ppc64_retval): Likewise.
36465         (struct La_sh_regs): Likewise.
36466         (struct La_sh_retval): Likewise.
36467         (struct La_s390_32_regs): Likewise.
36468         (struct La_s390_32_retval): Likewise.
36469         (struct La_s390_64_regs): Likewise.
36470         (struct La_s390_64_retval): Likewise.
36471         (struct La_sparc32_regs): Likewise.
36472         (struct La_sparc32_retval): Likewise.
36473         (struct La_sparc64_regs): Likewise.
36474         (struct La_sparc64_retval): Likewise.
36475         (struct audit_ifaces): Remove architecture-specific pltenter and
36476         pltexit members.
36477         * sysdeps/i386/ldsodefs.h: New file.
36478         * sysdeps/powerpc/ldsodefs.h: Likewise.
36479         * sysdeps/s390/ldsodefs.h: Likewise.
36480         * sysdeps/sh/ldsodefs.h: Likewise.
36481         * sysdeps/sparc/ldsodefs.h: Likewise.
36482         * sysdeps/x86_64/ldsodefs.h: Likewise.
36484 2012-07-25  Marek Polacek  <polacek@redhat.com>
36486         [BZ #6808]
36487         * math/libm-test.inc (yn_test): Add another test.
36488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36489         to ERANGE when the result is +-Inf.
36490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36493         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36495 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36497         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36498         equal to 0.
36499         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36500         clock_t.
36501         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36503 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36505         * configure.in <sysdeps resolving>: Correct printing
36506         Implies_before.
36507         * configure: Regenerate.
36509 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36511         * math/w_ilogb.c: Include <limits.h>.
36512         * math/w_ilogbl.c: Likewise.
36514 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36516         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36517         va_copy.  Document allowing for unavailable va_copy only as
36518         pre-C99 compatibility.
36519         * manual/string.texi (Copying and Concatenation): Use va_copy
36520         instead of __va_copy in concat example.
36522 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36524         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36525         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36526         it if not null.
36528         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36529         with O_NOLINK passed to __file_name_lookup.
36531         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36532         with O_NOLINK passed to __file_name_lookup.
36534         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36535         negative N or less than NGIDS.
36537         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36538         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36539         enough.  Use memcpy instead of strncpy.
36541 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36543         * elf/Makefile (check-data): Remove.
36544         (localplt.data): New vpath directive.
36545         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36546         instead of $(check-data).
36547         * scripts/data/localplt-generic.data: Move to ...
36548         * sysdeps/generic/localplt.data: ... here.
36549         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36550         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36551         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36553         ... here.
36554         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36556         ... here.
36557         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36559         ... here.
36560         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36562         ... here.
36563         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36565         ... here.
36566         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36568         ... here.
36570 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36572         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36573         PPC32 and PPC64 files.
36574         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36575         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36577 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36579         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36580         __makecontext_ret to ...
36581         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36582         ... here and call exit if uc_link is NULL.  New file.
36583         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36584         __makecontext_ret.S.
36585         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36586         __makecontext_ret to ...
36587         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36588         ... here and call exit if uc_link is NULL.  New file.
36589         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36590         __makecontext_ret.S.
36592 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36594         * elf/elf.h (R_390_IRELATIVE): New definition.
36595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36596         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36597         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36599         (elf_machine_lazy_rel): Likewise.
36600         * sysdeps/s390/dl-irel.h: New file.
36601         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36602         * sysdeps/s390/s390-64/memset.S: New asm code.
36603         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36604         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36605         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36606         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36607         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36608         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36610         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36611         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36612         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36613         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36614         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36615         * sysdeps/s390/s390-32/memset.S: New asm code.
36616         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36618 2012-07-17  Marek Polacek  <polacek@redhat.com>
36620         [BZ #14349]
36621         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36622         * sysdeps/s390/s390-64/configure.in: Likewise.
36623         * sysdeps/sparc/configure.in: Likewise.
36624         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36625         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36626         * sysdeps/i386/configure.in: Likewise.
36627         * sysdeps/x86_64/configure.in: Likewise.
36628         * sysdeps/sh/configure.in: Likewise.
36629         * sysdeps/s390/s390-32/configure: Regenerated.
36630         * sysdeps/s390/s390-64/configure: Likewise.
36631         * sysdeps/x86_64/configure: Likewise.
36632         * sysdeps/sh/configure: Likewise.
36633         * sysdeps/powerpc/powerpc64/configure: Likewise.
36634         * sysdeps/powerpc/powerpc32/configure: Likewise.
36635         * sysdeps/sparc/configure: Likwise.
36636         * sysdeps/i386/configure: Likewise.
36638         * elf/dl-open.c: Comment fixes.
36640 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36642         * Makefile [CXX] (check-data): Remove.
36643         [CXX] (c++-types.data): New vpath directive.
36644         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36645         vpath.  Do not allow for C++ type data being missing.
36646         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36647         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36648         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36649         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36650         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36651         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36652         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36654         ... here.
36655         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36657         ... here.
36658         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36660         ... here.
36661         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36663         ... here.
36664         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36666         ... here.
36667         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36669         ... here.
36670         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36672         ... here.
36673         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36676         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36677         definitions to architecture-specific files.
36678         (TLS_IE): Likewise.
36679         (TLS_LD): Likewise.
36680         (TLS_GD): Likewise.
36681         * sysdeps/i386/tls-macros.h: New file.
36682         * sysdeps/powerpc/tls-macros.h: Likewise.
36683         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36684         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36685         * sysdeps/sh/tls-macros.h: Likewise.
36686         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36687         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36688         * sysdeps/x86_64/tls-macros.h: Likewise.
36690 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36692         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36693         zero value for regular exit case.
36695         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36696         (__start_context): Preserve zero value for regular exit case.
36698 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36699             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36701         * manual/setjmp.texi (setcontext): Clarify normal process
36702         termination when uc_link is the null pointer.
36703         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36704         exit call.
36706 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36708         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36709         preprocessor.  Test for each exception mask separately.
36711 2012-07-16  Andreas Jaeger  <aj@suse.de>
36713         * po/ru.po: Update from translation team.
36715 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36717         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36718         equal to 0.
36719         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36720         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36721         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36722         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36725 2012-07-13  Andreas Jaeger  <aj@suse.de>
36727         * po/fr.po: Update from translation team.
36729 2012-07-12  Marek Polacek  <polacek@redhat.com>
36731         [BZ #14173]
36732         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36733         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36734         loop condition.
36736 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36738         [BZ #13717]
36739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36740         Change to 2.4.1 where previously 2.4.0.
36741         * sysdeps/unix/sysv/linux/configure: Regenerated.
36742         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36743         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36744         version.
36745         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36746         (__ASSUME_AT_CLKTCK): Remove.
36747         (__ASSUME_AT_PAGESIZE): Likewise.
36748         (__ASSUME_AT_XID): Likewise.
36749         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36750         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36751         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36752         unconditionally.
36753         (HAVE_AUX_PAGESIZE): Likewise.
36754         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36755         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36756         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36758 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36760         [BZ #14307]
36761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36762         the temporary buffer used to invoke __gethostbyname2_r,
36763         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36764         host_data / struct gaih_addrtuple.
36765         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36766         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36767         header file nss/nsswitch.h.
36768         * nss/nsswitch.h (global scope): Add definition of implementation
36769         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36770         resolv/nss_dns/dns-host.c).
36772 2012-07-11  Andreas Jaeger  <aj@suse.de>
36774         * po/fr.po: Update from translation team.
36776         * po/sv.po: Update from translation team
36777         * po/fr.po: Another update from translation team.
36779 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36782         for subnormals or multiply small sinh result by itself.
36783         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36786 2012-07-11  David S. Miller  <davem@davemloft.net>
36788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36790 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36792         [BZ #14347]
36793         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36794         (INTERNAL_MARK): Shift it here.
36796 2012-07-10  Marek Polacek  <polacek@redhat.com>
36798         [BZ #14151]
36799         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36800         libc_cv_asm_global_directive with .globl.
36801         * configure: Regenerated.
36802         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36803         with .globl.
36804         * sysdeps/i386/configure: Regenerated.
36805         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36806         with .globl.
36807         * sysdeps/x86_64/configure: Regenerated.
36808         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36809         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36810         * elf/tst-unique2mod2.c: Likewise.
36811         * elf/tst-unique2mod1.c: Likewise.
36812         * elf/tst-unique1mod2.c: Likewise.
36813         * elf/tst-unique1mod1.c: Likewise.
36814         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36815         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36817         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36818         * sysdeps/mach/sysdep.h: Likewise.
36819         * sysdeps/i386/sysdep.h: Likewise.
36820         * sysdeps/i386/i386-mcount.S: Likewise.
36821         * sysdeps/x86_64/_mcount.S: Likewise.
36822         * sysdeps/x86_64/sysdep.h: Likewise.
36823         * sysdeps/sh/_mcount.S: Likewise.
36824         * sysdeps/sh/sysdep.h: Likewise.
36825         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36826         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36827         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36829         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36830         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36831         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36832         * locale/localeinfo.h: Likewise.
36833         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36834         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36836 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36838         [BZ #14336]
36839         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36840         system".
36841         * manual/message.texi (The Uniforum approach): Likewise.
36842         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36843         (glibc iconv Implementation): Likewise.
36845 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36847         [BZ #14337]
36848         * math/s_clog.c (__clog): Avoid scaling a value down where that
36849         could result in underflow.
36850         * math/s_clog10.c (__clog10): Likewise.
36851         * math/s_clog10f.c (__clog10f): Likewise.
36852         * math/s_clog10l.c (__clog10l): Likewise.
36853         * math/s_clogf.c (__clogf): Likewise.
36854         * math/s_clogl.c (__clogl): Likewise.
36855         * math/libm-test.inc (clog_test): Add more tests.
36856         (clog10_test): Likewise.
36857         * sysdeps/i386/fpu/libm-test-ulps: Update.
36858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36860 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36862         [BZ #14283]
36863         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36864         by 7 not 8 to examine high bit of fractional part.
36866         [BZ #14042]
36867         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36868         for call to __mcount_internal.
36869         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36870         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36871         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36873 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36875         [BZ #14154]
36876         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36877         approximation for values within 0x1p-13f of an odd multiple of
36878         pi/4.
36879         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36880         exception.  Add more tests.
36881         * sysdeps/i386/fpu/libm-test-ulps: Update.
36883         [BZ #6778]
36884         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36885         inputs and return -1 for them.  Do not check for +Inf in case not
36886         reachable for +Inf.
36887         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36888         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36890         and return -1 for them.  Do not check for +Inf in case not
36891         reachable for +Inf.
36892         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36893         define.
36894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36895         and return -1 for them.  Do not check for +Inf in case not
36896         reachable for +Inf.
36897         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
36898         spurious underflow.
36899         * sysdeps/i386/fpu/libm-test-ulps: Update.
36900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36902 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
36904         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36906 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36908         [BZ #14157]
36909         [BZ #14331]
36910         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36911         could result in spurious underflow.  Scale down values above
36912         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36913         * math/s_csqrtf.c (__csqrtf): Likewise.
36914         * math/s_csqrtl.c (__csqrtl): Likewise.
36915         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36916         spurious underflow.
36917         * sysdeps/i386/fpu/libm-test-ulps: Update.
36918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36920 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36922         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36923         xopen-msg.sed.
36924         * catgets/xopen-msg.awk: New file.
36925         * catgets/xopen-msg.sed: Removed.
36927         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36928         po2text.sed.
36929         * intl/po2test.awk: New file.
36930         * intl/po2test.sed: Removed.
36932 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36934         [BZ #14328]
36935         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36936         or multiply small sinh result by itself.
36937         * math/s_ctanf.c (__ctanf): Likewise.
36938         * math/s_ctanh.c (__ctanh): Likewise.
36939         * math/s_ctanhf.c (__ctanhf): Likewise.
36940         * math/s_ctanhl.c (__ctanhl): Likewise.
36941         * math/s_ctanl.c (__ctanl): Likewise.
36942         * math/libm-test.inc (ctan_test_tonearest): New function.
36943         (ctan_test_towardzero): Likewise.
36944         (ctan_test_downward): Likewise.
36945         (ctan_test_upward): Likewise.
36946         (ctanh_test_tonearest): Likewise.
36947         (ctanh_test_towardzero): Likewise.
36948         (ctanh_test_downward): Likewise.
36949         (ctanh_test_upward): Likewise.
36950         (main): Call these new functions.
36951         * sysdeps/i386/fpu/libm-test-ulps: Update.
36952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36954 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36956         * .gitignore: Delete /ports entry.
36958 2012-07-03  Andreas Jaeger  <aj@suse.de>
36960         * po/bg.po: Update from translation team.
36961         * po/cs.po: Likewise.
36962         * po/de.po: Likewise.
36963         * po/hr.po: Likewise.
36964         * po/nl.pl: Likewise.
36965         * po/pl.po: Likewise.
36966         * po/vi.po: Likewise.
36968 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36970         * Makeconfig [!+link] (+link-before-libc): New variable.
36971         [!+link] (+link-after-libc): Likewise.
36972         [!+link] (+link-tests): Likewise.
36973         [!+link] (+link): Define in terms of $(+link-before-libc) and
36974         $(+link-after-libc).
36975         [!+link-static] (+link-static-before-libc): New variable.
36976         [!+link-static] (+link-static-after-libc): Likewise.
36977         [!+link-static] (+link-static-tests): Likewise.
36978         [!+link-static] (+link-static): Define in terms of
36979         $(+link-static-before-libc) and $(+link-static-after-libc).
36980         [build-shared] (link-libc-before-gnulib): New variable.
36981         [build-shared] (link-libc-tests): Likewise.
36982         [build-shared] (link-libc): Define in terms of
36983         $(link-libc-before-gnulib).
36984         [!build-shared] (link-libc-tests): New variable.
36985         (link-libc-static-tests): New variable.
36986         [!gnulib] (gnulib-arch): New variable.
36987         [!gnulib] (gnulib-tests): Likewise.
36988         [!gnulib] (static-gnulib-arch): Likewise.
36989         [!gnulib] (static-gnulib-tests): Likewise.
36990         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36991         Define with "=" instead of ":=".
36992         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36993         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36994         * Rules (binaries-all-notests): New variable.
36995         (binaries-all-tests): Likewise.
36996         (binaries-static-notests): Likewise.
36997         (binaries-static-tests): Likewise.
36998         (binaries-all): Define using $(binaries-all-notests) and
36999         $(binaries-all-tests).
37000         (binaries-static): Define using $(binaries-static-notests) and
37001         $(binaries-static-tests).
37002         (binaries-shared-tests): New variable.
37003         (binaries-shared-notests): Likewise.
37004         (binaries-shared): Remove variable.
37005         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37006         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37007         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37008         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37009         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37010         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37011         * elf/Makefile (sln-modules): New variable.
37012         (extra-objs): Add $(sln-modules:=.o).
37013         (ldconfig-modules): Add static-stubs.
37014         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37015         * elf/static-stubs.c: New file.
37017         [BZ #14283]
37018         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37019         by 7 not 8 to examine high bit of fractional part.  Use volatile
37020         variables when splitting into final array of floats if
37021         __FLT_EVAL_METHOD__ != 0.
37022         * math/libm-test.inc (cos_test): Add another test.
37023         (sin_test): Likewise.
37024         * sysdeps/i386/fpu/libm-test-ulps: Update.
37026         [BZ #14273]
37027         * math/libm-test.inc (cosh_test): Add more tests.
37029         * version.h (RELEASE): Set to "development".
37030         (VERSION): Set to "2.16.90".
37032 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37034         * NEWS: Update copyright. Remove last-updated date.
37035         Mention math library bug fixes and timezone data changes.
37036         * README: Mention GNU/Hurd, x32, and HPPA support status.
37038 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37040         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37042 2012-06-27  Andreas Jaeger  <aj@suse.de>
37044         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37046 2012-06-25  Andreas Jaeger  <aj@suse.de>
37048         * sysdeps/s390/fpu/libm-test-ulps: Update.
37050 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37051             Thomas Schwinge  <thomas@codesourcery.com>
37053         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37054         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37056         fanotify_mark.
37058 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37060         * sysdeps/mach/start.c: Remove file.
37061         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37062         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37063         * sysdeps/sh/init-first.c: Likewise.
37065         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37066         registers for frame unwinding purposes, add CFI directives.
37067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37068         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37069         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37070         Likewise.
37072         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37073         __fortify_fail returning.
37074         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37076         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37077         sysdeps/sh/____longjmp_chk.S.
37078         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37079         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37080         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37081         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37083         * sysdeps/sh/abort-instr.h: New file.
37084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37085         process in case exit returns.
37087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37088         initialize the GOT register before use.
37090         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37091         calculation of ARGC > 4.
37093         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37094         meaningful names to some local labels.
37096 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37097             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37099         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37100         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37101         (__arch_compare_and_exchange_val_16_acq): Likewise.
37102         (__arch_compare_and_exchange_val_32_acq): Likewise.
37103         (atomic_exchange_and_add): Fix gUSA sequence.
37104         (atomic_add): Likewise.
37105         (atomic_add_negative): Likewise.
37106         (atomic_add_zero): Likewise.
37107         (atomic_bit_test_set): Likewise.
37109 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37111         [BZ #13579]
37112         * include/link.h (struct link_map): Add l_free_initfini.
37113         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37114         l_initfini.
37115         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37116         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37117         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37118         set.
37120 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37122         * configure.in: Use AC_LANG_SOURCE.
37123         * configure: Regenerate.
37125 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37127         * configure.in (libc_cv_localstatedir): New substituted variable.
37128         * configure: Regenerated.
37129         * config.make.in (localstatedir): New variable, substituted from
37130         libc_cv_localstatedir.
37131         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37132         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37133         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37134         * sysdeps/gnu/configure: Regenerated.
37136 2012-06-21  Jeff Law  <law@redhat.com>
37138         [BZ #14277]
37139         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37140         free.  Simplify list management for _LIBC case.
37142 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37144         [BZ #14273]
37145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37146         Clear sign bit of 64-bit integer value before comparing against
37147         overflow value.
37149         * sysdeps/mach/configure: Regenerated.
37151 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37153         [BZ #14278]
37154         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37156 2012-06-21  Jeff Law  <law@redhat.com>
37158         [BZ #13882]
37159         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37160         uint16_t for elements in the "seen" array to avoid char overflows.
37161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37162         * elf/dl-open.c (dl_open_worker): Likewise.
37164 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37166         * scripts/list-sources.sh: Scan PORTS for translations.
37167         * po/libc.pot: Regenerated.
37169 2012-06-21  Andreas Jaeger  <aj@suse.de>
37171         [BZ #12194]
37172         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37173         warning.
37174         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37175         * bits/byteswap-16.h (__bswap_16): Likewise.
37176         * bits/byteswap.h (__bswap_constant_16): Likewise.
37178 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37180         [BZ #14117]
37181         * sysdeps/i386/fpu_control.h: Removed.
37182         * sysdeps/x86_64/fpu_control.h: Moved to ...
37183         * sysdeps/x86/fpu_control.h: Here.
37185         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37186         (_FPU_SETCW): Likewise.
37188 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37190         [BZ #14117]
37191         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37192         * sysdeps/x86/fpu/bits/mathinline.h: This.
37193         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37195         [BZ #14050]
37196         [BZ #14117]
37197         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37198         functions if __x86_64__ is defined.
37200 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37202         * string/endian.h: Add !__ASSEMBLER__ condition for including
37203         conversion interfaces.
37205 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37207         [BZ #14241]
37208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37209         of ABS(x) in calculating zero to negative powers other than odd
37210         integers.
37211         * math/libm-test.inc (pow_test): Add more tests.
37213 2012-06-15  Andreas Jaeger  <aj@suse.de>
37215         * manual/contrib.texi (Contributors): Update entry of Liubov
37216         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37217         Machado Filho.
37219 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37221         * string/string.h: Add __wur to GNU version of strerror_r.
37223 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37225         [BZ #14229]
37226         * string/Makefile (tests): Add tst-strtok_r.
37227         * string/tst-strtok_r.c: New file.
37228         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37229         RAX_LP/RDX_LP on SAVE_PTR.
37231 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37233         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37235 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37237         * libm_test.inc (csqrt_test): Allow more spurious underflow
37238         exceptions.
37239         (j0_test): Likewise.
37240         (j1_test): Likewise.
37241         (y0_test): Likewise.
37242         (y1_test): Likewise.
37244 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37246         * po/Makefile (libc.pot): Use UTF-8 charset.
37248 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37250         [BZ #14210]
37251         Suppress sign-conversion warning from FD_SET.
37252         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37253         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37254         not unsigned long int.
37255         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37257 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37259         [BZ #14050]
37260         [BZ #14117]
37261         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37262         __extern_always_inline instead of __extern_inline.
37263         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37264         (__signbit): Likewise.
37265         (__signbitl): Support C++ namespace.
37266         (lrintf): New inline function.
37267         (lrint): Likewise.
37268         (llrintf): Likewise.
37269         (llrint): Likewise.
37270         (fmaxf): Likewise.
37271         (fmax): Likewise.
37272         (fminf): Likewise.
37273         (fmin): Likewise.
37274         (rint): Likewise.
37275         (rintf): Likewise.
37276         (ceil): Likewise.
37277         (ceilf): Likewise.
37278         (floor): Likewise.
37279         (floorf): Likewise.
37280         (nearbyint): Likewise.
37281         (nearbyintf): Likewise.
37283 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37286         non-default versions.
37288 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37290         [BZ #14218]
37291         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37293 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37295         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37296         (FE_UPWARD, FE_DOWNWARD): Don't define.
37297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37298         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37300         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37301         reading it.
37302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37305 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37307         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37309         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37310         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37312 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37314         [BZ #14117]
37315         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37316         * sysdeps/i386/fpu/Implies: New file.
37317         * sysdeps/x86_64/fpu/Implies: Likewise.
37318         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37319         * sysdeps/x86/fpu/bits/fenv.h: This.
37321         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37322         __SSE_MATH__.
37324 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37326         [BZ #14134]
37327         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37328         character 0xffff that matches the last element of the
37329         conversion table.
37331 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37334         fmodl commit.
37336 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37339         values higher than 25.6283.
37341 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37344         subnormal exponent extraction and add some __builtin_expect.
37345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37346         Fix for subnormal mantissa calculation.
37348 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
37350         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37351         cpu2 is -1 and errno is not ENOSYS.
37353 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
37355         [BZ #14117]
37356         * sysdeps/i386/i486/bits/string.h: Renamed to ...
37357         * sysdeps/x86/bits/string.h: This.
37358         * sysdeps/x86_64/bits/string.h: Removed.
37360         * sysdeps/i386/i486/bits/string.h: Define inline functions only
37361         if not compiling for x86-64, but compiling for >= i486.
37363         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37364         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37366         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37367         New macro from Linux kernel 3.4.0.
37368         (FP_XSTATE_MAGIC2): Likewise.
37369         (FP_XSTATE_MAGIC2_SIZE): Likewise.
37370         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37371         (struct _fpx_sw_bytes): New struct.
37372         (struct _xsave_hdr): Likewise.
37373         (struct _ymmh_state): Likewise.
37374         (struct _xstate): Likewise.
37376         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37377         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37379         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37380         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37381         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37383         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37384         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37385         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37386         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37387         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37388         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37390 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37392         [BZ #13743]
37393         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37394         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37395         (sysdep_headers): Include sys/platform/ppc.h.
37396         * sysdeps/powerpc/test-gettimebase.c: Test for
37397         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37398         * manual/Makefile (appendices): Include platform.texi.
37399         * manual/contrib.texi (Contributors): Update @node pointers.
37400         * manual/maint.texi (Maintenance): Likewise.
37401         (Platform): New node.
37402         * manual/platform.texi: New file.  Document the new features.
37404 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37405             Jakub Jelinek  <jakub@redhat.com>
37407         [BZ #14188]
37408         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37409         where __builtin_expect is unavailable.
37411 2012-06-03  David S. Miller  <davem@davemloft.net>
37413         * stdlib/longlong.h: Updated from GCC.
37415 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37417         [BZ #14042]
37418         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37419         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37420         __mcount_internal.
37421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37422         (GLIBC_2.16): Likewise.
37424 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37426         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37428 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37431         (default-abi): New variable.
37432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37433         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37434         variable.
37435         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37436         Likewise.
37437         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37438         Likewise.
37439         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37440         Likewise.
37442         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37443         definition.  Document in comment.
37445 2012-06-01  David S. Miller  <davem@davemloft.net>
37447         * stdlib/longlong.h: Updated from GCC.
37449 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37451         [BZ #14117]
37452         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37453         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37454         sys/debugreg.h sys/io.h here.
37455         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37456         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37457         sys/io.h.
37458         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37459         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37460         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37461         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37462         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37463         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37465         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37466         Define only if __x86_64__ is defined.
37468 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37470         [BZ #14048]
37471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37472         Use int64_t for variable i.
37473         * math/libm-test.inc (fmod_test): Add more tests.
37475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37476         z computation is not scheduled after fetestexcept.
37477         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37478         Use math_force_eval instead of asm to ensure calculation scheduled
37479         before exception test.
37480         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37481         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37483 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37486         computation is not scheduled after fetestexcept.
37488 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37490         [BZ #14117]
37491         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37492         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37494 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37496         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37497         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37499 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37501         [BZ #14117]
37502         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37503         <bits/wordsize.h>.
37504         (__WCHAR_MIN): Support __WORDSIZE == 64.
37505         (__WCHAR_MAX): Likewise.
37507         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37510         [BZ #14183]
37511         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37512         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37514         [BZ #14117]
37515         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37516         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37519         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37521         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37522         Defined to 1 if __x86_64__ isn't defined.
37523         (_STAT_VER_LINUX_OLD): New.
37524         (st_atime): Remove duplicate.
37525         (st_mtime): Likewise.
37526         (st_ctime): Likewise.
37528 2012-05-31  David S. Miller  <davem@davemloft.net>
37530         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37531         entries.
37533 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37535         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37536         gen-libm-test.pl.
37538         [BZ #14132]
37539         * elf/dl-reloc.c: Include <_itoa.h>.
37540         (_dl_reloc_bad_type): Remove use of INTUSE.
37541         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37542         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37543         * stdio-common/psiginfo.c (psiginfo): Likewise.
37544         * stdio-common/psignal.c (psignal): Likewise.
37545         * string/strsignal.c (strsignal): Likewise.
37546         * include/signal.h (_sys_siglist): Declare hidden proto.
37547         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37548         INTVARDEF with libc_hidden_data_def.
37549         * stdio-common/itoa-udigits.c: Likewise.
37550         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37551         (_itoa_lower_digits_internal): Remove declaration.
37552         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37553         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37554         (_sys_sigabbrev_internal): Remove aliases.
37555         (_sys_siglist): Define hidden alias.
37557 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37560         bits/sysctl.h.
37562 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37564         [BZ #14117]
37565         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37566         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37568         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37569         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37570         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37571         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37572         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37573         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37575         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37576         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37577         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37579         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37580         with __addr.
37581         (insw): Likewise.
37582         (insl): Likewise.
37583         (outsb): Likewise.
37584         (outsw): Likewise.
37585         (outsl): Likewise.
37587         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37588         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37589         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37591         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37592         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37593         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37595         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37596         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37598         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37599         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37601         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37602         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37606         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37608         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37609         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37610         to ...
37611         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37613         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37614         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37615         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37617         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37618         for x86-64.
37619         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37621 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37623         * math/math.h (M_El): Use two more decimal places.
37624         (M_LOG2El): Likewise.
37625         (M_LOG10El): Likewise.
37626         (M_LN2l): Likewise.
37627         (M_LN10l): Likewise.
37628         (M_PIl): Likewise.
37629         (M_PI_2l): Likewise.
37630         (M_PI_4l): Likewise.
37631         (M_1_PIl): Likewise.
37632         (M_2_PIl): Likewise.
37633         (M_2_SQRTPIl): Likewise.
37634         (M_SQRT2l): Likewise.
37635         (M_SQRT1_2l): Likewise.
37637 2012-05-31  David S. Miller  <davem@davemloft.net>
37639         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37640         values between float registers.
37641         * sysdeps/sparc/sparc64/memset.S: Likewise.
37642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37644 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37646         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37647         -D_FORTIFY_SOURCE=1.
37648         (CPPFLAGS-tst-longjmp_chk.c): Define.
37649         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37650         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37651         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37652         CFLAGS-tst-wchar-h.c.
37654 2012-05-31  Marek Polacek  <polacek@redhat.com>
37656         [BZ #14132]
37657         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37658         __endmntent_internal): Remove declaration.
37659         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37660         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37661         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37663 2012-05-30  David S. Miller  <davem@davemloft.net>
37665         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37666         (___Q_simulate_exceptions): Use real FP ops rather than writing
37667         into the %fsr.
37668         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37669         Likewise.
37671 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37673         [BZ #14117]
37674         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37675         * sysdeps/x86/bits/xtitypes.h: This.
37677         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37678         * sysdeps/x86/bits/wordsize.h: This.
37680         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37681         * sysdeps/x86/bits/huge_vall.h: This.
37683         * sysdeps/i386/bits/select.h: Removed.
37684         * sysdeps/x86_64/bits/select.h: Renamed to ...
37685         * sysdeps/x86/bits/select.h: This.
37687         * sysdeps/i386/bits/setjmp.h: Removed.
37688         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37689         * sysdeps/x86/bits/setjmp.h: This.
37691         * sysdeps/i386/bits/mathdef.h: Removed.
37692         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37693         * sysdeps/x86/bits/mathdef.h: This.
37695 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37697         [BZ #14132]
37698         * include/sys/socket.h (__connect_internal)
37699         (__libc_sa_len_internal): Remove declaration.
37700         (__connect, __libc_sa_len): Declare hidden_proto.
37701         (SA_LEN): Remove use of INTUSE.
37702         * socket/connect.c: Add libc_hidden_def.
37703         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37704         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37705         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37706         alias.
37707         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37708         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37709         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37710         of adding _internal alias.
37712 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37714         [BZ #14117]
37715         * sysdeps/i386/bits/link.h: Removed.
37716         * sysdeps/i386/bits/linkmap.h: Likewise.
37717         * sysdeps/x86_64/bits/link.h: Renamed to ...
37718         * sysdeps/x86/bits/link.h: This.
37719         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37720         * sysdeps/x86/bits/linkmap.h: This.
37722         * sysdeps/i386/bits/endian.h: Removed.
37723         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37724         * sysdeps/x86/bits/endian.h: This.
37726         * sysdeps/i386/bits/byteswap.h: Removed.
37727         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37728         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37729         * sysdeps/x86/bits/byteswap.h: This.
37730         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37731         * sysdeps/x86/bits/byteswap-16.h: This.
37732         * sysdeps/i386/Implies: Add x86.
37733         * sysdeps/x86_64/Implies: Likewise.
37735 2012-05-30  David S. Miller  <davem@davemloft.net>
37737         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37738         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37739         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37740         (FP_TRAPPING_EXCEPTIONS): Define.
37741         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37742         (FP_TRAPPING_EXCEPTIONS): Define.
37743         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37744         subnormals only when inexact has been signalled or underflow
37745         exceptions are enabled.
37746         (_FP_PACK_CANONICAL): Likewise.
37748 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37750         [BZ #14183]
37751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37752         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37754 2012-05-30  Richard Henderson  <rth@twiddle.net>
37756         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37757         with #ifndef NOT_IN_libc.
37759         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37760         marked to avoid plt entry.
37762 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37764         [BZ #14112]
37765         * Makeconfig (default-abi): New macro.
37766         (abi-includes): Likewise.
37767         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37768         $(abi-$(default-abi)-lib-soname) for soname if defined.
37769         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37770         abi-variants.
37771         * Makefile (installed-stubs): Likewise.
37772         * include/stubs-biarch.h: Removed.
37773         * scripts/lib-names.awk: Only handle one library at a time.
37774         * scripts/soversions.awk: Remove WORDSIZE support.
37775         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37776         entries.
37777         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37778         Removed.
37779         (syscall-list-default-condition): Likewise.
37780         (syscall-list-default-condition): Likewise.
37781         (syscall-list-includes): Likewise.
37782         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37783         syscall-list-* with abi-*.  Handle undefined abi-variants.
37784         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37785         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37786         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37787         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37788         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37789         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37790         Removed.
37791         (syscall-list-32-options): Likewise.
37792         (syscall-list-32-condition): Likewise.
37793         (syscall-list-64-options): Likewise.
37794         (syscall-list-64-condition): Likewise.
37795         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37796         macro.
37797         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37798         Renamed to ...
37799         (abi-*): This.
37800         (abi-64-ld-soname): New macro.
37801         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37802         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37803         Renamed to ...
37804         (abi-*): This.
37805         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37806         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37808 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37810         * sysdeps/unix/sysv/linux/kernel-features.h
37811         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37812         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37813         include <kernel-features.h>.
37814         [!__NR_ftruncate64]: Remove conditional code.
37815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37816         [__NR_ftruncate64]: Make code unconditional.
37817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37818         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37819         include <kernel-features.h>.
37820         [!__NR_ftruncate64]: Remove conditional code.
37821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37822         [__NR_ftruncate64]: Make code unconditional.
37823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37825         include <kernel-features.h>.
37826         [!__NR_ftruncate64]: Remove conditional code.
37827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37828         [__NR_ftruncate64]: Make code unconditional.
37829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37831         include <kernel-features.h>.
37832         [!__NR_ftruncate64]: Remove conditional code.
37833         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37834         [__NR_ftruncate64]: Make code unconditional.
37835         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37837         * configure.in (libc_cv_fpie): Weaken to a compile test using
37838         LIBC_TRY_CC_OPTION.
37839         * configure: Regenerated.
37841 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37847         Refreshed.
37848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37854         Refreshed.
37856 2012-05-27  David S. Miller  <davem@davemloft.net>
37858         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37859         (___Q_zero): New.
37860         (__Q_simulate_exceptions): Return void.  Change to simulate
37861         exceptions by writing into the %fsr.
37862         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37863         (__Qp_handle_exceptions): Likewise.
37864         (numbers): Delete.
37865         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37866         __Qp_handle_exceptions.
37867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37868         __Qp_handle_exceptions.
37869         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37870         as unused and give dummy FP_RND_NEAREST initializer.
37871         (FP_INHIBIT_RESULTS): Define.
37872         (___Q_simulate_exceptions): Update declaration.
37873         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37874         formatting.
37875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37876         as unused and give dummy FP_RND_NEAREST initializer.
37877         (__Qp_handle_exceptions): Update declaration.
37878         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37879         formatting.
37881 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37883         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37884         the temporary FPU control word.
37885         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37886         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37887         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37888         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37889         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37890         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37891         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37892         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37893         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37894         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37895         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37897 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37899         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37900         fields.
37902 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37904         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37905         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37906         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37907         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37908         Likewise.
37909         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37910         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37911         Likewise.
37913 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37915         * po/h.po: Update from translation team.
37917 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37919         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37921         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37922         handling of denormals.
37923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37924         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37925         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37926         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37930         Likewise.
37932 2012-05-26  Marek Polacek  <polacek@redhat.com>
37934         [BZ #14152]
37935         * math/libm-test.inc (fma_test): Don't always expect underflow
37936         exception.
37938 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37940         [BZ #12416]
37941         * elf/tst-execstack.c: Include stackinfo.h.
37942         (do_test): Adjust test case to ensure that pthread_getattr_np
37943         behaviour remains the same after marking stack executable.
37945 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37947         * sysdeps/unix/sysv/linux/kernel-features.h
37948         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37949         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37950         kernel-features.h.
37951         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37952         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37953         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37954         kernel-features.h.
37955         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37956         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37958 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37960         * configure.in: Define the default includes to being none.
37961         * configure: Regenerated.
37963 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37965         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37966         * sysdeps/x86_64/setjmp.S: Likewise.
37967         * sysdeps/i386/bsd-setjmp.S: Likewise.
37968         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37969         * sysdeps/i386/setjmp.S: Likewise.
37970         * sysdeps/i386/__longjmp.S: Likewise.
37971         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37972         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37974         * include/stap-probe.h: New file.
37975         * configure.in: Handle --enable-systemtap.
37976         * configure: Regenerated.
37977         * config.h.in (USE_STAP_PROBE): New #undef.
37978         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37979         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37980         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37982 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37984         [BZ #13717]
37985         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37986         to 2.4.0 where earlier.
37987         * sysdeps/unix/sysv/linux/configure: Regenerated.
37988         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37989         <kernel-features.h>.
37990         [__ASSUME_32BITUIDS]: Make code unconditional.
37991         [!__ASSUME_32BITUIDS]: Remove conditional code.
37992         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37993         <kernel-features.h>.
37994         [__ASSUME_32BITUIDS]: Make code unconditional.
37995         [!__ASSUME_32BITUIDS]: Remove conditional code.
37996         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37997         [__ASSUME_32BITUIDS]: Make code unconditional.
37998         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37999         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38000         <kernel-features.h>.
38001         [__ASSUME_32BITUIDS]: Make code unconditional.
38002         [!__ASSUME_32BITUIDS]: Remove conditional code.
38003         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38004         <kernel-features.h>.
38005         [__ASSUME_32BITUIDS]: Make code unconditional.
38006         [!__ASSUME_32BITUIDS]: Remove conditional code.
38007         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38008         <kernel-features.h>.
38009         [__ASSUME_32BITUIDS]: Make code unconditional.
38010         [!__ASSUME_32BITUIDS]: Remove conditional code.
38011         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38012         <kernel-features.h>.
38013         [__ASSUME_32BITUIDS]: Make code unconditional.
38014         [!__ASSUME_32BITUIDS]: Remove conditional code.
38015         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38016         <kernel-features.h>.
38017         [__ASSUME_32BITUIDS]: Make code unconditional.
38018         [!__ASSUME_32BITUIDS]: Remove conditional code.
38019         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38020         <kernel-features.h>.
38021         [__ASSUME_32BITUIDS]: Make code unconditional.
38022         [!__ASSUME_32BITUIDS]: Remove conditional code.
38023         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38024         <kernel-features.h>.
38025         [__ASSUME_32BITUIDS]: Make code unconditional.
38026         [!__ASSUME_32BITUIDS]: Remove conditional code.
38027         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38028         <kernel-features.h>.
38029         [__ASSUME_32BITUIDS]: Make code unconditional.
38030         [!__ASSUME_32BITUIDS]: Remove conditional code.
38031         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38032         <kernel-features.h>.
38033         [__ASSUME_32BITUIDS]: Make code unconditional.
38034         [!__ASSUME_32BITUIDS]: Remove conditional code.
38035         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38036         <kernel-features.h>.
38037         [__ASSUME_32BITUIDS]: Make code unconditional.
38038         [!__ASSUME_32BITUIDS]: Remove conditional code.
38039         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38040         <kernel-features.h>.
38041         [__NR_setresgid] (__setresgid): Do not declare.
38042         [__ASSUME_32BITUIDS]: Make code unconditional.
38043         [!__ASSUME_32BITUIDS]: Remove conditional code.
38044         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38045         <kernel-features.h>.
38046         [__NR_setresuid] (__setresuid): Do not declare.
38047         [__ASSUME_32BITUIDS]: Make code unconditional.
38048         [!__ASSUME_32BITUIDS]: Remove conditional code.
38049         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38050         <kernel-features.h>.
38051         [__ASSUME_32BITUIDS]: Make code unconditional.
38052         [!__ASSUME_32BITUIDS]: Remove conditional code.
38053         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38054         <kernel-features.h>.
38055         [__ASSUME_32BITUIDS]: Make code unconditional.
38056         [!__ASSUME_32BITUIDS]: Remove conditional code.
38057         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38058         <kernel-features.h>.
38059         [__ASSUME_32BITUIDS]: Make code unconditional.
38060         [!__ASSUME_32BITUIDS]: Remove conditional code.
38061         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
38090         (__ASSUME_SETRESUID_SYSCALL): Remove.
38091         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38092         (__ASSUME_32BITUIDS): Likewise.
38093         (__ASSUME_LDT_WORKS): Likewise.
38094         (__ASSUME_O_DIRECTORY): Likewise.
38095         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38096         architecture but not kernel version.
38097         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38098         (__ASSUME_MMAP2_SYSCALL): Likewise.
38099         (__ASSUME_STAT64_SYSCALL): Likewise.
38100         (__ASSUME_IPC64): Likewise.
38101         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38102         <kernel-features.h>.
38103         [__ASSUME_32BITUIDS]: Make code unconditional.
38104         [!__ASSUME_32BITUIDS]: Remove conditional code.
38105         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38106         <kernel-features.h>.
38107         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38108         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38109         132096]: Remove conditional code.
38110         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38111         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
38120         <kernel-features.h>.
38121         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38122         unconditional.
38123         (__setresgid): Do not declare.
38124         [__ASSUME_32BITUIDS]: Make code unconditional.
38125         [!__ASSUME_32BITUIDS]: Remove conditional code.
38126         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38127         <kernel-features.h>.
38128         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38129         unconditional.
38130         (__setresuid): Do not declare.
38131         [__ASSUME_32BITUIDS]: Make code unconditional.
38132         [!__ASSUME_32BITUIDS]: Remove conditional code.
38133         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38134         <kernel-features.h>.
38135         [__ASSUME_32BITUIDS]: Make code unconditional.
38136         [!__ASSUME_32BITUIDS]: Remove conditional code.
38137         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38138         <kernel-features.h>.
38139         [__ASSUME_32BITUIDS]: Make code unconditional.
38140         [!__ASSUME_32BITUIDS]: Remove conditional code.
38142 2012-05-25  Richard Henderson  <rth@twiddle.net>
38144         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38145         dl_hwcap to ifunc resolver.
38146         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38147         elf_ifunc_invoke.
38148         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38149         dl_hwcap to ifunc resolver.
38150         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38152 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38154         [BZ #14153]
38155         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38156         for |x| <= 2**-26, not 2**-57.
38157         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38158         exception.
38160 2012-05-24  Jeff Law  <law@redhat.com>
38162         * stdio-common/Makefile (tests): Add bug25.
38163         * stdio-common/bug25.c: New test.
38165 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38167         [BZ #13576]
38168         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38169         multiple of MALLOC_ALIGNMENT in size.
38170         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38172 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38174         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38175         Require >= 256.
38176         (FILENAME_MAX): Use macro-int-constant.
38177         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38178         (_IOFBF): Use macro-int-constant.
38179         (_IOLBF): Likewise.
38180         (_IONBF): Likewise.
38181         (SEEK_CUR): Likewise.
38182         (SEEK_END): Likewise.
38183         (SEEK_SET): Likewise.
38184         (TMP_MAX): Likewise.
38185         (EOF): Use macro-int-constant.  Require < 0.
38186         (NULL): Use macro-constant.  Require == 0.
38187         (stdin): Require type to be FILE *.
38188         (stdout): Likewise.
38189         (stderr): Likewise.
38190         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38191         macro-int-constant.
38192         (EXIT_SUCCESS): Likewise.
38193         (NULL): Use macro-constant.  Require == 0.
38194         (RAND_MAX): Use macro-int-constant.
38195         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38196         [C99-based standards] (strtof): Require function.
38197         [C99-based standards] (strtold): Likewise.
38198         [C99-based standards] (strtoll): Likewise.
38199         [C99-based standards] (strtoull): Likewise.
38200         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38201         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38202         [ISO || ISO99 || ISO11] (math.h): Likewise.
38203         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38204         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38207 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38209         [BZ #14132]
38210         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38211         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38212         * intl/dgettext.c (DCGETTEXT): Likewise.
38213         * intl/gettext.c (DCGETTEXT): Likewise.
38214         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38215         * posix/regex_internal.h (gettext): Likewise.
38216         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38217         Remove declaration.
38218         * include/argz.h (__argz_count_internal)
38219         (__argz_stringify_internal): Remove declaration.
38220         (__argz_count, __argz_stringify): Declare hidden proto.
38221         * intl/dcgettext.c: Remove use of INTDEF.
38222         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38223         * string/argz-stringify.c: Likewise.
38224         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38225         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38226         Declare hidden proto.
38227         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38228         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38229         Declare hidden proto.
38230         * include/stdio.h (__asprintf_internal): Don't declare.
38231         (__asprintf): Don't define as macro.  Declare hidden proto.
38232         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38233         (__fsetlocking): Declare hidden proto.
38234         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38235         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38236         hidden proto.
38237         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38238         (_IO_setlinebuf): Remove use of INTUSE.
38239         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38240         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38241         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38242         Remove declaration.
38243         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38244         (_IO_do_flush): Remove use of INTUSE.
38245         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38246         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38247         (_IO_adjust_column, _IO_least_wmarker)
38248         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38249         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38250         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38251         (_IO_default_doallocate, _IO_wdefault_doallocate)
38252         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38253         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38254         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38255         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38256         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38257         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38258         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38259         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38260         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38261         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38262         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38263         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38264         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38265         proto.
38266         (_IO_flush_all_internal, _IO_adjust_column_internal)
38267         (_IO_default_uflow_internal, _IO_default_finish_internal)
38268         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38269         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38270         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38271         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38272         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38273         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38274         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38275         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38276         (_IO_file_close_internal, _IO_file_close_it_internal)
38277         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38278         (_IO_file_init_internal, _IO_file_attach_internal)
38279         (_IO_file_fopen_internal, _IO_file_read_internal)
38280         (_IO_file_sync_internal, _IO_file_seek_internal)
38281         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38282         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38283         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38284         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38285         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38286         (_IO_list_all_internal, _IO_link_in_internal)
38287         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38288         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38289         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38290         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38291         (_IO_do_write_internal, _IO_padn_internal)
38292         (_IO_getline_info_internal, _IO_getline_internal)
38293         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38294         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38295         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38296         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38297         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38298         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38299         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38300         with libc_hidden_ver, remove use of INTUSE.
38301         * libio/genops.c: Likewise.
38302         * libio/freopen.c: Likewise.
38303         * libio/freopen64.c: Likewise.
38304         * libio/iofclose.c: Likewise.
38305         * libio/iofdopen.c: Likewise.
38306         * libio/iofflush.c: Likewise.
38307         * libio/iofflush_u.c: Likewise.
38308         * libio/iofgets.c: Likewise.
38309         * libio/iofgets_u.c: Likewise.
38310         * libio/iofopen.c: Likewise.
38311         * libio/iofopncook.c: Likewise.
38312         * libio/iofread.c: Likewise.
38313         * libio/iofread_u.c: Likewise.
38314         * libio/ioftell.c: Likewise.
38315         * libio/iofwrite.c: Likewise.
38316         * libio/iogetline.c: Likewise.
38317         * libio/iogets.c: Likewise.
38318         * libio/iogetwline.c: Likewise.
38319         * libio/iopadn.c: Likewise.
38320         * libio/iopopen.c: Likewise.
38321         * libio/ioseekoff.c: Likewise.
38322         * libio/ioseekpos.c: Likewise.
38323         * libio/iosetbuffer.c: Likewise.
38324         * libio/iosetvbuf.c: Likewise.
38325         * libio/ioungetc.c: Likewise.
38326         * libio/ioungetwc.c: Likewise.
38327         * libio/iovdprintf.c: Likewise.
38328         * libio/iovsprintf.c: Likewise.
38329         * libio/iovsscanf.c: Likewise.
38330         * libio/memstream.c: Likewise.
38331         * libio/obprintf.c: Likewise.
38332         * libio/oldfileops.c: Likewise.
38333         * libio/oldiofclose.c: Likewise.
38334         * libio/oldiofdopen.c: Likewise.
38335         * libio/oldiofopen.c: Likewise.
38336         * libio/oldiopopen.c: Likewise.
38337         * libio/oldstdfiles.c: Likewise.
38338         * libio/putc.c: Likewise.
38339         * libio/setbuf.c: Likewise.
38340         * libio/setlinebuf.c: Likewise.
38341         * libio/stdfiles.c: Likewise.
38342         * libio/strops.c: Likewise.
38343         * libio/vasprintf.c: Likewise.
38344         * libio/vscanf.c: Likewise.
38345         * libio/vsnprintf.c: Likewise.
38346         * libio/vswprintf.c: Likewise.
38347         * libio/wfiledoalloc.c: Likewise.
38348         * libio/wfileops.c: Likewise.
38349         * libio/wgenops.c: Likewise.
38350         * libio/wmemstream.c: Likewise.
38351         * libio/wstrops.c: Likewise.
38352         * libio/__fpurge.c: Likewise.
38353         * libio/__fsetlocking.c: Likewise.
38354         * assert/assert.c: Likewise.
38355         * debug/fgets_chk.c: Likewise.
38356         * debug/fgets_u_chk.c: Likewise.
38357         * debug/fread_chk.c: Likewise.
38358         * debug/fread_u_chk.c: Likewise.
38359         * debug/gets_chk.c: Likewise.
38360         * debug/obprintf_chk.c: Likewise.
38361         * debug/vasprintf_chk.c: Likewise.
38362         * debug/vdprintf_chk.c: Likewise.
38363         * debug/vsnprintf_chk.c: Likewise.
38364         * debug/vsprintf_chk.c: Likewise.
38365         * malloc/mtrace.c: Likewise.
38366         * misc/error.c: Likewise.
38367         * misc/syslog.c: Likewise.
38368         * stdio-common/asprintf.c: Likewise.
38369         * stdio-common/fxprintf.c: Likewise.
38370         * stdio-common/getw.c: Likewise.
38371         * stdio-common/isoc99_fscanf.c: Likewise.
38372         * stdio-common/isoc99_scanf.c: Likewise.
38373         * stdio-common/isoc99_vfscanf.c: Likewise.
38374         * stdio-common/isoc99_vscanf.c: Likewise.
38375         * stdio-common/isoc99_vsscanf.c: Likewise.
38376         * stdio-common/printf-prs.c: Likewise.
38377         * stdio-common/printf_fp.c: Likewise.
38378         * stdio-common/printf_fphex.c: Likewise.
38379         * stdio-common/printf_size.c: Likewise.
38380         * stdio-common/putw.c: Likewise.
38381         * stdio-common/scanf.c: Likewise.
38382         * stdio-common/sprintf.c: Likewise.
38383         * stdio-common/tmpfile.c: Likewise.
38384         * stdio-common/vfprintf.c: Likewise.
38385         * stdio-common/vfscanf.c: Likewise.
38386         * stdlib/strfmon_l.c: Likewise.
38387         * sunrpc/openchild.c: Likewise.
38388         * sunrpc/xdr_stdio.c: Likewise.
38389         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38390         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38392 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38394         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38396         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38397         in the third column, to generate for the shared library an IFUNC
38398         that uses _dl_vdso_vsym.
38399         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38400         * Makeconfig (object-suffixes-noshared): New variable.
38402         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38403         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38404         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38405         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38407         [BZ #14132]
38408         * include/sys/time.h (__gettimeofday): Remove macro.
38409         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38410         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38411         Remove INTDEF.
38412         (__gettimeofday): Add libc_hidden_def.
38413         (gettimeofday): Add libc_hidden_weak.
38414         * sysdeps/mach/gettimeofday.c: Likewise.
38415         * sysdeps/posix/gettimeofday.c: Likewise.
38416         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38417         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38419         (__gettimeofday_internal): Remove strong_alias.
38420         (__gettimeofday): Add libc_hidden_def.
38421         (gettimeofday): Add libc_hidden_weak.
38422         * sysdeps/unix/syscalls.list (gettimeofday):
38423         Remove __gettimeofday_internal alias.
38425 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38426             H.J. Lu  <hongjiu.lu@intel.com>
38428         [BZ #12495]
38429         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38430         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38431         (largebin_index_32_big): New.
38432         (largebin_index): Use it for 16-byte alignment.
38433         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38434         correction with front_misalign.
38436 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38440         Likewise.
38441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38442         Likewise.
38443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38444         Likewise.
38445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38446         Likewise.
38447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38448         Likewise.
38449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38450         Likewise.
38451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38452         Likewise.
38453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38454         Likewise.
38455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38456         Likewise.
38457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38458         Likewise.
38459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38460         Likewise.
38461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38462         Likewise.
38464         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38465         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38467 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38469         [BZ #10846]
38470         [BZ #14036]
38471         * math/libm-test.inc (exp_test): Add test from bug 14036.
38472         (pow_test): Add test from bug 10846.
38474         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38475         and other flags.
38476         (special_function): Do not include flags in test name.
38477         (parse_args): Likewise.
38478         * sysdeps/i386/fpu/libm-test-ulps: Update.
38479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38480         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38481         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38484         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38485         exceptions.
38486         * math/libm-test.inc ("Philosophy"): Update comment about
38487         exception testing.
38488         (UNDERFLOW_EXCEPTION): New macro.
38489         (UNDERFLOW_EXCEPTION_OK): Likewise.
38490         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38491         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38492         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38493         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38494         (INVALID_EXCEPTION_OK): Update value.
38495         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38496         (OVERFLOW_EXCEPTION_OK): Likewise.
38497         (IGNORE_ZERO_INF_SIGN): Likewise.
38498         (test_exceptions): Handle underflow exceptions.
38499         (acos_test): Update for underflow exception expectations.
38500         (cexp_test): Likewise.
38501         (clog_test): Likewise.
38502         (clog10_test): Likewise.
38503         (csqrt_test): Likewise.
38504         (ctan_test): Likewise.
38505         (ctanh_test): Likewise.
38506         (exp_test): Likewise.
38507         (exp10_test): Likewise.
38508         (exp2_test): Likewise.
38509         (expm1_test): Likewise.
38510         (fma_test): Likewise.
38511         (j0_test): Likewise.
38512         (jn_test): Likewise.
38513         (nexttoward_test): Likewise.
38514         (pow_test): Likewise.
38515         (scalbn_test): Likewise.
38516         (scalbln_test): Likewise.
38517         (tan_test): Likewise.
38518         (y1_test): Likewise.
38519         * sysdeps/i386/fpu/libm-test-ulps: Update.
38520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38522 2012-05-23  David S. Miller  <davem@davemloft.net>
38524         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38525         (__libc_sigaction): Remove unused local variables.
38527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38529         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38531 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38533         mktime: avoid signed integer overflow
38534         * time/mktime.c (__mktime_internal): Do not mishandle the case
38535         where diff == INT_MIN.
38537         mktime: simplify computation of average
38538         * time/mktime.c (ranged_convert): Use new time_t_avg function
38539         instead of rolling our own (probably-slower) code.
38541         mktime: do not assume signed right shift propagates sign bit
38542         * time/mktime.c (isdst_differ): New static function.
38543         (__mktime_internal): No need to normalize tm_isdst now.
38544         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38545         tm_isdst values.
38547         mktime: merge another wrapv change from gnulib
38548         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38549         from some compilers.
38551         mktime: remove incorrect attempt at unusual arithmetics
38552         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38553         The code didn't really work on such machines anyway.
38554         (TYPE_MINIMUM): Assume two's complement.
38555         (twos_complement_arithmetic): Verify that long_int and time_t
38556         are two's complement (or unsigned, in the latter case).
38558         mktime: check signed shifts on long_int and time_t, too
38559         * time/mktime.c (SHR): Check that shifts work as desired
38560         on the types long_int and time_t too, as SHR is used on
38561         such types.
38563         mktime: do not assume 'long' is wide enough
38564         * time/mktime.c (verify): Move decl up.
38565         (long_int): New type.
38566         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38567         to remove assumption in the code that 'long' is wide enough to
38568         store year values.  This assumption is not true on x32 and on
38569         some non-glibc platforms.
38571         mktime: merge wrapv change from gnulib
38572         * time/mktime.c (WRAPV): New macro.
38573         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38574         (guess_time_tm, __mktime_internal): Do not assume that signed
38575         integer overflow wraps around; modern compilers generate code
38576         where this assumption is no longer valid.
38578 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38580         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38581         Replace "jmp L(pseudo_end)" with "ret".
38582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38583         Likewise.
38585 2012-05-23  Andreas Jaeger  <aj@suse.de>
38587         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38588         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38590 2012-05-23  Andreas Jaeger  <aj@suse.de>
38591             Maximilian Attems  <max@stro.at>
38593         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38594         New macros.
38596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38599         code so that pseudo_end is just ret and the stack pointer is
38600         correct also for static library in error case.
38602 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38604         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38605         move to syscalls.list.
38606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38611         * manual/install.texi (Running make install): Do not mention Linux
38612         kernel version for which pt_chown is not needed.
38613         (Linux): Do not mention problems with nscd with 2.0 kernels.
38614         * INSTALL: Regenerated.
38616 2012-05-23  Andreas Jaeger  <aj@suse.de>
38618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38619         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38620         macro.
38621         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38623         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38625         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38626         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38628         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38629         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38630         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38631         * sysdeps/unix/sysv/linux/bits/in.h
38632         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38634 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38636         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38637         (PREPARE_VERSION): Just use assert instead, it will be elided
38638         under [NDEBUG] anyway.
38640 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38642         * sysdeps/unix/sysv/linux/Makefile: Include
38643         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38644         (sysdep_routines): Remove sysctl.
38645         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38646         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38647         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38648         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38649         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38651 2012-05-22  Andreas Jaeger  <aj@suse.de>
38653         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38654         that pseudo_end is just ret and the stack pointer is correct also
38655         for static library in error case.
38657 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38659         [BZ #14122]
38660         * nss/nsswitch.c (defconfig_entries): New variable.
38661         (__nss_database_lookup): Don't leak defconfig entries.
38662         (nss_parse_service_list): Don't leak on error paths.
38663         (free_database_entries): New function.
38664         (free_defconfig): New function.
38665         (free_mem): Move common code to free_database_entries.
38667 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38670         Add arch_prctl.
38671         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38673         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38674         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38676         New macro.
38677         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38678         (INTERNAL_SYSCALL_TYPES): Likewise.
38679         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38680         (LOAD_REGS_TYPES_[1-6]): Likewise.
38681         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38682         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38684 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38686         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38687         copysignl for GLIBC_2_0.
38688         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38689         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38691         logbl for GLIBC_2_0.
38692         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38693         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38698         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38700         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38701         Use "neg %eax".
38703         * time/mktime.c: Update copyright years.
38705 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38707         mktime: merge comment-quoting-style change from gnulib
38708         * time/mktime.c: Quote 'like this' in comments.
38709         The GNU coding standards suggest that we no longer quote `like this',
38710         as "`" and "'" are typically rendered asymmetrically nowadays.
38711         The typical gnulib style is to quote 'like this' when quoting
38712         code, and "like this" when quoting English.
38714         * time/mktime.c (compile-command): Add "-I.".
38716         mktime: merge mktime-internal.h change from gnulib
38717         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38719         mktime: merge time_r change from gnulib
38720         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38722         mktime: merge DEBUG change from gnulib
38723         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38724         case system <time.h> has a #define.
38726         mktime: merge <sys/types.h> change from gnulib
38727         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38728         since <time.t> is now guaranteed to define time_t.
38730         mktime: merge HAVE_CONFIG_H change from gnulib
38731         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38736         Use "neg %eax".
38738         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38739         __rlim_t cast.
38740         (struct rusage): Use anonymous union to pad each field to
38741         __syscall_slong_t.
38743 2012-05-21  David S. Miller  <davem@davemloft.net>
38745         * Makefules (o-iterator): Remove .s cases.
38746         (compile-command.s): Delete.
38747         (COMPILE.s): Delete.
38748         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38750 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38752         * configure.in (libc_cv_predef_stack_protector): Only consider
38753         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38754         * configure: Regenerated.
38756 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38759         New macro.  Use R*LP on int and pointer.
38760         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38761         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38762         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38763         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38765         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38766         [__WORDSIZE_TIME64_COMPAT32] instead of
38767         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38768         (struct utmp): Likewise.
38769         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38770         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38771         Renamed to ...
38772         (__WORDSIZE_TIME64_COMPAT32): This.
38773         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38774         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38775         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38776         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38777         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38778         (__WORDSIZE_TIME64_COMPAT32): New macro.
38780 2012-05-21  Andreas Jaeger  <aj@suse.de>
38782         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38783         only if [SHARED]. Add prototype for __wcschr_ia32.
38785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38787         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38788         of %rbp unmolested in the jmp_buf while mangling the low bits.
38789         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38790         unmolested high bits of %rbp while demangling the low bits.
38791         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38793 2012-05-21  Andreas Jaeger  <aj@suse.de>
38795         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38796         * sunrpc/svc_simple.c: Use it for registerrpc.
38797         * sunrpc/xcrypt.c: Use it for passwd2des.
38799         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38803         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38804         Don't define if [__SYSCALL_WORDSIZE != 32].
38805         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38806         New macro.
38808 2012-05-21  Bruno Haible  <bruno@clisp.org>
38809             Andreas Jaeger  <aj@suse.de>
38811         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38812         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38813         inptr and inend for must_buffer_ch.
38814         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38815         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38816         * stdio-common/Makefile (tests): Remove bug15.
38817         (bug15-ENV): Remove macro.
38818         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38819         anymore.
38821 2012-05-19  Andreas Jaeger  <aj@suse.de>
38822             Roland McGrath  <roland@hack.frob.com>
38824         * manual/contrib.texi: Completely rewritten. It contains now an
38825         alphabetical list of contributors and their contributions.
38827 2012-05-21  Richard Henderson  <rth@twiddle.net>
38829         * misc/getauxval.c (__getauxval): Use unsigned long int.
38830         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38831         (getauxval): Use unsigned long int.
38833 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38835         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38837 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38839         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38840         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38841         __alignof__ (long double).
38843 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38847 2012-05-20  Richard Henderson  <rth@twiddle.net>
38849         * misc/getauxval.c: New file.
38850         * misc/sys/auxv.h: New file.
38851         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38852         (routines): Add getauxval.
38853         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38854         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38855         * elf/dl-sysdep.c (_dl_auxv): Remove.
38856         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38857         * elf/dl-support.c (_dl_auxv): New variable.
38858         (_dl_aux_init): Initialize it.
38859         * manual/startup.texi (Auxiliary Vector): New node.
38860         * sysdeps/generic/bits/hwcap.h: New file.
38861         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38862         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38863         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38864         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38865         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38866         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38868         Update.
38869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38878 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38882 2012-05-19  David S. Miller  <davem@davemloft.net>
38884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38886 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38888         [BZ #14123]
38889         * math/s_ccosh.c: Include <float.h>
38890         (__ccosh): Avoid internal overflow calculating sinh and cosh
38891         values before multiplying by sin and cos values.
38892         * math/s_ccoshf.c: Likewise.
38893         * math/s_ccoshl.c: Likewise.
38894         * math/s_csin.c: Likewise.
38895         * math/s_csinf.c: Likewise.
38896         * math/s_csinl.c: Likewise.
38897         * math/s_csinh.c: Likewise.
38898         * math/s_csinhf.c: Likewise.
38899         * math/s_csinhl.c: Likewise.
38900         * math/libm-test.inc (ccos_test): Add more tests.
38901         (ccosh_test): Likewise.
38902         (csin_test): Likewise.
38903         (csinh_test): Likewise.
38904         * sysdeps/i386/fpu/libm-test-ulps: Update.
38905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38907 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38909         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38910         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38912         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38916         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38917         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38918         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38919         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38920         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38921         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38922         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38923         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38924         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38925         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38926         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38927         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38928         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38929         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38930         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38931         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38932         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38933         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38934         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38935         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38936         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38937         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38938         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38939         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38940         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38941         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38942         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38943         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38944         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38945         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38946         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38948 2012-05-18  Andreas Jaeger  <aj@suse.de>
38950         * csu/.gitignore: Delete.
38952 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38954         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38955         (timex): Use __syscall_slong_t.
38957 2012-05-18  Andreas Jaeger  <aj@suse.de>
38958             Carlos O'Donell  <carlos_odonell@mentor.com>
38960         * manual/install.texi (Configuring and compiling): Update
38961         description about files modified in the source directory.
38962         * INSTALL: Regenerated.
38964 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38966         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38967         value.  Use "or" to set return value to -1.
38968         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38969         negate return value.
38971 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38973         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38974         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38975         failure if the compiler has Graphite support disabled.
38976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38977         Likewise.
38978         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38979         (CFLAGS-memmove.c): Likewise.
38980         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38981         Likewise.
38983 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38985         * sysdeps/x86_64/x32/_itoa.h: New file.
38987         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38988         getdents system call only if kernel and user dirents have the
38989         same d_ino and d_off.
38991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38992         LLONG_MAX != LONG_MAX.
38993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38994         (_fitoa_word): Likewise.
38996         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38997         years.
38998         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38999         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39000         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39002         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39003         include <bits/wordsize.h>.  Check __x86_64__ instead of
39004         __WORDSIZE.
39005         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39006         if __x86_64__ is defined.  Use anonymous union on fpstate.
39008         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39009         anonymous union.
39011 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39013         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39014         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39015         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39016         Refer to _rtld_local_ro instead of _rtld_global_ro.
39017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39018         Likewise.
39019         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39020         Likewise.
39021         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39022         Likewise.
39023         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39024         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39025         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39027         * sysdeps/powerpc/powerpc32/dl-machine.c
39028         (__elf_machine_runtime_setup) [PROF]: Don't reference
39029         _dl_prof_resolve.
39031 2012-05-18  Andreas Jaeger  <aj@suse.de>
39033         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39034         function only available for GCCs before 3.4 since GCC 3.4
39035         introduced a builtin.
39036         (lrint): Likewise.
39037         (llrintf): Likewise.
39038         (llrint): Likewise.
39039         (fmaxf): Likewise.
39040         (fmax): Likewise.
39041         (fminf): Likewise.
39042         (fmin): Likewise.
39043         (rint): Likewise.
39044         (rintf): Likewise.
39045         (nearbyint): Likewise.
39046         (nearbyintf): Likewise.
39047         (ceil): Likewise.
39048         (ceilf): Likewise.
39049         (floor): Likewise.
39050         (floorf): Likewise.
39052 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39054         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39055         on both fields and cast pointer to __syscall_ulong_t.
39057         * bits/types.h (__fsword_t): New type.
39058         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39059         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39061         (__FSWORD_T_TYPE): Likewise.
39062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39063         (__FSWORD_T_TYPE): Likewise.
39064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39065         (__FSWORD_T_TYPE): Likewise.
39066         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39067         (__FSWORD_T_TYPE): Likewise.
39068         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39069         __SWORD_TYPE with __fsword_t.
39070         (statfs64): Likewise.
39072 2012-05-17  David S. Miller  <davem@davemloft.net>
39074         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39076 2012-05-17  Andreas Jaeger  <aj@suse.de>
39078         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39079         warning.
39081 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39083         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39085 2012-05-17  Andreas Jaeger  <aj@suse.de>
39087         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39088         when it is used.
39090 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39092         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39094 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39096         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39097         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39099 2012-05-17  Andreas Jaeger  <aj@suse.de>
39100             Carlos O'Donell  <carlos_odonell@mentor.com>
39102         [BZ #14059]
39103         * sysdeps/x86_64/multiarch/init-arch.h
39104         (bit_YMM_Usable): Rename to...
39105         (bit_AVX_Usable): ... this.
39106         (bit_FMA4_Usable): New macro.
39107         (bit_XMM_state): New macro.
39108         (bit_YMM_state): New macro.
39109         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39110         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39111         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39112         (CPUID_OSXSAVE): New macro.
39113         (CPUID_AVX): New macro.
39114         (CPUID_FMA4): New macro.
39115         (index_YMM_Usable): Rename to...
39116         (index_AVX_Usable): ... this.
39117         (HAS_AVX): Use HAS_ARCH_FEATURE.
39118         (HAS_FMA4): Likewise.
39119         (HAS_YMM_USABLE): Remove.
39120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39121         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39122         are present.
39123         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39124         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39125         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39126         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39127         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39129 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39131         * math/libm-test.c: Support platforms without multiple rounding modes.
39132         * math/bug-nextafter.c: Support platforms without FP exceptions.
39133         * math/bug-nexttoward.c: Likewise.
39134         * math/test-fenv.c: Likewise.
39135         * math/test-misc.c: Likewise.
39136         * stdlib/bug-getcontext.c: Likewise.
39138 2012-05-17  Andreas Jaeger  <aj@suse.de>
39140         * manual/examples/search.c (critter_cmp): Change signature to
39141         avoid warnings.
39142         * manual/string.texi (Collation Functions): Likewise.
39144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39146         * bits/types.h: Fold copyright years.
39147         * bits/typesizes.h: Likewise.
39148         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39152         * time/time.h: Likewise.
39154 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39156         [BZ #208]
39157         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39158         in instead of returning them.  Return void.
39159         (__libc_mallinfo): Accumulate over all arenas.
39160         (__malloc_stats): Adjust for change in int_mallinfo interface.
39162 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39164         [BZ #10375]
39165         * configure.in (NM): Add AC_CHECK_TOOL for it.
39166         (libc_extra_cflags): New substituted variable.
39167         Check for -fstack-protector being used implicitly.
39168         * configure: Regenerated.
39169         * config.make.in (config-extra-cflags): New variable,
39170         gets @libc_extra_cflags@.
39171         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39173         [BZ #10375]
39174         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39175         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39176         * configure: Regenerated.
39177         * config.make.in (CPPUNDEFS): New substituted variable.
39178         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39179         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39180         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39184         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39185         (mq_attr): Use __syscall_slong_t.
39187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39189         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39190         Check __x86_64__ instead of __WORDSIZE.
39191         (_STAT_VER_LINUX): Likewise.
39192         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39193         __syscall_ulong_t and __syscall_slong_t.
39194         (stat64): Likewise.
39196 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39202         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39206         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39207         __syscall_ulong_t.
39209         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39210         include <bits/wordsize.h>.  Check __x86_64__ instead of
39211         __WORDSIZE.
39212         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39213         defined.
39214         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39217         include <bits/wordsize.h>.  Check __x86_64__ instead of
39218         __WORDSIZE.
39219         (user_regs_struct): Use "__extension__ unsigned long long"
39220         instead of "unsigned long" if __x86_64__ is defined.
39221         (user): Likewise.  Pad after pointer field if __ILP32__ is
39222         defined.
39224 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39226         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39227         versions 5 to 9.
39228         * configure: Regenerated.
39229         * manual/install.texi (texinfo): Increase version requirement to
39230         4.5 or later.
39231         * INSTALL: Regenerated.
39233         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39237         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39239         * sysdeps/x86_64/x32/ffs.c: New file.
39241         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39242         __syscall_ulong_t.
39243         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39244         defined.  Use __syscall_ulong_t.
39245         (shminfo): Use __syscall_ulong_t.
39246         (shm_info): Likewise.
39248         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39249         __syscall_ulong_t.
39251         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39252         <bits/wordsize.h>.
39253         (msgqnum_t): Use __syscall_ulong_t.
39254         (msglen_t): Likewise.
39255         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39256         __syscall_ulong_t.
39258         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39259         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39261         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39263         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39264         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39266         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39267         __syscall_slong_t.
39269         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39270         include <bits/wordsize.h>.  Check __x86_64__ instead of
39271         __WORDSIZE.
39273         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39274         "unsigned long long int" if __x86_64__ is defined.
39275         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39278         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39279         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39281         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39282         <stdint.h>.
39283         (GET_PC): Cast to uintptr_t first.
39284         (GET_FRAME): Likewise.
39285         (GET_STACK): Likewise.
39287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39293         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39294         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39295         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39304         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39309         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39311         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39315         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39317 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39319         * Makerules (+depfiles): Also collect depfiles from .oS in
39320         $(extra-objs).
39321         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39322         .oS, $(libnldbl-routines)).
39324         * Makerules (native-compile-mkdep-flags): Define.
39325         * sunrpc/Makefile (extra-objs): Add $(addprefix
39326         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39327         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39328         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39329         calling $(make-target-directory).
39331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39333         * bits/types.h (__snseconds_t): Removed.
39334         * time/time.h (struct timespec): Replace __snseconds_t with
39335         __syscall_slong_t.
39336         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39337         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39338         Likewise.
39339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39340         (__SNSECONDS_T_TYPE): Likewise.
39341         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39342         (__SNSECONDS_T_TYPE): Likewise.
39343         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39344         (__SNSECONDS_T_TYPE): Likewise.
39346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39348         * sysdeps/mach/hurd/bits/typesizes.h
39349         (__SYSCALL_SLONG_TYPE): New macro.
39350         (__SYSCALL_ULONG_TYPE): Likewise.
39352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39354         * bits/types.h (__syscall_slong_t): New type.
39355         (__syscall_ulong_t): Likewise.
39357         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39358         (__SYSCALL_ULONG_TYPE): Likewise.
39359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39360         (__SYSCALL_SLONG_TYPE): Likewise.
39361         (__SYSCALL_ULONG_TYPE): Likewise.
39362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39363         (__SYSCALL_SLONG_TYPE): Likewise.
39364         (__SYSCALL_ULONG_TYPE): Likewise.
39365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39366         (__SYSCALL_SLONG_TYPE): Likewise.
39367         (__SYSCALL_ULONG_TYPE): Likewise.
39369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39371         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39372         Add sigaltstack-offsets.sym.
39373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39374         <sigaltstack-offsets.h>.
39375         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
39376         longjmp_msg pointer.
39377         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
39378         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39379         signal stack.
39380         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39382 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39384         * elf/stackguard-macros.h: Remove file.
39385         * sysdeps/generic/stackguard-macros.h: New file.
39386         * sysdeps/i386/stackguard-macros.h: Likewise.
39387         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39388         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39389         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39390         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39391         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39392         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39393         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39394         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39395         <elf/stackguard-macros.h>.
39397         [BZ #14109]
39398         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39399         __aligned__ in attribute.
39400         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39401         (gregset_t): Likewise.
39403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39405         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39406         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39407         * sysdeps/x86_64/x32/Implies-after: New file.
39409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39411         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39412         and access return value for _dl_profile_fixup.  Use R10_LP to
39413         load frame size.
39415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39417         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39421         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39422         * sysdeps/x86_64/x32/sysdep.h: New file.
39424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39426         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39427         * sysdeps/x86_64/setjmp.S: Likewise.
39429 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39432         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39433         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39434         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39435         remove unused global constant.
39437 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39439         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39440         include of <not-cancel.h>.
39442 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39444         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39446 2012-05-15  Jeff Law  <law@redhat.com>
39447             Andreas Jaeger  <aj@suse.de>
39449         [BZ #13594]
39450         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39451         out from...
39452         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39453         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39454         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39455         code changing __hst_map_handle.map.
39457 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39459         * configure.in (sysnames): Look for Implies-before and Implies-after
39460         files.
39461         * configure: Regenerated.
39463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39465         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39466         8-byte data alignment with LP_SIZE alignment.
39468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39470         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39471         into R10_LP.
39473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39475         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39480         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39482         Likewise.
39483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39487         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39488         (stackinfo_sub_sp): Likewise.
39490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39492         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39493         RAX_LP.
39495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39498         into R*_LP.
39500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39503         sizes into R*_LP.
39505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39507         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39511         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39512         into R11_LP and load __x86_64_shared_cache_size_half into
39513         R8_LP.
39515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39518         R8_LP.
39520 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39523         logb for POWER7.
39524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39525         logbf for POWER7.
39526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39527         logbl for POWER7.
39528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39529         powerpc32/power7/fpu/s_logb.c via #include.
39530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39531         powerpc32/power7/fpu/s_logbf.c via #include.
39532         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39533         powerpc32/power7/fpu/s_logbl.c via #include.
39535 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39537         * README.libm: Remove file.
39539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39541         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39542         count for x32.  Use R*_LP and omit operand-size suffix.
39544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39546         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39547         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39548         * sysdeps/x86_64/x32/shlib-versions: New file.
39550 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39552         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39553         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39554         Use _dl_fatal_printf instead.
39556 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39558         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39559         set if not set by the user.  Do not allow for being unset.
39560         * sysdeps/unix/sysv/linux/configure: Regenerated.
39562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39564         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39565         the `q' suffix from lea and replace .quad with ASM_ADDR.
39567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39570         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39571         instead of $17.
39572         (PTR_DEMANGLE): Likewise.
39574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39576         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39577         (LP_OP): Likewise.
39578         (ASM_ADDR): Likewise.
39579         (RAX_LP): Likewise.
39580         (RBP_LP): Likewise.
39581         (RBX_LP): Likewise.
39582         (RCX_LP): Likewise.
39583         (RDI_LP): Likewise.
39584         (RSI_LP): Likewise.
39585         (RSP_LP): Likewise.
39586         (R8_LP): Likewise.
39587         (R9_LP): Likewise.
39588         (R10_LP): Likewise.
39589         (R10_LP): Likewise.
39590         (R11_LP): Likewise.
39591         (R12_LP): Likewise.
39592         (R13_LP): Likewise.
39593         (R14_LP): Likewise.
39594         (R15_LP): Likewise.
39596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39598         * sysdeps/x86_64/x32/dl-machine.h: New file.
39600 2012-05-14  Andreas Jaeger  <aj@suse.de>
39602         * manual/Makefile (subdir): Remove export of subdir.
39603         (all): Remove target.
39604         (.PHONY): Remove all from list.
39605         (mkinstalldirs): Remove.
39606         (.PHONY): Remove installdirs from list.
39607         ($(inst_infodir)/libc.info): Use make-target-directory.
39608         (installdirs): Remove.
39609         (subdir_%): Remove.
39610         (glibc-targets): Remove.
39611         (lib): Remove.
39612         (stubs): Remove.
39613         ($(objpfx)stubs ../po/manual.pot): Remove.
39614         ($(objpfx)stamp%): Remove.
39615         (make-target-directory): Remove.
39616         (subdir_install): Remove.
39617         (routines): Remove.
39618         (aux): Remove.
39619         (sources): Remove.
39620         (objects): Remove.
39621         (headers): Remove.
39623         [BZ #13750]
39624         * manual/.gitignore: Remove, it's not needed anymore.
39625         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39626         all files in it.
39627         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39628         directory.
39629         (texis): Renamed to $(objpfx)texis.
39630         (texis-path): New, contains path to generated files.
39631         (chapters.%): Use texis-path for complete path, add extra argument
39632         libc-texinfo.sh.
39633         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39634         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39635         (summary,texi, stamp-summary): Use complete path of
39636         files. Generate files in build dir.
39637         (dir-add.texi): Build in build dir.
39638         (libm-err.texi,stamp-libm-err): Likewise.
39639         (version.texi, stamp-version): Likewise.
39640         (.%c.texi): Likewise.
39641         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39642         (mostlyclean): Remove target.
39643         (realclean): Remove target.
39644         (generated): Add new variable with contents from mostlyclean and
39645         realclean, remove entries duplicated in common-mostlyclean, add
39646         stamp-libm-err and stamp-version.
39647         (generated-dirs): Add libc directory.
39648         ($(inst_infodir)/libc.info): Install files from build dir.
39650         * manual/install.texi (Configuring and compiling): Adjust since
39651         the info files are not part of the tar ball anymore.
39653 2012-05-14  Andreas Jaeger  <aj@suse.de>
39655         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39656         variable.
39658 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39660         [BZ #13717]
39661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39662         to 2.2.0 where earlier.
39663         * sysdeps/unix/sysv/linux/configure: Regenerated.
39664         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39665         Remove conditional code.
39666         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39667         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39668         Remove conditional code.
39669         [!__NR_lchown]: Likewise.
39670         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39671         [__NR_lchown]: Likewise.
39672         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39673         comment referencing __ASSUME_LCHOWN_SYSCALL.
39674         * sysdeps/unix/sysv/linux/i386/sigaction.c
39675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39677         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39678         Remove conditional code.
39679         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39680         (__protocol_available): Remove #if 0 code.
39681         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39682         conditional code.
39683         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39684         * sysdeps/unix/sysv/linux/kernel-features.h
39685         (__ASSUME_GETCWD_SYSCALL): Don't define.
39686         (__ASSUME_REALTIME_SIGNALS): Likewise.
39687         (__ASSUME_PREAD_SYSCALL): Likewise.
39688         (__ASSUME_PWRITE_SYSCALL): Likewise.
39689         (__ASSUME_POLL_SYSCALL): Likewise.
39690         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39691         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39692         non-SPARC.
39693         (__ASSUME_SIOCGIFNAME): Don't define.
39694         (__ASSUME_MSG_NOSIGNAL): Likewise.
39695         (__ASSUME_SENDFILE): Define unconditionally.
39696         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39697         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39698         conditional code.
39699         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39700         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39701         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39702         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39703         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39704         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39705         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39707         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39708         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39710         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39713         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39716         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39719         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39722         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39725         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39730         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39731         Remove conditional code.
39732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39733         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39734         Remove conditional code.
39735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39737         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39738         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39739         Remove conditional code.
39740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39741         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39742         Remove conditional code.
39743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39744         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39745         Remove conditional code.
39746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39747         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39748         Remove conditional code.
39749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39750         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39751         Remove conditional code.
39752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39753         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39756         * sysdeps/unix/sysv/linux/sigaction.c
39757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39759         * sysdeps/unix/sysv/linux/sigpending.c
39760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39762         * sysdeps/unix/sysv/linux/sigprocmask.c
39763         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39764         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39765         * sysdeps/unix/sysv/linux/sigsuspend.c
39766         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39767         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39769         (__libc_missing_rt_sigs): Remove.
39770         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39771         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39772         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39773         Remove conditional code.
39774         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39775         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39776         return 1.
39777         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39778         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39779         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39780         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39782 2012-05-14  Andreas Jaeger  <aj@suse.de>
39784         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39785         it's not used in glibc.
39786         (__coshm1): Likewise.
39787         (__acosh1p): Likewise.
39788         (__sgn): Likewise.
39790         * manual/string.texi (Copying and Concatenation): Add missing
39791         variable in concat example.
39792         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39796         [BZ #14103]
39797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39798         __builtin_clzl with __builtin_clzll.
39800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39802         [BZ #14104]
39803         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39804         libc_freeres_ptr.
39806 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39808         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39809         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39810         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39811         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39813 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39815         * NEWS: Update ia64 info.
39817 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39819         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39820         used as bcopy.
39822 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39824         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39825         * sysdeps/unix/syscalls.list (dup3): Likewise.
39826         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39827         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39829 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39831         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39832         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39834 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39836         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39837         thread pointer.
39838         (TLS_IE): Use mov/add instead of movq/addq to load thread
39839         pointer.
39840         (TLS_GD_PREFIX): New.
39841         (TLS_GD): Use it.
39843 2012-05-11  David S. Miller  <davem@davemloft.net>
39845         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39846         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39847         (_FPU_SETCW): Likewise.
39849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39851         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39852         is 32-byte aligned.
39854 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39856         [BZ #11837]
39857         * iconvdata/gb18030.c: Update tables.
39858         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39859         characters specially.
39860         (BODY for TO_LOOP): Add encoding of missing ranges.
39862 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39864         [BZ #13673]
39865         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39866         * sysdeps/mach/hurd/dup3.c: Likewise.
39867         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39868         * sysdeps/powerpc/memmove.c:: Likewise.
39870 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39873         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39875 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39877         * elf/elf.h (R_X86_64_RELATIVE64): New.
39878         (R_X86_64_NUM): Updated.
39879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39880         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39881         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39882         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39883         tst-quad1pie tst-quad2pie
39884         (modules-names): Add tst-quadmod1 tst-quadmod2.
39885         ($(objpfx)tst-quad1): New dependency.
39886         ($(objpfx)tst-quad2): Likewise.
39887         ($(objpfx)tst-quad1pie): Likewise.
39888         ($(objpfx)tst-quad2pie): Likewise.
39889         * sysdeps/x86_64/tst-quad1.c: New file.
39890         * sysdeps/x86_64/tst-quad1pie.c: New file.
39891         * sysdeps/x86_64/tst-quad2.c: Likewise.
39892         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39893         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39894         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39895         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39896         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39900         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39901         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39902         * streams/stropts.h (t_scalar_t): Define type.
39904         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39905         (_PATH_PRESERVE): Set to "/var/lib".
39906         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39908         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39909         instead of int.
39911         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39912         if __dir_mkfile succeeded.
39914         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39915         checking for _hurd_dtablesize.  Unlock it right after having
39916         finished _hurd_dtable allocation.
39918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39920         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39921         * sysdeps/mach/hurd/configure: Regenerated.
39922         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39923         special-casing to...
39924         * sysdeps/gnu/configure.in: ... this new file.
39925         * sysdeps/unix/sysv/linux/configure: Regenerated.
39926         * sysdeps/gnu/configure: New generated file.
39928         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39929         for Linux: use nsec instead of usec, as well as:
39930         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39931         members of type struct timespec.
39932         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39933         New macros.
39934         (struct stat64): Likewise.
39935         (_STATBUF_ST_NSEC): New macro.
39936         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39938         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39939         __strtoul_internal rather than strtoul.
39941 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39943         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39944         and reject them.
39946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39948         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39949         which preserves existing values.
39950         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39954         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39955         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39956         greater than FD_SETSIZE.
39958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39960         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39961         allocated, call __vm_protect to finish enabling the existing space, and
39962         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39963         allocate the remainder.
39965 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39967         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39968         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39972         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39973         sysdeps/mach/hurd/readlink.c.
39975         * posix/tst-sysconf.c (posix_options): Only use
39976         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39977         _POSIX_SYNCHRONIZED_IO when they are defined
39978         * sysdeps/mach/hurd/bits/posix_opt.h:
39979         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39980         (_XOPEN_REALTIME): Undefine macro.
39981         (_XOPEN_REALTIME_THREADS): Undefine macro.
39982         (_XOPEN_SHM): Undefine macro.
39983         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39984         macro to -1.
39985         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39986         macro to -1.
39987         (_POSIX_ASYNC_IO): Undefine macro.
39988         (_POSIX_PRIORITIZED_IO): Undefine macro.
39989         (_POSIX_SPIN_LOCKS): Define macro to -1.
39991         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39992         SA_NODEFER, SA_RESETHAND.
39993         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39994         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39995         F_DUPFD_CLOEXEC.
39997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39999         * elf/Makefile (pldd-modules): Define unconditionally.
40001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40003         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40007         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40008         Return ENOENT when name is empty.
40009         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40013         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40015         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40019         Fix mlock in all cases except non-readable pages.
40020         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40021         instead of VM_PROT_ALL as parameter to __vm_wire function.
40023         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40024         (__mkdir): When path is `/', just fail with EEXIST.
40025         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40029         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40030         <sys/uio.h> (for writev).
40031         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40032         and <sys/param.h> (for MIN).
40034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40036         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40037         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40038         if interrupted.
40040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40042         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40043         Depend on against $(link-rpcuserlibs).
40045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40047         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40048         (__libc_stack_end): Do not use attribute_relro.
40049         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40050         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40051         to libthread-provided value.
40052         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40053         attribute_relro.
40055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40057         [BZ #3748]
40058         * bits/libc-lock.h (__libc_once_get): New macro.
40059         * sysdeps/mach/bits/libc-lock.h: Likewise.
40060         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40062         instead of using implementation details.
40064         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40065         * libio/freopen.c: Likewise.
40066         * libio/freopen64.c: Likewise.
40067         * misc/syslog.c: Likewise.
40068         * nscd/connections.c: Likewise.
40069         * nscd/netgroupcache.c: Likewise.
40070         * sysdeps/posix/getcwd.c: Likewise.
40072 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40074         * math/w_ilogbf.c: Add #include <limits.h>.
40076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40078         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40079         path instead of returning without unlocking.
40081         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40082         immediate-write ioctls.
40083         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40087         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40088         __builtin_frame_address instead of making assumptions about the
40089         location of the return address relative to DATA.  Force early load of
40090         the return address.
40091         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40092         __builtin_frame_address.
40094         dup3 for GNU Hurd.
40095         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40096         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40097         implement dup3 and do some further code clean-ups.
40098         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40099         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40103         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40105         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40106         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40107         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40108         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40109         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40110         d->port.lock.
40112         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40113         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40114         when handler == SIG_ERR, not when handler != SIG_ERR.
40116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40118         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40119         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40120         definitions.
40122         accept4 for GNU Hurd.
40123         * include/sys/socket.h (__libc_accept4): New prototype.
40124         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40125         to implement __libc_accept4.
40126         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40127         __libc_accept4.
40128         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40130         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40131         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40132         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40133         signal-defines.sym.
40135 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40137         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40141         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40142         assertion on O_CLOEXEC flag.
40143         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40144         * hurd/intern-fd.c: Likewise.
40145         * hurd/port2fd.c: Likewise.
40147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40149         [BZ #3906]
40150         * bits/in.h (IPV6_PKTINFO): Define new macro.
40151         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40153 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40155         [BZ #13954]
40156         [BZ #13955]
40157         [BZ #13956]
40158         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40160         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40161         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40162         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40163         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40164         * math/libm-test.inc (logb_test) : Additional logb tests.
40166 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40167             Andreas Jaeger  <aj@suse.de>
40169         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40170         * configure: Regenerated.
40171         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40172         * config.make.in (link-obsolete-rpc): New substituted variable.
40173         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40174         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40175         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40176         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40177         so that libc.a contains the symbols.
40178         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40179         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40180         * sunrpc/auth_none.c: Likewise.
40181         * sunrpc/auth_unix.c: Likewise.
40182         * sunrpc/authdes_prot.c: Likewise.
40183         * sunrpc/authuxprot.c: Likewise.
40184         * sunrpc/clnt_gen.c: Likewise.
40185         * sunrpc/clnt_perr.c: Likewise.
40186         * sunrpc/clnt_raw.c: Likewise.
40187         * sunrpc/clnt_simp.c: Likewise.
40188         * sunrpc/clnt_tcp.c: Likewise.
40189         * sunrpc/clnt_udp.c: Likewise.
40190         * sunrpc/clnt_unix.c: Likewise.
40191         * sunrpc/des_crypt.c: Likewise.
40192         * sunrpc/des_soft.c: Likewise.
40193         * sunrpc/get_myaddr.c: Likewise.
40194         * sunrpc/key_call.c: Likewise.
40195         * sunrpc/key_prot.c: Likewise.
40196         * sunrpc/netname.c: Likewise.
40197         * sunrpc/pm_getmaps.c: Likewise.
40198         * sunrpc/pm_getport.c: Likewise.
40199         * sunrpc/pmap_clnt.c: Likewise.
40200         * sunrpc/pmap_prot.c: Likewise.
40201         * sunrpc/pmap_prot2.c: Likewise.
40202         * sunrpc/pmap_rmt.c: Likewise.
40203         * sunrpc/publickey.c: Likewise.
40204         * sunrpc/rpc_cmsg.c: Likewise.
40205         * sunrpc/rpc_common.c: Likewise.
40206         * sunrpc/rpc_dtable.c: Likewise.
40207         * sunrpc/rpc_prot.c: Likewise.
40208         * sunrpc/rpc_thread.c: Likewise.
40209         * sunrpc/rtime.c: Likewise.
40210         * sunrpc/svc.c: Likewise.
40211         * sunrpc/svc_auth.c: Likewise.
40212         * sunrpc/svc_raw.c: Likewise.
40213         * sunrpc/svc_run.c: Likewise.
40214         * sunrpc/svc_tcp.c: Likewise.
40215         * sunrpc/svc_udp.c: Likewise.
40216         * sunrpc/svc_unix.c: Likewise.
40217         * sunrpc/svcauth_des.c: Likewise.
40218         * sunrpc/xcrypt.c: Likewise.
40219         * sunrpc/xdr.c: Likewise.
40220         * sunrpc/xdr_array.c: Likewise.
40221         * sunrpc/xdr_float.c: Likewise.
40222         * sunrpc/xdr_intXX_t.c: Likewise.
40223         * sunrpc/xdr_mem.c: Likewise.
40224         * sunrpc/xdr_rec.c: Likewise.
40225         * sunrpc/xdr_ref.c: Likewise.
40226         * sunrpc/xdr_sizeof.c: Likewise.
40227         * sunrpc/xdr_stdio.c: Likewise.
40229 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40232         change.  Update copyright years.
40234 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40236         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40238 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40239             Joseph Myers  <joseph@codesourcery.com>
40240             Paul Pluzhnikov  <ppluzhnikov@google.com>
40242         [BZ #14012]
40243         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40244         requiring rpcgen.
40245         [cross-compiling] (extra-libs): Likewise.
40246         [cross-compiling] (extra-libs-others): Likewise.
40247         [cross-compiling] (librpcsvc-routines): Likewise.
40248         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40249         [cross-compiling] (omit-deps): Likewise.
40250         (sunrpc-CPPFLAGS): New variable.
40251         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40252         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40253         (cross-rpcgen-objs): New variable.
40254         (extra-objs): Append $(cross-rpcgen-objs).
40255         ($(cross-rpcgen-objs)): New rule.
40256         ($(objpfx)cross-rpcgen): Likewise.
40257         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40258         comment.
40259         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40260         ($(objpfx)x%.stmp): Likewise.
40261         * sunrpc/proto.h [IS_IN_build] (_): Define.
40262         [IS_IN_build] (_libc_intl_domainname): Likewise.
40264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40267         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40268         and R_X86_64_TPOFF64.
40270 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40272         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40273         sysdeps/unix/sysv/syscalls.list.
40274         (stime): Likewise.
40275         (utime): Likewise.
40276         * sysdeps/unix/sysv/syscalls.list: Remove file.
40278 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40280         [BZ #3440]
40281         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40282         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40283         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40284         (__LC_IDENTIFICATION): Make these macros useful in #if
40285         expressions, as required by C99.
40287 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40289         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40290         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40291         after this.
40293 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40295         * stdlib/longlong.h: Updated from GCC.
40297 2012-05-09  Andreas Jaeger  <aj@suse.de>
40299         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40300         default is first entry.
40301         (run_mode): Set type.
40302         (main): Remove informal message about syslog.
40303         (options): Fix typo.
40305         [BZ #14053]
40306         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40307         to asm.
40308         (lrint): Likewise.
40309         (llrintf): Likewise.
40310         (llrint): Likewise.
40311         (rint): Likewise.
40312         (rintf): Likewise.
40313         (nearbyint): Likewise.
40314         (nearbyintf): Likewise.
40316 2012-05-09  Andreas Jaeger  <aj@suse.de>
40317             Pedro Alves  <palves@redhat.com>
40319         * nscd/nscd.c (run_mode): Use enum.
40320         (main): Cleanup coding style issue.
40322 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40323             Andreas Jaeger  <aj@suse.de>
40325         * nscd/nscd.c (go_background): Replaced with...
40326         (run_mode): ... this.
40327         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40328         (options): Add -F --foreground.
40329         (main): Implement it.
40330         (parse_opt): Parse it.
40332 2012-05-09  Andreas Jaeger  <aj@suse.de>
40334         [BZ #14083]
40335         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40336         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40337         -Wconversion warning.
40338         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40339         Likewise.
40341 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40343         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40344         == 0.
40345         (LC_ALL): Use macro-int-constant.
40346         (LC_COLLATE): Likewise.
40347         (LC_CTYPE): Likewise.
40348         (LC_MESSAGES): Likewise.
40349         (LC_MONETARY): Likewise.
40350         (LC_NUMERIC): Likewise.
40351         (LC_TIME): Likewise.
40352         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40353         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40355         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40356         Specify type.
40357         [C99-based standards] (float_t): Expect type.
40358         [C99-based standards] (double_t): Expect type.
40359         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
40360         type.
40361         [C99-based standards] (HUGE_VALL): Likewise.
40362         [C99-based standards] (INFINITY): Likewise.
40363         [C99-based standards] (NAN): Likewise.
40364         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40365         [C99-based standards] (FP_NAN): Likewise.
40366         [C99-based standards] (FP_NORMAL): Likewise.
40367         [C99-based standards] (FP_SUBNORMAL): Likewise.
40368         [C99-based standards] (FP_ZERO): Likewise.
40369         [C99-based standards] (FP_FAST_FMA): Use
40370         optional-macro-int-constant.  Specify type.  Require == 1.
40371         [C99-based standards] (FP_FAST_FMAF): Likewise.
40372         [C99-based standards] (FP_FAST_FMAL): Likewise.
40373         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40374         [C99-based standards] (FP_ILOGBNAN): Likewise.
40375         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40376         Specify type.
40377         [C99-based standards] (MATH_ERREXCEPT): Likewise.
40378         [C99-based standards] (math_errhandling): Specify type.
40379         [ISO99 || ISO11] (signgam): Do not allow.
40380         [non-C99-based standards] (copysignf): Do not allow.
40381         [non-C99-based standards] (exp2f): Likewise.
40382         [non-C99-based standards] (log2f): Likewise.
40383         [non-C99-based standards] (modff): Allow.
40384         [non-C99-based standards] (erff): Do not allow.
40385         [non-C99-based standards] (erfcf): Likewise.
40386         [non-C99-based standards] (gammaf): Likewise.
40387         [non-C99-based standards] (hypotf): Likewise.
40388         [non-C99-based standards] (j0f): Likewise.
40389         [non-C99-based standards] (j1f): Likewise.
40390         [non-C99-based standards] (jnf): Likewise.
40391         [non-C99-based standards] (lgammaf): Likewise.
40392         [non-C99-based standards] (tgammaf): Likewise.
40393         [non-C99-based standards] (y0f): Likewise.
40394         [non-C99-based standards] (y1f): Likewise.
40395         [non-C99-based standards] (ynf): Likewise.
40396         [non-C99-based standards] (isnanf): Likewise.
40397         [non-C99-based standards] (acoshf): Likewise.
40398         [non-C99-based standards] (asinhf): Likewise.
40399         [non-C99-based standards] (atanhf): Likewise.
40400         [non-C99-based standards] (cbrtf): Likewise.
40401         [non-C99-based standards] (expm1f): Likewise.
40402         [non-C99-based standards] (ilogbf): Likewise.
40403         [non-C99-based standards] (log1pf): Likewise.
40404         [non-C99-based standards] (logbf): Likewise.
40405         [non-C99-based standards] (nextafterf): Likewise.
40406         [non-C99-based standards] (remainderf): Likewise.
40407         [non-C99-based standards] (rintf): Likewise.
40408         [non-C99-based standards] (scalbf): Likewise.
40409         [non-C99-based standards] (copysignl): Likewise.
40410         [non-C99-based standards] (exp2l): Likewise.
40411         [non-C99-based standards] (log2l): Likewise.
40412         [non-C99-based standards] (modfl): Allow.
40413         [non-C99-based standards] (erfl): Do not allow.
40414         [non-C99-based standards] (erfcl): Likewise.
40415         [non-C99-based standards] (gammal): Likewise.
40416         [non-C99-based standards] (hypotl): Likewise.
40417         [non-C99-based standards] (j0l): Likewise.
40418         [non-C99-based standards] (j1l): Likewise.
40419         [non-C99-based standards] (jnl): Likewise.
40420         [non-C99-based standards] (lgammal): Likewise.
40421         [non-C99-based standards] (tgammal): Likewise.
40422         [non-C99-based standards] (y0l): Likewise.
40423         [non-C99-based standards] (y1l): Likewise.
40424         [non-C99-based standards] (ynl): Likewise.
40425         [non-C99-based standards] (isnanl): Likewise.
40426         [non-C99-based standards] (acoshl): Likewise.
40427         [non-C99-based standards] (asinhl): Likewise.
40428         [non-C99-based standards] (atanhl): Likewise.
40429         [non-C99-based standards] (cbrtl): Likewise.
40430         [non-C99-based standards] (expm1l): Likewise.
40431         [non-C99-based standards] (ilogbl): Likewise.
40432         [non-C99-based standards] (log1pl): Likewise.
40433         [non-C99-based standards] (logbl): Likewise.
40434         [non-C99-based standards] (nextafterl): Likewise.
40435         [non-C99-based standards] (remainderl): Likewise.
40436         [non-C99-based standards] (rintl): Likewise.
40437         [non-C99-based standards] (scalbl): Likewise.
40438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40439         [non-C99-based standards] (FP_*): Do not allow.
40440         [C99-based standards] (FP_*): Change to
40441         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40442         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40443         allow.
40444         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40445         (SIG_ERR): Likewise.
40446         [X/Open-based standards] (SIG_HOLD): Likewise.
40447         (SIG_IGN): Likewise.
40448         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40449         positive value.
40450         (SIGFPE): Likewise.
40451         (SIGILL): Likewise.
40452         (SIGINT): Likewise.
40453         (SIGSEGV): Likewise.
40454         (SIGTER): Likewise.
40455         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40456         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40457         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40458         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40459         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40460         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40461         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40462         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40463         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40464         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40465         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40466         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40467         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40468         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40469         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40470         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40471         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40472         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40473         [X/Open-based standards] (SIGTRAP): Likewise.
40474         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40475         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40476         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40477         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40478         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40479         allow.
40481 2012-05-08  Ian Wienand  <ianw@vmware.com>
40483         [BZ #14080]
40484         * time/tzset.c (__tzset_parse_tz): Update default rules for
40485         daylight time changes in the Energy Policy Act of 2005.
40487 2012-05-09  Andreas Jaeger  <aj@suse.de>
40489         [BZ #13983]
40490         * elf/ldconfig.c (parse_conf): Change string to make clear that
40491         ldconfig only issued a warning if ld.so.conf does not exist.
40493 2012-05-08  David S. Miller  <davem@davemloft.net>
40495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40496         movxtod instead of popping the value on the stack.
40498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40500 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40502         * config.h.in: Add HAVE_ARM_PCS_VFP.
40504 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40506         [BZ #13979]
40507         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40508         checking but the checks are disabled for any reason.
40510 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40512         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40513         and ELF64_R_TYPE with ELFW(R_TYPE).
40515 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40517         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40518         (ulimit): Likewise.
40520         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40521         (settimeofday): Likewise.
40523 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40525         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40526         a struct th_u2 inside the union, and move tu_block/tu_code into
40527         a new th_u3 union of tu_block/tu_code inside of that.  Move
40528         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40529         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40530         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40531         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40532         (th_stuff): Change to th_u1.tu_stuff.
40533         (th_data): Define.
40534         (th_msg): Change to th_u1.th_u2.tu_data.
40536 2012-05-07  David S. Miller  <davem@davemloft.net>
40538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40540         [BZ #14074]
40541         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40542         (SETUP_PIC_REG): Use it.
40543         (SETUP_PIC_REG_LEAF): Use it.
40545 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40547         [BZ #13885]
40548         [BZ #13923]
40549         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40550         USE_AS_EXPM1L.
40551         (EXPL_FINITE): Likewise.
40552         (FLDLOG): Likewise.
40553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40554         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40555         e_expl.S.
40556         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40557         USE_AS_EXPM1L.
40558         (EXPL_FINITE): Likewise.
40559         (FLDLOG): Likewise.
40560         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40561         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40562         e_expl.S.
40563         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40564         test of -max_value argument for long double.
40565         * sysdeps/i386/fpu/libm-test-ulps: Update.
40566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40568 2012-05-06  David S. Miller  <davem@davemloft.net>
40570         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40571         quad soft-float symbols whose references which are compiler
40572         generated.
40573         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40575 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40577         [BZ #13884]
40578         [BZ #13914]
40579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40580         USE_AS_EXP10L.
40581         (EXPL_FINITE): Likewise.
40582         (FLDLOG): Likewise.
40583         (c0): Likewise.
40584         (c1): Likewise.
40585         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40586         Adjust comments for base varying.
40587         (__expl_finite): Change alias to EXPL_FINITE.
40588         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40589         e_expl.S.
40590         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40591         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40593         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40595         USE_AS_EXP10L.
40596         (EXPL_FINITE): Likewise.
40597         (FLDLOG): Likewise.
40598         (c0): Likewise.
40599         (c1): Likewise.
40600         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40601         Adjust comments for base varying.
40602         (__expl_finite): Change alias to EXPL_FINITE.
40603         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40604         tests for bugs.
40605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40607         [BZ #14064]
40608         * math/libm-test.inc (check_float_internal): Correct ulp
40609         calculation for subnormal expected results.
40611 2012-05-06  Andreas Jaeger  <aj@suse.de>
40613         * Makeconfig (+math-flags): New, set to -frounding-math.
40614         (+cflags): Add +math-flags so that all of glibc gets compiled with
40615         it.
40617         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40619 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40621         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40622         Disable one test.
40624         [BZ #13787]
40625         [BZ #13922]
40626         [BZ #14036]
40627         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40628         (__ieee754_expl): Allow for and saturate large arguments.
40629         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40630         (u_threshold): Likewise.
40631         (__exp): Call __ieee754_exp before checking for overflow and
40632         underflow.
40633         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40634         (u_threshold): Likewise.
40635         (__expf): Call __ieee754_expf before checking for overflow and
40636         underflow.
40637         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40638         (u_threshold): Likewise.
40639         (__expl): Call __ieee754_expl before checking for overflow and
40640         underflow.
40641         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40642         (__ieee754_expl): Allow for and saturate large arguments.
40643         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40644         missing overflow exception on overflow.
40645         (expm1_test): Do not allow missing overflow exception on overflow.
40647         * sysdeps/i386/fpu/e_expl.c: Move to ...
40648         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40649         rather than using inline asm.
40650         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40651         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40652         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40654         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40655         (nice): Likewise.
40656         (poll): Likewise.
40657         (signal): Likewise.
40658         (time): Likewise.
40659         (times): Likewise.
40661 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40663         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40664         sysdeps/unix/common/syscalls.list.
40665         (fchmod): Likewise.
40666         (fchown): Likewise.
40667         (ftruncate): Likewise.
40668         (getrusage): Likewise.
40669         (gettimeofday): Likewise.
40670         (setpgid): Likewise.
40671         (setregid): Likewise.
40672         (setreuid): Likewise.
40673         (sigaction): Likewise.
40674         (truncate): Likewise.
40675         (vhangup): Likewise.
40676         * sysdeps/unix/common/syscalls.list: Remove file.
40677         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40678         * sysdeps/unix/sysv/linux/Implies: Likewise.
40680 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40682         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40684         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40685         Moved to ...
40686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40687         Here.
40688         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40689         to ...
40690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40691         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40692         to ...
40693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40694         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40695         to ...
40696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40697         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40698         to ...
40699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40700         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40701         to ...
40702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40703         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40704         to ...
40705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40706         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40707         to ...
40708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40709         Here.
40710         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40711         to ...
40712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40713         Here.
40714         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40715         to ...
40716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40717         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40718         Moved to ...
40719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40720         Here.
40721         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40722         to ...
40723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40727         * sysdeps/unix/common/bits/dirent.h: Remove file.
40728         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40730         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40731         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40732         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40733         * sysdeps/unix/bsd/isatty.c: Likewise.
40734         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40735         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40736         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40738 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         [BZ #13563]
40741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40742         long double comparison inaccuracies.
40743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40746 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40748         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40751 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40753         [BZ #14049]
40754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40755         nonzero digits before rounding a hex value.
40756         * stdlib/tst-strtod.c (tests): Add another test.
40758 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40760         * sysdeps/s390/fpu/libm-test-ulps: Update.
40762 2012-05-03  Andreas Jaeger  <aj@suse.de>
40764         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40765         does not get optimized out.
40766         (malloc_opt_barrier): New.
40768 2012-05-03  Andreas Jaeger  <aj@suse.de>
40769             Roland McGrath  <roland@hack.frob.com>
40771         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40772         intermediate file deletion.
40773         (generated): Add .symlist files.
40775 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40777         [BZ #13775]
40778         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40779         Redirect under this condition.
40780         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40781         [__USE_GNU] (__dprintf_chk): Not under this condition.
40782         [__USE_GNU] (__vdprintf_chk): Likewise.
40783         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40784         under this condition.
40785         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40786         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40787         [__USE_XOPEN2K8] (vdprintf): Likewise.
40788         [__USE_GNU] (__dprintf_chk): Not under this condition.
40789         [__USE_GNU] (__vdprintf_chk): Likewise.
40790         [__USE_GNU] (dprintf): Likewise.
40791         [__USE_GNU] (vdprintf): Likewise.
40793 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40795         * elf/Makefile (common-generated): Set this instead of generated for
40796         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40797         $(all-built-dso)-derived lists.
40799 2012-05-03  Andreas Jaeger  <aj@suse.de>
40801         * sysdeps/i386/fpu/libm-test-ulps: Update.
40803         * FAQ: Removed.
40804         * FAQ.in: Likewise.
40805         * scripts/gen-FAQ.pl: Likewise.
40806         * manual/install.texi (Installation): Point to online location of
40807         FAQ.
40808         * Makefile (files-for-dist): Remove FAQ.
40809         (FAQ): Remove.
40811 2012-05-02  Allan McRae  <allan@archlinux.org>
40813         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40814         (LDFLAGS-reldepmod5.so): Likewise.
40815         (LDFLAGS-reldep6mod1.so): Likewise.
40816         (LDFLAGS-reldep6mod4.so): Likewise.
40817         (LDFLAGS-reldep8mod3.so): Likewise.
40818         (LDFLAGS-unload4mod1.so): Likewise.
40819         (LDFLAGS-unload4mod2.so): Likewise.
40820         (LDFLAGS-tst-initorder): Likewise.
40821         (LDFLAGS-tst-initordera2.so): Likewise.
40822         (LDFLAGS-tst-initordera3.so): Likewise.
40823         (LDFLAGS-tst-initordera4.so): Likewise.
40824         (LDFLAGS-tst-initorderb2.so): Likewise.
40825         (LDFLAGS-noload): Likewise.
40826         (LDFLAGS-next): Likewise.
40827         (LDFLAGS-order2mod1.so): Likewise.
40828         (LDFLAGS-order2mod2.so): Likewise.
40829         (LDFLAGS-tst-initorder2): Likewise.
40830         (LDFLAGS-tst-initorder2a.so): Likewise.
40831         (LDFLAGS-tst-initorder2b.so): Likewise.
40832         (LDFLAGS-tst-initorder2c.so): Likewise.
40833         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40835 2012-05-02  David S. Miller  <davem@davemloft.net>
40837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40839 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40841         [BZ #14055]
40842         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40844 2012-05-02  Andreas Jaeger  <aj@suse.de>
40846         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40847         since we manipulate rounding mode.
40848         (CPPFLAGS-test-idouble.c): Likewise.
40849         (CPPFLAGS-test-ifloat.c): Likewise.
40850         (CFLAGS-test-ldouble.c): Likewise.
40851         (CFLAGS-test-double.c): Likewise.
40852         (CFLAGS-test-float.c): Likewise.
40853         (CFLAGS-test-misc.c): Likewise.
40854         (CFLAGS-test-test-fenv.c): Likewise.
40856 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40858         [BZ #2550]
40859         [BZ #2570]
40860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40861         comparisons to determine direction to adjust input.
40863 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40865         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40866         output to the target.
40868         * scripts/localplt.awk: New file.
40869         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40870         (check-localplt-CFLAGS): Variable removed.
40871         ($(all-built-dso:=.jmprel)): New static pattern rule.
40872         (generated): Add those targets.
40873         (localplt-built-dso): New variable.
40874         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40876         * elf/check-localplt.c: File removed.
40878         * scripts/check-execstack.awk: New file.
40879         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40880         (check-execstack-CFLAGS): Variable removed.
40881         ($(objpfx)check-execstack.h): Target removed.
40882         ($(objpfx)execstack-default): New target.
40883         (generated): Add that instead of check-execstack.h.
40884         ($(all-built-dso:=.phdr)): New static pattern rule.
40885         (generated): Add those targets.
40886         * elf/check-execstack.c: File removed.
40888         * scripts/check-textrel.awk: New file.
40889         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40890         (check-textrel-CFLAGS): Variable removed.
40891         (all-built-dso): Use := to define.o
40892         ($(all-built-dso:=.dyn)): New static pattern rule.
40893         (generated): Add those targets.
40894         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40895         * config.make.in (READELF): New substituted variable.
40896         * elf/check-textrel.c: File removed.
40898 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40900         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40901         allow.
40902         * conform/data/ctype.h-data [C99-based standards] (isblank):
40903         Expect function.
40904         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40905         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40907         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40908         Specify type.  Require positive value.
40909         (EILSEQ): Likewise.
40910         (ERANGE): Likewise.
40911         [ISO || POSIX] (EILSEQ): Do not expect.
40912         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40913         Specify type.  Require positive value.
40914         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40915         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40916         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40917         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40918         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40919         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40920         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40921         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40922         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40923         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40924         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40925         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40926         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40927         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40928         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40929         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40930         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40931         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40932         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40933         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40934         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40935         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40936         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40937         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40938         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40939         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40940         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40941         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40942         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40943         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40944         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40945         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40946         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40947         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40948         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40949         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40950         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40951         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40952         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40953         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40954         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40955         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40956         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40957         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40958         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40959         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40960         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40961         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40962         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40963         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40964         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40965         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40966         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40967         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40968         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40969         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40970         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40971         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40972         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40973         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40974         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40975         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40976         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40977         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40978         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40979         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40980         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40981         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40982         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40983         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40984         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40985         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40986         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40987         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40988         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40989         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40990         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40991         Require >= 2.
40992         (FLT_ROUNDS): Expect as macro, not constant.
40993         (FLT_MANT_DIG): Use macro-int-constant.
40994         (DBL_MANT_DIG): Likewise.
40995         (LDBL_MANT_DIG): Likewise.
40996         (FLT_DIG): Likewise.
40997         (DBL_DIG): Likewise.
40998         (LDBL_DIG): Likewise.
40999         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41000         (DBL_MIN_EXP): Likewise.
41001         (LDBL_MIN_EXP): Likewise.
41002         (FLT_MAX_EXP): Use macro-int-constant.
41003         (DBL_MAX_EXP): Likewise.
41004         (LDBL_MAX_EXP): Likewise.
41005         (FLT_MAX_10_EXP): Likewise.
41006         (DBL_MAX_10_EXP): Likewise.
41007         (LDBL_MAX_10_EXP): Likewise.
41008         (FLT_MAX): Use macro-constant.
41009         (DBL_MAX): Likewise.
41010         (LDBL_MAX): Likewise.
41011         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41012         (DBL_EPSILON): Likewise.
41013         (LDBL_EPSILON): Likewise.
41014         (FLT_MIN): Likewise.
41015         (DBL_MIN): Likewise.
41016         (LDBL_MIN): Likewise.
41017         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41018         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41019         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41020         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41021         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41022         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41023         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41024         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41025         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41026         [ISO11] (FLT_TRUE_MIN): Likewise.
41027         [ISO11] (LDBL_TRUE_MIN): Likewise.
41028         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41029         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41030         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41031         (SCHAR_MAX): Likewise.
41032         (UCHAR_MAX): Likewise.
41033         (CHAR_MIN): Likewise.
41034         (CHAR_MAX): Likewise.
41035         (MB_LEN_MAX): Use macro-int-constant.
41036         (SHRT_MIN): Use macro-int-constant.  Specify type.
41037         (SHRT_MAX): Likewise.
41038         (USHRT_MAX): Likewise.
41039         (INT_MAX): Likewise.
41040         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41041         bound negative.
41042         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41043         bound with "U".
41044         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41045         bound with "L".
41046         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41047         bound negative.  Suffix upper bound with "L".
41048         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41049         bound with "UL".
41050         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41051         Specify type.
41052         [C99-based standards] (LLONG_MAX): Likewise.
41053         [C99-based standards] (ULLONG_MAX): Likewise.
41054         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41055         == 0.
41056         [ISO11] (max_align_t): Require type.
41057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41059         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41060         from $CFLAGS, without defining away __attribute__ calls.
41061         (checknamespace): Use $CFLAGS_namespace.
41063         * conform/conformtest.pl (@keywords): Only include C99 keywords
41064         for standards based on C99 or C11.
41066         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41067         Disable tests.
41068         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41069         UNIX98]: Likewise.
41071         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41072         usability of symbols in #if.
41074         * conform/conformtest.pl: If macro or constant types start
41075         "promoted:", expect the symbol to be of the following type
41076         promoted by the integer promotions.
41078         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41079         in one place.  Also handle "macro-constant".
41081         * conform/conformtest.pl: Only accept expected macro values with
41082         "==".  Parse all "macro" lines in one place.
41083         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41085         * conform/conformtest.pl: Handle braced types on "constant" lines
41086         instead of handling "typed-constant".
41087         * conform/data/signal.h-data: Use "constant" instead of
41088         "typed-constant".
41090         * conform/conformtest.pl: Handle "optional-" at start of lines in
41091         one place rather than duplicating several cases.  Handle each
41092         format of "macro" line with initial "optional-".
41094         * conform/conformtest.pl: Only accept expected constant or
41095         optional-constant values with "==".  Parse all "constant" lines in
41096         one place.  Parse all "optional-constant" lines in one place.
41097         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41098         * conform/data/fmtmsg.h-data: Likewise.
41099         * conform/data/netinet/in.h-data: Likewise.
41100         * conform/data/tar.h-data: Likewise.
41101         * conform/data/limits.h-data: Use "==" form on "constant" and
41102         "optional-constant" lines.
41104         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41105         Use -std=c99 for XOPEN2K.
41106         (@knownproblems): Remove.
41107         (newtoken): Don't check %isknown.
41109         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41110         Do not expect macro.
41111         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41112         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41113         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41114         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41115         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41116         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41117         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41118         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41119         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41120         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41121         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41122         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41123         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41124         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41125         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41126         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41127         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41128         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41129         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41130         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41131         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41134         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41135         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41136         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41137         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41138         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41139         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41140         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41141         [XPG3] (acosh): Likewise.
41142         [XPG3] (asinh): Likewise.
41143         [XPG3] (atanh): Likewise.
41144         [XPG3] (cbrt): Likewise.
41145         [XPG3] (expm1): Likewise.
41146         [XPG3] (ilogb): Likewise.
41147         [XPG3] (log1p): Likewise.
41148         [XPG3] (logb): Likewise.
41149         [XPG3] (nextafter): Likewise.
41150         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41151         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41152         [XPG3] (remainder): Likewise.
41153         [XPG3] (rint): Likewise.
41154         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41155         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41156         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41157         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41158         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41159         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41160         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41161         [UNIX98 || XOPEN2K] (scalb): Expect.
41162         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41163         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41164         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41165         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41166         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41167         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41168         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41169         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41170         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41171         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41172         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41173         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41174         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41175         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41176         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41177         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41178         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41179         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41180         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41181         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41182         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41183         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41184         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41185         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41186         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41187         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41188         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41189         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41190         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41191         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41192         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41193         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41194         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41195         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41196         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41197         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41198         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41199         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41200         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41201         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41202         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41203         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41204         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41205         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41206         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41207         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41208         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41209         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41210         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41211         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41212         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41213         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41214         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41215         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41216         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41217         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41218         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41219         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41220         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41221         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41222         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41223         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41224         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41225         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41226         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41227         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41228         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41229         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41230         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41231         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41232         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41233         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41234         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41235         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41236         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41237         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41238         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41239         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41240         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41241         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41242         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41243         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41244         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41245         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41246         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41247         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41248         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41249         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41250         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41251         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41252         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41253         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41254         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41255         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41256         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41257         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41258         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41259         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41260         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41261         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41262         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41263         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41264         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41265         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41266         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41267         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41268         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41269         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41270         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41271         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41272         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41273         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41274         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41275         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41276         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41277         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41278         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41279         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41280         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41281         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41282         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41283         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41284         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41285         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41286         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41287         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41288         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41289         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41290         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41291         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41292         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41293         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41294         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41295         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41296         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41297         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41298         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41300         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41301         _XOPEN_SOURCE_EXTENDED for XPG4.
41303         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41305         * Makeconfig (localtime): Remove variable.
41306         (inst_localtime-file): Likewise.
41308 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41311         Update.
41312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41313         Update.
41314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41315         Update.
41316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41317         Update.
41318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41319         Update.
41320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41321         Update.
41322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41323         Update.
41324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41325         Update.
41326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41327         Update.
41329 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41331         [BZ #2550]
41332         [BZ #2570]
41333         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41334         comparisons to determine direction to adjust input.
41335         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41336         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41338         Likewise.
41339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41340         Likewise.
41341         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41342         Likewise.
41343         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41344         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41345         Likewise.
41346         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41347         Likewise.
41348         * math/libm-test.inc (nexttoward_test): Add more tests.
41350 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41352         [BZ #14040]
41353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41354         in version GLIBC_2.1, not GLIBC_2.0.
41355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41356         Likewise.
41358 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
41360         [BZ #13942]
41361         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41362         (1 - x) * (1 + x).
41363         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41364         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41365         * math/libm-test.inc (acos_test): Add more tests.
41366         (asin_test): Likewise.
41367         * sysdeps/i386/fpu/libm-test-ulps: Update.
41368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41370         [BZ #14034]
41371         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41372         of square root.
41373         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41374         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41375         * math/libm-test.inc (acos_test_tonearest): New function.
41376         (acos_test_towardzero): Likewise.
41377         (acos_test_downward): Likewise.
41378         (acos_test_upward): Likewise.
41379         (asin_test_tonearest): Likewise.
41380         (asin_test_towardzero): Likewise.
41381         (asin_test_downward): Likewise.
41382         (asin_test_upward): Likewise.
41383         (main): Call the new functions.
41384         * sysdeps/i386/fpu/libm-test-ulps: Update.
41385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41387         [BZ #13884]
41388         [BZ #13924]
41389         * math/e_exp10.c: Include <float.h>.
41390         (__ieee754_exp10): Handle underflow here rather than multiplying
41391         large negative argument by M_LN10.
41392         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41393         of __ieee754_expf.
41394         * math/e_exp10l.c: Include <float.h>.
41395         (__ieee754_exp10l): Handle underflow here rather than multiplying
41396         large negative argument by M_LN10l.
41397         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41398         spurious overflow exception on underflow.
41400 2012-04-29  Marek Polacek  <polacek@redhat.com>
41402         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41403         (__fortify_function): New macro.
41404         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41405         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41406         __extern_always_inline.
41407         * libio/bits/stdio2.h: Likewise.
41408         * libio/bits/stdio.h: Likewise.
41409         * string/string.h: Likewise.
41410         * string/bits/string3.h: Likewise.
41411         * include/stdio.h: Likewise.
41412         * stdlib/bits/stdlib.h: Likewise.
41413         * stdlib/stdlib.h: Likewise.
41414         * rt/bits/mqueue2.h: Likewise.
41415         * rt/mqueue.h: Likewise.
41416         * posix/bits/unistd.h: Likewise.
41417         * posix/unistd.h: Likewise.
41418         * io/bits/poll2.h: Likewise.
41419         * io/bits/fcntl2.h: Likewise.
41420         * io/fcntl.h: Likewise.
41421         * io/sys/poll.h: Likewise.
41422         * misc/bits/syslog.h: Likewise.
41423         * misc/bits/syslog-ldbl.h: Likewise.
41424         * misc/sys/syslog.h: Likewise.
41425         * socket/bits/socket2.h: Likewise.
41426         * socket/sys/socket.h: Likewise.
41427         * debug/tst-chk1.c: Likewise.
41428         * wcsmbs/bits/wchar2.h: Likewise.
41429         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41430         * wcsmbs/wchar.h: Likewise.
41432 2012-04-29  Andreas Jaeger  <aj@suse.de>
41434         * Makerules (tests): Remove enable-check-abi protection.
41435         (check-abi-warn): Remove.
41436         (check-abi-%): Remove check-abi-warn usage.
41438         * configure.in: Remove check-abi configure option.
41439         * configure: Regenerated.
41440         * config.make.in (enable-check-abi): Remove.
41442 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41444         [BZ #14033]
41445         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41446         double functions to double *_finite functions.
41448         [BZ #13941]
41449         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41450         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41451         LDBL_MIN_EXP.
41452         * stdio-common/Makefile (tests): Add tst-sprintf3.
41453         * stdio-common/tst-sprintf3.c: New file.
41455         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41456         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41458 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41460         * conform/conformtest.pl: Remove duplicate typed-constant
41461         handling.
41463 2012-04-28  David S. Miller  <davem@davemloft.net>
41465         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41466         (check-abi-%): Remove AWK script prerequisite and explicit
41467         abilist directory.
41468         (check-abi): Rewrite to just diff the symlist with the abilist.
41469         (config-tls, config-abi-config): Delete, no longer used.
41470         (update-abi-%): Remove AWK script and explicit abilist directory.
41471         (update-abi): Rewrite to simply compare and conditionally copy the
41472         symlist and the sysdep abilist file.  Remove update-abi-config
41473         checks.
41474         * abilist/ld.abilist: Remove.
41475         * abilist/libBrokenLocale.abilist: Remove.
41476         * abilist/libanl.abilist: Remove.
41477         * abilist/libcrypt.abilist: Remove.
41478         * abilist/libdl.abilist: Remove.
41479         * abilist/librt.abilist: Remove.
41480         * abilist/libthread_db.abilist: Remove.
41481         * abilist/libutil.abilist: Remove.
41482         * scripts/extract-abilist.awk: Remove.
41483         * scripts/merge-abilist.awk: Remove.
41484         * sysdeps/generic/libcidn.abilist: New file.
41485         * sysdeps/generic/libnss_compat.abilist: New file.
41486         * sysdeps/generic/libnss_db.abilist: New file.
41487         * sysdeps/generic/libnss_dns.abilist: New file.
41488         * sysdeps/generic/libnss_files.abilist: New file.
41489         * sysdeps/generic/libnss_hesiod.abilist: New file.
41490         * sysdeps/generic/libnss_nis.abilist: New file.
41491         * sysdeps/generic/libnss_nisplus.abilist: New file.
41492         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41493         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41494         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41495         file.
41496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41497         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41498         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41499         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41500         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41501         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41502         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41503         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41504         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41505         file.
41506         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41507         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41508         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41509         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41510         file.
41511         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41512         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41514         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41515         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41516         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41517         file.
41518         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41519         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41520         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41521         file.
41522         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41524         New file.
41525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41526         New file.
41527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41528         New file.
41529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41530         New file.
41531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41532         New file.
41533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41534         New file.
41535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41536         New file.
41537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41538         New file.
41539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41540         New file.
41541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41542         New file.
41543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41544         New file.
41545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41546         New file.
41547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41548         New file.
41549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41550         file.
41551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41552         New file.
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41554         New file.
41555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41556         file.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41558         New file.
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41560         New file.
41561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41562         file.
41563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41564         New file.
41565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41566         New file.
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41568         New file.
41569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41570         New file.
41571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41572         New file.
41573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41574         New file.
41575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41577         file.
41578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41579         New file.
41580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41581         file.
41582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41583         file.
41584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41585         file.
41586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41587         file.
41588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41589         file.
41590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41591         New file.
41592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41593         file.
41594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41595         file.
41596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41597         New file.
41598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41599         file.
41600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41602         file.
41603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41604         New file.
41605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41606         file.
41607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41608         file.
41609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41610         file.
41611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41612         file.
41613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41614         file.
41615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41616         New file.
41617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41618         file.
41619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41620         file.
41621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41622         New file.
41623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41624         file.
41625         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41626         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41627         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41628         file.
41629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41630         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41631         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41632         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41633         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41634         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41635         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41636         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41637         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41638         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41641         file.
41642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41643         New file.
41644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41645         file.
41646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41647         file.
41648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41649         file.
41650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41651         file.
41652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41653         file.
41654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41655         New file.
41656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41657         New file.
41658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41659         file.
41660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41661         New file.
41662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41663         file.
41664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41666         file.
41667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41668         New file.
41669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41670         file.
41671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41672         file.
41673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41674         file.
41675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41676         file.
41677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41678         file.
41679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41680         New file.
41681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41682         New file.
41683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41684         file.
41685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41686         New file.
41687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41688         file.
41690 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41692         * conform/conformtest.pl: Fix typo in handling typed-constant from
41693         allow-header.
41695 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41697         * README: Cut down references to pre-2.6 Linux kernels and
41698         Linuxthreads.  Update lists of configurations in libc and ports
41699         and sort alphabetically.  Say "or newer" with Linux kernel version
41700         requirements.
41702         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41704 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41706         [BZ #887]
41707         * math/libm-test.inc (logb_test_downward): New test to expose
41708         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41709         rounding mode.
41711 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41713         [BZ #14027]
41714         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41715         to be done.
41716         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41717         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41719 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41721         * sysdeps/unix/i386/brk.S: Remove file.
41722         * sysdeps/unix/i386/dl-brk.S: Likewise.
41723         * sysdeps/unix/i386/pipe.S: Likewise.
41724         * sysdeps/unix/i386/sigreturn.S: Likewise.
41725         * sysdeps/unix/i386/syscall.S: Likewise.
41726         * sysdeps/unix/i386/vfork.S: Likewise.
41727         * sysdeps/unix/i386/wait.S: Likewise.
41729         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41730         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41732         * configure.in (arm*-none*): Do not allow without
41733         --enable-hacker-mode.
41734         (netbsd*): Remove case setting base_os.
41735         (386bsd*): Likewise.
41736         (freebsd*): Likewise.
41737         (bsdi*): Likewise.
41738         (osf*): Likewise.
41739         (sunos*): Likewise.
41740         (ultrix*): Likewise.
41741         (newsos*): Likewise.
41742         (dynix*): Likewise.
41743         (*bsd*): Likewise.
41744         (sysv*): Likewise.
41745         (isc*): Likewise.
41746         (esix*): Likewise.
41747         (sco*): Likewise.
41748         (minix*): Likewise.
41749         (irix4*): Likewise.
41750         (irix6*): Likewise.
41751         (solaris[2-9]*): Likewise.
41752         (none): Likewise.
41753         * configure: Regenerated.
41755 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41757         [BZ #11521]
41758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41759         overflow or cancellation in calculating denominator.
41760         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41761         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41762         down expression to avoid unexpected rounding in newer GCCs.
41763         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41765 2012-04-26  David S. Miller  <davem@davemloft.net>
41767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41768         long-double compat symbols.
41769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41783 2012-04-25  David S. Miller  <davem@davemloft.net>
41785         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41786         HWCAP_* values only after the memory barriers have been defined.
41787         (atomic_full_barrier): Define.
41788         (atomic_read_barrier): Define.
41789         (atomic_write_barrier): Define.
41791 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41793         * shlib-versions: Add libgcc_s version information.
41794         * sysdeps/generic/libgcc_s.h: Remove.
41795         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41796         libgcc_s.h.
41797         * sysdeps/gnu/unwind-resume.c: Likewise.
41798         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41800 2012-04-25  David S. Miller  <davem@davemloft.net>
41802         * sysdeps/unix/sparc/brk.S: Delete.
41803         * sysdeps/unix/sparc/dl-brk.S: Delete.
41804         * sysdeps/unix/sparc/pipe.S: Delete.
41805         * sysdeps/unix/sparc/sysdep.S: Delete.
41806         * sysdeps/unix/sparc/sysdep.h: Delete.
41807         * sysdeps/unix/sparc/vfork.S: Delete.
41808         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41809         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41810         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41811         (ret_ERRVAL, r0, r1, MOVE): Define.
41812         (JUMPTARGET): Remove.
41813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41814         sysdeps/unix/sparc/sysdep.h
41815         (ENTRY, END): Remove.
41816         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41818 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41820         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41821         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41822         -DIS_IN_build.
41824         * timezone/README: Update upstream location and email address for
41825         tzcode and tzdata.
41826         * timezone/zdump.c: Update from tzcode 2012b.
41827         * timezone/zic.c: Likewise.
41829         * configure.in (libc_cv_as_needed): Remove test.
41830         * configure: Regenerated.
41831         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41832         conditional definition.
41833         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41834         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41835         * config.make.in (have-as-needed): Remove variable.
41837 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41838             Paul Pluzhnikov  <ppluzhnikov@google.com>
41840         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41841         strings correctly.
41843 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41845         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41846         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41847         * sysdeps/sh/strlen.S: Likewise.
41849 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41851         * sysdeps/unix/fork.S: Remove file.
41852         * sysdeps/unix/i386/fork.S: Likewise.
41853         * sysdeps/unix/sparc/fork.S: Likewise.
41855         * sysdeps/unix/system.c: Remove file.
41856         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41858         * sysdeps/unix/getegid.S: Remove file.
41859         * sysdeps/unix/geteuid.S: Likewise.
41861 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41863         * scripts/check-localplt.awk: New file.
41864         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41865         of diff.
41866         * scripts/data/localplt-generic.data: Add a comment.
41868         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41869         NODE when __dir_mkfile failed.
41870         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41871         Reported by Ludovic Courtès <ludo@gnu.org>.
41873 2012-04-24  Andreas Jaeger  <aj@suse.de>
41875         * Makerules (common-clean): Also remove gen-as-const-headers
41876         files.
41878 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41880         * Makerules (native-compile): Do not change working directory for
41881         build.  Use $(OUTPUT_OPTION) in command.
41882         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41884 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41886         [BZ #13886]
41887         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41888         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41889         * math/libm-test.inc (floor_test): Add more tests.
41890         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41892 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41894         * sysdeps/unix/getdents.c: Remove file.
41895         * sysdeps/unix/sysv/getdents.c: Likewise.
41896         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41898         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41899         sysdeps/unix/mman/syscalls.list.
41900         (mmap): Likewise.
41901         (mprotect): Likewise.
41902         (msync): Likewise.
41903         (munmap): Likewise.
41904         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41905         * sysdeps/unix/mman/syscalls.list: Remove.
41906         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41908         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41909         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41910         * configure: Regenerated.
41911         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41912         $(libgcc_s_suffix).
41913         * config.make.in (libgcc_s_suffix): Remove variable.
41915 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41917         * sysdeps/unix/sysv/gethostname.c: Move to ...
41918         * sysdeps/posix/gethostname.c: ... here.
41920         * sysdeps/unix/execve.S: Remove file.
41922         * sysdeps/unix/_exit.S: Remove file.
41924 2012-04-23  Andreas Jaeger  <aj@suse.de>
41926         [BZ #13739]
41927         * manual/Makefile: Remove make dist support, there's no
41928         need for a stand-alone documentation tar ball.
41929         (TEXI2DVI): Define always, it's not in Makeconfig.
41930         (dist): Removed.
41931         (tar-it): Removed.
41932         (edition): Removed.
41933         (glibc-doc-$(edition).tar): Removed
41934         (%.Z): Removed.
41935         (%.gz): Removed.
41936         (%.uu): Removed.
41937         (ETAGS): Remove, it's in Makeconfig.
41938         (move-if-change): Remove, it's in Makeconfig.
41940 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41942         [BZ #13970]
41943         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41944         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41945         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41946         (strtod_l, strtof_l, strtold_l): Remove __wur.
41947         It is not necessarily an error to ignore strtol's return value.
41948         One can reliably look at the stored endptr to decide whether
41949         the number had valid syntax.
41951 2012-04-21  Andreas Jaeger  <aj@suse.de>
41953         [BZ #13739]
41954         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41956 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41958         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41959         * sysdeps/unix/sysv/Versions: Remove file.
41961 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41963         [BZ #13927]
41964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41966 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41968         [BZ #7064]
41969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41970         version from __vm86.
41972 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41974         * sysdeps/unix/common/lxstat.c: Remove file.
41975         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41977         * sysdeps/unix/sysv/Makefile: Remove file.
41979         * sysdeps/unix/sysv/direct.h: Remove file.
41981         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41982         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41983         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41984         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41985         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41986         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41987         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41989         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41991         * sysdeps/unix/xmknod.c: Remove file.
41992         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41994         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41996         * sysdeps/unix/sysv/i386/time.S: Remove file.
41998         * sysdeps/unix/fxstat.c: Remove file.
41999         * sysdeps/unix/xstat.c: Likewise.
42000         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42002         * sysdeps/unix/sysv/sigaction.c: Remove file.
42004         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42005         (sysdep_headers): Remove variable.
42006         [termio.h not in sysdep_headers] (generated): Likewise.
42007         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42008         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42009         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42010         * sysdeps/unix/sysv/tcflow.c: Likewise.
42011         * sysdeps/unix/sysv/tcflush.c: Likewise.
42012         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42013         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42014         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42015         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42016         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42018         * sysdeps/unix/siglist.c: Remove file.
42020         * sysdeps/unix/getppid.S: Remove file.
42022         * sysdeps/unix/mkdir.c: Remove file.
42023         * sysdeps/unix/rmdir.c: Likewise.
42025 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42027         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42028         ERR_MAX value.
42029         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42030         errlist-compat value.
42032 2012-04-18  David S. Miller  <davem@davemloft.net>
42034         * sysdeps/generic/memcopy.h (reg_char): Delete.
42035         * debug/strcat_chk.c: Use char, not reg_char.
42036         * debug/strcpy_chk.c: Likewise.
42037         * debug/strncat_chk.c: Likewise.
42038         * debug/strncpy_chk.c: Likewise.
42039         * string/memchr.c: Likewise.
42040         * string/memrchr.c: Likewise.
42041         * string/rawmemchr.c: Likewise.
42042         * string/strcat.c: Likewise.
42043         * string/strchr.c: Likewise.
42044         * string/strchrnul.c: Likewise.
42045         * string/strcmp.c: Likewise.
42046         * string/strcpy.c: Likewise.
42047         * string/strncat.c: Likewise.
42048         * string/strncmp.c: Likewise.
42049         * string/strncpy.c: Likewise.
42051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42053         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42054         __builtin_memcopy is called when src and dest ranges are known to not
42055         overlap.
42057 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42059         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42060         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42061         fwd_align_merge macro call.
42062         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42063         bwd_align_merge macro call.
42064         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42066 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42068         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42069         bwd_align_merge macros.
42070         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42071         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42074 2012-04-18  David S. Miller  <davem@davemloft.net>
42076         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42078 2012-04-18  Andreas Jaeger  <aj@suse.de>
42080         [BZ# 6794]
42081         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42082         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42083         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42085         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42086         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42087         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42089         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42090         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42091         Adjust for changed ldbl-128 files.
42093         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42094         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42095         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42097 2012-04-17  David S. Miller  <davem@davemloft.net>
42099         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42101 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42103         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42104         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42105         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42106         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42107         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42108         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42110 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42112         [BZ #6794]
42113         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42114         * math/libm-test.inc: Add ilogb errno and exception tests.
42115         * math/w_ilogb.c: New file: ilogb wrapper.
42116         * math/w_ilogbf.c: New file: ilogbf wrapper.
42117         * math/w_ilogbl.c: New file: ilogbl wrapper.
42118         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42119         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42120         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42121         exception being thrown with 0.0 as argument.
42122         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42123         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42124         exception being thrown with 0.0 as argument.
42125         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42126         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42127         exception being thrown with 0.0 as argument.
42128         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42129         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42130         exception being thrown with 0.0 as argument.
42131         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42132         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42133         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42134         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42136         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42137         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42138         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42139         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42141 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42143         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42144         with altivec.
42146 2012-04-16  Marek Polacek  <polacek@redhat.com>
42148         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42150 2012-04-16  Marek Polacek  <polacek@redhat.com>
42152         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42153         operands of fdivp instruction.
42155 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42157         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42158         * elf/tst-auditmod3b.c: Likewise.
42159         * elf/tst-auditmod4b.c: Likewise.
42160         * elf/tst-auditmod5b.c: Likewise.
42161         * elf/tst-auditmod6b.c: Likewise.
42162         * elf/tst-auditmod6c.c: Likewise.
42163         * elf/tst-auditmod7b.c: Likewise.
42164         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42165         * sysdeps/x86_64/preconfigure.in: Likewise.
42166         * sysdeps/x86_64/preconfigure: Regenerated.
42168 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42170         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42171         __ILP32__.
42173 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42175         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42176         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42178 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42180         [BZ #13973]
42181         * locale/iso-639.def: Fix gl language name. Spotted by
42182         Yaron Shahrabani.
42184 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42186         [BZ #2074]
42187         * libio/libio.h (__io_write_fn): Update comment.
42189 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42191         [BZ #2074]
42192         * stdio.texi (Hook Functions): The user provided writer function
42193         is not allowed to return -1.
42195 2012-04-11  David S. Miller  <davem@davemloft.net>
42197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42199 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42201         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42202         Add a leading slash to rtkaio.
42204 2012-04-11  Jim Meyering  <meyering@redhat.com>
42206         [BZ #11959]
42207         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42208         It is not necessarily an error to ignore fwrite's return
42209         value.  One can reliably use ferror to test for errors after
42210         the fact.
42212 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42214         * bits/types.h (__snseconds_t): New type.
42215         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42217         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42219         (__SNSECONDS_T_TYPE): Likewise.
42220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42221         (__SNSECONDS_T_TYPE): Likewise.
42222         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42223         (__SNSECONDS_T_TYPE): Likewise.
42225 2012-04-10  Andreas Jaeger  <aj@suse.de>
42227         [BZ #2636]
42228         * manual/time.texi (Processor Time): Return type of times is
42229         elapsed real time since an arbitrary point in the past.
42230         (CPU Time): Move CLK_TCK from here...
42231         (Processor Time): ...to here.  Correct description.
42232         * manual/conf.texi (Constants for Sysconf): Correct description of
42233         _SC_CLK_TCK.
42235 2012-04-10  David S. Miller  <davem@davemloft.net>
42237         [BZ #13967]
42238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42239         where the is a gap between DT_REL(A) and DT_JMPREL.
42241 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42243         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42244         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42245         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42247 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42249         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42250         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42251         (dl_main): Handle --inhibit-cache.
42252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42253         _dl_inhibit_cache.
42254         * elf/dl-load.c (_dl_map_object): Use it.
42255         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42257 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42259         [BZ #13872]
42260         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42261         (__ieee754_powl): Saturate large exponents rather than testing for
42262         overflow of y*log2(x).
42263         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42264         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42265         exceptions.
42267         [BZ #11521]
42268         * math/s_ctan.c: Include <float.h>.
42269         (__ctan): Avoid internal overflow or cancellation in calculating
42270         denominator.
42271         * math/s_ctanf.c: Likewise.
42272         * math/s_ctanl.c: Likewise.
42273         * math/s_ctanh.c: Likewise.
42274         * math/s_ctanhf.c: Likewise.
42275         * math/s_ctanhl.c: Likewise.
42276         * math/libm-test.inc (ctan_test): Add more tests.
42277         (ctanh_test): Likewise.
42278         * sysdeps/i386/fpu/libm-test-ulps: Update.
42279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42281 2012-04-09  Andreas Jaeger  <aj@suse.de>
42283         [BZ #6894]
42284         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42285         is an optional BSD extension.
42287         [BZ #10254]
42288         * manual/stdio.texi (Opening Streams): Document additional fopen
42289         parameters.
42291 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42293         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42294         %eax without telling the compiler.
42296 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42298         [BZ # 13963]
42299         * manual/install.texi: Use sourceware.org.
42301 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42303         [BZ #13873]
42304         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42305         (__ieee754_pow): Generate overflow and underflow using huge*huge
42306         and tiny*tiny rather than just returning constant infinity or zero
42307         for large exponents.
42308         * math/libm-test.inc (pow_test): Require overflow exceptions for
42309         applicable cases of large exponents.
42311         [BZ #706]
42312         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42313         (__ieee754_pow): Use iterative multiplication algorithm only for
42314         integer exponents with absolute value below 1024.  Check for odd
42315         integer exponents when using algorithm for real exponents.
42316         * math/libm-test.inc (pow_test): Add more tests.
42317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42319 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42321         [BZ #13705]
42322         * math/libm-test.inc (exp_test): Do not allow overflow exception
42323         on underflow test.
42325 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42327         [BZ #13705]
42328         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42329         instead of __kernel_standard_f.
42331 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42333         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42334         * sysdeps/x86_64/memset_chk.S: Likewise.
42336 2012-04-08  Andreas Jaeger  <aj@suse.de>
42338         [BZ #10153]
42339         * manual/startup.texi (Environment Access): Describe return value
42340         for putenv and setenv.
42342         [BZ #6895]
42343         * manual/filesys.texi (Directory Entries): Add description for
42344         DT_LNK.
42346         [BZ #6890]
42347         * manual/filesys.texi (Directory Entries): Clarify that it's file
42348         system not operating system in the description of DT_UNKNOWN.
42350         [BZ #6578]
42351         * manual/syslog.texi (closelog): Fix reference, it's openlog.
42353 2012-04-08  Stephen Compall  <s11@member.fsf.org>
42355         [BZ #6649]
42356         * manual/llio.texi (Opening and Closing Files): Add cross
42357         reference to explain mode argument.
42359 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
42361         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42362         * sysdeps/x86_64/memset_chk.S: Likewise.
42364 2012-04-07  David S. Miller  <davem@davemloft.net>
42366         * elf/elf.h (R_SPARC_WDISP10): Define.
42367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42368         R_SPARC_SIZE32.
42369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42370         R_SPARC_SIZE64 and R_SPARC_H34.
42372 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
42374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42375         conditions and remove no longer applicable assertion.
42377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42379         * bits/byteswap.h: Include <features.h>.
42380         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42381         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42383 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42385         * bits/byteswap.h (__bswap_16): Removed.
42386         Include <bits/byteswap-16.h> to get __bswap_16.
42387         * sysdeps/i386/bits/byteswap.h: Likewise.
42388         * sysdeps/s390/bits/byteswap.h: Likewise.
42389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42390         * bits/byteswap-16.h: New file.
42391         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42392         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42393         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42394         * string/Makefile (headers): Add bits/byteswap-16.h.
42396 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42398         [BZ #13895]
42399         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42400         extra indirection.
42401         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42402         * nss/tst-nss-static.c: New.
42404 2012-04-06  Robert Millan  <rmh@gnu.org>
42406         [BZ #6486]
42407         * manual/llio.texi (File Position Primitive): lseek
42408         refers to WHENCE when it really means OFFSET.
42410 2012-04-06  Andreas Jaeger  <aj@suse.de>
42412         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42413         strncmp declarations.
42415         * abilist/libc.abilist: Add __poll and __ppoll.
42417 2012-04-05  David S. Miller  <davem@davemloft.net>
42419         * scripts/check-local-headers.sh: Accept a host triplet in the
42420         path matched by the exclude regexp.
42422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42423         definition.
42424         * sysdeps/powerpc/powerpc32/dl-machine.h
42425         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42426         * sysdeps/s390/s390-32/dl-machine.h
42427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42428         * sysdeps/sparc/sparc32/dl-machine.h
42429         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42430         * sysdeps/sparc/sparc64/dl-machine.h
42431         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42433         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42434         lazy binding.
42435         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42436         undefined symbol errors.
42438         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42439         DT_NEEDED entries.
42441 2012-04-05  Michael Matz  <matz@suse.de>
42443         [BZ #13592]
42444         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42446 2012-04-05  Andreas Jaeger  <aj@suse.de>
42448         [BZ #13908]
42449         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42450         comment.
42452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42454         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42455         which ROUND is no valid rounding mode.
42457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42459         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42460         read again.
42461         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42465         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42466         an exception using FPU order intentionally.
42468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42470         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42471         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42472         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42473         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42475 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42477         [BZ #12340]
42478         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42479         EINVAL when BUFLEN is too smal.
42481 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42483         [BZ #13553]
42484         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42485         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42487 2012-04-03  Andreas Jaeger  <aj@suse.de>
42489         [BZ #13938]
42490         * manual/setjmp.texi (System V contexts): Fix sentence.
42492         [BZ #13926]
42493         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42494         New macro for this case.
42495         [!__GNUC__] (__bswap_64): New inline function for this case.
42496         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42497         * bits/byteswap.h: Likewise.
42498         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42499         ull, guard with __GLIBC_HAVE_LONG_LONG.
42501         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42502         __GLIBC_HAVE_LONG_LONG.
42504         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42505         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42507 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42509         [BZ #13691]
42510         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42511         inptr and inend, rather than using last_ch.
42513 2012-04-02  David S. Miller  <davem@davemloft.net>
42515         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42516         * stdio-common/printf-parse.h (read_int): Change return type to
42517         'int', return -1 on INT_MAX overflow.
42518         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42519         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42520         overflows INT_MAX.  Check for overflow of in-format-string precision
42521         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42522         SIZE_MAX not INT_MAX for integer overflow test.
42523         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42524         skip the construct in the format string but do not record anything.
42525         * stdio-common/bug22.c: Adjust to test both width/prevision
42526         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42527         explicitly for proper errno values.
42529 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42531         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42532         CHAR_MAX.
42533         * string/test-strcmp.c [! WIDE]: Likewise.
42534         * time/tst-mktime2.c: Likewise for INT_MAX.
42535         * string/test-string.h: #include <sys/param.h> for MIN.
42537         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42538         * sysdeps/i386/init-first.c (init): Likewise.
42539         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42540         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42541         * sysdeps/sh/init-first.c (init): Likewise.
42543 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42545         * po/ru.po: Update from translation team.
42546         * po/vi.po: Likewise.
42548 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42550         * resolv/nss_dns/dns-host.c: Merge copyright years.
42552 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42555         Optimize memcpy with prefetch if
42556         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42557         src, dst pointers have unequal 16 byte alignments.
42559 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42561         [BZ #13928]
42562         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42563         from a CNAME entry and return the minimum ttl for the query.
42564         (gaih_getanswer_slice): Likewise.
42566 2012-03-30  Jeff Law  <law@redhat.com>
42568         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42569         due to long keys.
42570         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42571         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42573         * resolv/nss_dns/dns-host.c: Update copyright year.
42575 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42577         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42578         requests to save a system call.  Fix check that all bytes are sent.
42580         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42581         comments for sendmmsg.
42583 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42585         [BZ #13691]
42586         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42587         with only 1 character between 0x0041 and 0x01b0.
42588         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42589         * wcsmbs/tst-mbsnrtowcs.c: New file.
42591 2012-03-29  David S. Miller  <davem@davemloft.net>
42593         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42594         small copies by hand.
42596 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42598         [BZ #13761]
42599         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42600         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42601         group memberships.
42603 2012-03-28  David S. Miller  <davem@davemloft.net>
42605         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42606         that branches into memcpy.
42607         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42610         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42612         bits.
42613         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42614         implementation too.
42615         * sysdeps/sparc/mempcpy.S: New file.
42617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42618         the IFUNC routine in the libc case.
42619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42621         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42622         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42623         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42624         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42625         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42626         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42627         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42628         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42630         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42631         loop to 256 bytes instead of 64 bytes and fix test signedness.
42633         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42634         * sysdeps/sparc/sparc32/Makefile: rather than here...
42635         * sysdeps/sparc/sparc64/Makefile: and here.
42637 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42639         * malloc/mallocbug.c: Avoid warnings about unused variables.
42641 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42643         [BZ #13760]
42644         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42645         in the right place. Discard and retry query if response is
42646         larger than input buffer size.
42648 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42650         [BZ #369]
42651         [BZ #2678]
42652         [BZ #3866]
42653         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42654         x for large integer exponent.
42655         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42656         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42657         sign of result as needed afterwards.
42658         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42659         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42660         result for underflowing pow the same as for overflow.
42661         (__kernel_standard_l): Handle powl overflow and underflow here
42662         rather than calling __kernel_standard.
42663         * math/libm-test.inc (pow_test): Add more tests.
42665         [BZ #3868]
42666         [BZ #13879]
42667         [BZ #13910]
42668         [BZ #13911]
42669         [BZ #13912]
42670         [BZ #13913]
42671         [BZ #13915]
42672         [BZ #13916]
42673         [BZ #13917]
42674         [BZ #13918]
42675         [BZ #13919]
42676         [BZ #13920]
42677         [BZ #13921]
42678         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42679         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42680         (__kernel_standard_l): New function.
42681         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42682         __kernel_standard.
42683         * math/w_acosl.c (__acosl): Likewise.
42684         * math/w_asinl.c (__asinl): Likewise.
42685         * math/w_atan2l.c (__atan2l): Likewise.
42686         * math/w_atanhl.c (__atanhl): Likewise.
42687         * math/w_coshl.c (__coshl): Likewise.
42688         * math/w_exp10l.c (__exp10l): Likewise.
42689         * math/w_exp2l.c (__exp2l): Likewise.
42690         * math/w_fmodl.c (__fmodl): Likewise.
42691         * math/w_hypotl.c (__hypotl): Likewise.
42692         * math/w_j0l.c (__j0l, __y0l): Likewise.
42693         * math/w_j1l.c (__j1l, __y1l): Likewise.
42694         * math/w_jnl.c (__jnl, __ynl): Likewise.
42695         * math/w_lgammal.c (__lgammal): Likewise.
42696         * math/w_log10l.c (__log10l): Likewise.
42697         * math/w_log2l.c (__log2l): Likewise.
42698         * math/w_logl.c (__logl): Likewise.
42699         * math/w_powl.c (__powl): Likewise.
42700         * math/w_remainderl.c (__remainderl): Likewise.
42701         * math/w_scalbl.c (sysv_scalbl): Likewise.
42702         * math/w_sinhl.c (__sinhl): Likewise.
42703         * math/w_sqrtl.c (__sqrtl): Likewise.
42704         * math/w_tgammal.c (__tgammal): Likewise.
42705         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42706         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42707         * math/libm-test.inc (acos_test): Add more tests.
42708         (acosh_test): Likewise.
42709         (asin_test): Likewise.
42710         (atanh_test): Likewise.
42711         (exp_test): Likewise.
42712         (exp10_test): Likewise.
42713         (exp2_test): Likewise.
42714         (expm1_test): Likewise.
42715         (lgamma_test): Likewise.
42716         (log_test): Likewise.
42717         (log10_test): Likewise.
42718         (log1p_test): Likewise.
42719         (log2_test): Likewise.
42720         (pow_test): Do not allow some spurious overflow exceptions.
42721         (sqrt_test): Add more tests.
42722         (tgamma_test): Likewise.
42723         (y0_test): Likewise.
42724         (y1_test): Likewise.
42725         (yn_test): Likewise.
42727 2012-03-27  Anton Blanchard  <anton@samba.org>
42729         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42730         MAP_HUGETLB.
42731         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42732         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42735 2012-03-27  David S. Miller  <davem@davemloft.net>
42737         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42739         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42740         have-as-vis3 check.
42742 2012-03-27  Andreas Jaeger  <aj@suse.de>
42744         * sysdeps/x86_64/elf/configure.in: Moved to ...
42745         * sysdeps/x86_64/configure.in: ... here.
42746         * sysdeps/x86_64/elf/start.S: Moved to ...
42747         * sysdeps/x86_64/start.S: ... here.
42748         * sysdeps/x86_64/elf/configure: Delete.
42750         * sysdeps/x86_64/configure.in: Merge contents from
42751         sysdeps/i386/configure.in (without i686 check).
42753         * sysdeps/i386/elf/Versions: Merge into ...
42754         * sysdeps/i386/Versions: ... this.
42755         * sysdeps/i386/elf/Versions: Delete file.
42756         * sysdeps/i386/elf/start.S: Moved to ...
42757         * sysdeps/i386/start.S: ...here.
42758         * sysdeps/i386/elf/configure.in: Merge into...
42759         * sysdeps/i386/configure.in: ...here.
42760         * sysdeps/i386/elf/configure.in: Delete file.
42761         * sysdeps/i386/elf/configure: Delete file.
42763         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42764         * debug/backtracesyms.c: ... here.
42765         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42766         * debug/backtracesymsfd.c: ... here.
42767         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42768         * sysdeps/generic/ifunc-sel.h: ... here.
42770         * sysdeps/unix/i386/start.c: Delete file.
42771         * sysdeps/unix/sparc/start.c: Delete file.
42772         * sysdeps/unix/start.c: Delete file.
42774         * sysdeps/sh/elf/configure.in: Moved to ...
42775         * sysdeps/sh/configure.in: ... here.
42776         * sysdeps/sh/elf/start.S: Moved to ...
42777         * sysdeps/sh/start.S: ... here.
42778         * sysdeps/sh/elf/configure: Delete file.
42780         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42781         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42782         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42783         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42784         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42785         * sysdeps/powerpc/powerpc64/start.S: here.
42786         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42787         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42788         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42789         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42790         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42792         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42793         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42794         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42795         * sysdeps/powerpc/powerpc32/start.S: ... here.
42796         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42797         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42798         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42800         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42801         * sysdeps/powerpc/ifunc-sel.h: ... here.
42802         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42803         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42805         * sysdeps/sparc/elf/configure.in: Moved to ...
42806         * sysdeps/sparc/configure.in: ... here.
42807         * sysdeps/sparc/elf/configure: Delete file.
42808         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42809         * sysdeps/sparc/sparc32/start.S: ... here.
42810         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42811         * sysdeps/sparc/sparc64/start.S: ... here.
42812         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42813         * sysdeps/sparc/sparc32/Makefile: ... this.
42814         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42815         * sysdeps/sparc/sparc64/Makefile: ... this.
42817         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42818         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42819         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42820         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42821         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42822         * sysdeps/s390/s390-32/setjmp.S: ... here.
42823         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42824         * sysdeps/s390/s390-32/configure.in: ... here.
42825         * sysdeps/s390/s390-32/elf/configure: Delete file.
42826         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42827         * sysdeps/s390/s390-32/start.S: ... here.
42829         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42830         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42831         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42832         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42833         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42834         * sysdeps/s390/s390-64/setjmp.S: ... here.
42835         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42836         * sysdeps/s390/s390-64/configure.in: ... here
42837         * sysdeps/s390/s390-64/elf/configure: Delete file.
42838         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42839         * sysdeps/s390/s390-64/start.S: ... here.
42840         * sysdeps/s390/s390-64/elf/configure: Delete.
42842         * configure.in: Remove support for elf directories in sysdeps.
42844         * configure: Regenerated.
42845         * sysdeps/i386/configure: Regenerated.
42846         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42847         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42848         * sysdeps/s390/s390-32/configure: Regenerated.
42849         * sysdeps/s390/s390-64/configure: Regenerated.
42850         * sysdeps/sh/configure: Regenerated.
42851         * sysdeps/sparc/configure: Regenerated.
42852         * sysdeps/x86_64/configure: Regenerated.
42854 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42858         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42859         denormal result into account.
42861 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42863         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42864         Reported by Allan McRae <allan@archlinux.org>.
42866 2012-03-23  Jeff Law  <law@redhat.com>
42868         * nss/getnssent.c (__nss_getent): Fix typo.
42870 2012-03-23  David S. Miller  <davem@davemloft.net>
42872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42874 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42876         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42877         to pad to uint64_t for each field.
42878         (dl_tls_index): Replace unsigned long with uint64_t.
42880 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42881         Paul Pluzhnikov  <ppluzhnikov@google.com>
42883         [BZ #6528]
42884         * grp/Makefile (otherlibs): Don't set it.
42885         * inet/Makefile (otherlibs): Likewise.
42886         * login/Makefile (otherlibs): Likewise.
42887         * nscd/Makefile (otherlibs): Likewise.
42888         * posix/Makefile (otherlibs): Likewise.
42889         * pwd/Makefile (otherlibs): Likewise.
42890         * rt/Makefile (otherlibs): Likewise.
42891         * sunrpc/Makefile (otherlibs): Likewise.
42892         * nss/Makefile (otherlibs): Likewise.
42893         Add libnss_files to routines and static-only-routines.
42894         ($(objpfx)getent): Remove rule.
42895         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42896         static-only-routines.
42898 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42900         [BZ #13892]
42901         * math/s_cexp.c: Include <float.h>.
42902         (__cexp): Handle exp result overflowing not necessarily
42903         overflowing both real and imaginary parts of result.
42904         * math/s_cexpf.c: Likewise.
42905         * math/s_cexpl.c: Likewise.
42906         * math/libm-test.inc (cexp_test): Add more tests.
42907         * sysdeps/i386/fpu/libm-test-ulps: Update.
42908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42912         * include/link.h (ELFW): New macro.
42913         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42914         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42918         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42919         with uint64_t.
42921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42923         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42924         declaration.
42925         (struct La_x32_retval): Likewise.
42927 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42929         * sysdeps/x86_64/preconfigure.in: New file.
42930         * sysdeps/x86_64/preconfigure: New generated file.
42932 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42934         [BZ #13824]
42935         * math/e_exp2l.c: Include <float.h>.
42936         (__ieee754_exp2l): Handle overflow and underflow cases
42937         separately.  Only pass fractional part of argument to
42938         __ieee754_expl.
42939         * math/libm-test.inc (exp2_test): Add more tests.
42941         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42942         negating x to take absolute value.
42943         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42944         Likewise.
42945         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42947         Likewise.
42948         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42949         computing low part if x was negated.
42950         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42952 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42954         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42955         la_x32_gnu_pltexit.
42956         (pltexit): Cast int_retval to ptrdiff_t.
42957         * elf/tst-auditmod3b.c: Likewise.
42958         * elf/tst-auditmod4b.c: Likewise.
42959         * elf/tst-auditmod5b.c: Likewise.
42960         * elf/tst-auditmod6b.c: Likewise.
42961         * elf/tst-auditmod6c.c: Likewise.
42962         * elf/tst-auditmod7b.c: Likewise.
42964         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42965         and x32_gnu_pltexit.
42967         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42968         __ELF_NATIVE_CLASS.
42969         (La_x32_regs): New macro.
42970         (La_x32_retval): Likewise.
42971         (la_x32_gnu_pltenter): New function prototype.
42972         (la_x32_gnu_pltexit): Likewise.
42974 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42977         exponent.
42979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42981         * configure.in (libc_cv_cc_nofma): Check for option to disable
42982         generation of FMA instructions.
42983         * configure: Regenerate.
42984         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42985         * sysdeps/ieee754/dbl-64/Makefile: New file.
42986         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42987         Remove brandred-fma4.
42988         (CFLAGS-brandred-fma4.c): Remove.
42989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42990         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42991         define.
42992         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42993         define.
42995 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42997         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42998         LLONG_MAX != LONG_MAX.
42999         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43000         (_fitoa_word): Likewise.
43001         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43002         LLONG_MAX != LONG_MAX.
43003         * stdio-common/_itowa.h: Include <_itoa.h>.
43004         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43005         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43006         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43007         only if not defined.
43008         (_ITOA_WORD_TYPE): Likewise.
43009         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43010         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43012 2012-03-21  David S. Miller  <davem@davemloft.net>
43014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43016 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43018         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43019         of x86_64 when setting libc_cv_slibdir, libdir and
43020         libc_cv_localedir.
43021         * sysdeps/unix/sysv/linux/configure: Regenerated.
43023 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43025         * manual/lang.texi (Old Varargs): Remove section.
43026         (How Variadic): Update menu.
43027         (va_start): Do not mention varargs.h.
43029 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43030             Joseph Myers  <joseph@codesourcery.com>
43032         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43033         link test.
43034         * configure: Regenerated.
43036 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43038         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43039         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43040         conformtest.pl
43042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43044         * NOTES: Remove.
43045         * Makefile (files-for-dist): Remove NOTES.
43046         (NOTES): Remove rule.
43047         * README: Don't refer to NOTES.
43048         * manual/creature.texi: Don't include macros.texi.
43049         * manual/intro.texi (creature.texi): Remove comment referring to
43050         NOTES.
43052         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43053         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43054         * configure: Regenerated.
43055         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43056         LIBC_TRY_CC_OPTION.
43057         (libc_cv_as_i686): Likewise.
43058         (libc_cv_cc_avx): Likewise.
43059         (libc_cv_cc_sse2avx): Likewise.
43060         (libc_cv_cc_fma4): Likewise.
43061         (libc_cv_cc_novzeroupper): Likewise.
43062         * sysdeps/i386/configure: Regenerated.
43064         [BZ #13883]
43065         * sysdeps/i386/fpu/s_cexp.S: Remove.
43066         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43067         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43068         * math/libm-test.inc (cexp_test): Add more tests.
43069         * sysdeps/i386/fpu/libm-test-ulps: Update.
43070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43072 2012-03-21  Allan McRae  <allan@archlinux.org>
43074         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43076 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43078         [BZ #13871]
43079         * math/w_exp2.c: Do not include <float.h>.
43080         (o_threshold, u_threshold): Remove.
43081         (__exp2): Calculate result before checking finiteness and calling
43082         __kernel_standard.
43083         * math/w_exp2f.c: Likewise.
43084         * math/w_exp2l.c: Likewise.
43085         * math/libm-test.inc (exp2_test): Require overflow exception for
43086         1e6 input.
43088         [BZ #3866]
43089         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43090         range of signed 64-bit integers before using fistpll.  Remove
43091         checks for whether integers fit in mantissa bits.
43092         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43093         the range of signed 32-bit integers before using fistpl.  Remove
43094         checks for whether integers fit in mantissa bits.
43095         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43096         (__ieee754_powl): Test for y outside the range of signed 64-bit
43097         integers before using fistpll.  Reduce 64-bit values to 63-bit
43098         ones as needed.
43099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43100         divide-by-zero is raised for zero to large negative powers.
43101         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43102         (__ieee754_powl): Test for y outside the range of signed 64-bit
43103         integers before using fistpll.  Reduce 64-bit values to 63-bit
43104         ones as needed.
43105         * math/libm-test.inc (pow_test): Add more tests.
43107 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43109         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43110         <stdio-common/_itoa.h>.
43111         * debug/segfault.c: Likewise.
43112         * elf/dl-cache.c: Likewise.
43113         * elf/dl-minimal.c: Likewise.
43114         * elf/dl-misc.c: Likewise.
43115         * elf/dl-sysdep.c: Likewise.
43116         * elf/dl-version.c: Likewise.
43117         * elf/rtld.c: Likewise.
43118         * hurd/hurdsock.c: Likewise.
43119         * hurd/lookup-retry.c: Likewise.
43120         * malloc/malloc.c: Likewise.
43121         * malloc/mtrace.c: Likewise.
43122         * nscd/nscd_getgr_r.c: Likewise.
43123         * nscd/nscd_getpw_r.c: Likewise.
43124         * nscd/nscd_getserv_r.c: Likewise.
43125         * posix/getopt_init.c: Likewise.
43126         * posix/wordexp.c: Likewise.
43127         * stdio-common/_itoa.c: Likewise.
43128         * stdio-common/printf_fphex.c: Likewise.
43129         * stdio-common/vfprintf.c: Likewise.
43130         * string/_strerror.c: Likewise.
43131         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43132         * sysdeps/i386/i686/hp-timing.h: Likewise.
43133         * sysdeps/mach/_strerror.c: Likewise.
43134         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43135         * sysdeps/mach/hurd/sethostid.c: Likewise.
43136         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43137         * sysdeps/mach/xpg-strerror.c: Likewise.
43138         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43140         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43141         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43142         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43143         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43145         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43146         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43147         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43148         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43149         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43150         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43151         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43152         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43153         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43154         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43155         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43156         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43157         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43158         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43160         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43162         * stdio-common/_itoa.h: Moved to ...
43163         * sysdeps/generic/_itoa.h: Here.
43165         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43167         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43168         instead of "_itoa.h" and "_itowa.h".
43169         * stdio-common/vfprintf.: Likewise.
43171 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43173         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43174         <bits/wordsize.h>.
43175         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43176         (__signbit): Likwise.
43177         (llrintf): Likwise.
43178         (llrint): Likwise.
43180 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43182         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43183         __WORDSIZE != 64.
43185 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43187         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43188         OVERFLOW_EXCEPTION_OK.
43189         * math/libm-test.inc ("Philosophy"): Update comment about
43190         exception testing.
43191         (OVERFLOW_EXCEPTION): Define.
43192         (OVERFLOW_EXCEPTION_OK): Likewise.
43193         (INVALID_EXCEPTION_OK): Renumber.
43194         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43195         (IGNORE_ZERO_INF_SIGN): Likewise.
43196         (test_exceptions): Handle FE_OVERFLOW.
43197         (exp10_test): Expect overflow exceptions.
43198         (exp2_test): Likewise.
43199         (expm1_test): Likewise.
43200         (nextafter_test): Likewise.
43201         (pow_test): Likewise.
43202         (scalbn_test): Likewise.
43203         (scalbln_test): Likewise.
43205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43207         * sysdeps/x86_64/bits/atomic.h
43208         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43209         64bit integer.
43210         (atomic_exchange_acq): Likewise.
43211         (__arch_exchange_and_add_body): Likewise.
43212         (__arch_add_body): Likewise.
43213         (atomic_add_negative): Likewise.
43214         (atomic_add_zero): Likewise.
43216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43218         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43219         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43223         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43224         Check __x86_64__ instead of __WORDSIZE.
43226 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43228         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43230 2012-03-19  David S. Miller  <davem@davemloft.net>
43232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43234         * sysdeps/sparc/fpu/fenv_private.h: New file.
43235         * sysdeps/sparc/fpu/math_private.h: Use it.
43236         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43237         Remove.
43238         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43239         (libc_feholdexcept_setroundl): Remove.
43240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43241         Remove.
43242         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43243         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43247         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43248         int64_t instead of long int.
43249         (INSERT_WORDS64): Likwise.
43251 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43253         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43254         _Unwind_GetCFA return to _Unwind_Ptr first.
43256 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43258         [BZ #13629]
43259         * math/s_clog.c: Include <float.h>.
43260         (__clog): Scale large or subnormal inputs.
43261         * math/s_clogf.c: Likewise.
43262         * math/s_clogl.c: Likewise.
43263         * math/s_clog10.c: Include <float.h>.
43264         (M_LOG10_2): Define.
43265         (__clog10): Scale large or subnormal inputs.
43266         * math/s_clog10f.c: Likewise.
43267         * math/s_clog10l.c: Likewise.
43268         * math/libm-test.inc (clog_test): Add more tests.
43269         (clog10_test): Likewise.
43270         * sysdeps/i386/fpu/libm-test-ulps: Update.
43271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43273         [BZ #11451]
43274         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43275         x and y.
43276         * math/libm-test.inc (atan2_test): Add another test.
43278         * Makerules (common-objdir-compile): Remove.
43279         * sysdeps/unix/Makefile (config-generated): Do not add
43280         $(unix-generated) to variable.
43281         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43282         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43283         Remove rule.
43284         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43285         Likewise.
43286         [generic bits/local_lim.h] (before-compile): Do not append to
43287         variable.
43288         [generic bits/local_lim.h] (common-generated): Likewise.
43289         [generic sys/param.h] (before-compile): Do not append to variable.
43290         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43291         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43292         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43293         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43294         include.
43295         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43296         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43297         [generic sys/param.h] ($(addprefix
43298         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43299         [generic sys/param.h] (common-generated): Do not append to
43300         variable.
43301         [generic sys/param.h] (sysdep_headers): Likewise.
43302         [generic bits/errno.h] (before-compile): Do not append to
43303         variable.
43304         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43305         rule.
43306         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43307         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43308         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43309         [generic bits/errno.h] (common-generated): Do not append to
43310         variable.
43311         [generic bits/ioctls.h] (before-compile): Do not append to
43312         variable.
43313         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43314         rule.
43315         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43316         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43317         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43318         rule.
43319         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43320         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43321         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43322         [generic bits/ioctls.h] (common-generated): Do not append to
43323         variable.
43324         [generic sys/syscall.h] (syscall.h): Remove variable.
43325         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43326         rule.
43327         [generic sys/syscall.h] (before-compile): Do not append to
43328         variable.
43329         [generic sys/syscall.h] (common-generated): Likewise.
43330         * sysdeps/unix/errnos-tmpl.c: Remove file.
43331         * sysdeps/unix/errnos.awk: Likewise.
43332         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43333         * sysdeps/unix/ioctls.awk: Likewise.
43334         * sysdeps/unix/mk-local_lim.c: Likewise.
43335         * sysdeps/unix/snarf-ioctls: Likewise.
43337 2012-03-19  Richard Henderson  <rth@twiddle.net>
43339         * sysdeps/i386/fpu/fenv_private.h: New file.
43340         * sysdeps/i386/fpu/math_private.h: Use it.
43341         (math_opt_barrier, math_force_eval): Remove.
43342         (libc_feholdexcept_setround_53bit): Remove.
43343         (libc_feupdateenv_53bit): Remove.
43344         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43345         (math_opt_barrier, math_force_eval): Remove.
43346         (libc_feholdexcept): Remove.
43347         (libc_feholdexcept_setround): Remove.
43348         (libc_fetestexcept, libc_fesetenv): Remove.
43349         (libc_feupdateenv_test): Remove.
43350         (libc_feupdateenv, libc_feholdsetround): Remove.
43351         (libc_feresetround): Remove.
43353         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43354         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43356         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43357         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43358         (libc_feupdateenv_testl): New.
43359         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43360         (libc_feupdateenv_testf): New.
43361         (libc_feupdateenv): Use libc_feupdateenv_test.
43362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43363         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43365         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43366         (libc_feholdsetroundf, libc_feholdsetroundl): New.
43367         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43368         (libc_feresetround_noex): New.
43369         (libc_feresetround_noexf): New.
43370         (libc_feresetround_noexl): New.
43371         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43372         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43373         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43374         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43375         SET_RESTORE_ROUND.
43376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43378         (__cos): Likewise.
43379         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43381         SET_RESTORE_ROUND_NOEX.
43382         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43383         SET_RESTORE_ROUND_NOEXF.
43384         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43385         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43386         (libc_feholdsetroundf): New.
43387         (libc_feresetround, libc_feresetroundf): New.
43389         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43390         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43391         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43393         * sysdeps/generic/math_private.h: Include <fenv.h>.
43394         (default_libc_feholdexcept): New.
43395         (default_libc_feholdexcept_setround): New.
43396         (default_libc_fesetenv, default_libc_feupdateenv): New.
43397         (libc_feholdexcept): Only define if undefined.
43398         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43400         (libc_feholdexcept_setroundl): Likewise.
43401         (libc_feholdexcept_setround_53bit): Likewise.
43402         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43405         (libc_feupdateenv_53bit): Likewise.
43406         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43407         (libc_feholdexcept): Convert from macro to inline function.
43408         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43409         (libc_fesetenv, libc_feupdateenv): Likewise.
43411         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43412         not previously defined.
43413         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43414         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43415         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43416         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43417         * sysdeps/ieee754/flt-32/math_private.h: New file.
43418         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43419         math_private.h below SET_FLOAT_WORD.
43420         (__isnan, __isinf_ns, __finite): Remove.
43421         (__isnanf, __isinf_nsf, __finitef): Remove.
43423 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43427 2012-03-17  David S. Miller  <davem@davemloft.net>
43429         [BZ #6471]
43430         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43431         for 2.16.
43433 2012-03-16  David S. Miller  <davem@davemloft.net>
43435         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43436         warnings.
43438         [BZ #6471]
43439         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43440         properly.
43441         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43442         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43443         sysdep_routines when subdir is sysvipc.
43444         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43445         __getshmlba helper.
43447         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43449 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43451         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43452         [__LP64__].
43454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43457         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43458         (__lround): Renamed to ...
43459         (__llround): This.  Replace long int with long long int.
43460         Define lround functions as aliases of llround functions.
43461         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43465         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43466         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43467         adresses to uintptr_t.  Replace "long int" and "unsigned long
43468         int" with "greg_t" on va_arg.
43470 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43472         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43473         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43475         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43476         Move e_machine check before EI_CLASS check.  Handle x32
43477         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43478         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43479         SKIP_EM_IA_64 and include
43480         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43482         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43483         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43484         (add_system_dir): New macro.
43486         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43487         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43489 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43491         [BZ #2551]
43492         [BZ #2552]
43493         [BZ #2553]
43494         [BZ #2554]
43495         [BZ #2562]
43496         [BZ #2563]
43497         [BZ #2565]
43498         [BZ #2566]
43499         [BZ #2576]
43500         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43501         (y0): Likewise.
43502         * math/w_j0f.c (j0f): Likewise.
43503         (y0f): Likewise.
43504         * math/w_j0l.c (__j0l): Likewise.
43505         (__y0l): Likewise.
43506         * math/w_j1.c (j1): Likewise.
43507         (y1): Likewise.
43508         * math/w_j1f.c (j1f): Likewise.
43509         (y1f): Likewise.
43510         * math/w_j1l.c (__j1l): Likewise.
43511         (__y1l): Likewise.
43512         * math/w_jn.c (jn): Likewise.
43513         (yn): Likewise.
43514         * math/w_jnf.c (jnf): Likewise.
43515         (ynf): Likewise.
43516         * math/w_jnl.c (__jnl): Likewise.
43517         (__ynl): Likewise.
43518         * math/libm-test.inc (j0_test): Add more tests.
43519         (j1_test): Likewise.
43520         (jn_test): Likewise.  Add trailing semicolon to existing test.
43521         (y0_test): Likewise.
43522         (y1_test): Likewise.
43523         * sysdeps/i386/fpu/libm-test-ulps: Update.
43524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43526         [BZ #13851]
43527         [BZ #13854]
43528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43529         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43530         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43531         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43532         (__tanl): Set errno for infinite argument.
43533         * sysdeps/i386/fpu/mptan.c: Remove.
43534         * sysdeps/i386/fpu/s_tan.S: Likewise.
43535         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43536         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43537         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43538         * math/libm-test.inc (tan_test): Add more tests and enable more
43539         tests for double and long double.
43540         * sysdeps/i386/fpu/libm-test-ulps: Update.
43541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43543 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43545         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43546         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43548 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43550         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43551         * configure.in: Use it for both main tree and add-ons.
43552         * configure: Regenerated.
43554 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43556         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43558 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43560         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43561         in comment.
43563         [BZ #13851]
43564         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43565         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43566         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43567         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43568         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43569         infinite argument.
43570         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43572         != 0 for prec == 2.
43573         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43574         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43575         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43576         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43577         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43578         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43579         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43580         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43581         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43582         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43583         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43584         * math/libm-test.inc (cos_test): Add more tests and enable more
43585         tests for long double.
43586         (sin_test): Likewise.
43587         (sincos_test): Likewise.
43588         * sysdeps/i386/fpu/libm-test-ulps: Update.
43589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43591 2012-03-16  David S. Miller  <davem@davemloft.net>
43593         * sysdeps/sparc/fpu/math_private.h: New file.
43595 2012-03-15  David S. Miller  <davem@davemloft.net>
43597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43598         file.
43599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43601         file.
43602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43607         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43608         sysdep routines.
43609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43611         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43612         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43614         * sysdeps/sparc/sparc-ifunc.h: New file.
43615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43616         sparc-ifunc.h
43617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43619         Likewise.
43620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43621         Likewise.
43622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43626         Likewise.
43627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43632         Likewise.
43633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43634         Likewise.
43635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43641         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43642         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43660 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43662         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43663         scaling.
43664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43666 2012-03-15  Andreas Jaeger  <aj@suse.de>
43668         [BZ #13852]
43669         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43670         ieee754/flt-32 implementation for sin, cos and sincos.
43671         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43672         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43673         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43674         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43675         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43676         ieee754/flt-32 implementation for tan.
43678         * math/libm-test.inc (cos_test): Enable some large input tests for
43679         float as well
43680         (sin_test): Likewise.
43681         (sincos_test): Likewise.
43682         (tan_test): Add tests for large input.
43684         * sysdeps/i386/fpu/libm-test-ulps: Update.
43686 2012-03-15  Andreas Jaeger  <aj@suse.de>
43688         [BZ #13658]
43689         * math/libm-test.inc (cos_test): Add more test cases.
43690         (sin_test): Likewise.
43691         (sincos_test): Likewise.
43693 2012-03-15  Andreas Jaeger  <aj@suse.de>
43695         [BZ #13837]
43696         * math/libm-test.inc (cos_test): Add a test case for large input
43697         value.
43698         (sin_test): Likewise.
43699         (sincos_test): Likewise.
43701 2012-03-15  Andreas Jaeger  <aj@suse.de>
43702             Joseph Myers  <joseph@codesourcery.com>
43704         [BZ #13658]
43705         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43706         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43707         * sysdeps/i386/fpu/branred.c: Likewise.
43708         * sysdeps/i386/fpu/dosincos.c: Likewise.
43709         * sysdeps/i386/fpu/mpa.c: Likewise.
43710         * sysdeps/i386/fpu/s_cos.S: Likewise.
43711         * sysdeps/i386/fpu/s_sin.S: Likewise.
43712         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43713         * sysdeps/i386/fpu/sincos32.c: Likewise.
43715         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43716         Define.
43717         (libc_feupdateenv_53bit): Define.
43718         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43719         Define.
43720         (libc_feupdateenv_53bit): Define.
43722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43723         53 bit (without extend i386 double precision).
43725         * math/libm-test.inc (sincos_test): Add tests for large input.
43726         (sin): Likewise.
43727         (cos): Likewise.
43729         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43731 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43735 2012-03-15  David S. Miller  <davem@davemloft.net>
43737         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43738         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43739         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43740         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43753         file.
43754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43756         file.
43757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43759         file.
43760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43762         file.
43763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43765         fmin/fmax sysdep routines.
43766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43768 2012-03-14  David S. Miller  <davem@davemloft.net>
43770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43799         routines.
43800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43801         file.
43802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43804         file.
43805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43807         file.
43808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43810         file.
43811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43813         file.
43814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43816         file.
43817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43818         file.
43819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43820         file.
43821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43822         file.
43823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43824         New file.
43825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43826         file.
43827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43828         file.
43829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43831         file.
43832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43834         file.
43835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43837         file.
43838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43840         VIS3 routines.
43842         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43843         New file.
43845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43847         * sysdeps/sparc/configure.in: New file.
43848         * sysdeps/sparc/configure: Generate.
43849         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43850         * configure: Regenerate.
43851         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43852         * config.make.in (have-as-vis3): New.
43853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43854         available use -Av9d instead of -Av9a.
43855         * sysdeps/sparc/sparc64/Makefile: Likewise.
43856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43858         New file.
43859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43860         file.
43861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43862         New file.
43863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43864         file.
43865         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43871         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43872         fzeros/fnegs to load 0x80000000 into a float register instead of
43873         using the stack.
43874         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43876 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43879         bits/syscall.h.
43880         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43881         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43882         ($(inst_includedir)/bits/syscall.h): Remove rule.
43883         ($(objpfx)bits/syscall.d): Include instead of
43884         $(objpfx)syscall-list.d.
43885         (generated): Change syscall-list.h and syscall-list.d to
43886         bits/syscall.h and bits/syscall.d.
43888 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43890         [BZ #13846]
43891         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43893 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43895         [BZ #13841]
43896         * math/s_csqrt.c: Include <float.h>.
43897         (__csqrt): Scale large or subnormal inputs.
43898         * math/s_csqrtf.c: Likewise.
43899         * math/s_csqrtl.c: Likewise.
43900         * math/libm-test.inc (csqrt_test): Add more tests.
43901         * sysdeps/i386/fpu/libm-test-ulps: Update.
43902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43904         [BZ #13840]
43905         * math/libm-test.inc (hypot_test): Add more tests.
43907 2012-03-13  David S. Miller  <davem@davemloft.net>
43909         [BZ #13840]
43910         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43911         double-precision for the calculation instead of scaling.
43913 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43915         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43916         manipulate bits before adding and subtracting TWO52[sx].
43917         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43918         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43919         Likewise.
43920         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43922 2012-03-13  David S. Miller  <davem@davemloft.net>
43924         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43925         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43927         rtld-global-offsets.h
43928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43930         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43931         large parameters.
43933         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43935         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43936         'err' in the ifdef scope in which it is actually used.
43938         * nss/nss_db/db-init.c: Include string.h
43940 2012-03-12  David S. Miller  <davem@davemloft.net>
43942         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43943         masking out of the most significant byte of random value used.
43944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43945         Fix coding style in previous change.
43947         * sysdeps/unix/sysv/linux/kernel-features.h
43948         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43949         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43950         expression.
43951         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43952         later.
43954 2012-03-11  David S. Miller  <davem@davemloft.net>
43956         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43957         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43959         for 'resultvar' otherwise things get truncated on 64-bit.
43961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43962         Fix masking out of the most significant byte of random value used.
43964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43966 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43970 2012-03-09  David S. Miller  <davem@davemloft.net>
43972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43973         variables with appropriate CPP guards.
43974         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43975         from the frame pointer, not the stack pointer.  Correct layout
43976         comments.  Fix test on resulting framesize and the management of
43977         the outregs buffer for pltexit.  Preserve floating point return
43978         values across _dl_call_pltexit call.
43979         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43980         framesize and the management of the outregs buffer for pltexit.
43981         Preserve floating point return values across _dl_call_pltexit
43982         call.
43983         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43984         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43985         (la_sparc64_gnu_pltexit): New functions.
43986         (print_exit): Fix format string for return register value.
43988 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43990         * sunrpc/Makefile (others): Add rpcgen.
43991         ($(objpfx)rpcgen): Remove special build rule and dependency on
43992         libc.
43993         * sunrpc/rpcgen.c: New file.
43995 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43997         [BZ #13673]
43998         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43999         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44000         * sysdeps/i386/crti.S: Likewise.
44001         * sysdeps/i386/crtn.S: Likewise.
44002         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44003         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44004         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44005         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44006         * sysdeps/sh/crti.S: Likewise.
44007         * sysdeps/sh/crtn.S: Likewise.
44008         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44010         [BZ #13673]
44011         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44012         with URL.
44013         * locale/programs/locfile-kw.gperf: Likewise.
44014         * locale/programs/charmap-kw.h: Regenerated.
44015         * locale/programs/locfile-kw.h: Likewise.
44017         [BZ #13673]
44018         * intl/plural.y: Replace FSF snail mail address with URL.
44019         * intl/plural.c: Regenerated.
44021 2012-03-09  Richard Henderson  <rth@twiddle.net>
44023         * include/math_private.h: Remove file.
44024         * math/math_private.h: Move file ...
44025         * sysdeps/generic/math_private.h: ... here.
44027         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44028         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44029         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44031         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44032         and <math_private.h>.
44033         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44034         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44035         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44036         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44037         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44038         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44039         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44040         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44041         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44042         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44044         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44045         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44047         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44048         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44049         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44050         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44051         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44052         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44054         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44055         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44056         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44057         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44059         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44060         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44062         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44063         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44064         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44065         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44066         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44067         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44068         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44069         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44070         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44071         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44072         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44073         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44074         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44075         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44076         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44077         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44078         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44079         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44080         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44081         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44082         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44083         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44084         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44085         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44086         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44087         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44088         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44089         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44090         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44091         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44092         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44093         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44094         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44096         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44097         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44098         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44099         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44100         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44101         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44102         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44103         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44105         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44106         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44107         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44110         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44111         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44112         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44113         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44114         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44115         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44116         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44117         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44119         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44120         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44121         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44122         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44123         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44124         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44125         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44126         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44127         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44128         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44129         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44130         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44131         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44133         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44134         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44135         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44136         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44137         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44138         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44139         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44140         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44141         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44142         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44143         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44144         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44145         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44146         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44147         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44148         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44149         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44150         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44151         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44152         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44153         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44154         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44155         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44156         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44157         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44158         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44159         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44160         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44161         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44162         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44163         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44164         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44165         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44166         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44167         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44168         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44169         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44170         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44171         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44172         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44173         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44174         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44175         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44176         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44177         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44178         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44179         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44180         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44181         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44182         * sysdeps/ieee754/k_standard.c: Likewise.
44183         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44184         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44185         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44186         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44187         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44188         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44189         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44190         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44191         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44192         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44193         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44195         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44196         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44197         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44198         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44199         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44200         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44201         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44202         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44203         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44204         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44205         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44206         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44207         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44208         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44209         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44210         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44211         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44212         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44213         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44214         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44215         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44216         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44217         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44218         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44219         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44220         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44221         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44222         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44223         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44224         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44225         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44226         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44227         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44228         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44229         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44230         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44231         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44232         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44233         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44234         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44235         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44236         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44237         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44238         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44239         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44240         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44241         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44242         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44243         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44244         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44245         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44246         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44247         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44248         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44249         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44250         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44251         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44252         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44253         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44255         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44256         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44257         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44258         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44259         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44260         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44261         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44262         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44263         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44265         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44266         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44267         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44268         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44269         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44270         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44271         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44273         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44274         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44275         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44276         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44277         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44278         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44279         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44280         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44281         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44282         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44283         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44284         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44286         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44287         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44288         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44289         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44290         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44291         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44292         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44293         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44294         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44295         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44296         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44297         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44298         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44299         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44300         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44301         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44302         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44303         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44304         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44305         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44306         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44307         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44308         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44309         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44310         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44311         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44312         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44313         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44314         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44315         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44316         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44317         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44318         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44319         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44320         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44321         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44322         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44323         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44324         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44325         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44326         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44327         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44328         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44329         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44330         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44331         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44332         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44333         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44334         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44336         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44337         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44338         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44339         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44340         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44341         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44342         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44343         * sysdeps/ieee754/s_lib_version.c: Likewise.
44344         * sysdeps/ieee754/s_matherr.c: Likewise.
44345         * sysdeps/ieee754/s_signgam.c: Likewise.
44346         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44347         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44348         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44349         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44350         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44351         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44352         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44353         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44354         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44355         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44356         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44357         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44358         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44359         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44360         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44361         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44362         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44363         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44364         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44368 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44370         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44371         * sunrpc/rpc_main.c: Likewise.
44372         * sunrpc/rpc_svcout.c: Likewise.
44374 2012-03-09  David S. Miller  <davem@davemloft.net>
44376         * include/math_private.h: New file.
44378 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44380         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44381         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44382         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44383         from <bits/socket_type.h>.
44384         (enum __socket_type): Don't define here.
44385         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44387         bits/socket_type.h.
44389         [BZ #13566]
44390         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44391         checking __USE_GNU.
44393         * Makerules ($(inst_includedir)/%.h): New rule.
44394         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44395         (install-others): Remove variable setting.
44396         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44398 2012-03-08  Richard Henderson  <rth@twiddle.net>
44400         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44401         from macro to inline function; merge with the
44402         !__LIBC_INTERNAL_MATH_INLINES version.
44403         (__ieee754_sqrtf): Likewise.
44405         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44406         to inline function.
44407         (__rintf, __floor, __floorf): Likewise.
44409         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44410         macro to inline function.
44411         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44413         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44414         not <math/math_private.h>.
44416 2012-03-08  David S. Miller  <davem@davemloft.net>
44418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44419         copyright year.
44420         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44422 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44424         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44425         normalization.
44426         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44427         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44429 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44431         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44432         be defined individually, they must be defined as a block.  Define
44433         S for printing a string instead of hidint the different by using a
44434         macro for adding the 'l'.
44435         * stdio-common/tst-fphex-wide.c: Adjust.
44437 2012-03-07  Marek Polacek  <polacek@redhat.com>
44439         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44441 2012-03-08  Marek Polacek  <polacek@redhat.com>
44443         [BZ #13806]
44444         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44445         * stdio-common/tst-fphex.c: Define a few macros to make the
44446         test reusable.  Use them.
44447         * stdio-common/tst-fphex-wide.c: New file.
44449 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44451         [BZ #6911]
44452         * manual/macros.texi (gnusystems): New macro.
44453         (nongnusystems): Likewise.
44454         (gnulinuxhurdsystems): Likewise.
44455         (gnuhurdsystems): Likewise..
44456         (gnulinuxsystems): Likewise.
44457         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44458         variants of the GNU system, not "GNU system".
44459         * manual/conf.texi: Likewise.
44460         * manual/errno.texi: Likewise.  Update example of errno macro
44461         expansion.
44462         * manual/filesys.texi: Likewise.
44463         (getumask): Document as specific to GNU/Hurd.
44464         * manual/install.texi: Likewise.  Reword some references to
44465         GNU/Linux.
44466         * manual/intro.texi: Likewise.
44467         * manual/io.texi: Likewise.
44468         (File Name Portability): Detail which constraints are inapplicable
44469         to all GNU systems and which are only inapplicable to GNU/Hurd.
44470         * manual/job.texi: Likewise.
44471         * manual/llio.texi: Likewise.
44472         (O_NOCTTY): Document as present on GNU/Linux.
44473         * manual/maint.texi: Likewise.
44474         * manual/memory.texi: Likewise.
44475         * manual/pattern.texi: Likewise.
44476         * manual/pipe.texi: Likewise.
44477         * manual/process.texi: Likewise.
44478         * manual/resource.texi: Likewise.
44479         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44480         child on GNU/Hurd.
44481         * manual/setjmp.texi: Likewise.
44482         * manual/signal.texi: Likewise.
44483         * manual/startup.texi: Likewise.
44484         * manual/stdio.texi: Likewise.
44485         * manual/terminal.texi: Likewise.
44486         (ONLCR): Document as POSIX.
44487         (OXTABS): Document availability on GNU/Linux as XTABS.
44488         (ONOEOT): Document availability separately from other bits.
44489         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44490         * manual/time.texi: Likewise.
44491         * manual/users.texi: Likewise.
44492         * INSTALL: Regenerated.
44493         * sysdeps/gnu/errlist.c: Regenerated.
44495         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44496         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44497         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44498         puts.
44499         * configure: Regenerated.
44501 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44503         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44504         default includes instead of AC_HEADER_CHECK.
44505         * sysdeps/i386/configure: Regenerated.
44507         [BZ #10716]
44508         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44509         * math/s_cacoshf.c (__cacoshf): Likewise.
44510         * math/s_cacoshl.c (__cacoshl): Likewise.
44511         * math/s_casinh.c (__casinh): Set signs of result from argument.
44512         * math/s_casinhf.c (__casinhf): Likewise.
44513         * math/s_casinhl.c (__casinhl): Likewise.
44514         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44515         (casinh_test): Add more tests.
44516         * sysdeps/i386/fpu/libm-test-ulps: Update.
44517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44519 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44521         * po/zh_TW.po: Update from translation team.
44523         * login/Makefile (distribute): Remove variable.
44524         * catgets/Makefile: Likewise.
44525         * mach/Makefile: Likewise.
44526         * malloc/Makefile: Likewise.
44527         * misc/Makefile: Likewise.
44528         * iconv/Makefile: Likewise.
44529         * nscd/Makefile: Likewise.
44530         * hurd/Makefile: Likewise.
44531         * manual/Makefile: Likewise.
44532         * locale/Makefile: Likewise.
44533         * intl/Makefile: Likewise.
44534         * conform/Makefile: Likewise.
44535         * nss/Makefile: Likewise.
44536         * time/Makefile: Likewise.
44537         * soft-fp/Makefile: Likewise.
44538         * dirent/Makefile: Likewise.
44539         * gmon/Makefile: Likewise.
44540         * po/Makefile: Likewise.
44541         * rt/Makefile: Likewise.
44542         * socket/Makefile: Likewise.
44543         * math/Makefile: Likewise.
44544         * signal/Makefile: Likewise.
44545         * debug/Makefile: Likewise.
44546         * elf/Makefile: Likewise.
44547         * timezone/Makefile: Likewise.
44548         * stdlib/Makefile: Likewise.
44549         * iconvdata/Makefile: Likewise.
44550         * sunrpc/Makefile: Likewise.
44551         * io/Makefile: Likewise.
44552         * argp/Makefile: Likewise.
44553         * inet/Makefile: Likewise.
44554         * hesiod/Makefile: Likewise.
44555         * grp/Makefile: Likewise.
44556         * csu/Makefile: Likewise.
44557         * wctype/Makefile: Likewise.
44558         * crypt/Makefile: Likewise.
44559         * libio/Makefile: Likewise.
44560         * string/Makefile: Likewise.
44561         * nis/Makefile: Likewise.
44562         * resolv/Makefile: Likewise.
44563         * stdio-common/Makefile: Likewise.
44564         * wcsmbs/Makefile: Likewise.
44565         * dlfcn/Makefile: Likewise.
44566         * posix/Makefile: Likewise.
44568         [BZ #6959]
44569         * timezone/Makefile: Don't install timezone files, just the programs
44570         and scripts.
44572 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44574         * nss/databases.def: Add missing gshadow entry.
44576         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44578 2012-03-06  Marek Polacek  <polacek@redhat.com>
44580         [BZ #13726]
44581         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44582         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44583         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44584         * stdio-common/tst-long-dbl-fphex.c: New file.
44586 2012-03-06  David S. Miller  <davem@davemloft.net>
44588         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44589         (set_obp_int): New function.
44590         (get_obp_int): New function.
44591         (__get_clockfreq_via_dev_openprom): Likewise.
44592         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44593         Avoid unused variable warnings on 'val' and use builtin_expect.
44594         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44595         __builtin_expect.
44596         (INLINE_CLONE_SYSCALL): Likewise.
44598 2012-03-05  David S. Miller  <davem@davemloft.net>
44600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44602 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44606         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44607         only for |x| >= 40.
44608         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44610 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44613         Replace gettimeofday with __vdso_gettimeofday.
44615         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44616         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44617         __vdso_clock_gettime and __vdso_getcpu.
44619         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44620         time with __vdso_time.
44622 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44624         * manual/lang.texi (size_t): Note types to which size_t may be
44625         equivalent with the GNU C Library, but do not describe when
44626         differences between them are significant.
44628 2012-03-05  Andreas Jaeger  <aj@suse.de>
44630         * sysdeps/i386/fpu/libm-test-ulps: Update.
44632 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44634         [BZ #3976]
44635         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44636         (__ieee754_pow): Save and restore rounding mode and use
44637         round-to-nearest for main computations.
44638         * math/libm-test.inc (pow_test_tonearest): New function.
44639         (pow_test_towardzero): Likewise.
44640         (pow_test_downward): Likewise.
44641         (pow_test_upward): Likewise.
44642         (main): Call the new functions.
44643         * sysdeps/i386/fpu/libm-test-ulps: Update.
44644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44646         [BZ #3976]
44647         * math/libm-test.inc (cosh_test_tonearest): New function.
44648         (cosh_test_towardzero): Likewise.
44649         (cosh_test_downward): Likewise.
44650         (cosh_test_upward): Likewise.
44651         (sinh_test_tonearest): Likewise.
44652         (sinh_test_towardzero): Likewise.
44653         (sinh_test_downward): Likewise.
44654         (sinh_test_upward): Likewise.
44655         (main): Call the new functions.
44656         * sysdeps/i386/fpu/libm-test-ulps: Update.
44657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44659 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44661         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44662         default stack guard is set in last bytes.
44663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44665 2012-03-05  Kees Cook  <keescook@chromium.org>
44667         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44669         [BZ #13656]
44670         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44671         possibly allocate from heap instead of stack.
44672         * stdio-common/bug-vfprintf-nargs.c: New file.
44673         * stdio-common/Makefile (tests): Add nargs overflow test.
44675 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44679 2012-03-03  Marek Polacek  <polacek@redhat.com>
44681         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44682         * math/math_private.h: Likewise.
44683         * stdlib/tst-strtod.c: Likewise.
44684         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44685         * sysdeps/x86_64/bits/atomic.h: Likewise.
44687 2012-03-02  David S. Miller  <davem@davemloft.net>
44689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44693         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44694         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44695         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44696         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44698 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44700         [BZ #13792]
44701         * manual/examples/README: New file, says the example source files
44702         can be used under GPL>=2.
44703         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44704         line containing just "*/".
44705         * manual/examples/add.c: Add copyright header (GPL>=2).
44706         * manual/examples/argp-ex1.c: Likewise.
44707         * manual/examples/argp-ex2.c: Likewise.
44708         * manual/examples/argp-ex3.c: Likewise.
44709         * manual/examples/argp-ex4.c: Likewise.
44710         * manual/examples/atexit.c: Likewise.
44711         * manual/examples/db.c: Likewise.
44712         * manual/examples/dir.c: Likewise.
44713         * manual/examples/dir2.c: Likewise.
44714         * manual/examples/execinfo.c: Likewise.
44715         * manual/examples/filecli.c: Likewise.
44716         * manual/examples/filesrv.c: Likewise.
44717         * manual/examples/fmtmsgexpl.c: Likewise.
44718         * manual/examples/genpass.c: Likewise.
44719         * manual/examples/inetcli.c: Likewise.
44720         * manual/examples/inetsrv.c: Likewise.
44721         * manual/examples/isockad.c: Likewise.
44722         * manual/examples/longopt.c: Likewise.
44723         * manual/examples/memopen.c: Likewise.
44724         * manual/examples/memstrm.c: Likewise.
44725         * manual/examples/mkfsock.c: Likewise.
44726         * manual/examples/mkisock.c: Likewise.
44727         * manual/examples/mygetpass.c: Likewise.
44728         * manual/examples/pipe.c: Likewise.
44729         * manual/examples/popen.c: Likewise.
44730         * manual/examples/rprintf.c: Likewise.
44731         * manual/examples/search.c: Likewise.
44732         * manual/examples/select.c: Likewise.
44733         * manual/examples/setjmp.c: Likewise.
44734         * manual/examples/sigh1.c: Likewise.
44735         * manual/examples/sigusr.c: Likewise.
44736         * manual/examples/stpcpy.c: Likewise.
44737         * manual/examples/strdupa.c: Likewise.
44738         * manual/examples/strftim.c: Likewise.
44739         * manual/examples/strncat.c: Likewise.
44740         * manual/examples/subopt.c: Likewise.
44741         * manual/examples/swapcontext.c: Likewise.
44742         * manual/examples/termios.c: Likewise.
44743         * manual/examples/testopt.c: Likewise.
44744         * manual/examples/testpass.c: Likewise.
44745         * manual/examples/timeval_subtract.c: Likewise.
44747         [BZ #13792]
44748         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44749         function to ...
44750         * manual/timeval_subtract.c.texi: ... here, new file.
44752 2012-03-02  David S. Miller  <davem@davemloft.net>
44754         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44756 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44758         [BZ #3976]
44759         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44760         (__sin): Save and restore rounding mode and use round-to-nearest
44761         for all computations.
44762         (__cos): Save and restore rounding mode and use round-to-nearest
44763         for all computations.
44764         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44765         <fenv.h>.
44766         (tan): Save and restore rounding mode and use round-to-nearest for
44767         all computations.
44768         * math/libm-test.inc (cos_test_tonearest): New function.
44769         (cos_test_towardzero): Likewise.
44770         (cos_test_downward): Likewise.
44771         (cos_test_upward): Likewise.
44772         (sin_test_tonearest): Likewise.
44773         (sin_test_towardzero): Likewise.
44774         (sin_test_downward): Likewise.
44775         (sin_test_upward): Likewise.
44776         (tan_test_tonearest): Likewise.
44777         (tan_test_towardzero): Likewise.
44778         (tan_test_downward): Likewise.
44779         (tan_test_upward): Likewise.
44780         (main): Call the new functions.
44781         * sysdeps/i386/fpu/libm-test-ulps: Update.
44782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44784         [BZ #10135]
44785         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44786         small n, then large n, before computing and testing k+n.
44787         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44789         Likewise.
44790         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44791         Likewise.
44792         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44793         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44794         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44795         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44796         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44797         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44798         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44799         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44800         * math/libm-test.inc (scalbn_test): Add more tests.
44801         (scalbln_test): Likewise.
44803         * manual/filesys.texi (mode_t): Describe constraints on size and
44804         signedness, not exact equivalence to a particular type.
44805         (ino_t): Likewise.
44806         (ino64_t): Likewise.
44807         (dev_t): Likewise.
44808         (nlink_t): Likewise.
44809         (blkcnt_t): Likewise.
44810         (blkcnt64_t): Likewise.
44811         * manual/llio.texi (off_t): Likewise.
44813         [BZ #3976]
44814         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44815         (__ieee754_exp): Save and restore rounding mode and use
44816         round-to-nearest for all computations.
44817         * math/libm-test.inc (exp_test_tonearest): New function.
44818         (exp_test_towardzero): Likewise.
44819         (exp_test_downward): Likewise.
44820         (exp_test_upward): Likewise.
44821         (main): Call the new functions.
44822         * sysdeps/i386/fpu/libm-test-ulps: Update.
44823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44825 2012-03-01  Chris Demetriou  <cgd@google.com>
44827         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44828         have predictable order.
44830 2012-03-01  David S. Miller  <davem@davemloft.net>
44832         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44834         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44835         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44836         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44837         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44839         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44840         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44841         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44843         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44844         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44845         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44846         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44847         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44851         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44852         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44853         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44855         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44856         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44857         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44858         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44859         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44860         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44861         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44862         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44863         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44864         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44865         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44866         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44868         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44869         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44871         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44872         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44873         * sysdeps/sparc/elf/configure: Regenerated.
44875 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44877         * configure.in (AS, LD): Require binutils 2.20 or later.
44878         * configure: Regenerated.
44879         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44880         as required minimum version.
44881         * INSTALL: Regenerated.
44883         [BZ #2541]
44884         [BZ #4108]
44885         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44886         before squaring exponent.
44887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44888         bottom long double and 27 bits of top long double before squaring
44889         exponent.
44890         * math/libm-test.inc (erfc_test): Add more tests.
44891         * sysdeps/i386/fpu/libm-test-ulps: Update.
44892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44895 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44897         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44898         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44899         containing bit-fields.
44900         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44901         * soft-fp/single.h (_FP_UNION_S): Likewise.
44902         * soft-fp/double.h (_FP_UNION_D): Likewise.
44904 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44906         [BZ #13786]
44907         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44908         not include ../strcmp.S.
44909         [USE_AS_STRNCASECMP_L]: Likewise.
44910         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44911         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44912         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44913         (__strncasecmp_l_ia32): Define as alias to
44914         __strncasecmp_l_nonascii.
44916         [BZ #5794]
44917         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44918         * sysdeps/i386/fpu/libm-test-ulps: Update.
44919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44921         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44924 2012-02-29  Jeff Law  <law@redhat.com>
44926         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44927         out of bounds read.
44929 2012-02-29  Marek Polacek  <polacek@redhat.com>
44931         [BZ #13706]
44932         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44933         * elf/Makefile: Add rules to run tst-unused-dep.out.
44935 2012-02-28  David S. Miller  <davem@davemloft.net>
44937         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44938         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44940         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44941         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44942         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44944 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44946         * math/libm-test.inc (llround_test): Move one test from
44947         lround_test.  Use TEST_f_L in moved test.
44948         (lround_test): Move misplaced test to llround_test.  Add testcase
44949         from bug 2561.
44951 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44953         * sysdeps/x86_64/fpu/e_expf.S: New file.
44954         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44956 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44958         [BZ #13637]
44959         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44960         of remain_len that may cause incomplete multi-byte character and
44961         false match.
44962         * posix/bug-regex33.c: New file.
44963         * posix/Makefile (tests): Add bug-regex33.
44965 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44967         * manual/macros.texi: New file.
44968         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44969         * manual/libc.texinfo: Include macros.texi.
44970         * manual/creatute.texi: Likewise.
44971         * manual/install.texi: Likewise.
44972         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44973         @glibcadj{} in references to the GNU C Library.
44974         * manual/charset.texi: Likewise.
44975         * manual/conf.texi: Likewise.
44976         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44977         when not using those macros.
44978         * manual/creature.texi: Likewise.
44979         * manual/crypt.texi: Likewise.
44980         * manual/errno.texi: Likewise.
44981         * manual/filesys.texi: Likewise.
44982         * manual/header.texi: Likewise.
44983         * manual/install.texi: Likewise.
44984         * manual/intro.texi: Likewise.
44985         * manual/io.texi: Likewise.
44986         * manual/job.texi: Likewise.
44987         * manual/lang.texi: Likewise.
44988         * manual/libc.texiinfo: Likewise.
44989         * manual/llio.texi: Likewise.
44990         * manual/locale.texi: Likewise.
44991         * manual/maint.texi: Likewise.
44992         * manual/math.texi: Likewise.
44993         * manual/memory.texi: Likewise.
44994         * manual/message.texi: Likewise.
44995         * manual/nss.texi: Likewise.
44996         * manual/pattern.texi: Likewise.
44997         * manual/process.texi: Likewise.
44998         * manual/resource.texi: Likewise.
44999         * manual/search.texi: Likewise.
45000         * manual/setjmp.texi: Likewise.
45001         * manual/signal.texi: Likewise.
45002         * manual/socket.texi: Likewise.
45003         * manual/startup.texi: Likewise.
45004         * manual/stdio.texi: Likewise.
45005         * manual/string.texi: Likewise.
45006         * manual/sysinfo.texi: Likewise.
45007         * manual/syslog.texi: Likewise.
45008         * manual/terminal.texi: Likewise.
45009         * manual/time.texi: Likewise.
45010         * manual/users.texi: Likewise.
45011         * INSTALL: Regenerated.
45012         * NOTES: Regenerated.
45013         * sysdeps/gnu/errlist.c: Regenerated.
45015 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45017         * include/dirent.h: Include <dirstream.h> before
45018         <dirent/dirent.h>.
45020 2012-02-28  David S. Miller  <davem@davemloft.net>
45022         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45023         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45024         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45025         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45027 2012-02-27  David S. Miller  <davem@davemloft.net>
45029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45031         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45032         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45035         frame pointer instead of stack pointer relative arg slot.
45036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45037         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45038         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45040 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45042         [BZ #3992]
45043         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45045 2012-02-27  David S. Miller  <davem@davemloft.net>
45047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45051         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45052         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45053         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45054         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45056 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45058         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45059         later.  Allow versions 5-9.
45060         * configure: Regenerated.
45061         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45062         required minimum version and 4.6 as recommended version.  Do not
45063         mention bugs in GCC 2.7 and 2.8.
45064         * INSTALL: Regenerated.
45066 2012-02-27  David S. Miller  <davem@davemloft.net>
45068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45072         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45073         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45074         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45075         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45077         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45078         manipulate bits before adding and subtracting TWO112[sx].
45079         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45081 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45083         [BZ #13775]
45084         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45085         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45086         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45087         being in POSIX, because they are in 1003.1-2008.
45089         * rt/tst-aio.c: Include <fcntl.h>.
45090         * rt/tst-aio7.c: Likewise.
45091         * rt/tst-aio64.c: Likewise.
45093         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45095 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45097         * manual/install.texi (--with-headers): Describe headers as
45098         interface headers, not private headers.
45099         (Specific advice for GNU/Linux systems): Describe use of headers
45100         from "make headers_install", not private headers from older
45101         kernels.
45102         * INSTALL: Regenerated.
45103         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45104         Change to 2.6.19.
45105         * sysdeps/unix/sysv/linux/configure: Regenerated.
45107         * manual/llio.texi (fclean): Remove documentation.
45109         * manual/Makefile (libc-texi-generated): New variable.  Include
45110         version.texi.
45111         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45112         $(libc-texi-generated), not duplicated list of files.
45113         (version.texi, stamp-version): New rules.
45114         (realclean): Remove $(libc-texi-generated), not individual files
45115         from that list.  Do not remove dir-add.texinfo.
45116         * manual/libc.texinfo: Comment out uses of edition numbers and
45117         references to printed manual.  Remove last-updated dates.
45118         (EDITION): Comment out.
45119         (ISBN): Likewise.
45120         (VERSION, UPDATED): Remove.
45121         (version.texi): Include.
45123 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45125         * sysdeps/posix/spawni.c: Include <signal.h>.
45126         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45127         * sysdeps/pthread/aio_fsync.c: Likewise.
45129 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45131         * conform/Makefile (tests): Run only when not cross-compiling and
45132         when fast-check is not defined.
45134         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45135         * conform/data/limits.h-data: Fixes for POSIX2008.
45136         * conform/run-conformtest.sh: Run all tests.
45137         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45138         headers.
45139         * include/bits/dlfcn.h: Likewise.
45140         * include/langinfo.h: Likewise.
45141         * include/monetary.h: Likewise.
45142         * include/sys/poll.h: Likewise.
45144         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45145         for __USE_GNU.
45146         * posix/spawn.h: Define __need_sigset_t.
45147         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45148         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45149         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45150         to get sigevent_t only.
45151         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45152         only for __USE_GNU.
45153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45154         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45155         process_vm_writev only for __USE_GNU.
45156         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45158         * conform/Makefile: For now ignore errors from run-conformtest.
45159         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45160         POSIX to avoid namespace pollution.  Don't prepend headers.
45161         * conform/data/aio.h-data: Fixes for POSIX testing.
45162         * conform/data/fcntl.h-data: Likewise.
45163         * conform/data/glob.h-data: Likewise.
45164         * conform/data/grp.h-data: Likewise.
45165         * conform/data/pthread.h-data: Likewise.
45166         * conform/data/pwd.h-data: Likewise.
45167         * conform/data/signal.h-data: Likewise.
45168         * conform/data/spawn.h-data: Likewise.
45169         * conform/data/stdio.h-data: Likewise.
45170         * conform/data/stdlib.h-data: Likewise.
45171         * conform/data/stropts.h-data: Likewise.
45172         * conform/data/sys/mman.h-data: Likewise.
45173         * conform/data/sys/stat.h-data: Likewise.
45174         * conform/data/sys/types.h-data: Likewise.
45175         * conform/data/sys/wait.h-data: Likewise.
45176         * conform/data/time.h-data: Likewise.
45177         * conform/data/unistd.h-data: Likewise.
45178         * conform/data/utime.h-data: Likewise.
45180         * io/sys/stat.h: fchmod was always in POSIX.
45181         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45182         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45183         * rt/aio.h: Define __need_timespec before including <time.h>.
45184         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45185         struct.  Add forward declaration of pthread_attr_t and use it in
45186         sigevent.
45187         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45189         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45190         always remove CLK_TCK definition.
45192 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45194         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45196 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45198         * conform/run-conformtest.sh: New file.
45199         * conform/Makefile: Run run-conformtest for tests.
45200         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45201         support.
45203         * conform/data/uchar.h-data: New file.
45204         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45205         * conform/data/arpa/inet.h-data: Likewise.
45206         * conform/data/assert.h-data: Likewise.
45207         * conform/data/complex.h-data: Likewise.
45208         * conform/data/cpio.h-data: Likewise.
45209         * conform/data/ctype.h-data: Likewise.
45210         * conform/data/dirent.h-data: Likewise.
45211         * conform/data/dlfcn.h-data: Likewise.
45212         * conform/data/errno.h-data: Likewise.
45213         * conform/data/fcntl.h-data: Likewise.
45214         * conform/data/float.h-data: Likewise.
45215         * conform/data/fmtmsg.h-data: Likewise.
45216         * conform/data/fnmatch.h-data: Likewise.
45217         * conform/data/ftw.h-data: Likewise.
45218         * conform/data/glob.h-data: Likewise.
45219         * conform/data/grp.h-data: Likewise.
45220         * conform/data/iconv.h-data: Likewise.
45221         * conform/data/inttypes.h-data: Likewise.
45222         * conform/data/langinfo.h-data: Likewise.
45223         * conform/data/libgen.h-data: Likewise.
45224         * conform/data/limits.h-data: Likewise.
45225         * conform/data/locale.h-data: Likewise.
45226         * conform/data/math.h-data: Likewise.
45227         * conform/data/monetary.h-data: Likewise.
45228         * conform/data/mqueue.h-data: Likewise.
45229         * conform/data/ndbm.h-data: Likewise.
45230         * conform/data/net/if.h-data: Likewise.
45231         * conform/data/netdb.h-data: Likewise.
45232         * conform/data/netinet/in.h-data: Likewise.
45233         * conform/data/nl_types.h-data: Likewise.
45234         * conform/data/poll.h-data: Likewise.
45235         * conform/data/pthread.h-data: Likewise.
45236         * conform/data/pwd.h-data: Likewise.
45237         * conform/data/regex.h-data: Likewise.
45238         * conform/data/sched.h-data: Likewise.
45239         * conform/data/search.h-data: Likewise.
45240         * conform/data/semaphore.h-data: Likewise.
45241         * conform/data/setjmp.h-data: Likewise.
45242         * conform/data/signal.h-data: Likewise.
45243         * conform/data/spawn.h-data: Likewise.
45244         * conform/data/stdarg.h-data: Likewise.
45245         * conform/data/stdio.h-data: Likewise.
45246         * conform/data/stdlib.h-data: Likewise.
45247         * conform/data/string.h-data: Likewise.
45248         * conform/data/strings.h-data: Likewise.
45249         * conform/data/stropts.h-data: Likewise.
45250         * conform/data/sys/ipc.h-data: Likewise.
45251         * conform/data/sys/mman.h-data: Likewise.
45252         * conform/data/sys/msg.h-data: Likewise.
45253         * conform/data/sys/resource.h-data: Likewise.
45254         * conform/data/sys/select.h-data: Likewise.
45255         * conform/data/sys/sem.h-data: Likewise.
45256         * conform/data/sys/shm.h-data: Likewise.
45257         * conform/data/sys/socket.h-data: Likewise.
45258         * conform/data/sys/stat.h-data: Likewise.
45259         * conform/data/sys/statvfs.h-data: Likewise.
45260         * conform/data/sys/time.h-data: Likewise.
45261         * conform/data/sys/timeb.h-data: Likewise.
45262         * conform/data/sys/times.h-data: Likewise.
45263         * conform/data/sys/types.h-data: Likewise.
45264         * conform/data/sys/uio.h-data: Likewise.
45265         * conform/data/sys/un.h-data: Likewise.
45266         * conform/data/sys/utsname.h-data: Likewise.
45267         * conform/data/sys/wait.h-data: Likewise.
45268         * conform/data/syslog.h-data: Likewise.
45269         * conform/data/tar.h-data: Likewise.
45270         * conform/data/termios.h-data: Likewise.
45271         * conform/data/utime.h-data: Likewise.
45272         * conform/data/utmpx.h-data: Likewise.
45273         * conform/data/varargs.h-data: Likewise.
45274         * conform/data/wchar.h-data: Likewise.
45275         * conform/data/wctype.h-data: Likewise.
45276         * conform/data/wordexp.h-data: Likewise.
45278         * include/stropts.h: New file.
45279         * include/uchar.h: New file.
45280         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45281         * include/assert.h: Likewise.
45282         * include/ctype.h: Likewise.
45283         * include/dirent.h: Likewise.
45284         * include/dlfcn.h: Likewise.
45285         * include/fcntl.h: Likewise.
45286         * include/fnmatch.h: Likewise.
45287         * include/glob.h: Likewise.
45288         * include/grp.h: Likewise.
45289         * include/libio.h: Likewise.
45290         * include/locale.h: Likewise.
45291         * include/math.h: Likewise.
45292         * include/net/if.h: Likewise.
45293         * include/netdb.h: Likewise.
45294         * include/netinet/in.h: Likewise.
45295         * include/pthread.h: Likewise.
45296         * include/pwd.h: Likewise.
45297         * include/regex.h: Likewise.
45298         * include/sched.h: Likewise.
45299         * include/search.h: Likewise.
45300         * include/setjmp.h: Likewise.
45301         * include/signal.h: Likewise.
45302         * include/stdio.h: Likewise.
45303         * include/stdlib.h: Likewise.
45304         * include/string.h: Likewise.
45305         * include/sys/cdefs.h: Likewise.
45306         * include/sys/mman.h: Likewise.
45307         * include/sys/msg.h: Likewise.
45308         * include/sys/resource.h: Likewise.
45309         * include/sys/select.h: Likewise.
45310         * include/sys/socket.h: Likewise.
45311         * include/sys/stat.h: Likewise.
45312         * include/sys/statvfs.h: Likewise.
45313         * include/sys/time.h: Likewise.
45314         * include/sys/times.h: Likewise.
45315         * include/sys/uio.h: Likewise.
45316         * include/sys/utsname.h: Likewise.
45317         * include/sys/wait.h: Likewise.
45318         * include/termios.h: Likewise.
45319         * include/time.h: Likewise.
45320         * include/ulimit.h: Likewise.
45321         * include/unistd.h: Likewise.
45322         * include/utime.h: Likewise.
45323         * include/wchar.h: Likewise.
45324         * include/wctype.h: Likewise.
45325         * include/wordexp.h: Likewise.
45327         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45329         * time/time.h: TIME_UTC must be a macro.
45330         Make timespec_get available for ISO C11 only as well.
45332 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45334         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45335         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45337 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45339         * configure.in: Use -o not -a in test for unsupported multi-arch.
45341 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45343         * manual/texinfo.tex: Update to version 2012-01-19.16.
45345 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45347         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45349 2012-02-24  Roland McGrath  <roland@hack.frob.com>
45351         [BZ #13738]
45352         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45353         * manual/fdl-1.3.texi: New file.
45354         * manual/fdl-1.1.texi: File removed.
45356         [BZ #13738]
45357         * manual/libc.texinfo (FDL_VERSION): New @set.
45358         Use it for mention of FDL in cover text.
45359         (Documentation License): Use it in @include file name.
45361 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45362             Roland McGrath  <roland@hack.frob.com>
45364         [BZ #5461]
45365         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45366         (not LONG_LONG_MAX and LONG_LONG_MIN.
45367         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45368         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
45369         name.
45370         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45372 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45374         [BZ #2547]
45375         [BZ #11365]
45376         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45377         manipulate bits before adding and subtracting TWO23[sx].
45378         * math/libm-test.inc (nearbyint_test): Add more tests.
45380 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45382         [BZ #2548]
45383         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45384         bits before adding and subtracting TWO23[sx].
45385         * math/libm-test.inc (rint_test): Add more tests.
45386         (rint_test_tonearest): Likewise.
45387         (rint_test_towardzero): Likewise.
45388         (rint_test_downward): Likewise.
45389         (rint_test_upward: Likewise.
45391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45393         [BZ #10110]
45394         * include/stdc-predef.h: New file.  Extracted from features.h.
45395         * include/features.h: Include stdc-predef.h.
45396         * Makefile (headers): Add stdc-predef.h.
45397         * CONFORMANCE (Compiler limitations): Update.
45399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45401         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45403 2012-02-21  David S. Miller  <davem@davemloft.net>
45405         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45406         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45408 2012-02-20  David S. Miller  <davem@davemloft.net>
45410         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45411         using a normal save/restore sequence, rather than allocating a
45412         dummy stack frame just to store a frame pointer and restore.
45413         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45415 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45417         * manual/install.texi: Fix stray word in line-wrapped comment.
45419 2012-02-20  David S. Miller  <davem@davemloft.net>
45421         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45422         both binutils and gcc support GOTDATA.
45424         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45425         "rd %pc" in the PIC register setup sequences.
45427         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45428         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45429         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45430         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45431         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45433         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45434         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45436         (SYSCALL_ERROR_HANDLER): Likewise.
45437         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45438         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45440         (SYSCALL_ERROR_HANDLER): Likewise.
45442         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45443         (HAVE_GCC_GOTDATA): New.
45444         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45445         relocation support in both binutils and gcc.
45446         * sysdeps/sparc/elf/configure: Regenerate.
45448         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45449         * sysdeps/sparc/sparc32/elf/configure: Delete.
45450         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45451         * sysdeps/sparc/sparc64/elf/configure: Delete.
45452         * sysdeps/sparc/elf/configure.in: New file.
45453         * sysdeps/sparc/elf/configure: Generate.
45455         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45456         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45457         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45458         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45459         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45461 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45463         * manual/install.texi: Do not mention specific glibc version
45464         numbers.
45465         * manual/libc.texinfo (VERSION, UPDATED): Update.
45466         (@copying): Use @copyright{} and range of years.
45468 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45470         [BZ #13695]
45471         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45472         [crti.S not in sysdirs] (generated): Do not append.
45473         [crti.S not in sysdirs] (omit-deps): Likewise.
45474         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45475         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45476         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45477         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45478         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45479         Likewise.
45480         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45481         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45482         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45483         * csu/defs.awk: Remove file.
45484         * sysdeps/generic/initfini.c: Likewise.
45485         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45486         variable.
45487         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45488         Likewise.
45490 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45492         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45493         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45494         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45495         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45496         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45497         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45498         <bits/epoll.h>.
45499         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45500         (__EPOLL_PACKED): Define to empty if not defined by
45501         <bits/epoll.h>.
45502         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45504         bits/epoll.h.
45506 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45508         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45509         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45510         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45511         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45512         <bits/timerfd.h>.
45513         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45515         bits/timerfd.h.
45517 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45519         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45520         in C locale.
45521         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45522         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45523         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45526 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45528         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45529         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45531 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45533         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45534         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45535         defined.
45536         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45537         Likewise.
45538         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45539         entry for 2.16.
45541 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45543         * math/w_acos.c: Use non-signaling floating-point comparisons.
45544         * math/w_acosf.c: Likewise.
45545         * math/w_acosh.c: Likewise.
45546         * math/w_acoshf.c: Likewise.
45547         * math/w_acoshl.c: Likewise.
45548         * math/w_acosl.c: Likewise.
45549         * math/w_asin.c: Likewise.
45550         * math/w_asinf.c: Likewise.
45551         * math/w_asinl.c: Likewise.
45552         * math/w_atanh.c: Likewise.
45553         * math/w_atanhf.c: Likewise.
45554         * math/w_atanhl.c: Likewise.
45555         * math/w_exp2.c: Likewise.
45556         * math/w_exp2f.c: Likewise.
45557         * math/w_exp2l.c: Likewise.
45558         * math/w_j0.c: Likewise.
45559         * math/w_j0f.c: Likewise.
45560         * math/w_j0l.c: Likewise.
45561         * math/w_j1.c: Likewise.
45562         * math/w_j1f.c: Likewise.
45563         * math/w_j1l.c: Likewise.
45564         * math/w_jn.c: Likewise.
45565         * math/w_jnf.c: Likewise.
45566         * math/w_log.c: Likewise.
45567         * math/w_log10.c: Likewise.
45568         * math/w_log10f.c: Likewise.
45569         * math/w_log10l.c: Likewise.
45570         * math/w_log2.c: Likewise.
45571         * math/w_log2f.c: Likewise.
45572         * math/w_log2l.c: Likewise.
45573         * math/w_logf.c: Likewise.
45574         * math/w_logl.c: Likewise.
45575         * math/w_sqrt.c: Likewise.
45576         * math/w_sqrtf.c: Likewise.
45577         * math/w_sqrtl.c: Likewise.
45578         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45579         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45580         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45581         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45582         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45584 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45586         [BZ #9739]
45587         * manual/string.texi (strnlen): Use correct parameter name in
45588         equivalent expression.
45590 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45592         [BZ #11174]
45593         * manual/users.texi (seteuid): Consistently use neweuid for
45594         argument name.
45596 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45598         [BZ #13704]
45599         * manual/nss.texi (Services in the NSS configuration): Correct
45600         list of services in example configuration file.
45602 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45604         [BZ #11322]
45605         * manual/arith.texi: Remove statements about negative zero
45606         behaving identically to zero.
45608 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45610         [BZ #5993]
45611         * manual/install.texi: Do not document upgrading from libc5.
45613 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45615         [BZ #4596]
45616         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45618 2012-02-18  David S. Miller  <davem@davemloft.net>
45620         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45621         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45622         %o7 across the call.
45623         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45624         instead.
45625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45626         SETUP_PIC_REG_LEAF.
45627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45628         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45629         * sysdeps/sparc/crtn.S: Likewise.
45631 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45633         * aout/Makefile: Remove.
45635 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45637         [BZ #13058]
45638         * manual/examples/argp-ex1.c (main): Format definition in GNU
45639         style.
45640         * manual/examples/argp-ex2.c (main): Likewise.
45641         * manual/examples/argp-ex3.c (main): Likewise.
45642         * manual/examples/argp-ex4.c (main): Likewise.
45643         * manual/examples/longopt.c (main): Use new-style prototype
45644         definition.
45645         * manual/examples/strncat.c (main): Specify return type and use
45646         (void) for arguments.
45647         * manual/examples/subopt.c (main): Use char **argv argument.
45649 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45651         [BZ #5077]
45652         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45653         rounding modes.
45655 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45657         [BZ #6907]
45658         * manual/string.texi (strchr): Change when strchrnul is
45659         recommended.
45661 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45663         [BZ #174]
45664         * manual/locale.texi (setlocale): Document LOCPATH.
45666 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45668         [BZ #10210]
45669         * manual/process.texi (execle): Move @dots{} before last argument.
45671 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45673         [BZ #12047]
45674         * manual/charset.texi (Generic Charset Conversion): Fix typo
45675         (LC_TYPE -> LC_CTYPE).
45677 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45679         [BZ #5805]
45680         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45681         (scalbnf): Likewise.
45682         (scalbnl): Likewise.
45683         (scalbln): Likewise.
45684         (scalblnf): Likewise.
45685         (scalblnl): Likewise.
45686         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45687         (vwarnx): Likewise.
45688         (verr): Likewise.
45689         (verrx): Likewise.
45690         * manual/filesys.texi (telldir): Use braces around return type.
45691         * manual/llio.texi (mmap): Add space after comma.
45692         (mmap64): Likewise.
45693         * manual/math.texi (jn): Use @var{} on parameter names.
45694         (jnf): Likewise.
45695         (jnl): Likewise.
45696         (yn): Likewise.
45697         (ynf): Likewise.
45698         (ynl): Likewise.
45699         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45700         line.
45701         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45702         "...".
45703         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45704         (sched_get_priority_max): Likewise.
45705         * manual/signal.texi (sigvec): Add space after comma.
45706         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45707         names.
45708         (if_indextoname): Likewise.
45709         (if_freenameindex): Likewise.
45710         (sendto): Use ',' instead of '.' in prototype.
45711         * manual/startup.texi (syscall): Use @dots{} instead of literal
45712         "...".
45713         * manual/stdio.texi (__fpending): Separate initial words of
45714         paragraph from @deftypefun line.
45715         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45716         "...".
45717         (vsyslog): Use @var{} on parameter names.
45718         * manual/terminal.texi (stty): Use @var{} on parameter names.
45719         * manual/users.texi (getutmp): Use @var{} on parameter names.
45720         (getutmpx): Likewise.
45722 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45724         [BZ #6884]
45725         * manual/stdio.texi (fopen): Fix typos in description of
45726         ",ccs=STRING".
45728 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45730         [BZ #4026]
45731         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45732         get clock_id definition.
45734 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45736         [BZ #4822]
45737         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45738         (madvise): Cast every argument to void on its own.
45740 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45742         [BZ #9902]
45743         * manual/startup.texi (Exit Status): Fix typo.
45745 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45747         [BZ #10140]
45748         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45749         * manual/examples/argp-ex2.c: Likewise.
45750         * manual/examples/argp-ex3.c: Likewise.
45752 2012-02-16  Richard Henderson  <rth@redhat.com>
45754         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45755         * sysdeps/s390/s390-32/initfini.c: Remove.
45756         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45757         * sysdeps/s390/s390-64/initfini.c: Remove.
45759 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45761         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45762         compiler output for sysdeps/generic/initfini.c.
45763         * sysdeps/sh/elf/initfini.c: Remove file.
45765 2012-02-16  David S. Miller  <davem@davemloft.net>
45767         [BZ #11494]
45768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45770         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45771         * sysdeps/sparc/crti.S: New file.
45772         * sysdeps/sparc/crtn.S: New file.
45773         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45774         * sysdeps/sparc/sparc64/Makefile: Likewise.
45776 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45778         [BZ #3335]
45779         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45781 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45783         [BZ #4822]
45784         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45786         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45787         (write, read, close): Likewise.
45788         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45790 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45792         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45793         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45794         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45795         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45796         <bits/signalfd.h>.
45797         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45799         bits/signalfd.h.
45801 2012-02-14  Marek Polacek  <polacek@redhat.com>
45803         * sysdeps/x86_64/crti.S: New file.
45804         * sysdeps/x86_64/crtn.S: New file.
45805         * sysdeps/x86_64/elf/initfini.c: Remove file.
45807 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45809         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45810         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45811         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45812         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45813         <bits/inotify.h>.
45814         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45816         bits/inotify.h.
45818 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45820         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45821         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45822         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45823         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45824         <bits/eventfd.h>.
45825         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45827         bits/eventfd.h.
45829 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45831         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45832         __feraiseexcept instead of feraiseexcept.
45834         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45835         nanosleep invocations.
45836         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45837         strings, and add error checking for a nanosleep invocations.
45839 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45841         Replace FSF snail mail address with URLs, as per GNU coding standards.
45842         Most of the snail mail addresses were wrong anyway, and omitting
45843         them makes the source code easier to maintain.  Almost all of the
45844         changes are to license notices and to locale LC_IDENTIFICATION
45845         addresses, except for this one:
45846         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45847         not its snail mail address.
45849 2012-02-09  Richard Henderson  <rth@twiddle.net>
45851         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45852         of kernel-features.h.
45854         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45856 2012-02-08  Marek Polacek  <polacek@redhat.com>
45858         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45859         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45860         * sysdeps/gnu/_G_config.h: Likewise.
45861         * sysdeps/generic/_G_config.h: Likewise.
45863 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45865         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45866         tests.
45867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45869         * sysdeps/powerpc/powerpc32/crti.S: New file.
45870         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45871         * sysdeps/powerpc/powerpc64/crti.S: New file.
45872         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45874         * Makeconfig (have-initfini): Don't set.
45875         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45876         * configure.in (nopic_initfini): Don't substitute.
45877         * config.h.in (HAVE_INITFINI): Don't #undef.
45878         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45879         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45881 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45883         Support crti.S and crtn.S provided directly by architectures.
45884         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45885         [crti.S in sysdirs] (omit-deps): Likewise.
45886         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45887         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45888         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45889         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45890         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45891         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45892         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45893         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45894         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45895         compiler output for sysdeps/generic/initfini.c.
45896         * sysdeps/i386/elf/Makefile: Remove file.
45897         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45899 2012-02-07  Marek Polacek  <polacek@redhat.com>
45901         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45902         * sysdeps/gnu/_G_config.h: Likewise.
45903         * sysdeps/mach/hurd/_G_config.h: Likewise.
45905 2012-02-07  Marek Polacek  <polacek@redhat.com>
45907         * math/Makefile (tests): Add tst-CMPLX2.
45908         * math/tst-CMPLX2.c: New file.
45910 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45912         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45914         * math/libm-test.inc (jn_test): Add missing L suffix.
45916 2012-02-06  Marek Polacek  <polacek@redhat.com>
45918         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45919         * sysdeps/i386/fpu/e_powf.S: Likewise.
45920         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45921         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45922         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45923         * sysdeps/i386/fpu/e_pow.S: Likewise.
45924         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45925         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45926         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45927         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45928         * sysdeps/i386/fpu/e_log2.S: Likewise.
45929         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45930         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45931         * sysdeps/i386/fpu/e_powl.S: Likewise.
45932         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45933         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45934         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45935         * sysdeps/i386/fpu/e_logl.S: Likewise.
45936         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45937         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45938         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45939         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45940         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45941         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45942         * sysdeps/i386/fpu/e_log.S: Likewise.
45943         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45944         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45945         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45946         * sysdeps/i386/fpu/e_logf.S: Likewise.
45947         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45948         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45949         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45950         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45951         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45952         * sysdeps/i386/fpu/e_log10.S: Likewise.
45953         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45954         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45955         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45956         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45957         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45958         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45959         * sysdeps/i386/asm-syntax.h: Likewise.
45960         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45961         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45962         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45963         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45964         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45965         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45966         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45967         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45968         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45969         * sysdeps/powerpc/sysdep.h: Likewise.
45970         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45971         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45973 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45975         [BZ #411]
45976         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45978 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45980         * sysdeps/i386/sysdep.h: Include <features.h>.
45981         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45982         version.
45984 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45986         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45987         Define.
45988         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45989         LOAD_PIC_REG_STR.
45991 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45993         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45994         (SETUP_PIC_REG): Use GET_PC_THUNK.
45995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45996         macro.
45998 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46000         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46001         for non-PIC compilation.
46002         (SETUP_PIC_REG): Add .p2align directive.
46003         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46004         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46005         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46006         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46007         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46008         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46009         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46010         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46011         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46012         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46013         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46014         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46015         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46016         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46017         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46020         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46021         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46022         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46023         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46024         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46025         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46026         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46027         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46028         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46029         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46030         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46031         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46032         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46033         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46034         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46035         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46036         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46037         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46038         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46039         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46041         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46042         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46043         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46045 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46047         * math/tst-CMPLX.c: Include <stdio.h>.
46049 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46051         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46052         float.
46053         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46054         * sysdeps/sparc/bits/mathdef.h: Likewise.
46056 2012-01-31  Marek Polacek  <polacek@redhat.com>
46058         * libio/libio.h: Don't define _PARAMS.
46059         * locale/programs/config.h: Don't define PARAMS.
46060         * stdlib/strtol_l.c: Likewise.
46061         (__strtol_l): Remove PARAMS from the prototype.
46063 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46065         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46066         names.  Just use the correct names.  Remove unnecessary wrapper
46067         functions.
46068         * malloc/arena.c: Likewise.
46069         * malloc/hooks.c: Likewise.
46071         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46072         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46073         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46075 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46077         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46078         into tail calls.
46079         (update_get_addr): New function.
46080         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46081         GET_ADDR_MODULE parameter.
46083 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46085         * crypt/cert.c: Remove __STDC__ conditionals.
46086         * crypt/crypt-entry.c: Likewise.
46087         * crypt/crypt_util.c: Likewise.
46088         * libio/filedoalloc.c: Likewise.
46089         * libio/fileops.c: Likewise.
46090         * libio/genops.c: Likewise.
46091         * libio/iofclose.c: Likewise.
46092         * libio/iofdopen.c: Likewise.
46093         * libio/iofopen.c: Likewise.
46094         * libio/iofopen64.c: Likewise.
46095         * libio/iogetdelim.c: Likewise.
46096         * libio/iopopen.c: Likewise.
46097         * libio/obprintf.c: Likewise.
46098         * libio/oldfileops.c: Likewise.
46099         * libio/oldiofclose.c: Likewise.
46100         * libio/oldiofdopen.c: Likewise.
46101         * libio/oldiofopen.c: Likewise.
46102         * libio/oldiopopen.c: Likewise.
46103         * libio/wfiledoalloc.c: Likewise.
46104         * libio/wgenops.c: Likewise.
46105         * locale/programs/xmalloc.c: Likewise.
46106         * misc/syslog.c: Likewise.
46107         * stdio-common/xbug.c: Likewise.
46108         * string/memchr.c: Likewise.
46109         * string/memcmp.c: Likewise.
46110         * string/memrchr.c: Likewise.
46111         * string/rawmemchr.c: Likewise.
46112         * sysdeps/posix/getcwd.c: Likewise.
46113         * time/strftime_l.c: Likewise.
46115 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46117         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46118         * config.make.in (config-cflags-sse2avx): Define.
46119         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46120         Fix typo.
46122 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46124         * scripts/config.guess: Update from upstream config git repository.
46125         * scripts/config.sub: Likewise.
46127 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46129         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46130         (EM_NUM): Update.
46131         (R_TILEPRO_*, R_TILEGX_*): New macros.
46133         * scripts/firstversions.awk: Fix bug in version range handling.
46135         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46137         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46139         * include/sys/epoll.h: New file.
46140         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46141         libc_hidden_def.
46143 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46145         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46146         Avoid unnecessary __WORDSIZE == 64 test.
46147         (fmaxf): Use VEX format if possible.
46148         (fmax): Likewise.
46149         (fminf): Likewise.
46150         (fmin): Likewise.
46152         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46153         * math/math_private.h: Remove libc_fegetround* and
46154         libc_fesetround*.
46155         * sysdeps/i386/configure.in: Check for -msse2avx.
46156         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46157         also if SSE2AVX is defined.
46158         Remove libc_fegetround* and libc_fesetround*.
46159         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46160         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46161         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46162         of HAS_YMM_USABLE.
46163         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46164         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46165         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46166         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46167         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46169         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46171 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46173         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46174         size is not set.
46175         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46177 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46179         [BZ #13618]
46180         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46181         relocation.
46182         * Makeconfig (libm): Define.
46183         * elf/Makefile: Add rules to build and run tst-relsort1.
46184         * elf/tst-relsort1.c: New file.
46185         * elf/tst-relsort1mod1.c: New file.
46186         * elf/tst-relsort1mod2.c: New file.
46188 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46190         * math/s_ldexp.c: Remove __STDC__ conditionals.
46191         * math/s_ldexpf.c: Likewise.
46192         * math/s_ldexpl.c: Likewise.
46193         * math/s_nextafter.c: Likewise.
46194         * math/s_nexttowardf.c: Likewise.
46195         * math/s_significand.c: Likewise.
46196         * math/s_significandf.c: Likewise.
46197         * math/s_significandl.c: Likewise.
46198         * math/w_jnl.c: Likewise.
46199         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46200         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46201         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46202         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46203         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46205         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46208         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46209         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46211         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46212         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46213         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46214         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46215         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46216         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46217         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46218         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46219         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46220         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46221         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46222         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46223         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46224         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46225         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46226         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46227         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46228         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46229         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46230         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46231         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46232         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46233         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46234         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46235         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46236         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46237         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46238         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46239         * sysdeps/ieee754/k_standard.c: Likewise.
46240         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46241         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46242         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46243         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46244         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46245         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46246         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46247         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46248         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46249         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46250         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46251         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46252         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46253         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46254         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46255         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46256         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46257         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46258         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46259         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46260         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46264         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46265         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46269         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46270         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46271         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46272         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46273         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46274         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46278         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46279         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46280         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46282         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46283         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46284         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46288         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46289         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46290         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46293         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46294         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46296         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46297         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46299         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46300         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46301         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46302         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46305         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46306         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46307         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46308         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46309         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46310         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46311         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46312         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46313         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46314         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46315         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46316         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46317         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46318         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46319         * sysdeps/ieee754/s_matherr.c: Likewise.
46320         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46321         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46325 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46327         * crypt/md5.h: Remove __STDC__ conditionals.
46328         * libio/libioP.h: Likewise.
46329         * locale/programs/config.h: Likewise.
46330         * sysdeps/generic/sysdep.h: Likewise.
46331         * sysdeps/i386/asm-syntax.h: Likewise.
46332         * sysdeps/s390/asm-syntax.h: Likewise.
46333         * sysdeps/unix/sysdep.h: Likewise.
46334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46337 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46339         * libio/libio.h: Remove __STDC__ conditionals.
46340         * malloc/obstack.h: Likewise.
46341         * math/complex.h: Likewise.
46342         * math/math.h: Likewise.
46343         * sysdeps/generic/_G_config.h: Likewise.
46344         * sysdeps/gnu/_G_config.h: Likewise.
46345         * sysdeps/mach/hurd/_G_config.h: Likewise.
46346         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46347         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46348         * sysdeps/sparc/bits/mathdef.h: Likewise.
46350 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
46352         [BZ #13583]
46353         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46354         Clean up HAS_* macros.
46355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46356         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46357         possible.
46358         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46359         HAS_AVX.
46360         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46361         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46362         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46363         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46364         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46366 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
46368         * elf/tst-unique3.cc (gets): Remove declaration.
46369         * elf/tst-unique3lib.cc (gets): Likewise.
46370         * elf/tst-unique3lib2.cc (gets): Likewise.
46371         * elf/tst-unique4.cc (gets): Likewise.
46373 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
46375         * include/stdio.h: Add C++ protection.  Add gets declarations and
46376         definitions.
46377         * debug/tst-chk1.c: Don't declare gets here.
46378         * stdio-common/tst-gets.c: Likewise.
46380 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46382         * posix/glob: Remove directory.
46384 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46386         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46388 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
46390         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46391         of the non-standard EPFNOSUPPORT.
46393 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46395         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46396         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46397         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46399 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46401         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46403 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46405         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46406         transient errors.
46407         * nscd/grpcache.c (cache_addgr): Likewise.
46408         * nscd/hstcache.c (cache_addhst): Likewise.
46409         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46410         * nscd/pwdcache.c (cache_addpw): Likewise.
46411         * nscd/servicescache.c (cache_addserv): Likewise.
46413 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46415         * malloc/malloc.c: Various cleanups.
46416         * malloc/hooks.c: Likewise.
46418         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46419         * stdlib/bug-fmtmsg1.c: New file.
46421         * stdlib/fmtmsg.c (init): Add missing unlock.
46422         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46424 2012-01-12  Marek Polacek  <polacek@redhat.com>
46426         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46427         and _GNU_SOURCE.
46429 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46431         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46432         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46433         macro to ensure uniqueness of label name.
46434         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46435         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46437 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46439         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46441         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46442         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46443         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46444         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46446 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46448         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46450         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46451         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46452         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46454         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46456         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46457         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46458         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46461         * math/bits/math-finite.h: Add ldexp support.
46463 2012-01-10  Marek Polacek  <polacek@redhat.com>
46465         * locale/programs/localedef.h (show_archive_content): Add noreturn
46466         attribute.
46468 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46470         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46472 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46474         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46476         * io/Makefile (headers): Add bits/poll2.h.
46478 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46481         typo #include statement.
46483 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46485         * include/sys/cdefs.h: Define __attribute_alloc_size.
46486         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46487         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46488         * elf/pldd.c: Likewise.
46489         * iconv/iconv_charmap.c: Likewise.
46490         * iconv/iconvconfig.c: Likewise.
46491         * iconv/strtab.c: Likewise.
46492         * locale/programs/locale.c: Likewise.
46493         * locale/programs/localedef.h: Likewise.
46494         * locale/programs/simple-hash.c: Likewise.
46495         * nscd/nscd.h: Likewise.
46496         * nss/makedb.c: Likewise.
46497         * sysdeps/generic/ldconfig.h: Likewise.
46498         * locale/programs/localedef.c: Remove xmalloc prototype.
46499         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46501 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46503         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46504         appropriate.
46506 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46508         * math/Makefile (tests): Add tst-CMPLX.
46509         * math/tst-CMPLX.c: New file.
46511         * math/complex.h (CMPLXL): Fix typo.
46513         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46514         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46515         GLIBC_2.16.
46516         * debug/tst-chk1.c: Add poll and ppoll tests.
46517         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46518         * include/sys/poll.h: Add hidden proto for ppoll.
46519         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46520         * sysdeps/mach/hurd/ppoll.c: Likewise.
46521         * io/ppoll.c: Likewise.
46522         * debug/poll_chk.c: New file.
46523         * debug/ppoll_chk.c: New file.
46524         * include/bits/poll2.h: New file.
46525         * io/bits/poll2.h: New file.
46527         [BZ #1350]
46528         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46530         * configure.in: static is always set to yes.  Remove.
46531         * config.make.in: Don't set build-static.
46532         * Makeconfig: Remove use of build-static.
46533         * dlfcn/Makefile: Likewise.
46534         * elf/Makefile: Likewise.
46535         * math/Makefile: Likewise.
46536         * misc/Makefile: Likewise.
46537         * nptl/Makefile: Likewise.
46538         * sysdeps/mach/hurd/Makefile: Likewise.
46540         * configure.in: PWD_P is not used anymore.
46541         * config.make.in: Remove PWD_P entry.
46543         * configure.in: Remove last remnants of RANLIB.
46544         No need to check for signed size_t anymore.
46545         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46546         and IA-64.
46547         Remove __builtin_expect test because we require at least gcc 3.4.
46548         * aclocal.m4: Likewise.
46550         * wcsmbs/mbrtoc16.c: Implement using towc function.
46551         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46552         * wcsmbs/wcsmbsload.c: Likewise.
46553         * iconv/gconv_simple.c: Likewise.
46554         * iconv/gconv_int.h: Likewise.
46555         * iconv/gconv_builtin.h: Likewise.
46556         * iconv/iconv_prog.c: Remove CHAR16 handling.
46558         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46560         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46562         * configure.in: Remove --with-elf and --enable-bounded options.
46563         Dont set base_machine for ia64.  More non-ELF conditions removed.
46564         Remove testing and setting of leading underscore information.
46565         * config.make.in (build-bounded): Set to no.
46566         * config.h.in: Remove NO_UNDERSCORES entry.
46567         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46568         them.
46569         * csu/start.c: Remove !NO_UNDERSCORE code.
46570         * locale/localeinfo.h: Likewise.
46571         * sysdeps/generic/machine-gmon.h: Likewise.
46572         * sysdeps/generic/sysdep.h: Likewise.
46573         * sysdeps/i386/sysdep.h: Likewise.
46574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46575         * sysdeps/mach/sysdep.h: Likewise.
46576         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46577         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46578         * sysdeps/sh/sysdep.h: Likewise.
46579         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46580         * sysdeps/unix/i386/sysdep.S: Likewise.
46581         * sysdeps/unix/sparc/start.c: Likewise.
46582         * sysdeps/unix/sparc/sysdep.S: Likewise.
46583         * sysdeps/unix/sparc/sysdep.h: Likewise.
46584         * sysdeps/unix/start.c: Likewise.
46585         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46586         * sysdeps/x86_64/sysdep.h: Likewise.
46588 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46590         [BZ #13553]
46591         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46592         for non-gcc.
46593         * argp/argp-fmtstream.h: Use const instead __const.
46594         * argp/argp.h: Likewise.
46595         * assert/assert.h: Likewise.
46596         * bits/fenv.h: Likewise.
46597         * bits/sched.h: Likewise.
46598         * bits/sigset.h: Likewise.
46599         * bits/sigthread.h: Likewise.
46600         * catgets/nl_types.h: Likewise.
46601         * conform/data/pthread.h-data: Likewise.
46602         * crypt/crypt-private.h: Likewise.
46603         * crypt/crypt.h: Likewise.
46604         * crypt/crypt_util.c: Likewise.
46605         * ctype/ctype.h: Likewise.
46606         * debug/execinfo.h: Likewise.
46607         * debug/mbsnrtowcs_chk.c: Likewise.
46608         * debug/mbsrtowcs_chk.c: Likewise.
46609         * debug/wcsnrtombs_chk.c: Likewise.
46610         * debug/wcsrtombs_chk.c: Likewise.
46611         * debug/wcstombs_chk.c: Likewise.
46612         * dirent/dirent.h: Likewise.
46613         * dlfcn/dlfcn.h: Likewise.
46614         * elf/neededtest4.c: Likewise.
46615         * grp/grp.h: Likewise.
46616         * gshadow/gshadow.h: Likewise.
46617         * iconv/gconv.h: Likewise.
46618         * iconv/gconv_int.h: Likewise.
46619         * iconv/gconv_simple.c: Likewise.
46620         * iconv/iconv.h: Likewise.
46621         * iconv/loop.c: Likewise.
46622         * iconv/skeleton.c: Likewise.
46623         * include/aio.h: Likewise.
46624         * include/aliases.h: Likewise.
46625         * include/argz.h: Likewise.
46626         * include/arpa/inet.h: Likewise.
46627         * include/assert.h: Likewise.
46628         * include/dirent.h: Likewise.
46629         * include/dlfcn.h: Likewise.
46630         * include/execinfo.h: Likewise.
46631         * include/fcntl.h: Likewise.
46632         * include/fenv.h: Likewise.
46633         * include/glob.h: Likewise.
46634         * include/grp.h: Likewise.
46635         * include/libintl.h: Likewise.
46636         * include/mntent.h: Likewise.
46637         * include/netdb.h: Likewise.
46638         * include/pwd.h: Likewise.
46639         * include/rpc/netdb.h: Likewise.
46640         * include/sched.h: Likewise.
46641         * include/search.h: Likewise.
46642         * include/shadow.h: Likewise.
46643         * include/signal.h: Likewise.
46644         * include/stdio.h: Likewise.
46645         * include/stdlib.h: Likewise.
46646         * include/string.h: Likewise.
46647         * include/sys/socket.h: Likewise.
46648         * include/sys/stat.h: Likewise.
46649         * include/sys/statfs.h: Likewise.
46650         * include/sys/statvfs.h: Likewise.
46651         * include/sys/syslog.h: Likewise.
46652         * include/sys/time.h: Likewise.
46653         * include/sys/uio.h: Likewise.
46654         * include/time.h: Likewise.
46655         * include/unistd.h: Likewise.
46656         * include/utmp.h: Likewise.
46657         * include/wchar.h: Likewise.
46658         * include/wctype.h: Likewise.
46659         * inet/aliases.h: Likewise.
46660         * inet/arpa/inet.h: Likewise.
46661         * inet/netinet/ether.h: Likewise.
46662         * inet/netinet/in.h: Likewise.
46663         * intl/libintl.h: Likewise.
46664         * io/bits/fcntl2.h: Likewise.
46665         * io/fcntl.h: Likewise.
46666         * io/ftw.h: Likewise.
46667         * io/sys/poll.h: Likewise.
46668         * io/sys/stat.h: Likewise.
46669         * io/sys/statfs.h: Likewise.
46670         * io/sys/statvfs.h: Likewise.
46671         * io/utime.h: Likewise.
46672         * libio/bits/stdio.h: Likewise.
46673         * libio/bits/stdio2.h: Likewise.
46674         * libio/libio.h: Likewise.
46675         * libio/libioP.h: Likewise.
46676         * libio/stdio.h: Likewise.
46677         * locale/lc-ctype.c: Likewise.
46678         * locale/locale.h: Likewise.
46679         * login/utmp.h: Likewise.
46680         * malloc/arena.c: Likewise.
46681         * malloc/malloc.c: Likewise.
46682         * malloc/malloc.h: Likewise.
46683         * malloc/mcheck.c: Likewise.
46684         * malloc/mtrace.c: Likewise.
46685         * math/bits/mathcalls.h: Likewise.
46686         * math/fenv.h: Likewise.
46687         * math/math_private.h: Likewise.
46688         * misc/bits/error.h: Likewise.
46689         * misc/bits/syslog.h: Likewise.
46690         * misc/err.h: Likewise.
46691         * misc/error.h: Likewise.
46692         * misc/fstab.h: Likewise.
46693         * misc/mntent.h: Likewise.
46694         * misc/regexp.h: Likewise.
46695         * misc/search.h: Likewise.
46696         * misc/sgtty.h: Likewise.
46697         * misc/sys/mman.h: Likewise.
46698         * misc/sys/syslog.h: Likewise.
46699         * misc/sys/uio.h: Likewise.
46700         * misc/sys/xattr.h: Likewise.
46701         * misc/ttyent.h: Likewise.
46702         * nis/rpcsvc/ypclnt.h: Likewise.
46703         * nss/nss.h: Likewise.
46704         * posix/bits/unistd.h: Likewise.
46705         * posix/fnmatch.h: Likewise.
46706         * posix/glob.h: Likewise.
46707         * posix/sched.h: Likewise.
46708         * posix/spawn.h: Likewise.
46709         * posix/sys/wait.h: Likewise.
46710         * posix/unistd.h: Likewise.
46711         * posix/wordexp.h: Likewise.
46712         * pwd/pwd.h: Likewise.
46713         * resolv/netdb.h: Likewise.
46714         * resource/sys/resource.h: Likewise.
46715         * rt/aio.h: Likewise.
46716         * rt/bits/mqueue2.h: Likewise.
46717         * rt/mqueue.h: Likewise.
46718         * shadow/shadow.h: Likewise.
46719         * signal/signal.h: Likewise.
46720         * socket/send.c: Likewise.
46721         * socket/sendto.c: Likewise.
46722         * socket/sys/socket.h: Likewise.
46723         * stdio-common/printf.h: Likewise.
46724         * stdlib/bits/stdlib.h: Likewise.
46725         * stdlib/fmtmsg.h: Likewise.
46726         * stdlib/monetary.h: Likewise.
46727         * stdlib/stdlib.h: Likewise.
46728         * stdlib/ucontext.h: Likewise.
46729         * streams/stropts.h: Likewise.
46730         * string/argz.h: Likewise.
46731         * string/bits/string2.h: Likewise.
46732         * string/string.h: Likewise.
46733         * string/strings.h: Likewise.
46734         * sunrpc/rpc/auth.h: Likewise.
46735         * sunrpc/rpc/auth_des.h: Likewise.
46736         * sunrpc/rpc/clnt.h: Likewise.
46737         * sunrpc/rpc/netdb.h: Likewise.
46738         * sunrpc/rpc/pmap_clnt.h: Likewise.
46739         * sunrpc/rpc/xdr.h: Likewise.
46740         * sysdeps/generic/inttypes.h: Likewise.
46741         * sysdeps/generic/net/if.h: Likewise.
46742         * sysdeps/generic/sys/swap.h: Likewise.
46743         * sysdeps/gnu/net/if.h: Likewise.
46744         * sysdeps/gnu/utmpx.h: Likewise.
46745         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46746         * sysdeps/i386/i486/bits/string.h: Likewise.
46747         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46748         * sysdeps/s390/bits/string.h: Likewise.
46749         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46750         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46751         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46752         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46753         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46754         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46755         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46756         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46757         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46758         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46759         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46760         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46761         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46762         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46763         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46764         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46765         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46767         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46768         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46769         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46770         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46771         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46772         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46773         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46774         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46775         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46776         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46777         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46778         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46779         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46780         * sysvipc/sys/ipc.h: Likewise.
46781         * sysvipc/sys/msg.h: Likewise.
46782         * sysvipc/sys/sem.h: Likewise.
46783         * sysvipc/sys/shm.h: Likewise.
46784         * termios/termios.h: Likewise.
46785         * time/sys/time.h: Likewise.
46786         * time/time.h: Likewise.
46787         * wcsmbs/bits/wchar2.h: Likewise.
46788         * wcsmbs/uchar.h: Likewise.
46789         * wcsmbs/wchar.h: Likewise.
46790         * wctype/wctype.h: Likewise.
46792         [BZ #13551]
46793         * Makeconfig: Remove all but ELF support including AIX support.
46794         * Makerules: Likewise.
46795         * config.h.in: Likewise.
46796         * config.make.in: Likewise.
46797         * configure: Likewise.
46798         * configure.in: Likewise.
46799         * csu/Makefile: Likewise.
46800         * csu/version.c: Likewise.
46801         * debug/Makefile: Likewise.
46802         * dlfcn/Makefile: Likewise.
46803         * elf/Makefile: Likewise.
46804         * extra-lib.mk: Likewise.
46805         * iconv/Makefile: Likewise.
46806         * include/libc-symbols.h: Likewise.
46807         * include/shlib-compat.h: Likewise.
46808         * resolv/Makefile: Likewise.
46809         * resolv/res_libc.c: Likewise.
46810         * rt/Makefile: Likewise.
46811         * sysdeps/i386/asm-syntax.h: Likewise.
46812         * sysdeps/i386/sysdep.h: Likewise.
46813         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46814         * sysdeps/mach/sysdep.h: Likewise.
46815         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46816         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46817         * sysdeps/s390/asm-syntax.h: Likewise.
46818         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46819         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46820         * sysdeps/sh/sysdep.h: Likewise.
46821         * sysdeps/unix/sparc/sysdep.h: Likewise.
46822         * sysdeps/wordsize-32/divdi3.c: Likewise.
46823         * sysdeps/x86_64/sysdep.h: Likewise.
46825         * argp/Versions: Remove _argp_unlock_xxx.
46827         [BZ #13559]
46828         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46829         * abilist/libBrokenLocale.abilist: Likewise.
46830         * abilist/libanl.abilist: Likewise.
46831         * abilist/libc.abilist: Likewise.
46832         * abilist/libcrypt.abilist: Likewise.
46833         * abilist/libdl.abilist: Likewise.
46834         * abilist/libm.abilist: Likewise.
46835         * abilist/libnsl.abilist: Likewise.
46836         * abilist/libpthread.abilist: Likewise.
46837         * abilist/libresolv.abilist: Likewise.
46838         * abilist/librt.abilist: Likewise.
46839         * abilist/libthread_db.abilist: Likewise.
46840         * abilist/libutil.abilist: Likewise.
46841         * abilist/libnss_db.abilist: New file.
46843         * scripts/abilist.awk: Add support for indirect functions.
46845         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46847         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46849         * shlib-versions: Remove entries for ports architectures.
46851         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46852         files in ports.
46853         * elf/stackguard-macros.h: Remove support for IA-64.
46854         * elf/tst-auditmod1.c: Likewise.
46855         * sysdeps/generic/ldsodefs.h: Likewise.
46857         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46858         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46859         configure files.
46861         [BZ #13552]
46862         * configure.in: Remove --enable-omitfp support.
46863         * FAQ.in: Adjust.
46864         * config.make.in: Likewise.
46865         * Makeconfig: Likewise.
46866         * manual/install.texi: Likewise.
46868         In case anyone cares, the IA-64 architecture could move to ports.
46869         * sysdeps/ia64/*: Removed.
46870         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46871         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46873         [BZ #13555]
46874         * configure.in: Remove entries for unsupported architectures.
46876         [BZ #13533]
46877         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46878         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46879         routines.
46880         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46881         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46882         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46883         fall back to using wcrtomb.
46884         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46885         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46886         renaming.
46887         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46888         * wcsmbs/tst-c16c32-1.c: New file.
46890         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46891         local variable.
46893         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46895         * elf/tst-unique3.cc: Add explicit declaration of gets.
46896         * elf/tst-unique3lib.cc: Likewise.
46897         * elf/tst-unique3lib2.cc: Likewise.
46898         * elf/tst-unique4.cc: Likewise.
46900         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46902 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46904         [BZ #13566]
46905         * assert/assert.h (static_assert): Don't define for C++.
46906         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46907         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46909 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46911         * iconv/loop.c (single loop): Fix assertion in storing of
46912         remaining bytes.
46914         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46916 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46918         * posix/getconf.c: Update copyright year.
46919         * nss/getent.c: Likewise.
46920         * nss/makedb.c: Likewise.
46921         * iconv/iconvconfig.c: Likewise.
46922         * iconv/iconv_prog.c: Likewise.
46923         * elf/ldconfig.c: Likewise.
46924         * elf/pldd.c: Likewise.
46925         * elf/sotruss.ksh: Likewise.
46926         * catgets/gencat.c: Likewise.
46927         * csu/version.c: Likewise.
46928         * elf/ldd.bash.in: Likewise.
46929         * elf/sprof.c (print_version): Likewise.
46930         * locale/programs/locale.c: Likewise.
46931         * locale/programs/localedef.c: Likewise.
46932         * login/programs/pt_chown.c: Likewise.
46933         * nscd/nscd.c (print_version): Likewise.
46934         * debug/xtrace.sh: Likewise.
46935         * malloc/memusage.sh: Likewise.
46936         * malloc/mtrace.pl: Likewise.
46937         * debug/catchsegv.sh: Likewise.
46939 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46941         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46942         pure attribute.
46944 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46946         [BZ #13533]
46947         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46948         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46949         transformations.
46950         * iconv/gconv_int.h: Likewise.
46951         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46952         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46953         from libc for GLIBC_2.16.
46954         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46955         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46956         * wcsmbs/uchar.h: Really define mbstate_t.
46957         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46958         * wcsmbs/c16rtomb.c: New file.
46959         * wcsmbs/mbrtoc16.c: New file.
46960         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46961         for C/POSIX locale.
46962         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46963         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46965         * wcsmbs/wchar.h: Add missing __restrict.
46967 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46969         [BZ #13532]
46970         * time/Makefile (routines): Add timespec_get.
46971         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46972         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46973         timespec for ISO C11.
46974         * time/timespec_get.c: New file.
46975         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46976         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46978         [BZ #13531]
46979         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46980         * stdlib/stdlib.h: Declare aligned_alloc.
46981         * Versions.def: Add GLIBC_2.16 for libc.
46982         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46984         [BZ 13527]
46985         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46986         ISO C11.
46988         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46989         code.
46991         [BZ #13528]
46992         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46994         [BZ #13529]
46995         * assert/assert.h (static_assert): Define.
46997         * version.h: Update for 2.16 development version.
46999         [BZ #13526]
47000         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47001         _ISOC11_SOURCE.
47003         * version.h (RELEASE): Bump for 2.15 release.
47004         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47006         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47007         Patch by Marek Polacek <mpolacek@redhat.com>.
47009         * bits/byteswap.h: Protect long long constants with __extension__.
47010         * sysdeps/i386/bits/byteswap.h: Likewise.
47011         * sysdeps/ia64/bits/byteswap.h: Likewise.
47012         * sysdeps/s390/bits/byteswap.h: Likewise.
47013         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47015 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47017         [BZ #13540]
47018         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47019         destination buffer.
47020         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47022 2011-12-23  Marek Polacek  <polacek@redhat.com>
47024         * elf/dl-addr.c (determine_info): Add inline keyword.
47025         * elf/tst-auditmod4b.c (check_avx): Likewise.
47026         * elf/tst-auditmod6b.c (check_avx): Likewise.
47027         * elf/tst-auditmod6c.c (check_avx): Likewise.
47028         * elf/tst-auditmod7b.c (check_avx): Likewise.
47030 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47032         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47033         !__SSE_MATH__.
47035 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47037         [BZ #13540]
47038         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47039         processing for last bytes.
47041 2011-08-06  Bruno Haible  <bruno@clisp.org>
47043         [BZ #13061]
47044         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47045         U+0385, not to U+1FEE.
47047         [BZ #13062]
47048         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47049         entry for U+00A5 U+0301.
47051 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47053         [BZ #13166]
47054         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47055         buffer for the output is too small.
47057         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47058         optimization.
47060         [BZ #13185]
47061         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47062         SSE flags if possible.
47064 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47066         [BZ #13540]
47067         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47068         processing for last bytes.
47070 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47072         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47073         (syscall-list-default-options, syscall-list-default-condition)
47074         (syscall-list-includes): Define.
47075         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47076         list of ABIs and options and #if conditions for each ABI.  Do not
47077         handle common syscalls between ABIs specially.
47078         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47079         Remove.
47080         (syscall-list-variants, syscall-list-32bit-options)
47081         (syscall-list-32bit-condition, syscall-list-64bit-options)
47082         (syscall-list-64bit-condition): Define.
47083         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47084         (syscall-list-variants, syscall-list-32bit-options)
47085         (syscall-list-32bit-condition, syscall-list-64bit-options)
47086         (syscall-list-64bit-condition): Define.
47087         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47088         Remove.
47089         (syscall-list-variants, syscall-list-32bit-options)
47090         (syscall-list-32bit-condition, syscall-list-64bit-options)
47091         (syscall-list-64bit-condition): Define.
47092         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47093         Remove.
47094         (syscall-list-variants, syscall-list-32bit-options)
47095         (syscall-list-32bit-condition, syscall-list-64bit-options)
47096         (syscall-list-64bit-condition): Define.
47098 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47100         * locale/iso-639.def: Add brx entry.
47102         [BZ #13328]
47103         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47104         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47106         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47107         __feraiseexcept_renamed.
47109 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47111         [BZ #13538]
47112         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47113         EPOLLET with unsigned values.
47114         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47115         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47117         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47118         to large cancellation.
47119         * math/s_cacoshf.c: Likewise.
47120         * math/s_cacoshl.c: Likewise.
47122 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47124         [BZ #13305]
47125         [BZ #12786]
47126         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47127         * math/s_cacoshf.c: Likewise.
47128         * math/s_cacoshl.c: Likewise.
47130 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47132         [BZ #13439]
47133         * iconv/gconv.h: Define __GCONV_SWAP.
47134         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47135         * iconvdata/utf-16.c: Likewise.
47136         * iconvdata/utf-32.c: Likewise.
47138 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47140         [BZ #13524]
47141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47142         numerator after shifting it by one limb.
47144 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47146         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47147         under [__USE_EXTERN_INLINES].
47149 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47151         [BZ #13446]
47152         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47154 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47156         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47157         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47158         optimized code.
47159         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47160         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47161         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47162         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47163         for strncasecmp/strncasecmp_l compilation.
47164         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47165         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47167 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47169         [BZ #13484]
47170         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47171         of __asm__.
47173 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47175         [BZ #13506]
47176         * time/tzfile.c (__tzfile_read): Check values from file header.
47178 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47180         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47181         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47182         * powerpc/powerpc32/dl-start.S: Likewise.
47183         * powerpc/powerpc32/elf/start.S: Likewise.
47184         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47185         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47186         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47187         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47188         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47189         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47190         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47191         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47192         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47193         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47194         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47195         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47196         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47197         * powerpc/powerpc32/memset.S: Likewise.
47198         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47199         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47200         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47201         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47202         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47203         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47204         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47205         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47206         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47207         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47208         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47209         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47210         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47212 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47214         * math/libm-test.inc: Added more nearbyint tests.
47215         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47218         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47220 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47222         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47223         FD_CLOEXEC.
47225 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47227         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47228         Add wcscpy-ssse3 wcscpy-c.
47229         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47230         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47231         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47232         * sysdeps/x86_64/wcschr.S: New file.
47233         * sysdeps/x86_64/wcsrchr.S: New file.
47234         * string/test-strcmp.c: Remove checking of wcscmp function for
47235         wrong alignments.
47236         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47237         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47238         wcsrchr-sse2 wcsrchr-c.
47239         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47240         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47241         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47242         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47243         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47244         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47245         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47246         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47247         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47248         * wcsmbc/wcschr.c (WCSCHR): New macro.
47250 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47252         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47253         * wcsmbs/test-wcsrchr.c: New file.
47254         * string/test-strrchr.c: Add wcsrchr support.
47255         (WIDE): New macro.
47256         * wcsmbs/test-wcscpy.c: New file.
47257         * string/test-strcpy.c: Add wcscpy support.
47258         (WIDE): New macro.
47260 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47262         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47263         the inner loop.
47265 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47267         [BZ #13472]
47268         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47270 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47272         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47273         Minor optimizations.
47275         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47276         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47277         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47279 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47281         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47282         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47283         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47284         for gcc to avoid warnings.
47285         * inet/Makefile (tests): Add tst-checks.
47286         * inet/tst-checks.c: New file.
47288         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47289         warning.
47291         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47292         __wmemcmp_sse2.
47294         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47295         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47297         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47299 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47301         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47302         problem.
47304         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47306 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47308         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47309         conditional on GCC version.
47310         (__arch_compare_and_exchange_val_8_acq)
47311         (__arch_compare_and_exchange_val_16_acq)
47312         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47313         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47314         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47316 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47318         * sysdeps/sh/backtrace.c: New file.
47320 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47322         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47323         parenthesis.
47325 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47327         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47328         falling back to utime.
47330 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47332         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47333         expectations for float.
47335 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47337         * locale/weight.h (findidx): Add parameter len.
47338         * locale/weightwc.h (findidx): Likewise.
47339         * posix/fnmatch_loop.c (FCT): Adjust caller.
47340         * posix/regcomp.c (build_equiv_class): Likewise.
47341         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47342         * posix/regexec.c (check_node_accept_bytes): Likewise.
47343         * string/strcoll_l.c (STRCOLL): Likewise.
47344         * string/strxfrm_l.c (STRXFRM): Likewise.
47346 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47348         * Makefile.in: Remove CVSOPT handling.
47349         * configure.in: Remove use of AC_REVISION.
47350         * iconvdata/Makefile (distribute): No need to filter out CVS.
47351         * scripts/list-sources.sh: Remove CVS, subversion and monotone
47352         handling.
47354 2011-11-16  Andreas Schwab  <schwab@redhat.com>
47356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47357         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47358         [USE_AS_STRNCASECMP_L]: Likewise.
47359         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47360         NO_TLS_DIRECT_SEG_REFS.
47361         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47362         Fix argument offsets for non-PIC.
47363         [USE_AS_STRNCASECMP_L]: Likewise.
47364         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47365         NO_TLS_DIRECT_SEG_REFS.
47367 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47369         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47370         O_CLOEXEC.
47371         * locale/loadlocale.c (_nl_load_locale): Likewise.
47373 2011-11-15  Andreas Schwab  <schwab@redhat.com>
47375         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47376         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47377         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47378         (SYSCALL_GETTIME): Set errno on error.
47380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47381         count references to noai6ai_cached.
47383 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47385         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47387         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47388         FD_CLOEXEC for /proc/self/maps.
47390         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47391         FD_CLOEXEC for /proc/meminfo.
47393         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47394         gai.conf.
47396         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47397         FD_CLOEXEC for given file.
47399         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47401         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47402         FD_CLOEXEC for /etc/hosts.
47403         (_gethtent): Likewise.
47405         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47407         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47408         cancellation and set FD_CLOEXEC for /etc/netgroup.
47410         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47411         reading /etc/publickey.
47413         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47414         allow cancellation when reading /etc/group.
47416         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47417         cancellation.
47418         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47420         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47421         when using data file.
47423         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47425         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47426         (write_nis_obj): Use "c" and "e" in fopen.
47428         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47430         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47432         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47434         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47436         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47437         locale.alias.
47439         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47441         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47443         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47445         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47446         file parsing and set FD_CLOEXEC.
47448 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47450         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47452 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47454         * malloc/arena.c (arena_get2): Don't call reused_arena when
47455         _int_new_arena failed.
47457 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47459         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47460         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47461         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47462         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47464         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47465         to compile strcasecmp and strncasecmp.
47466         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47467         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47471 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47473         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47474         locale-defines.sym to gen-as-const-headers.
47475         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47476         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47478         to compile strcasecmp and strncasecmp.
47479         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47480         strcasecmp_l and strncasecmp_l.
47481         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47482         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47483         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47484         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47485         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47486         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47487         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47488         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47489         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47490         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47491         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47493 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47495         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47496         result of SYSDEP_GETTIME_CPU to retval.
47497         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47498         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47500         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47501         variable.
47503         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47504         mantissa words.
47505         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47507         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47508         from unused variable.
47510         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47511         DWARF definitions.
47512         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47513         for assembling.
47515         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47516         over namespaces.
47518         * sunrpc/rpc_prot.c (rejected): Fix case value.
47520         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47521         unsigned long long int to avoid warnings in shift.
47523         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47524         of use of trans.
47525         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47526         variable tmp.
47528         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47529         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47530         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47532         * nis/nis_table.c (nis_list): Use variable of correct type for
47533         result of __follow_path call.
47535 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47537         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47538         of math functions ceil, trunc, floor, round, and sqrt, when
47539         avaliable on the platform.
47540         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47541         name clash.
47542         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47543         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47544         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47546 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47548         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47549         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47551 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47553         * include/unistd.h: Fix __readlink return type.
47554         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47556 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47558         * stdlib/ucontext.h: Undo last change for makecontext.
47560 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47562         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47564         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47565         * setjmp/setjmp.h: Mark functions as non-leaf.
47566         * setjmp/bits/setjmp2.h: Likewise.
47567         * stdlib/ucontext.h: Likewise.
47569 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47571         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47572         (reused_arena): Don't check arena limit.
47573         (arena_get2): Atomically check arena limit.
47575 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47577         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47578         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47580         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47581         instructions.
47583 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47585         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47586         handler when locking.
47588         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47589         Fix size of allocated buffer.
47591 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47593         [BZ #10103]
47594         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47595         declarations for long double functions.
47596         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47598         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47600 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47602         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47603         installed.
47605         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47606         is disabled.
47608 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47610         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47612 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47614         * include/alloca.h (stackinfo_alloca_round): Define.
47615         (extend_alloca): Use it.
47616         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47617         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47618         here.
47620         * scripts/check-local-headers.sh: Ignore libaudit.h.
47622         * nscd/Makefile (extra-objs): Make recursively expanded.
47624 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47626         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47627         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47629         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47630         * posix/tst-rfc3484-2.c: Likewise.
47631         * posix/tst-rfc3484-3.c: Likewise.
47633         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47634         process_vm_writev.
47635         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47636         process_vm_writev.
47637         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47638         process_vm_writev from libc using GLIBC_2.15 version.
47640         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47642 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47644         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47645         stack usage.
47647 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47649         [BZ #13367]
47650         * nss/getent.c (initgroups_keys): Show error message in case no group
47651         names are given.
47653         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47654         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47655         __bump_nl_timestamp.
47656         * nscd/connections (nscd_init): When host database is served open
47657         netlink socket and request notification about configuration changes.
47658         (main_loop_poll): Track netlink file descriptor and bump timestamp
47659         in case data becomes available.
47660         (main_loop_epoll): Likewise.
47661         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47662         (database_pers_head): Add extra_data fileds.
47663         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47664         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47665         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47666         Adjust caller.
47667         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47668         in6ai data, call __free_in6ai.
47669         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47670         Add -DHAVE_NETLINK.
47671         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47672         interface information.  Reuse previous data if netlink timestamp
47673         is not changed.
47674         (__bump_nl_timestamp): New function.
47675         (__free_in6ai): New function.
47677 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47679         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47680         close_not_cancel_no_status here.
47681         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47683 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47685         [BZ #13276]
47686         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47687         return value.
47689         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47690         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47691         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47693 2011-07-03  Andreas Jaeger  <aj@suse.de>
47695         [BZ #10709]
47696         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47697         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47698         * math/libm-test.inc (sin_test): Add test case.
47700 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47702         [BZ #13337]
47703         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47704         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47706         * elf/chroot_canon.c (chroot_canon): Cleanups.
47708         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47710         [BZ #13335]
47711         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47712         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47714         * string/test-strchr.c: Make usable for strchrnul testing.
47715         * string/test-strchrnul.c: New file.
47716         * string/Makefile (strop-tests): Add strchrnul.
47718         * po/it.po: Update from translation team.
47719         * po/es.po: Likewise.
47721 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47723         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47724         the three constants needed as parameters.  Drop the others.
47725         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47726         __m128i_strloadu_tolower.
47727         Create and initialize variable zero and use it in all the places
47728         where _mm_setzero_si128 was used.
47730         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47731         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47732         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47733         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47734         anymore.
47735         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47736         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47737         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47738         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47739         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47740         __mpranred, __mptan.
47741         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47742         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47743         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47744         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47745         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47746         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47747         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47748         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47749         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47751 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47753         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47754         redefine if SHARED.
47755         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47758         wide char related routines to wcsmbs subdir.
47760 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47762         [BZ #13344]
47763         * misc/sys/cdefs.h (__THROWNL): Define.
47764         * posix/unistd.h: Use __THREADNL instead of __THREAD
47765         for memory synchronization functions.
47767 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47769         [BZ #13349]
47770         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47771         doesn't exist.
47772         * manual/stdio.texi (Obstack Streams): Node removed.
47774 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47776         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47777         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47778         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47780         * math/math_private.h (math_force_eval): Allow non-addressable
47781         arguments.
47782         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47784 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47786         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47787         file is not needed.
47789         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47791         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47792         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47793         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47794         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47795         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47796         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47797         Add AVX variants.
47798         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47799         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47800         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47801         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47802         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47803         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47804         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47805         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47806         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47807         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47808         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47809         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47810         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47811         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47812         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47813         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47814         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47815         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47816         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47818         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47819         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47821         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47822         place.  Use VEX encoding when compiling for AVX.
47824 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47826         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47827         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47829         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47831 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47833         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47834         useless if() expression.
47835         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47836         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47837         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47839         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47840         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47841         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47842         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47843         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47844         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47845         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47846         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47847         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47848         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47849         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47850         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47852         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47853         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47855         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47857 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47859         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47860         condition.
47861         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47863 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47865         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47866         .text section.  Avoid duplicate constants.
47867         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47869         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47870         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47872         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47873         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47874         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47875         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47876         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47877         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47878         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47879         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47880         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47881         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47882         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47883         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47884         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47885         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47887         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47888         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47889         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47890         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47891         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47892         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47893         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47894         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47895         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47896         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47897         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47898         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47899         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47900         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47901         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47902         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47903         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47904         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47905         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47906         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47907         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47908         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47909         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47910         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47911         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47913 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47915         * sysdeps/x86_64/dla.h: Move to ...
47916         * sysdeps/x86_64/fpu/dla.h: ...here.
47917         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47918         situations.  Use __builtin_fma only for gcc 4.6 and up.
47920         * config.make.in: Add have-mfma4 entry.
47921         * configure.in: Substitute libc_cv_cc_fma4.
47922         * math/Makefile (dbl-only-routines): Add sincostab.
47923         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47924         Use __sincostab not sincos.
47925         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47926         name is a macro.
47927         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47931         using __copysign.
47932         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47933         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47934         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47935         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47936         and __inv.
47937         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47938         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47939         __copysign.
47940         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47941         define aliases when function name is a macro.
47942         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47943         sysdeps/ieee754/dbl-64/sincos.tbl.
47944         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47945         fma4-enabled routines.
47946         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47947         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47948         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47949         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47950         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47951         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47952         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47953         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47954         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47955         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47956         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47957         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47958         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47959         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47960         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47961         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47962         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47963         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47964         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47965         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47966         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47967         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47968         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47969         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47970         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47971         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47972         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47973         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47974         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47975         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47977         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47978         rename.
47979         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47980         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47981         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47982         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47983         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47985         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47986         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47988 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47990         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47992 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47994         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47996         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47997         prediction.
47998         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48000         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48001         Remove unused variable magic_bits.
48002         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48004         * string/strnlen.c: Define and use STRNLEN macro.
48005         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48006         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48007         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48008         * wcsmbs/wcslen.c: Define and use WCSLEN.
48009         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48010         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48011         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48012         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48013         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48014         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48015         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48017 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48020         strnlen-sse2-no-bsf.
48021         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48023         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48024         Add strnlen support.
48025         (USE_AS_STRNLEN): New macro.
48026         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48027         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48028         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48029         * sysdeps/x86_64/wcslen.S: New file.
48031 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48033         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48034         XMM-moves are used for copying on small sizes.
48036 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48038         * wcsmbs/Makefile (strop-tests): Add wcschr.
48039         * wcsmbs/test-wcschr.c: New file.
48040         * string/test-strchr.c: Update.
48041         Add wcschr support.
48042         (WIDE): New macro.
48044 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48046         * wcsmbs/Makefile (strop-tests): Add wcslen.
48047         * wcsmbs/test-wcslen.c: New file.
48048         * string/test-strlen.c: Update.
48049         Add wcslen support.
48050         (WIDE): New macro.
48052 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48054         * po/it.po: Update from translation team.
48056 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48058         * sysdeps/x86_64/wcscmp.S: Update.
48059         Fix wrong comparison semantics.
48060         wcscmp shall use signed comparison not unsigned.
48061         Don't use substraction to avoid overflow bug.
48062         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48063         * wcsmbc/wcscmp.c: Likewise.
48064         * string/test-strcmp.c: Likewise.
48065         Add new tests to check cases with negative values.
48067 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48069         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48070         * sysdeps/x86_64/dla.h: ...here.  New file.
48071         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48074         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48075         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48076         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48079         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48081 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48084         __ynl_finite aliases.
48086 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48090         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48091         define DLA_FMA.
48092         [DLA_FMA] (EMULV): Use DLA_FMA.
48093         [DLA_FMA] (MUL12): Use EMULV.
48094         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48095         that are not needed.
48096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48101         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48102         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48104 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48106         * math/s_nan.c: Undef __nan.
48107         * math/s_nanf.c: Undef __nanf.
48108         * math/s_nanl.c: Undef __nanl.
48109         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48110         "math_private.h".
48112 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48114         * math/s_catan.c: Add branch predictions.
48115         * math/s_catanf.c: Likewise.
48116         * math/s_catanh.c: Likewise.
48117         * math/s_catanhf.c: Likewise.
48118         * math/s_catanhl.c: Likewise.
48119         * math/s_catanl.c: Likewise.
48120         * math/s_cexp.c: Likewise.
48121         * math/s_cexpf.c: Likewise.
48122         * math/s_cexpl.c: Likewise.
48123         * math/s_clog.c: Likewise.
48124         * math/s_clog10.c: Likewise.
48125         * math/s_clog10f.c: Likewise.
48126         * math/s_clog10l.c: Likewise.
48127         * math/s_clogf.c: Likewise.
48128         * math/s_clogl.c: Likewise.
48129         * math/s_csqrt.c: Likewise.
48130         * math/s_csqrtf.c: Likewise.
48131         * math/s_csqrtl.c: Likewise.
48132         * math/s_ctanf.c: Likewise.
48133         * math/s_ctanh.c: Likewise.
48134         * math/s_ctanhf.c: Likewise.
48135         * math/s_ctanhl.c: Likewise.
48136         * math/s_ctanl.c: Likewise.
48138         * math/math_private.h: Define __nan, __nanf, __nanl.
48139         * math/s_cacosh.c: Include <math_private.h>.
48140         * math/s_cacoshl.c: Likewise.
48141         * math/s_casinh.c: Likewise.
48142         * math/s_casinhf.c: Likewise.
48143         * math/s_casinhl.c: Likewise.
48144         * math/s_ccos.c: Rely entire on ccosh.
48145         * math/s_ccosf.c: Rely entire on ccoshf.
48146         * math/s_ccosl.c: Rely entirely on ccoshl.
48147         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48148         Remove tests for FE_INVALID.
48149         * math/s_ccoshf.c: Likewise.
48150         * math/s_ccoshl.c: Likewise.
48151         * math/s_csin.c: Likewise.
48152         * math/s_csinf.c: Likewise.
48153         * math/s_csinh.c Likewise.
48154         * math/s_csinhf.c: Likewise.
48155         * math/s_csinhl.c: Likewise.
48156         * math/s_csinl.c: Likewise.
48157         * math/s_ctan.c: Likewise.
48158         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48159         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48160         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48162 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48165         compilation problems.
48167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48168         __builtin_expect.
48170 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48172         * sysdeps/i386/configure.in: Test for -mfma4 option.
48173         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48174         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48175         COMMON_CPUID_INDEX_80000001.
48176         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48177         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48178         use it if FMA3 is not supported.
48179         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48181         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48182         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48184 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48186         [BZ #12892]
48187         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48188         it would create a cycle with a link time dependency.
48190 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48192         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48193         instruction.
48194         * string/Makefile (strop-tests): Add rawmemchr.
48195         * string/test-rawmemchr.c: New file.
48197         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48198         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48199         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48200         when compiling str{,n}casecmp and when AVX is available.  Hook up
48201         new optimized code in initializers.
48203 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48205         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48206         __feraiseexcept instead of feraiseexcept.
48208 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48210         * math/math_private.h: Define defaults for libc_fetestexcept and
48211         libc_feupdateenv.
48212         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48213         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48214         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48215         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48216         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48217         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48218         libc_fetestexcept and libc_feupdateenv.
48220         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48221         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48222         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48223         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48224         libc_feholdexcept_setround.
48226         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48227         Add s_nearbyint-c and s_nearbyintf-c.
48228         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48229         nearbyintf inlines.
48230         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48231         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48232         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48233         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48235         * math/math_private.h: Define defaults for libc_fegetround,
48236         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48237         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48238         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48240         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48241         standard functions.
48242         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48243         Remove comments and hacks for old compiler versions.
48244         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48245         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48246         libc_feholdexceptl.
48248 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48250         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48251         (__feraiseexcept_renamed): Add __NTH.
48252         (feraiseexcept): Add __NTH.  Rename local variables to fix
48253         namespace violations.
48255 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48257         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48259         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48261         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48262         recently added interfaces.
48263         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48265         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48266         about macro parameter expansion.
48268         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48269         __NO_MATH_INLINES is defined.  Cleanups.
48271         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48272         and __floorf is target has SSE4.1.
48273         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48274         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48275         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48276         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48278         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48279         name.
48280         (floorf): Likewise.
48282         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48284 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48286         * misc/sys/cdefs.h: Fix last change.
48288         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48289         database lookup.
48291 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48293         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48295         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48296         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48297         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48298         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48299         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48300         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48301         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48302         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48303         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48304         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48305         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48306         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48307         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48308         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48309         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48310         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48311         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48312         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48313         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48314         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48315         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48316         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48318         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48319         ceil, ceilf, floor, floorf.
48321         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48322         Perform IRELATIVE relocations last.
48324         * elf/do-rel.h: Add another parameter nrelative, replacing the
48325         local variable with the same name.  Change name of the function
48326         to end in Rel or Rela (uppercase).
48327         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48328         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48329         elf_dynamic_do_##reloc function.
48331 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48333         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48334         is sufficient, at least on modern CPUs.
48336         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48338         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48339         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48341         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48342         __expl_finite.
48343         * math/bits/math-finite.h: Add entries for exp.
48344         * math/e_expl.c: Add __*_finite alias.
48345         * sysdeps/i386/fpu/e_exp.S: Likewise.
48346         * sysdeps/i386/fpu/e_expf.S: Likewise.
48347         * sysdeps/i386/fpu/e_expl.c: Likewise.
48348         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48349         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48350         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48351         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48352         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48353         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48354         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48356         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48357         is sufficient, at least on modern CPUs.
48359         * ctype/ctype-info.c (__ctype_init): Define.
48360         * include/ctype.h (__ctype_init): Declare.
48361         (__ctype_b_loc): The variable is always initialized.
48362         (__ctype_toupper_loc): Likewise.
48363         (__ctype_tolower_loc): Likewise.
48364         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48365         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48367 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
48369         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48371         * configure.in: Also look in $cxxmachine/include for C++ system
48372         headers.
48374 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48376         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48377         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48378         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48379         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
48380         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48381         (USE_AS_WMEMCMP): New macro.
48382         Fixing indents.
48383         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48384         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48385         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48386         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48388         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48389         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48390         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48391         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48392         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48393         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48394         (USE_AS_WMEMCMP): New macro.
48395         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48396         * sysdeps/string/test-memcmp.c: Update.
48397         Fix simple_wmemcmp.
48398         Add new tests.
48399         * wcsmbs/wmemcmp.c: Update.
48400         (WMEMCMP): New macro.
48401         Fix overflow bug.
48403 2011-10-12  Andreas Jaeger  <aj@suse.de>
48405         [BZ #13268]
48406         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48408 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48410         * libio/iofwide.c (do_length): Avoid warning.
48412         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48414 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48416         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48418         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48419         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48420         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48421         * sysdeps/i386/i686/fpu/e_log.S: New file.
48422         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48423         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48425         * ctype/ctype.h: Add support for inlined isXXX functions when
48426         compiling C++ code.
48428 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48430         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48432         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48434 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48436         [BZ #13291]
48437         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48439 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48441         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48442         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48443         feraiseexcept.
48445         * sysdeps/x86_64/memrchr.S: Check for zero size.
48447         * string/stratcliff.c: Add memrchr tests.
48449 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48452         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48453         rawmemchr-sse2 rawmemchr-sse2-bsf.
48454         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48455         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48456         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48457         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48458         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48459         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48460         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48461         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48462         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48463         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48464         * string/memrchr.c (MEMRCHR): New macro.
48466 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48468         Add integration with gcc's -ffinite-math-only and optimize wrapper
48469         functions in libm.
48470         * Versions.def: Define GLIBC_2.15 version for libm.
48471         * math/Makefile (headers): Add bits/math-finite.h.
48472         * math/bits/math-finite.h: New file.
48473         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48474         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48475         * math/e_acoshl.c: Add __*_finite alias.
48476         * math/e_acosl.c: Likewise.
48477         * math/e_asinl.c: Likewise.
48478         * math/e_atan2l.c: Likewise.
48479         * math/e_atanhl.c: Likewise.
48480         * math/e_coshl.c: Likewise.
48481         * math/e_exp10.c: Likewise.
48482         * math/e_exp10f.c: Likewise.
48483         * math/e_exp10l.c: Likewise.
48484         * math/e_exp2l.c: Likewise.
48485         * math/e_fmodl.c: Likewise.
48486         * math/e_gammal_r.c: Likewise.
48487         * math/e_hypotl.c: Likewise.
48488         * math/e_j0l.c: Likewise.
48489         * math/e_j1l.c: Likewise.
48490         * math/e_jnl.c: Likewise.
48491         * math/e_lgammal_r.c: Likewise.
48492         * math/e_log10l.c: Likewise.
48493         * math/e_log2l.c: Likewise.
48494         * math/e_logl.c: Likewise.
48495         * math/e_powl.c: Likewise.
48496         * math/e_sinhl.c: Likewise.
48497         * math/e_sqrtl.c: Likewise.
48498         * math/e_scalb.c: Completely rewritten and optimized.
48499         * math/e_scalbf.c: Likewise.
48500         * math/e_scalbl.c: Likewise.
48501         * math/w_acos.c: Likewise.
48502         * math/w_acosf.c: Likewise.
48503         * math/w_acosl.c: Likewise.
48504         * math/w_acosh.c: Likewise.
48505         * math/w_acoshf.c: Likewise.
48506         * math/w_acoshl.c: Likewise.
48507         * math/w_asin.c: Likewise.
48508         * math/w_asinf.c: Likewise.
48509         * math/w_asinl.c: Likewise.
48510         * math/w_atan2.c: Likewise.
48511         * math/w_atan2f.c: Likewise.
48512         * math/w_atan2l.c: Likewise.
48513         * math/w_atanh.c: Likewise.
48514         * math/w_atanhf.c: Likewise.
48515         * math/w_atanhl.c: Likewise.
48516         * math/w_exp10.c: Likewise.
48517         * math/w_exp10f.c: Likewise.
48518         * math/w_exp10l.c: Likewise.
48519         * math/w_fmod.c: Likewise.
48520         * math/w_fmodf.c: Likewise.
48521         * math/w_fmodl.c: Likewise.
48522         * math/w_j0.c: Likewise.
48523         * math/w_j0f.c: Likewise.
48524         * math/w_j0l.c: Likewise.
48525         * math/w_j1.c: Likewise.
48526         * math/w_j1f.c: Likewise.
48527         * math/w_j1l.c: Likewise.
48528         * math/w_jn.c: Likewise.
48529         * math/w_jnf.c: Likewise.
48530         * math/w_log.c: Likewise.
48531         * math/w_logf.c: Likewise.
48532         * math/w_logl.c: Likewise.
48533         * math/w_log10.c: Likewise.
48534         * math/w_log10f.c: Likewise.
48535         * math/w_log10l.c: Likewise.
48536         * math/w_log2.c: Likewise.
48537         * math/w_log2f.c: Likewise.
48538         * math/w_log2l.c: Likewise.
48539         * math/w_pow.c: Likewise.
48540         * math/w_powf.c: Likewise.
48541         * math/w_powl.c: Likewise.
48542         * math/w_remainder.c: Likewise.
48543         * math/w_remainderf.c: Likewise.
48544         * math/w_remainderl.c: Likewise.
48545         * math/w_scalb.c: Likewise.
48546         * math/w_scalbf.c: Likewise.
48547         * math/w_scalbl.c: Likewise.
48548         * math/w_sqrt.c: Likewise.
48549         * math/w_sqrtf.c: Likewise.
48550         * math/w_sqrtl.c: Likewise.
48551         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48552         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48553         used.
48554         * math/math_private.h: Declare __kernel_standard_f.
48555         * math/w_cosh.c: Remove cruft and optimize a bit.
48556         * math/w_coshf.c: Likewise.
48557         * math/w_coshl.c: Likewise.
48558         * math/w_exp2.c: Likewise.
48559         * math/w_exp2f.c: Likewise.
48560         * math/w_exp2l.c: Likewise.
48561         * math/w_hypot.c: Likewise.
48562         * math/w_hypotf.c: Likewise.
48563         * math/w_hypotl.c: Likewise.
48564         * math/w_lgamma.c: Likewise.
48565         * math/w_lgamma_r.c: Likewise.
48566         * math/w_lgammaf.c: Likewise.
48567         * math/w_lgammaf_r.c: Likewise.
48568         * math/w_lgammal.c: Likewise.
48569         * math/w_lgammal_r.c: Likewise.
48570         * math/w_sinh.c: Likewise.
48571         * math/w_sinhf.c: Likewise.
48572         * math/w_sinhl.c: Likewise.
48573         * math/w_tgamma.c: Likewise.
48574         * math/w_tgammaf.c: Likewise.
48575         * math/w_tgammal.c: Likewise.
48576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48577         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48578         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48579         Minor optimizations.  Pretty printing.  Remove cruft.
48580         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48581         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48582         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48583         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48584         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48585         * sysdeps/i386/fpu/e_asin.S: Likewise.
48586         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48587         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48588         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48589         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48590         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48591         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48592         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48593         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48594         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48595         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48596         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48597         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48598         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48599         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48600         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48601         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48602         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48603         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48604         * sysdeps/i386/fpu/e_log.S: Likewise.
48605         * sysdeps/i386/fpu/e_log10.S: Likewise.
48606         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48607         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48608         * sysdeps/i386/fpu/e_log2.S: Likewise.
48609         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48610         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48611         * sysdeps/i386/fpu/e_logf.S: Likewise.
48612         * sysdeps/i386/fpu/e_logl.S: Likewise.
48613         * sysdeps/i386/fpu/e_pow.S: Likewise.
48614         * sysdeps/i386/fpu/e_powf.S: Likewise.
48615         * sysdeps/i386/fpu/e_powl.S: Likewise.
48616         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48617         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48618         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48619         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48620         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48621         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48622         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48623         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48624         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48625         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48626         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48628         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48629         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48630         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48631         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48633         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48634         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48635         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48636         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48639         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48641         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48642         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48643         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48645         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48646         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48647         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48648         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48649         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48650         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48651         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48652         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48653         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48654         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48655         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48656         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48657         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48658         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48659         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48660         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48661         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48662         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48663         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48664         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48665         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48666         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48667         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48668         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48669         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48670         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48671         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48672         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48673         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48675         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48676         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48677         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48680         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48681         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48682         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48683         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48684         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48685         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48686         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48688         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48689         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48690         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48691         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48692         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48693         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48694         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48695         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48696         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48698         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48699         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48701         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48702         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48703         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48704         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48705         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48706         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48707         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48708         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48709         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48710         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48711         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48712         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48713         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48714         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48715         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48716         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48717         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48718         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48719         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48720         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48721         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48722         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48723         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48724         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48725         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48726         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48727         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48728         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48729         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48730         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48731         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48732         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48733         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48735         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48736         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48737         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48738         (__isnanf): Likewise.
48739         (__isinf_ns): Likewise.
48740         (__isinf_nsf): Likewise.
48741         (__finite): Likewise.
48742         (__finitef): Likewise.
48743         (__ieee754_sqrt): Define as macro.
48744         (__ieee754_sqrtf): Define as macro.
48745         (__ieee754_sqrtl): Define as macro.
48746         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48747         inlined copy.
48748         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48749         __FINITE_MATH_ONLY__ consistent.
48750         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48752 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48754         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48755         of rawmemchr.
48757         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48759 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48761         * po/ja.po: Update from translation team.
48763 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48765         * locale/programs/locarchive.c (prepare_address_space): New function.
48766         (create_archive, enlarge_archive, open_archive): Use it.
48768         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48769         inside [SHARED], where it is used.
48771         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48773         * nss/getent.c (netgroup_keys): Remove unused variable.
48774         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48776 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48778         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48779         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48781         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48782         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48783         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48784         * math/Makefile (libm-calls): Add s_isinf_ns.
48785         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48786         * math/multc3.c: Likewise.
48787         * math/s_casin.c: Likewise.
48788         * math/s_casinf.c: Likewise.
48789         * math/s_casinl.c: Likewise.
48790         * math/s_ccos.c: Likewise.
48791         * math/s_ccosf.c: Likewise.
48792         * math/s_ccosl.c: Likewise.
48793         * math/s_ctan.c: Likewise.
48794         * math/s_ctanf.c: Likewise.
48795         * math/s_ctanh.c: Likewise.
48796         * math/s_ctanhf.c: Likewise.
48797         * math/s_ctanhl.c: Likewise.
48798         * math/s_ctanl.c: Likewise.
48799         * math/w_fmod.c: Likewise.
48800         * math/w_fmodf.c: Likewise.
48801         * math/w_fmodl.c: Likewise.
48802         * math/w_remainder.c: Likewise.
48803         * math/w_remainderf.c: Likewise.
48804         * math/w_remainderl.c: Likewise.
48805         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48806         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48807         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48809         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48810         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48811         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48812         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48814         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48815         of the number.
48816         * stdio-common/printf_fphex.c: Likewise.
48817         * stdio-common/printf_size.c: Likewise.
48819         * math/e_exp10.c: Include math_private.h using <...> not "...".
48820         * math/e_exp10f.c: Likewise.
48821         * math/e_exp10l.c: Likewise.
48822         * math/e_exp2l.c: Likewise.
48823         * math/e_j0l.c: Likewise.
48824         * math/e_j1l.c: Likewise.
48825         * math/e_jnl.c: Likewise.
48826         * math/e_lgammal_r.c: Likewise.
48827         * math/e_rem_pio2l.c: Likewise.
48828         * math/e_scalb.c: Likewise.
48829         * math/e_scalbf.c: Likewise.
48830         * math/e_scalbl.c: Likewise.
48831         * math/k_cosl.c: Likewise.
48832         * math/k_sinl.c: Likewise.
48833         * math/k_tanl.c: Likewise.
48834         * math/s_cacoshf.c: Likewise.
48835         * math/s_catan.c: Likewise.
48836         * math/s_catanf.c: Likewise.
48837         * math/s_catanh.c: Likewise.
48838         * math/s_catanhf.c: Likewise.
48839         * math/s_catanhl.c: Likewise.
48840         * math/s_catanl.c: Likewise.
48841         * math/s_ccosh.c: Likewise.
48842         * math/s_ccoshf.c: Likewise.
48843         * math/s_ccoshl.c: Likewise.
48844         * math/s_cexp.c: Likewise.
48845         * math/s_cexpf.c: Likewise.
48846         * math/s_cexpl.c: Likewise.
48847         * math/s_clog.c: Likewise.
48848         * math/s_clog10.c: Likewise.
48849         * math/s_clog10f.c: Likewise.
48850         * math/s_clog10l.c: Likewise.
48851         * math/s_clogf.c: Likewise.
48852         * math/s_clogl.c: Likewise.
48853         * math/s_csin.c: Likewise.
48854         * math/s_csinf.c: Likewise.
48855         * math/s_csinh.c: Likewise.
48856         * math/s_csinhf.c: Likewise.
48857         * math/s_csinhl.c: Likewise.
48858         * math/s_csinl.c: Likewise.
48859         * math/s_csqrt.c: Likewise.
48860         * math/s_csqrtf.c: Likewise.
48861         * math/s_csqrtl.c: Likewise.
48862         * math/s_ctan.c: Likewise.
48863         * math/s_ctanf.c: Likewise.
48864         * math/s_ctanh.c: Likewise.
48865         * math/s_ctanhf.c: Likewise.
48866         * math/s_ctanhl.c: Likewise.
48867         * math/s_ctanl.c: Likewise.
48868         * math/s_ldexp.c: Likewise.
48869         * math/s_ldexpf.c: Likewise.
48870         * math/s_ldexpl.c: Likewise.
48871         * math/s_significand.c: Likewise.
48872         * math/s_significandf.c: Likewise.
48873         * math/s_significandl.c: Likewise.
48874         * math/w_acos.c: Likewise.
48875         * math/w_acosf.c: Likewise.
48876         * math/w_acosh.c: Likewise.
48877         * math/w_acoshf.c: Likewise.
48878         * math/w_acoshl.c: Likewise.
48879         * math/w_acosl.c: Likewise.
48880         * math/w_asin.c: Likewise.
48881         * math/w_asinf.c: Likewise.
48882         * math/w_asinl.c: Likewise.
48883         * math/w_atan2.c: Likewise.
48884         * math/w_atan2f.c: Likewise.
48885         * math/w_atan2l.c: Likewise.
48886         * math/w_atanh.c: Likewise.
48887         * math/w_atanhf.c: Likewise.
48888         * math/w_atanhl.c: Likewise.
48889         * math/w_cosh.c: Likewise.
48890         * math/w_coshf.c: Likewise.
48891         * math/w_coshl.c: Likewise.
48892         * math/w_dremf.c: Likewise.
48893         * math/w_exp10.c: Likewise.
48894         * math/w_exp10f.c: Likewise.
48895         * math/w_exp10l.c: Likewise.
48896         * math/w_exp2.c: Likewise.
48897         * math/w_exp2f.c: Likewise.
48898         * math/w_fmod.c: Likewise.
48899         * math/w_fmodf.c: Likewise.
48900         * math/w_fmodl.c: Likewise.
48901         * math/w_hypot.c: Likewise.
48902         * math/w_hypotf.c: Likewise.
48903         * math/w_hypotl.c: Likewise.
48904         * math/w_j0.c: Likewise.
48905         * math/w_j0f.c: Likewise.
48906         * math/w_j0l.c: Likewise.
48907         * math/w_j1.c: Likewise.
48908         * math/w_j1f.c: Likewise.
48909         * math/w_j1l.c: Likewise.
48910         * math/w_jn.c: Likewise.
48911         * math/w_jnf.c: Likewise.
48912         * math/w_jnl.c: Likewise.
48913         * math/w_lgamma.c: Likewise.
48914         * math/w_lgamma_r.c: Likewise.
48915         * math/w_lgammaf.c: Likewise.
48916         * math/w_lgammaf_r.c: Likewise.
48917         * math/w_lgammal.c: Likewise.
48918         * math/w_lgammal_r.c: Likewise.
48919         * math/w_log.c: Likewise.
48920         * math/w_log10.c: Likewise.
48921         * math/w_log10f.c: Likewise.
48922         * math/w_log10l.c: Likewise.
48923         * math/w_log2.c: Likewise.
48924         * math/w_log2f.c: Likewise.
48925         * math/w_log2l.c: Likewise.
48926         * math/w_logf.c: Likewise.
48927         * math/w_logl.c: Likewise.
48928         * math/w_pow.c: Likewise.
48929         * math/w_powf.c: Likewise.
48930         * math/w_powl.c: Likewise.
48931         * math/w_remainder.c: Likewise.
48932         * math/w_remainderf.c: Likewise.
48933         * math/w_remainderl.c: Likewise.
48934         * math/w_scalb.c: Likewise.
48935         * math/w_scalbf.c: Likewise.
48936         * math/w_scalbl.c: Likewise.
48937         * math/w_sinh.c: Likewise.
48938         * math/w_sinhf.c: Likewise.
48939         * math/w_sinhl.c: Likewise.
48940         * math/w_sqrt.c: Likewise.
48941         * math/w_sqrtf.c: Likewise.
48942         * math/w_sqrtl.c: Likewise.
48943         * math/w_tgamma.c: Likewise.
48944         * math/w_tgammaf.c: Likewise.
48945         * math/w_tgammal.c: Likewise.
48947         * po/ja.po: Update from translation team.
48949 2011-09-29  Andreas Jaeger  <aj@suse.de>
48951         [BZ #13179]
48952         * sunrpc/netname.c (netname2host): Fix logic.
48954         [BZ #6779]
48955         [BZ #6783]
48956         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48957         correctly.
48958         * math/w_remainder.c (__remainder): Likewise.
48959         * math/w_remainderf.c (__remainderf): Likewise.
48960         * math/libm-test.inc (remainder_test): Add test cases.
48962 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48964         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48965         sdiv_qrnnd.
48967 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48969         * string/test-memcmp.c: Avoid unncessary #defines.
48970         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48972 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48974         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48975         Use new sse2 version for core i3 - i7 as it's faster
48976         than sse42 version.
48977         (bit_Prefer_PMINUB_for_stringop): New.
48978         * sysdeps/x86_64/rawmemchr.S: Update.
48979         Replace with faster SSE2 version.
48980         * sysdeps/x86_64/memrchr.S: New file.
48981         * sysdeps/x86_64/memchr.S: Update.
48982         Replace with faster SSE2 version.
48984 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48986         * elf/dl-load.c (lose): Add cast to avoid warning.
48988 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48990         * po/ca.po: Update from translation team.
48992         * inet/getnetgrent_r.c: Hook up nscd.
48993         * nscd/Makefile (routines): Add nscd_netgroup.
48994         (nscd-modules): Add netgroupcache.
48995         (CFLAGS-netgroupcache.c): Define.
48996         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48997         (cache_search): Add const to second parameter.
48998         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48999         INNETGR.
49000         (dbs): Add netgrdb entry.
49001         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49002         (verify_persistent_db): Handle netgrdb.
49003         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49004         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49005         GETFDNETGR.
49006         (netgroup_response_header): Define.
49007         (innetgroup_response_header): Define.
49008         (datahead): Add netgroup_response_header and innetgroup_response_header
49009         elements.
49010         * nscd/nscd.conf: Add entries for netgroup cache.
49011         * nscd/nscd.h (dbtype): Add netgrdb.
49012         (_PATH_NSCD_NETGROUP_DB): Define.
49013         (netgroup_iov_disabled): Declare.
49014         (xmalloc, xcalloc, xrealloc): Move declarations here.
49015         (cache_search): Adjust prototype.
49016         Add netgroup-related prototypes.
49017         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49018         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49019         (__nscd_innetgr): Declare.
49020         * nscd/selinux.c (perms): Use access_vector_t as element type and
49021         add netgroup-related initializers.
49022         * nscd/netgroupcache.c: New file.
49023         * nscd/nscd_netgroup.c: New file.
49024         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49025         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49026         For four parameters use innetgr.
49027         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49028         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49029         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49030         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49032         * nscd/connections.c (register_traced_file): Don't register file
49033         for disabled databases.
49035 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49037         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49039         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49040         from tree and freeing node.
49042 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49044         * nss/nsswitch.c (__nss_database_lookup): Handle
49045         nss_parse_service_list out of memory case.
49047 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49049         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49050         out of memory case.
49052 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49054         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49055         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49056         pass it down.
49057         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49058         elf_machine_rela, elf_machine_lazy_rel.
49059         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49060         (ELF_DYNAMIC_DO_REL): Likewise.
49061         (ELF_DYNAMIC_DO_RELA): Likewise.
49062         (ELF_DYNAMIC_RELOCATE): Likewise.
49063         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49064         to ELF_DYNAMIC_DO_REL.
49065         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49066         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49067         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49068         elf_machine_rela.
49069         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49070         skip_ifunc, don't call ifunc function if non-zero.
49071         (elf_machine_rela): Likewise.
49072         (elf_machine_lazy_rel): Likewise.
49073         (elf_machine_lazy_rela): Likewise.
49074         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49075         (elf_machine_lazy_rel): Likewise.
49076         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49077         Likewise.
49078         (elf_machine_lazy_rel): Likewise.
49079         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49080         Likewise.
49081         (elf_machine_lazy_rel): Likewise.
49082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49083         (elf_machine_lazy_rel): Likewise.
49084         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49085         (elf_machine_lazy_rel): Likewise.
49086         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49087         (elf_machine_lazy_rel): Likewise.
49088         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49089         (elf_machine_lazy_rel): Likewise.
49090         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49091         (elf_machine_lazy_rel): Likewise.
49092         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49093         (elf_machine_lazy_rel): Likewise.
49095 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49097         * nss/nss_files/files-init.c (_nss_files_init): Use static
49098         initialization for all the *_traced_file variables.
49100 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49102         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49104 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49106         [BZ #13226]
49107         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49109 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49112         Reread the line before reparsing it.
49114 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49116         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49118 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49119             Maxim Kuvyrkov  <maxim@codesourcery.com>
49120             Joseph Myers  <joseph@codesourcery.com>
49122         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49123         if needed for __stack_chk_guard.
49125 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49127         * sysdeps/posix/spawni.c (script_execute): Always define it.
49128         It will be optimized away if unused.
49129         (maybe_script_execute): New function.
49130         (__spawni): Call it.
49132         * Makerules: Don't include tls.make.
49133         (config-tls): Always set to thread.
49134         * tls.make.c: File removed.
49136 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49138         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49139         * config.make.in (CPPFLAGS-config): New substituted variable.
49141 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49143         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49145         [BZ #13192]
49146         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49147         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49149 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49151         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49152         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49153         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49154         (CALL_FAIL): Likewise.
49155         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49156         (CALL_FAIL): Macro removed.
49157         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49159 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49161         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49162         for __FINITE_MATH_ONLY__ == 1.
49164 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49166         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49167         __ieee754_sqrt instead of sqrt.
49168         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49169         __ieee754_sqrtf instead of sqrtf.
49170         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49171         __floorf instead of floorf.
49172         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49173         __floorf, __truncf instead of floorf, truncf.
49175 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49177         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49179         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49180         __extern_always_inline.
49181         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49182         32-bit.
49184 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49186         * elf/rtld.c (dl_main): Also relocate in dependency order when
49187         doing symbol dependency testing.
49189 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49192         Always define `refsym'.
49194 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49196         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49197         (__FD_ELT): Renamed from __FDELT.
49198         * misc/bits/select2.h (__FD_ELT): Likewise.
49199         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49200         __FD_MASK instead of __FDELT, __FDMASK.
49201         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49202         Likewise.
49203         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49204         Likewise.
49206         * elf/Makefile (gen-ldd): Fix pattern.
49208         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49209         (init_tls): Likewise.
49211 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49213         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49215 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49217         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49218         `struct cmsghdr *' instead of `void *'.
49219         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49220         Likewise.
49222 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49224         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49225         if non-absolute.
49226         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49227         ldd_rewrite_script.
49229 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49231         * configure.in: Remove --with-tls option.
49232         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49233         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49234         out in case it is missing.
49235         * sysdeps/ia64/elf/configure.in: Likewise.
49236         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49237         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49238         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49239         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49240         * sysdeps/sh/elf/configure.in: Likewise.
49241         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49242         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49243         * sysdeps/x86_64/elf/configure.in: Likewise.
49244         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49245         * sysdeps/mach/hurd/tls.h: Likewise.
49247         [BZ #13067]
49248         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49250         [BZ #13090]
49251         * configure.in: Fix use of AC_INIT.
49253         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49255 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49257         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49258         __set_errno.
49259         * malloc/hooks.c: Likewise.
49261         [BZ #11929]
49262         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49263         variables statically.
49264         (narenas): Initialize.
49265         (list_lock): Initialize.
49266         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49267         initializtion of main_arena and list_lock.  Small cleanups.
49268         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49269         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49270         Add initializers to main_arena and mp_.
49271         (malloc_state): Remove pagesize member.  Change all users to use
49272         GLRO(dl_pagesize).
49274         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49275         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49276         is always initialized.
49278         * malloc/malloc.c: Removed unused configurations and dead code.
49279         * malloc/arena.c: Likewise.
49280         * malloc/hooks.c: Likewise.
49281         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49283         * include/tls.h: Removed.  USE___THREAD must always be defined.
49284         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49285         * elf/dl-libc.c: Likewise.
49286         * elf/dl-tsd.c: Likewise.
49287         * include/errno.h: Likewise.
49288         * include/netdb.h: Likewise.
49289         * include/resolv.h: Likewise.
49290         * inet/herrno-loc.c: Likewise.
49291         * inet/herrno.c: Likewise.
49292         * malloc/arena.c: Likewise.
49293         * malloc/hooks.c: Likewise.
49294         * malloc/malloc.c: Likewise.
49295         * resolv/res-state.c: Likewise.
49296         * resolv/res_libc.c: Likewise.
49297         * sysdeps/i386/dl-machine.h: Likewise.
49298         * sysdeps/ia64/dl-machine.h: Likewise.
49299         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49300         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49303         * sysdeps/sh/dl-machine.h: Likewise.
49304         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49305         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49306         * sysdeps/unix/i386/sysdep.S: Likewise.
49307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49308         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49313         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49317         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49318         * sysdeps/x86_64/dl-machine.h: Likewise.
49319         * tls.make.c: Likewise.
49321         * configure.in: Remove --with-__thread option.  Make tests for
49322         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49323         tls_model attribute fail if no support is available.  Remove
49324         USE_IN_LIBIO.
49325         * Makeconfig: Adjust for dropped configure option.  All features are
49326         now mandatory.
49327         * Makerules: Likewise.
49328         * Versions.def: Likewise.
49329         * argp/argp-fmtstream.c: Likewise.
49330         * argp/argp-fmtstream.h: Likewise.
49331         * argp/argp-help.c: Likewise.
49332         * assert/assert.c: Likewise.
49333         * config.h.in: Likewise.
49334         * config.make.in: Likewise.
49335         * configure: Likewise.
49336         * configure.in: Likewise.
49337         * csu/Versions: Likewise.
49338         * csu/init.c: Likewise.
49339         * elf/tst-audit2.c: Likewise.
49340         * elf/tst-tls10.c: Likewise.
49341         * elf/tst-tls10.h: Likewise.
49342         * elf/tst-tls11.c: Likewise.
49343         * elf/tst-tls12.c: Likewise.
49344         * elf/tst-tls14.c: Likewise.
49345         * elf/tst-tlsmod11.c: Likewise.
49346         * elf/tst-tlsmod12.c: Likewise.
49347         * elf/tst-tlsmod13.c: Likewise.
49348         * elf/tst-tlsmod13a.c: Likewise.
49349         * elf/tst-tlsmod14a.c: Likewise.
49350         * elf/tst-tlsmod15b.c: Likewise.
49351         * elf/tst-tlsmod16a.c: Likewise.
49352         * elf/tst-tlsmod16b.c: Likewise.
49353         * elf/tst-tlsmod7.c: Likewise.
49354         * elf/tst-tlsmod8.c: Likewise.
49355         * elf/tst-tlsmod9.c: Likewise.
49356         * gmon/gmon.c: Likewise.
49357         * grp/fgetgrent_r.c: Likewise.
49358         * grp/putgrent.c: Likewise.
49359         * hurd/fopenport.c: Likewise.
49360         * include/libc-symbols.h: Likewise.
49361         * include/tls.h: Likewise.
49362         * intl/gettextP.h: Likewise.
49363         * intl/loadinfo.h: Likewise.
49364         * locale/global-locale.c: Likewise.
49365         * locale/localeinfo.h: Likewise.
49366         * mach/devstream.c: Likewise.
49367         * malloc/arena.c: Likewise.
49368         * malloc/set-freeres.c: Likewise.
49369         * misc/err.c: Likewise.
49370         * misc/getttyent.c: Likewise.
49371         * misc/mntent_r.c: Likewise.
49372         * posix/getopt.c: Likewise.
49373         * posix/wordexp.c: Likewise.
49374         * pwd/fgetpwent_r.c: Likewise.
49375         * resolv/Versions: Likewise.
49376         * resolv/res_hconf.c: Likewise.
49377         * shadow/fgetspent_r.c: Likewise.
49378         * shadow/putspent.c: Likewise.
49379         * stdio-common/printf_fphex.c: Likewise.
49380         * stdio-common/tmpfile.c: Likewise.
49381         * stdlib/abort.c: Likewise.
49382         * stdlib/fmtmsg.c: Likewise.
49383         * sunrpc/auth_unix.c: Likewise.
49384         * sunrpc/clnt_perr.c: Likewise.
49385         * sunrpc/clnt_tcp.c: Likewise.
49386         * sunrpc/clnt_udp.c: Likewise.
49387         * sunrpc/clnt_unix.c: Likewise.
49388         * sunrpc/openchild.c: Likewise.
49389         * sunrpc/svc_simple.c: Likewise.
49390         * sunrpc/svc_tcp.c: Likewise.
49391         * sunrpc/svc_udp.c: Likewise.
49392         * sunrpc/svc_unix.c: Likewise.
49393         * sunrpc/xdr.c: Likewise.
49394         * sunrpc/xdr_array.c: Likewise.
49395         * sunrpc/xdr_rec.c: Likewise.
49396         * sunrpc/xdr_ref.c: Likewise.
49397         * sunrpc/xdr_stdio.c: Likewise.
49399 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49401         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49403 2011-07-03  Andreas Jaeger  <aj@suse.de>
49405         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49406         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49407         regenerate with gen-libm-tests.pl.
49409 2010-05-12  Petr Baudis  <pasky@suse.cz>
49411         [BZ #11589]
49412         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49413         around j0() zero points by switching to j1().
49414         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49419 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49421         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49422         instead of 0.
49423         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49424         instead of 0.
49425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49426         Patch in part by Pavel Roskin <proski@gnu.org>.
49428         [BZ #13138]
49429         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49430         realloc.
49431         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49432         Free memory block if necessary.
49434         [BZ #12847]
49435         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49436         be NULL.  Don't lock in this case.
49438 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49440         * elf/elf.h (ELFOSABI_GNU): New macro.
49441         (ELFOSABI_LINUX): Define to that.
49443 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49445         * string/strncat.c (strncat): Undef the symbol in case it has been
49446         defined in bits/string.h.
49448 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49450         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49452         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49453         link map.
49455 2011-08-17  Andreas Jaeger  <aj@suse.de>
49457         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49459 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49460             Ian Lance Taylor  <iant@google.com>
49462         * math/libm-test.inc (lround_test): New testcase.
49463         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49465 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49467         * Makefile: Remove support for automatic cvs check-ins.
49468         * Makerules: Likewise.
49469         * config.make.in: Likewise.
49470         * configure.in: Likewise.
49471         * intl/Makefile: Likewise.
49472         * locale/Makefile: Likewise.
49473         * po/Makefile: Likewise.
49474         * posix/Makefile: Likewise.
49475         * sysdeps/gnu/Makefile: Likewise.
49476         * sysdeps/mach/hurd/Makefile: Likewise.
49477         * sysdeps/sparc/sparc32/Makefile: Likewise.
49479         [BZ #13118]
49480         * posix/Makefile (bug-regex32-ENV): Define.
49481         Patch by John Stanley <jpsinthemix@verizon.net>.
49483         * misc/Makefile (headers): Add bits/select2.h.
49484         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49485         * misc/bits/select2.h: New file.
49486         * include/bits/select2.h: New file.
49487         * debug/Makefile (routines): Add fdelt_chk.
49488         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49489         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49490         FD_ISSET.
49491         * debug/fdelt_chk.c: New file.
49493         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49494         * wcsmbs/test-wmemcmp.c: Likewise.
49495         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49496         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49498 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49500         * string/Makefile (strop-tests): Add memcmp.
49501         * string/test-wmemcmp.c: New file.
49502         * string/test-memcmp.c: Add wmemcmp support.
49504 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49506         [BZ #13153]
49507         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49508         2011-07-19 change.
49510         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49511         garbage value in a __mach_port_mod_refs call in the cases of the
49512         task-self and thread-self ports.
49514 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49516         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49518 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49520         * elf/dl-load.c (lose): Check for non-null L.
49522 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49524         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49526         * elf/dl-libc.c (dlerror_run): Pass back error code from
49527         dl_catch_error.
49529         [BZ #13123]
49530         * elf/dl-load.c (lose): Free l_origin if it is valid.
49532         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49533         names.
49534         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49535         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49537         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49538         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49539         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49541 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49543         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49544         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49545         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49546         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49547         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49548         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49549         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49550         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49551         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49552         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49554 2011-08-15  Alan Modra  <amodra@gmail.com>
49556         [BZ #13092]
49557         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49558         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49559         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49560         ppc_mcount to static-only-routines.
49561         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49562         __mcount_internal.
49563         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49564         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49566 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49568         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49569         for finite and infinity parameters.
49571 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49574         and add nop instructions for throughput optimization.
49575         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49577 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49579         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49580         aligned copy for power7 with vector-scalar instructions.
49581         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49583 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49586         AVX check.
49588 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49590         [BZ #13144]
49591         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49592         last change.
49594 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49596         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49597         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49598         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49600         clock_gettime.
49602 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49604         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49605         Forgot to demangle the pointer.
49607         * sysdeps/i386/sysdep.h: Define atom_text_section.
49608         * sysdeps/x86_64/sysdep.h: Likewise.
49609         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49610         section with atom_text_section.
49611         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49612         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49613         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49615         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49617         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49618         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49619         already be defined.  Change to take two parameters and don't assign
49620         result to variable.  Adjust all users.
49621         Define INTERNAL_GETTIME if not already defined.
49622         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49623         call.
49624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49625         HAVE_CLOCK_GETTIME_VSYSCALL.
49626         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49628         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49629         gettimeofday vsyscall, just use time.
49631 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49634         <errno.h>.
49636 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49638         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49639         syscall on x86-64.
49640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49641         syscall.
49642         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49643         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49644         syscall if possible.
49646 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49648         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49649         e_ident.  Don't pass to find_mapsXX.
49650         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49652 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49655         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49656         * sysdeps/x86_64/multiarch/strchr.S: Update.
49657         Check bit_slow_BSF bit.
49658         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49659         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49660         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49662 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49664         [BZ #13134]
49665         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49666         before glibc 2.15.
49667         (tryshell): Define.
49668         (__spawni): Change last parameter to be flag.  Test
49669         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49670         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49671         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49672         * posix/spawni.c: Likewise.
49673         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49674         * posix/spawnp.c: Likewise.  Change normal version to use
49675         SPAWN_XFLAGS_USE_PATH.
49676         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49677         SPAWN_XFLAGS_TRY_SHELL.
49679         [BZ #13150]
49680         * posix/glob.h: Remove gcc 1.x support.
49682         [BZ #13068]
49683         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49685 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49688         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49689         strrchr-sse2-bsf
49690         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49691         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49692         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49693         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49694         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49695         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49697 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49699         * sysdeps/x86_64/wcscmp.S: New file.
49701         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49702         wcscmp-c wcscmp-sse2
49703         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49704         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49705         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49706         * wcsmbs/wcscmp.c: Allow renaming.
49708 2011-09-05  David S. Miller  <davem@davemloft.net>
49710         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49711         stack slot, rather than the struct return pointer slot.
49712         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49713         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49715         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49717 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49719         * po/ja.po: Update from translation team.
49721         [BZ #13144]
49722         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49723         kernel in 64-bit binaries.
49725 2011-09-01  David S. Miller  <davem@davemloft.net>
49727         * elf/elf.h (HWCAP_SPARC_*): Move to..
49728         * sysdeps/sparc/sysdep.h: this new file and add new values.
49729         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49730         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49731         _DL_HWCAP_COUNT to 24.
49732         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49733         entries.
49734         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49735         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49736         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49738         instead of magic constants.
49739         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49741 2011-08-31  David S. Miller  <davem@davemloft.net>
49743         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49745         Reimplement to do errno handling inline.
49746         (SYSCALL_ERROR_HANDLER): New macro.
49747         (__SYSCALL_STRING): Do not do errno handling in asm.
49748         (__CLONE_SYSCALL_STRING): Delete.
49749         (__INTERNAL_SYSCALL_STRING): Delete.
49750         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49751         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49752         (PSEUDO): Reimplement to do errno handling inline.
49753         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49754         (SYSCALL_ERROR_HANDLER): New macro.
49755         (__SYSCALL_STRING): Do not do errno handling in asm.
49756         (__CLONE_SYSCALL_STRING): Delete.
49757         (__INTERNAL_SYSCALL_STRING): Delete.
49758         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49759         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49760         i386.
49761         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49762         (inline_syscall*): Add 'err' argument.
49763         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49764         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49765         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49766         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49768         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49769         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49771 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49773         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49775 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49777         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49778         directive.
49780 2011-08-24  David S. Miller  <davem@davemloft.net>
49782         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49784 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49786         * elf/Makefile: Add rules to build and run unload8 test.
49787         * elf/unload8.c: New file.
49788         * elf/unload8mod1.c: New file.
49789         * elf/unload8mod1x.c: New file.
49790         * elf/unload8mod2.c: New file.
49791         * elf/unload8mod3.c: New file.
49793         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49794         it wasn't used.
49796 2011-08-23  David S. Miller  <davem@davemloft.net>
49798         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49799         subtract stack bias.
49800         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49801         %sp not %fp in calculations.
49802         (_JMPBUF_UNWINDS_ADJ): Likewise.
49804         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49805         (aio_suspend): Call it to force an exception region around the
49806         AIO_MISC_WAIT() invocation.
49808 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49810         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49811         backslash.
49813 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49815         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49816         protection macro.
49817         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49818         and <dl-machine.h>.
49819         (Elf64_FuncDesc): Remove.
49821 2011-08-22  David S. Miller  <davem@davemloft.net>
49823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49824         sigaltstack check, add missing cfi directives.
49825         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49826         missing cfi directives, and sigaltstack handling.
49828 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49830         [BZ #11724]
49831         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49832         object is seen twice.
49833         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49835         * elf/Makefile (distribute): Add tst-initorder2.c.
49836         (tests): Add tst-initorder2.
49837         (modules-names): Add tst-initorder2a tst-initorder2b
49838         tst-initorder2c tst-initorder2d.  Add rules to build them.
49839         ($(objpfx)tst-initorder2.out): New rule.
49840         * elf/tst-initorder2.c: New file.
49841         * elf/tst-initorder2.exp: New file.
49843 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49845         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49847         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49848         dependencies back to end of function.
49850         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49851         $(elfobjdir)/ld.so.
49853 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49856         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49857         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49858         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49859         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49860         of __vdso_gettimeofday.
49861         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49862         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49863         attribute_hidden.
49864         (_libc_vdso_platform_setup): Remove initialization of
49865         __vdso_gettimeofday and __vdso_time.
49867 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49869         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49870         and fgetc_unlocked.
49871         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49872         getc_unlocked.
49874         * elf/dl-open.c (add_to_global): Report additions to the global scope
49875         for LD_DEBUG=scopes.
49876         (dl_open_worker): Also print scope of newly loaded dependencies.
49877         (_dl_show_scope): Indicate if there is no scope.
49879         [BZ #13114]
49880         * stdio-common/Makefile (tests): Add bug24.
49881         * stdio-common/bug24.c: New file.
49883 2011-08-19  Andreas Jaeger  <aj@suse.de>
49885         [BZ #13114]
49886         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49887         non-existant file when using close-on-exec mode.
49889 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49892         the very first instruction.
49894         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49895         the CFI state in the end.
49896         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49897         inclusion of dl-trampoline.h.
49898         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49900 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49902         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49903         expectations for long double.
49905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49906         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49908 2011-08-14  David S. Miller  <davem@davemloft.net>
49910         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49911         artificual limit depends upon the system page size.
49913 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49915         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49916         * resolv/Makefile: Define CFLAGS-libresolv.
49918 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49920         * nss/makedb.c (compute_tables): Make variables used in nested
49921         function static.
49923 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49925         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49926         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49927         if buffer was too small.
49929         * elf/pldd.c (main): Attach to all threads in the process.
49930         Rewrite /proc handling to use *at functions.
49932 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49934         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49935         specifies first scope to show.
49936         (dl_open_worker): Update callers.  Move printing scope of new
49937         object to before the relocation.
49938         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49939         * sysdeps/generic/ldsodefs.h: Update declaration.
49941         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49942         string for the scope number.
49944 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49946         * nscd/servicescache.c (cache_addserv): Make sure written is always
49947         initialized.
49949 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49951         * sysdeps/i386/i486/bits/atomic.h
49952         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49953         statement expression, so as to suppress "set but not used" warning.
49954         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49956         * string/strncat.c (STRNCAT): Use prototype definition.
49958         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49959         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49960         -Iprograms here.
49961         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49962         (localedef-modules): Add localedef.
49963         (locale-modules): Add locale.
49965         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49966         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49967         to avoid a warning.
49969 2011-08-14  David S. Miller  <davem@davemloft.net>
49971         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49972         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49974 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49976         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49977         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49978         * elf/rtld.c (dl_main): Set l_name of vDSO.
49979         Call _dl_show_scope when DL_DEBUG_SCOPES.
49980         (process_dl_debug): Recognize scopes flag and also set it for all.
49981         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49982         Declare _dl_show_scope.
49984         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49985         (do_dlopen): Pass caller_dlopen to dl_open.
49986         (__libc_dlopen_mode): Initialize caller_dlopen.
49988         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49989         of libc.  Make tolower call locale-independent.  Optimize a bit by
49990         using isdigit instead of isalnum.
49991         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49993 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49995         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49996         was a dependency or dynamically loaded.
49998 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50000         * intl/l10nflist.c: Allow architecture-specific pop function.
50001         * sysdeps/x86_64/l10nflist.c: New file.
50003         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50004         classification.
50006 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50008         * include/dirent.h: Add libc_hidden_proto for scandirat and
50009         scandirat64.  Don't declare __scandirat64.
50010         * dirent/scandirat.c: Add libc_hidden_def.
50011         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50012         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50014 2011-08-10  David S. Miller  <davem@davemloft.net>
50016         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50017         enum.
50018         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50019         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50020         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50022 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50024         * Versions.def [libc]: Add GLIBC_2.15.
50025         * dirent/Makefile (routines): Add scandirat and scandirat64.
50026         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50027         GLIBC_2.15.
50028         * dirent/dirent.h: Declare scandirat and scandirat64.
50029         * dirent/scandirat.c: New file.
50030         * dirent/scandirat64.c: New file.
50031         * sysdeps/wordsize-64/scandirat.c: New file.
50032         * sysdeps/wordsize-64/scandirat64.c: New file.
50033         * dirent/opendir.c: Define opendirat.
50034         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50035         using scandirat.
50036         * dirent/scandir64.c: Adjust for scandir.c change.
50037         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50038         __scandirat64, and __scandir_cancel_handler.
50039         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50040         additional parameter and use openat instead of open (outside of ld.so).
50041         Add new __opendir as wrapper around __opendirat.
50042         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50043         here without requiring old scandirat implementation.
50045 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50047         * dirent/scandir.c (cancel_handler): Renamed to
50048         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50049         defined.  Adjust users.
50050         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50051         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50053 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50055         * string/test-string.h (IMPL): Use __STRING to expand name and then
50056         stringify it.
50058         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50059         of cleanups.
50061 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50063         * string/Makefile: Update.
50064         (strop-tests): Append strncat.
50065         * string/test-wcscmp.c: New file.
50066         New comprehensive test for wcscmp.
50067         * string/test-strcmp.c: Update.
50068         (WIDE): New define.
50070 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50072         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50073         line.
50075 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50078         encoding to ACE if AI_IDN.
50080 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50083         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50085 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50087         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50088         Fix overflow bug in strncat.
50089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50091         * string/test-strncat.c: Update.
50092         Add new tests for checking overflow bugs.
50094 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50097         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50098         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50099         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50100         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50101         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50102         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50103         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50104         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50106         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50107         (USE_AS_STRCAT): Define.
50108         Add strcat and strncat support.
50109         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50111 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50113         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50114         __n bigger than INT_MAX+1.
50115         (__strncmp_g): Likewise.
50117 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50119         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50120         * libio/stido.h: Likewise.
50122         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50123         (AF_NFC): Define.
50124         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50125         (AF_NFC): Define.
50127         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50128         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50129         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50130         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50131         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50133         [BZ #13021]
50134         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50135         installed.
50137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50138         typo.
50139         (_dl_x86_64_save_sse): Likewise.
50141 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50143         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50144         OSXSAVE.
50145         (_dl_x86_64_save_sse): Likewise.
50147         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50149         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50151 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50154         change.
50155         (_dl_x86_64_save_sse): Use correct AVX check.
50157 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50159         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50160         bug in strncpy/strncat.
50161         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50163 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50165         * string/tester.c (test_strcat): Add tests for different alignments
50166         of source and destination.
50167         (test_strncat): Likewise.
50169 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50171         [BZ #12852]
50172         * posix/glob.c (glob): Check passed in values before using them in
50173         expressions to avoid some overflows.
50174         (glob_in_dir): Likewise.
50176         [BZ #13007]
50177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50178         check for AVX enablement so that we don't crash with old kernels and
50179         new hardware.
50180         * elf/tst-audit4.c: Add same checks here.
50181         * elf/tst-audit6.c: Likewise.
50183         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50185 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50187         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50189 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50191         * po/cs.po: Update from translation team.
50192         * po/bg.po: Likewise.
50194 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50196         * misc/sys/cdefs.h: Add support for const attribute.
50197         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50198         to gnu_dev_{major,minor,makedev} functions.
50200 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50202         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50204 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50206         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50207         strlen results.
50209 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50212         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50213         register in order to avoid conflicts with the soft frame pointer
50214         being held in r11 when necessary.
50215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50216         (INTERNAL_VSYSCALL_NCS): Likewise.
50218 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50220         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50221         * elf/dl-fini.c (_dl_fini): Adjust caller.
50222         * elf/dl-close.c (_dl_close_worker): Likewise.
50223         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50225 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50227         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50228         "aux_cache->nlibs < 0".
50230         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50231         in the reload-count case.
50233 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50236         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50237         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50238         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50239         * sysdeps/x86_64/multiarch/strcat.S: New file.
50240         * sysdeps/x86_64/multiarch/strncat.S: New file.
50241         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50242         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50243         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50244         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50245         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50246         (USE_AS_STRCAT): Define.
50247         Add strcat and strncat support.
50248         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50249         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50250         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50251         * string/strncat.c: Update.
50252         (USE_AS_STRNCAT): Define.
50253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50254         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50255         and i7.
50256         * sysdeps/x86_64/multiarch/init-arch.h
50257         (bit_Prefer_PMINUB_for_stringop): New.
50258         (index_Prefer_PMINUB_for_stringop): Likewise.
50259         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50260         bit_Prefer_PMINUB_for_stringop.
50262 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50264         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50265         buffer64.
50266         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50267         of casting of buffer.
50268         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50269         buffer32 and buffer64.
50270         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50271         writes instead of casting of buffer.
50272         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50273         buffer32.
50274         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50275         casting of buffer.
50277 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50279         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50281 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50283         * nscd/nscd.c (termination_handler): Don't do anything for a database
50284         if it has not yet been initialized.
50286 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50288         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50290 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50292         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50294 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50296         * po/nl.po: Update from translation team.
50297         * po/sv.po: Likewise.
50299 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50301         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50302         now disallowed by GCC.
50304         * configure.in (use-default-link): Default to yes if a test -shared
50305         link meets our qualifications.
50306         * configure: Regenerated.
50308         * config.make.in (output-format): New variable.
50309         * configure.in: Check for ld --print-output-format support.
50310         * configure: Regenerated.
50311         * Makerules ($(common-objpfx)format.lds)
50312         [$(output-format) != unknown]: Just use $(output-format),
50313         instead of the linker-script munging.
50315 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50317         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50318         of $(common-objpfx)shlib.lds.
50319         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50321         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50322         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50324         * configure.in (-z relro check): Adjust test code to add a large
50325         writable data section after it.
50326         * configure: Regenerated.
50328 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50330         * configure.in (-z relro check): Fix test code to make the variable
50331         truly const.
50332         * configure: Regenerated.
50334 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50336         * nscd/nscd.h (struct traced_file): Define.
50337         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50338         elements.  Add traced_files.
50339         (inotify_fd): Declare.
50340         (register_traced_file): Declare.
50341         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50342         (inotify_fd): Export.
50343         (resolv_conf_descr): Remove.
50344         (nscd_init): Move inotify descriptor creation to main.
50345         Don't register files for notification here.
50346         (register_traced_file): New function.
50347         (invalidate_cache): Don't use reset_res to determine whether to call
50348         res_init, go through the list of registered files.
50349         (main_loop_poll): The inotify descriptors are now stored in the
50350         structures for the traced files.
50351         (main_loop_epoll): Likewise
50352         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
50353         to __nss_disable_nscd.
50354         * nscd/cache.c (prune_cache): There is no single inotify descriptor
50355         for a database anymore.  Check the records for all the registered
50356         files instead.
50357         * nss/Makefile (libnss_files-routines): Add files-init.
50358         (libnss_db-routines): Add db-init.
50359         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50360         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50361         * nss/nss_db/db-init.c: New file.
50362         * nss/nss_files/files-init.c: New file.
50363         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
50364         __nss_lookup_function.
50365         (__nss_lookup_function): Call nss_load_library.
50366         (nss_load_all_libraries): New function.
50367         (__nss_disable_nscd): Take parameter with callback function for files
50368         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
50369         used for the cached services.
50370         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50371         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50372         options for features to all the files in nscd.
50374         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50376 2011-07-10  Roland McGrath  <roland@hack.frob.com>
50378         * csu/elf-init.c (__libc_csu_init): Comment typo.
50380 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
50382         * po/pl.po: Update from translation team.
50383         * po/ja.po: Likewise.
50384         * po/ru.po: Likewise.
50385         * po/ko.po: Likewise.
50386         * po/fr.po: Likewise.
50388 2011-07-09  Roland McGrath  <roland@hack.frob.com>
50390         * configure.in (.ctors/.dtors header and trailer check):
50391         Use an empirical test on a built program.
50392         * configure: Regenerated.
50394         * configure.in (-z relro check): Use an empirical test on a built DSO.
50395         Detect, but do not require, on ia64.
50396         * configure: Regenerated.
50398         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50399         Update tests that use readelf to use $READELF instead.
50400         * configure: Regenerated.
50402 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50404         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50405         if the result is not used.
50407 2011-07-05  Andreas Jaeger  <aj@suse.de>
50409         [BZ#9696]
50410         * stdlib/tst-strtod.c: Add testcase.
50412 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50414         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50415         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50416         The latter has a higher limit.  Take additional parameter to pass to
50417         the new function.
50418         (__pathconf): Pass file to __statfs_link_max.
50419         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50420         __statfs_link_max.
50421         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50422         __statfs_link_max.
50424         [BZ #12868]
50425         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50426         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50427         Handle Lustre.
50428         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50429         (__statfs_filesize_max): Likewise.
50430         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50432 2011-07-05  Andreas Jaeger  <aj@suse.de>
50434         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50436 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50438         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50439         `status' variable.
50440         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50441         Likewise.
50443 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50445         * Makefile (strop-tests): Add strncat.
50446         * string/test-strncat.c: New file.
50448 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50450         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50452 2011-06-21  Andreas Jaeger  <aj@suse.de>
50454         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50455         Copy rule from iconvdata/Makefile.
50457 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50459         [BZ #12922]
50460         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50461         but no long options are defined, just return 'W'.
50463 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50465         [BZ #9696]
50466         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50468 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50470         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50471         netgroups to read.
50472         (innetgr): Likewise.
50474 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50476         * config.make.in (install_root): Default to $(DESTDIR).
50478 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50480         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50482 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50484         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50486         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50487         containing directory rather than embedding absolute directory names.
50489         * scripts/check-local-headers.sh: Rewritten using awk.
50490         Match by word, not by line.  Print error messages for matches.
50491         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50493         * Makerules [shlib-lds-flags empty]:
50494         ($(common-objpfx)libc_pic.opts): New target.
50495         ($(common-objpfx)libc_pic.os.clean): New target.
50496         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50498         * config.make.in (OBJCOPY): New variable.
50499         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50500         * configure: Regenerated.
50502         * config.make.in (use-default-link): New variable.
50503         * configure.in (use_default_link): Grok --with-default-link to set it.
50504         * configure: Regenerated.
50505         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50506         (shlib-lds, shlib-lds-flags): Define to empty.
50508         * Makerules (shlib-lds): New variable.
50509         (shlib-lds-flags): New variable.
50510         (build-shlib, build-moduile, build-module-asneeded): Use it.
50511         ($(common-objpfx)libc.so): Use $(shlib-lds).
50512         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50513         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50515         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50516         DT_FLAGS/DT_FLAGS_1 with zero flags.
50518         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50519         linker script munging.
50521 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50523         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50524         as 128-bit value.
50525         * crypt/sha512.c (sha512_process_block): Perform total addition using
50526         128-bit if possible.
50527         (__sha512_finish_ctx): Likewise.
50528         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50529         as 64-bit value.
50530         * crypt/sha256.c (SWAP64): Define.
50531         (sha256_process_block): Perform total addition using 64-bit if
50532         possible.
50533         (__sha256_finish_ctx): Likewise.
50535 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50537         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50538         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50539         * nscd/hstcache.c (cache_addhst): Likewise.
50540         * nscd/grpcache.c (cache_addgr): Likewise.
50541         * nscd/aicache.c (addhstaiX): Likewise
50542         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50544 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50546         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50548         * nscd/hstcache.c (cache_addhst): Likewise.
50549         * nscd/grpcache.c (cache_addgr): Likewise.
50550         * nscd/aicache.c (addhstaiX): Likewise
50552 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50554         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50555         domain only when needed.
50557 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50560         is always restored.
50562 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50564         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50565         are re-adding the entry.
50566         * nscd/servicescache.c (cache_addserv): Likewise.
50568 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50570         * sysdeps/generic/dl-irel.h: fix protection against multiple
50571         inclusions.
50572         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50574 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50576         [BZ #12935]
50577         * malloc/memusage.sh: Fix quoting in message.
50578         * debug/xtrace.sh: Likewise.
50580         * configure.in: Remove support for --experimental-malloc option, make
50581         it the default.
50582         * config.make.in: Likewise.
50583         * malloc/Makefile: Likewise.
50585 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50587         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50588         two-byte characters.
50590 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50592         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50593         AC_CACHE_CHECK invocation.
50594         * configure: Regenerated.
50596         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50598 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50600         [BZ #12350]
50601         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50602         bit from old_res_options.
50604         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50606         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50607         value type for setfct.
50609 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50611         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50612         __gettimeofday instead of gettimeofday.
50614 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50616         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50618 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50620         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50623         info.
50625 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50628         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50629         strcpy-sse2-unaligned strncpy-sse2-unaligned
50630         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50631         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50632         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50633         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50634         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50635         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50636         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50637         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50638         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50639         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50640         (STRCPY): Support SSE2 and SSSE3 versions.
50642 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50644         [BZ #12874]
50645         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50646         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50647         kernels which artificially limit size of requests.
50649 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50652         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50653         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50654         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50655         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50656         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50657         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50658         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50661         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50662         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50663         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50664         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50665         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50667         Enable unaligned load optimization for Intel Core i3, i5 and i7
50668         processors.
50669         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50670         Define.
50671         (index_Fast_Unaligned_Load): Define.
50672         (HAS_FAST_UNALIGNED_LOAD): Define.
50674 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50676         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50678 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50680         [BZ #12907]
50681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50682         until it is clear that the information is realy needed.
50683         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50685 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50689 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50691         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50692         /sys/devices/system/cpu/online if it is usable.
50694         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50695         reading the information from the /proc filesystem to once a second.
50697 2011-06-21  Andreas Jaeger  <aj@suse.de>
50699         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50700         NULL after inclusion of kernel headers.
50702 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50704         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50705         calls to internal_setent.
50707         [BZ #12885]
50708         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50709         addresses using gethostbyname4_r ignore IPv4 addresses.
50711         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50712         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50714         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50716 2011-06-20  David S. Miller  <davem@davemloft.net>
50718         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50719         inclusions.
50720         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50722         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50723         (elf_irel): Use it.
50724         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50725         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50726         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50727         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50728         * sysdeps/x86_64/dl-irel.h: Likewise.
50730         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50731         * elf/dl-sym.c: Likewise.
50733 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50735         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50736         need to dereference resplen2.
50738 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50740         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50742 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50744         * Makeconfig: Define vardbdir and inst_vardbdir.
50745         * nss/Makefile: Add rules to install db-Makefile.
50747         * nss/nss_db/db-XXX.c: Cleanup.
50749         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50750         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50751         GLIBC_PRIVATE.
50752         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50753         * nss/makedb.c: Implement -g option to specify that value strings
50754         are generated and should not be added to table iterated over for
50755         get*ent calls.
50756         * nss/nss_db/db-initgroups.c: New file.
50758         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50759         interface.
50761         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50762         (internal_getgrouplist): Adjust to name change.
50763         Update use_initgroups_entry if this is not the first call.
50764         * nss/databases.def: Add initgroups entry.
50766         * nss/makedb.c (compute_tables): Check result of multiple hash table
50767         sizes to minimize maximum chain length.
50769 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50771         * Versions.def: Add entry for libnss_db.
50772         * shlib-versions: Likewise.
50773         * nss/Makefile: Add rules to build libnss_db.
50774         * nss/Versions: Add libnss_db information.  Organize libnss_files
50775         entries better.
50776         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50777         makedb progra.  Some minor improvements to generate smaller files.
50778         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50779         here from...
50780         * nss/makedb.c: ...here.
50781         Improve database format to be smaller and require less memory at
50782         runtime.
50783         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50784         db anymore.
50785         * nss/nss_db/db-netgrp.c: Likewise.
50786         * nss/nss_db/db-open.c: Likewise.
50787         * nss/nss_files/flies-XXX.x: Adjust comments.
50788         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50789         * nss/nss_files/files-grp.c: Likewise.
50790         * nss/nss_files/files-hosts.c: Likewise.
50791         * nss/nss_files/files-network.c: Likewise.
50792         * nss/nss_files/files-proto.c: Likewise.
50793         * nss/nss_files/files-pwd.c: Likewise.
50794         * nss/nss_files/files-rpc.c: Likewise.
50795         * nss/nss_files/files-service.c: Likewise.
50796         * nss/nss_files/files-sgrp.c: Likewise.
50797         * nss/nss_files/files-spwd.c: Likewise.
50798         * nss/nss_db/db-alias.c: Removed.
50799         * nss/nss_db/dummy-db.h: Removed.
50801 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50803         * nss/makedb.c: Rewritten to not use database library.
50804         * nss/Makefile: Update to build new makedb program.
50806 2011-06-14  Andreas Jaeger  <aj@suse.de>
50808         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50809         memset declaration.
50811 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50814         tmpbuf.
50816 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50818         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50819         * elf/Makefile ($(objpfx)ld.so): Likewise.
50821         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50822         Don't list ld.so twice in dependencies.
50824         * posix/bug-regex31.c: Include <stdlib.h>.
50826         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50828         * nis/nss_compat/compat-spwd.c
50829         (getspent_next_nss_netgr): Remove unused variable.
50830         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50832         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50833         nonmembers" output to use the right array.
50835         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50837         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50839         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50840         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50841         * catgets/gencat.c (read_input_file): Likewise.
50842         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50844         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50845         variable definition inside #if's controlling its use.
50847         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50849         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50851         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50853         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50854         unreachable code.
50856         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50858         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50859         * configure: Regenerated.
50861         * Makerules: Revert last change.
50862         * elf/Makefile: Likewise.
50864 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50866         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50867         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50868         (reloc-link): Likewise.
50870 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50872         * elf/Makefile: Add rules to build pldd.
50873         * elf/pldd.c: New file.
50874         * elf/pldd-xx.c: New file.
50876 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50878         * version.h: Update for 2.15 development version.
50880 2011-06-07  David S. Miller  <davem@davemloft.net>
50882         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50883         ifuncs.
50884         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50885         elf_machine_lazy_rel): Likewise.
50886         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50887         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50888         elf_machine_lazy_rel): Likewise.
50889         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50890         dl_hwcap via passed in argument.
50891         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50892         Likewise.
50894 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50896         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50898 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50900         [BZ #12849]
50901         * manual/fdl-1.1.texi: New file, verbatim from:
50902         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50903         * manual/lgpl-2.1.texi: New file, verbatim from:
50904         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50905         * manual/Makefile (licenses): New variable, list those new file names.
50906         (texis): Use it.
50907         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50909         * manual/fdl.texi: File removed.
50910         * manual/lesser.texi: File removed.
50911         * manual/libc.texinfo (Copying, Documentation License):
50912         Use new @include file names, put @appendix directive before @include.
50914 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50916         [BZ #12841]
50917         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50918         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50919         (mq_open): Add __NTH.
50921 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50924         Assume Intel Core i3/i5/i7 processor if AVX is available.
50926 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50928         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50929         typo.
50931 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50934         memory.  Use alloca_account.  Fix memory leak when retrying.
50936 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50938         * version.h (RELEASE): Bump for 2.14 release.
50939         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50941         * config.make.in (RANLIB): Remove entry.
50943 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50945         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50946         (libc.pot): Work around missing support for .ksh extension in xgettext.
50948         [BZ #12684]
50949         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50950         if both request failed.
50951         (send_dg): In case of server errors clear resplen or *resplen2.
50953         [BZ #12454]
50954         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50955         when there are multiple maps.
50956         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50957         (_dl_fini): Remove test here.
50959         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50961 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50963         [BZ #12350]
50964         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50965         bit from old_res_options.
50966         (gaih_inet): Likewise.
50968         [BZ #11099]
50969         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50970         as signed.
50972         * resolv/res_init.c (res_setoptions): Make the code more compact.
50974         [BZ #11558]
50975         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50976         set RES_USEVC.
50978         [BZ #11634]
50979         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50981         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50983         [BZ #11781]
50984         * malloc/malloc.h: Declare malloc hook variables as volatile.
50986         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50987         in last patch.
50989         [BZ #11799]
50990         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50991         raise in the comment.
50992         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50993         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50994         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50996 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50998         [BZ #12811]
50999         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51000         grow the buffers more if it already has to be sufficient.
51001         (build_wcs_upper_buffer): Likewise.
51002         * posix/regexec.c (check_matching): Likewise.
51003         (clean_state_log_if_needed): Likewise.
51004         (extend_buffers): Don't enlarge buffers beyond size of the input
51005         buffer.
51006         Patches mostly by Emil Wojak <emil@wojak.eu>.
51007         * posix/bug-regex32.c: New file.
51008         * posix/Makefile (tests): Add bug-regex32.
51010         * locale/findlocale.c (_nl_find_locale): Return right away if
51011         _nl_explode_name failed.
51012         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51014         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51016         * debug/xtrace.sh: Unify messages.
51017         * malloc/memusage.sh: Likewise.
51019         [BZ #12813]
51020         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51021         time symbol from vDSO.  Substitute with vsyscall if not available.
51022         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51023         __vdso_time.
51025         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51026         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51027         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51028         Add sendmmsg and internal_sendmmsg.
51029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51030         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51031         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51033         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51034         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51035         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51037 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51039         [BZ #12813]
51040         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51041         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51042         available.
51043         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51044         __vdso_getcpu.
51046         [BZ #12814]
51047         * iconvdata/Makefile (tests): Add bug-iconv9.
51048         * iconvdata/bug-iconv9.c: New file.
51050 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51052         [BZ #12814]
51053         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51055 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51058         (struct user_regs_struct): Change intcs field back to cs.
51060 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51062         * po/ja.po: Update from translation team.
51064 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51066         [BZ #12795]
51067         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51068         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51070 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51072         * stdlib/longlong.h: Update from GCC.
51074 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51076         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51077         parameter name.
51078         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51079         Add parameter name.
51080         (__sysconf): Pass it down.
51082 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51084         [BZ #12671]
51085         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51086         some situations.
51087         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51088         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51089         add in in __libc_use_alloca calls.  Adjust callers.
51090         (glob): Use malloc in some situations.
51092         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51093         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51094         pltexit.
51096 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51098         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51099         and CLOCK_BOOTTIME_ALARM.
51101         [BZ #12782]
51102         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51103         is returned.
51105         * string/_strerror.c (__strerror_r): Print negative errors as signed
51106         numbers.
51108         [BZ #12777]
51109         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51110         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51111         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51113         * configure.in: Fix typo in redirection and correct removal of test
51114         files in two cases.
51116         [BZ #12788]
51117         * locale/setlocale.c (new_composite_name): Fix test to check for
51118         identical name of all categories.
51120         [BZ #12792]
51121         * libio/filedoalloc.c (local_isatty): New function.
51122         (_IO_file_doallocate): Use local_isatty.
51123         * stdio-common/perror.c (perror): In case a new stream is used
51124         forward the stream error.
51125         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51126         error flag.
51128 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51130         [BZ #11869]
51131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51132         alloca.
51133         * include/alloca.h (extend_alloca_account): Define.
51135         [BZ #11857]
51136         * posix/regex.h: Fix comments with documentation of user-accessible
51137         fields after compilation and describe correct free'ing of pattern
51138         after re_compile_pattern.
51139         Patch by Reuben Thomas <rrt@sc3d.org>.
51141 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51143         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51144         and -mno-altivec to prevent the compiler from using Altivec and/or
51145         VSX instructions when the corresponding registers are not available.
51147 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51149         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51151 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51153         * libio/freopen.c (freopen): Use __dup2, not dup2.
51154         * libio/freopen64.c (freopen64): Likewise.
51156 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51158         [BZ #12775]
51159         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51160         * math/Makefile (tests): Add test-powl.
51161         (CFLAGS-test-powl.c): Define.
51162         * math/test-powl.c: New file.
51164 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51166         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51168 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51170         [BZ #11837]
51171         * iconvdata/gb18030.c: Update to GB18020-2005.
51173 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51175         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51176         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51177         Patch by Aharon Robbins <arnold@skeeve.com>.
51179         [BZ #11892]
51180         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51181         on the stack.
51183         [BZ #11895]
51184         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51185         through underflows.
51187         [BZ #12766]
51188         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51189         point to strings before performing equality test for error_one_per_line
51190         mode.
51192         [BZ #11697]
51193         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51195         [BZ #11820]
51196         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51197         (struct user_fpregs_struct): Avoid __uint*_t types.
51199         [BZ #6420]
51200         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51201         symbol info.  Use it instead of calling _dl_addr locally.
51202         (lock_and_info): New function.
51203         (tr_freehook): Call lock_and_info and pass symbol info as additional
51204         parameter to tr_where.
51205         (tr_mallochook): Likewise.
51206         (tr_reallochook): Likewise.
51207         (tr_memalignhook): Likewise.
51209         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51210         used and couldn't be at all thread-safe.
51212 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51214         * libio/freopen.c (freopen): Don't close old file descriptor
51215         before the new one is opened.  Instead dup the new file descriptor
51216         to the old one after the new stream is created.
51217         * libio/freopen64.c (freopen64): Likewise.
51218         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51219         * libio/fileops.c (_IO_new_file_close_it): Handle new
51220         _IO_FLAGS2_NOCLOSE flag.
51221         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51222         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51223         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51224         _IO_FLAGS2_NOCLOSE flag.
51225         * include/unistd.h: Add hidden_proto for dup3.
51226         Define __have_dup3.
51227         * io/dup3.c: Define hidden symbol.
51228         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51230         [BZ #7101]
51231         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51232         when an incomplete long option is used.
51233         * posix/tst-getopt_long1.c: New file.
51234         * posix/Makefile (tests): Add tst-getopt_long1.
51236         [BZ #10138]
51237         * scripts/config.guess: Update from autoconf-2.68.
51238         * scripts/config.sub: Likewise.
51240         [BZ #10157]
51241         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51242         tests into ...
51243         (has_cpuclock): ...this.  New function.
51244         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51245         macro here based on has_cpuclock code.
51247         [BZ #10149]
51248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51249         First byte (not low byte) is now always NUL.
51250         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51252         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51253         Use non-cancelable interfaces.
51255         [BZ #9809]
51256         * locale/iso-639.def: Add entry for Sorani.
51258         [BZ #11901]
51259         * include/stdlib.h: Move include protection to the right place.
51260         Define abort_msg_s.  Declare __abort_msg with it.
51261         * stdlib/abort.c (__abort_msg): Adjust type.
51262         * assert/assert.c (__assert_fail_base): New function.  Majority
51263         of code from __assert_fail.  Allocate memory for __abort_msg with
51264         mmap.
51265         (__assert_fail): Now call __assert_fail_base.
51266         * assert/assert-perr.c: Remove bulk of implementation.  Use
51267         __assert_fail_base.
51268         * include/assert.hL Declare __assert_fail_base.
51269         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51270         mmap.
51271         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51273 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51275         [BZ #11952]
51276         [BZ #12453]
51277         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51278         until all modules are registered in the DTV.
51279         * elf/Makefile: Add rules to build and run tst-tls19.
51280         * elf/tst-tls19.c: New file.
51281         * elf/tst-tls19mod1.c: New file.
51282         * elf/tst-tls19mod2.c: New file.
51283         * elf/tst-tls19mod3.c: New file.
51284         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51286         [BZ #12083]
51287         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51288         correctly.
51290         [BZ #12601]
51291         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51292         two-byte sequence errors.
51293         * iconvdata/Makefile (tests): Add bug-iconv8.
51294         * iconvdata/bug-iconv8.c: New file.
51296         [BZ #12626]
51297         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51298         buf2 definition.
51300         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51302         [BZ #12432]
51303         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51304         (dummy_getcfa): New function.
51305         (init): Get _Unwind_GetCFA address, use dummy if not found.
51306         (backtrace_helper): In recursion check, also check whether CFA changes.
51307         (__backtrace): Completely initialize arg.
51309         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51310         storing incomplete byte sequence in state object.  Avoid testing for
51311         guaranteed too small input if we know there is enough data available.
51313 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51315         * Makeconfig (+link-pie): Indent.
51316         * Rules (binaries-pie): Define if $(have-fpie) and
51317         $(build-shared).
51318         (binaries-shared): Also filter out $(binaries-pie).
51319         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51320         * nscd/Makefile (others-pie): Add nscd.
51321         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51322         ($(objpfx)nscd): Remove command override.
51323         * login/Makefile (others-pie): Add pt_chown.
51324         ($(objpfx)pt_chown): Remove command override.
51325         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51326         remove command overrides.
51328 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51330         * libio/tst_putwc.c: Fix error messages.
51332         [BZ #12724]
51333         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51334         currently writing and seek to current position when not.
51335         * libio/Makefile (tests): Add bug-fclose1.
51336         * libio/bug-fclose1.c: New file.
51338 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51340         [BZ #12511]
51341         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51342         don't set DF_1_NODELETE here.
51343         (do_lookup_x): When entering new entry test for copy relocation
51344         and if necessary set DF_1_NODELETE flag.
51345         * elf/tst-unique4.cc: New file.
51346         * elf/tst-unique4.h: New file.
51347         * elf/tst-unique4lib.cc: New file.
51348         * elf/Makefile: Add rules to build and run tst-unique4.
51349         Patch by Piotr Bury <pbury@goahead.com>.
51351 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
51353         [BZ #12052]
51354         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51356         [BZ #12625]
51357         * misc/mntent_r.c (addmntent): Flush the stream after the output
51359         [BZ #12393]
51360         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51361         (is_trusted_path_normalize): Skip initial colon.  Append slash
51362         to empty buffer.  Duplicate is_trusted_path code but allow
51363         constructed patch to be prefix.
51364         (is_dst): Allow $ORIGIN followed by /.
51365         (_dl_dst_substitute): Correct clearing of check_for_trusted.
51366         Correct testing of result of is_trusted_path_normalize
51367         (decompose_rpath): Fix warning.
51369 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
51371         [BZ #11257]
51372         * grp/initgroups.c (internal_getgrouplist): When we found the service
51373         list through the initgroups entry in nsswitch.conf do not always
51374         continue on a successful lookup.  Don't always use the
51375         __nss_group_database value if it is set.
51376         * nss/nsswitch.conf (initgroups): Change action for successful db
51377         lookup to continue for compatibility.
51379 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
51381         [BZ #11532]
51382         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51383         and CP774 modules.
51384         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51385         and CP774 modules.
51386         * iconvdata/tst-tables.sh: Likewise.
51387         * iconvdata/cp770.c: New file.
51388         * iconvdata/cp771.c: New file.
51389         * iconvdata/cp772.c: New file.
51390         * iconvdata/cp773.c: New file.
51391         * iconvdata/cp774.c: New file.
51392         * iconvdata/testdata/CP770: New file.
51393         * iconvdata/testdata/CP770..UTF8: New file.
51394         * iconvdata/testdata/CP771: New file.
51395         * iconvdata/testdata/CP771..UTF8: New file.
51396         * iconvdata/testdata/CP772: New file.
51397         * iconvdata/testdata/CP772..UTF8: New file.
51398         * iconvdata/testdata/CP773: New file.
51399         * iconvdata/testdata/CP773..UTF8: New file.
51400         * iconvdata/testdata/CP774: New file.
51401         * iconvdata/testdata/CP774..UTF8: New file.
51403         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51404         END CHARMAP line.
51405         * iconvdata/gen-8bit-gap.sh: Likewise.
51406         * iconvdata/gen-8bit.sh: Likewise.
51408         * locale/iso-639.def: Add ary entry.
51410         [BZ #11258]
51411         * locale/C-translit.h.in: Add U20A1 transliteration.
51413         [BZ #12178]
51414         * locale/iso-639.def: Add wae entry.
51415         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51417         [BZ #12545]
51418         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51419         for n.
51421         [BZ #12711]
51422         * locale/C-translit.h.in: Add entry for U20B9.
51423         Patch by pravin.d.s@gmail.com.
51425 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51427         [BZ #12713]
51428         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51429         ENAMETOOLONG use generic getcwd.
51430         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51431         in rtld.  Use *stat64.
51432         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51433         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51434         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51435         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51436         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51437         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51438         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51439         __fstatat64 macros.
51440         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51441         * dirent/rewinddir.c: Add libc_hidden_def.
51442         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51443         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51445         * include/dirent.h (__alloc_dir): Add flags parameter.
51446         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51447         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51448         __alloc_dir.
51449         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51450         from fdopendir if O_CLOEXEC is already set.
51452 2011-03-15  Alan Modra  <amodra@gmail.com>
51454         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51455         l_tls_firstbyte_offset non-zero.  Save padding offset in
51456         l_tls_firstbyte_offset for later use.
51457         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51458         freeing static tls block.
51460 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51462         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51463         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51464         being defined by the kernel headers.
51466 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51468         [BZ #12734]
51469         * resolv/resolv.h: Define RES_NOTLDQUERY.
51470         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51471         no-tld-query and set RES_NOTLDQUERY.
51472         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51473         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51474         modern BIND to search name as TLD unless forbidden.
51476 2011-05-07  Petr Baudis  <pasky@suse.cz>
51477             Ulrich Drepper  <drepper@gmail.com>
51479         [BZ #12393]
51480         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51481         (is_trusted_path): ...to here.
51482         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51483         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51484         using is_trusted_path_normalize() in setuid scripts.
51486 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51488         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51489         __BEGIN/__END_DECLS.
51491 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51494         NSS_STATUS_NOTFOUND if no record was found.
51496 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51498         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51499         (headers-not-in-tirpc): Remove rpc/netdb.h
51500         * resolv/netdb.h: Revert last change.
51502 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51504         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51505         circular dependency between libgcc.a and libc.a.
51507 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51509         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51510         * nis/Makefile: Don't install rpcsvc/*.
51511         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51512         instead of <rpc/types.h>.
51513         (MAXHOSTNAMELEN): Define.
51515 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51517         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51519 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51521         [BZ #12714]
51522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51523         gethostbyname4_r when IPv6 results are possible.
51525 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51527         [BZ #12723]
51528         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51529         _PC_PIPE_BUF handling.
51531 2011-04-30  Bruno Haible  <bruno@clisp.org>
51533         [BZ #12717]
51534         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51535         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51536         to 'int'.
51537         * inet/getnameinfo.c (getnameinfo): Likewise.
51539 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51541         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51542         to groups setting in database lookup.
51543         * nss/nsswitch.conf: Add initgroups entry.
51545 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51547         [BZ #12685]
51548         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51549         mode string.
51550         Patch by Eric Blake <eblake@redhat.com>.
51552 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51554         * sunrpc/Makefile (need-export-routines): Add svc_run.
51555         (routines): Remove svc_run.
51556         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51557         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51558         * sunrpc/svc_run.c (svc_run): Likewise.
51559         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51561 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51563         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51564         problem in reallocation in last patch.
51566 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51568         * sunrpc/Makefile: Move inclusion of Rules.
51570 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51572         * nss/nss_files/files-initgroups.c: New file.
51573         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51574         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51575         _nss_files_initgroups_dyn.
51577 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51579         * elf/elf.h (R_ARM_IRELATIVE): Define.
51581 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51583         * po/ru.po: Update from translation team.
51585 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51587         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51588         dependencies.
51590 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51592         [BZ #12653]
51593         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51594         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51595         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51596         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51599 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51602         differing bytes.
51603         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51604         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51605         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51607 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51609         [BZ #12420]
51610         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51611         storing it.
51612         * stdlib/bug-getcontext.c: New file.
51613         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51615 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51617         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51618         instructions into .machine "z9-109".
51619         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51620         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51622 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51624         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51625         between environment variables and auxiliary vector.
51627 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51629         * Makefile: Add rules to build linkobj/libc.so.
51630         * include/libc-symbols.h: Define libc_hidden_nolink.
51631         * include/rpc/auth.h: Mark functions which are to be hidden.
51632         * include/rpc/auth_des.h: Likewise.
51633         * include/rpc/auth_unix.h: Likewise.
51634         * include/rpc/clnt.h: Likewise.
51635         * include/rpc/des_crypt.h: Likewise.
51636         * include/rpc/key_prot.h: Likewise.
51637         * include/rpc/pmap_clnt.h: Likewise.
51638         * include/rpc/pmap_prot.h: Likewise.
51639         * include/rpc/pmap_rmt.h: Likewise.
51640         * include/rpc/rpc_msg.h: Likewise.
51641         * include/rpc/svc.h: Likewise.
51642         * include/rpc/svc_auth.h: Likewise.
51643         * include/rpc/xdr.h: Likewise.
51644         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51645         * nss/Makefile: Likewise.
51646         * sunrpc/Makefile: Don't install headers.  Build library with normal
51647         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51648         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51649         for the compat linking library.  Remove use of INTDEF/INTUSE.
51650         * sunrpc/auth_none.c: Likewise.
51651         * sunrpc/auth_unix.c: Likewise.
51652         * sunrpc/authdes_prot.c: Likewise.
51653         * sunrpc/authuxprot.c: Likewise.
51654         * sunrpc/clnt_gen.c: Likewise.
51655         * sunrpc/clnt_perr.c: Likewise.
51656         * sunrpc/clnt_raw.c: Likewise.
51657         * sunrpc/clnt_simp.c: Likewise.
51658         * sunrpc/clnt_tcp.c: Likewise.
51659         * sunrpc/clnt_udp.c: Likewise.
51660         * sunrpc/clnt_unix.c: Likewise.
51661         * sunrpc/des_crypt.c: Likewise.
51662         * sunrpc/des_soft.c: Likewise.
51663         * sunrpc/get_myaddr.c: Likewise.
51664         * sunrpc/key_call.c: Likewise.
51665         * sunrpc/key_prot.c: Likewise.
51666         * sunrpc/netname.c: Likewise.
51667         * sunrpc/pm_getmaps.c: Likewise.
51668         * sunrpc/pm_getport.c: Likewise.
51669         * sunrpc/pmap_clnt.c: Likewise.
51670         * sunrpc/pmap_prot.c: Likewise.
51671         * sunrpc/pmap_prot2.c: Likewise.
51672         * sunrpc/pmap_rmt.c: Likewise.
51673         * sunrpc/publickey.c: Likewise.
51674         * sunrpc/rpc_cmsg.c: Likewise.
51675         * sunrpc/rpc_common.c: Likewise.
51676         * sunrpc/rpc_dtable.c: Likewise.
51677         * sunrpc/rpc_prot.c: Likewise.
51678         * sunrpc/rpc_thread.c: Likewise.
51679         * sunrpc/rtime.c: Likewise.
51680         * sunrpc/svc.c: Likewise.
51681         * sunrpc/svc_auth.c: Likewise.
51682         * sunrpc/svc_authux.c: Likewise.
51683         * sunrpc/svc_raw.c: Likewise.
51684         * sunrpc/svc_run.c: Likewise.
51685         * sunrpc/svc_simple.c: Likewise.
51686         * sunrpc/svc_tcp.c: Likewise.
51687         * sunrpc/svc_udp.c: Likewise.
51688         * sunrpc/svc_unix.c: Likewise.
51689         * sunrpc/svcauth_des.c: Likewise.
51690         * sunrpc/xcrypt.c: Likewise.
51691         * sunrpc/xdr.c: Likewise.
51692         * sunrpc/xdr_array.c: Likewise.
51693         * sunrpc/xdr_float.c: Likewise.
51694         * sunrpc/xdr_intXX_t.c: Likewise.
51695         * sunrpc/xdr_mem.c: Likewise.
51696         * sunrpc/xdr_rec.c: Likewise.
51697         * sunrpc/xdr_ref.c: Likewise.
51698         * sunrpc/xdr_sizeof.c: Likewise.
51699         * sunrpc/xdr_stdio.c: Likewise.
51701 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51703         [BZ #12650]
51704         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51705         * sysdeps/ia64/dl-tls.h: Likewise.
51706         * sysdeps/powerpc/dl-tls.h: Likewise.
51707         * sysdeps/s390/dl-tls.h: Likewise.
51708         * sysdeps/sh/dl-tls.h: Likewise.
51709         * sysdeps/sparc/dl-tls.h: Likewise.
51710         * sysdeps/x86_64/dl-tls.h: Likewise.
51711         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51713 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51715         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51716         rpath element also skip the following colon.
51717         (expand_dynamic_string_token): Add is_path parameter and pass
51718         down to DL_DST_REQUIRED and _dl_dst_substitute.
51719         (decompose_rpath): Call expand_dynamic_string_token with
51720         non-zero is_path.  Ignore empty rpaths.
51721         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51722         with zero is_path.
51724 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51727         Make cancelable.
51729 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51731         [BZ #12655]
51732         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51733         Patch by Filipe David Manana <fdmanana@apache.org>.
51735 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51738         Maintain aligned stack.
51739         (CHECK_RSP): Remove unused macro.
51741 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51743         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51744         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51746 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51748         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51750         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51752 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51754         [BZ #12518]
51755         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51756         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51757         * sysdeps/x86_64/memmove.c: New file.
51758         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51759         (memcpy): Renamed to ...
51760         (__new_memcpy): This.
51761         (memcpy): Provide GLIBC_2_14 memcpy.
51762         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51763         (memcpy): Provide GLIBC_2_2_5 memcpy.
51765 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51767         [BZ #12631]
51768         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51770 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51772         * misc/syncfs.c: New file.
51773         * misc/Makefile (routines): Add syncfs.
51774         * posix/unistd.h: Declare syncfs.
51775         * sysdeps/unix/syscalls.list: Add syncfs.
51777 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51779         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51780         open_by_handle_at.
51781         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51782         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51783         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51784         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51786         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51787         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51789 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51791         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51792         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51793         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51794         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51795         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51797         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51799         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51800         sync_file_range.c with -fexceptions.
51801         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51802         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51803         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51804         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51805         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51806         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51807         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51808         sync_file_range as cancellation point
51809         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51810         now a wrapper around __call_sync_file_range with cancellation handling.
51811         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51812         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51813         function name to __call_sync_file_range.
51814         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51815         Add call_sync_file_range.
51817 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51820         bits/timex.h.
51822 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51824         * iconv/iconv.h: Fix typo in comment.
51825         * io/fcntl.h: Likewise.
51826         * libio/stdio.h: Likewise.
51827         * posix/spawn.h: Likewise.
51828         * posix/unistd.h: Likewise.
51829         * stdlib/stdlib.h: Likewise.
51830         * time/time.h: Likewise.
51831         * wcsmbs/wchar.h: Likewise.
51833         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51834         open_by_handle): Add.
51835         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51836         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51837         Augment a few comments.
51838         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51840         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51842         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51843         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51844         open_by_handle.
51846         * io/fcntl.h (AT_EMPTY_PATH): Define.
51848 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51850         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51851         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51852         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51853         to...
51854         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51855         * Versions.def: Add GLIBC_2.14.
51856         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51857         Export.
51859 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51861         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51862         round counter.
51863         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51865 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51867         [BZ #12597]
51868         * string/test-strncmp.c (do_page_test): New function.
51869         (check2): Likewise.
51870         (test_main): Call check2.
51871         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51873 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51875         [BZ #12587]
51876         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51877         Handle cache information in CPU leaf 4.
51878         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51880 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51882         [BZ #12583]
51883         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51884         character representation.
51885         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51887 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51889         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51890         END(__isnan) to END(__isnanf) to match function entry point/label
51891         EALIGN(__isnanf,...).
51893 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51895         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51897 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51899         [BZ #12510]
51900         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51901         copy from the symbol referenced in the relocation to initialize the
51902         used variable.
51903         Patch by Piotr Bury <pbury@goahead.com>.
51904         * elf/Makefile: Add rules to build and tst-unique3.
51905         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51906         * elf/tst-unique3.cc: New file.
51907         * elf/tst-unique3.h: New file.
51908         * elf/tst-unique3lib.cc: New file.
51909         * elf/tst-unique3lib2.cc: New file.
51911         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51913 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51915         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51916         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51917         to _start.
51919 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51921         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51922         to-be-loaded object along a path to loader is ld.so.
51924 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51925             Ulrich Drepper  <drepper@gmail.com>
51927         * sysdeps/x86_64/memset.S: After aligning destination, code
51928         branches to different locations depending on the value of
51929         misalignment, when multiarch is enabled. Fix this.
51931 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51933         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51934         Set _x86_64_preferred_memory_instruction for AMD processsors.
51935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51936         Set bit_Prefer_SSE_for_memop for AMD processors.
51938 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51940         * libio/fmemopen.c (fmemopen): Optimize a bit.
51942 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51944         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51946 2011-03-03  Roland McGrath  <roland@redhat.com>
51948         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51950 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51952         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51953         __bzero_ultra1 instead of __memset_ultra1.
51955 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51956             Ulrich Drepper  <drepper@gmail.com>
51958         [BZ #12509]
51959         * include/link.h (struct link_map): Add l_orig_initfini.
51960         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51961         returning unsuccessfully.
51962         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51963         close of a file loaded at startup, restore the original l_initfini
51964         list.
51965         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51966         list, store the pointer.
51967         * elf/Makefile ($(objpfx)noload-mem): New rule.
51968         (noload-ENV): Define.
51969         (tests): Add $(objpfx)noload-mem.
51970         * elf/noload.c: Include <memcheck.h>.
51971         (main): Call mtrace.  Close all opened handles.
51973 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51975         [BZ #12454]
51976         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51977         dependencies are missing.
51979 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51981         Fix __if_freereq crash: Unlike the generic version which uses free,
51982         Hurd needs munmap.
51983         * sysdeps/mach/hurd/ifreq.h: New file.
51985 2011-01-27  Petr Baudis  <pasky@suse.cz>
51986             Ulrich Drepper  <drepper@gmail.com>
51988         [BZ 12445]#
51989         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51990         to extend_alloca().
51991         * stdio-common/bug23.c: New file.
51992         * stdio-common/Makefile (tests): Add bug23.
51994 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51995             Ulrich Drepper  <drepper@gmail.com>
51997         [BZ #12489]
51998         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51999         before performing relro protection.  At old place add assertion
52000         to make sure nothing changed.
52002 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52003             Glauber de Oliveira Costa  <glommer@gmail.com>
52005         * elf/elf.h: Add new ARM TLS relocs.
52007 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52010         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52011         cast from r3.
52012         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52013         'tests' variable.
52014         * sysdeps/wordsize-64/tst-writev.c: New file.
52016 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52018         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52019         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52020         insns in _dl_start to prevent a TOC reference before relocs are
52021         resolved.
52023 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52025         [BZ #12469]
52026         * Makeconfig: Remove RANLIB definition.
52027         * Makerules: Don't use RANLIB.
52028         * aclocal.m4: Remove ranlib test.
52029         * configure.in: No need to check for ranlib.
52030         * elf/rtld-Rules: Don't use RANLIB.
52032 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52034         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52035         protection macro.
52036         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52037         inclusion protection macro.
52039         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52040         SIGRTMIN and SIGRTMAX and print information in that case only when
52041         SIGRTMIN is defined.
52043 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52045         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52046         arginfo fn returning -1.
52048         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52049         and thousands string is zero terminated.
52051 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52054         sysdeps/unix/sysv/linux/bits/socket.h.
52056 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52058         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52059         (__CPU_COUNT): Remove old macros.
52060         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52061         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52062         (__CPU_ALLOC, __CPU_FREE): Add macros.
52063         (__sched_cpualloc, __sched_cpufree): Add declarations.
52065 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52067         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52068         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52069         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52070         (readdhstai): Return value of addhstaiX call.
52071         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52072         (addgrbyX): Return value returned by cache_addgr.
52073         (readdgrbyname): Return value returned by addgrbyX.
52074         (readdgrbygid): Likewise.
52075         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52076         (addpwbyX): Return value returned by cache_addpw.
52077         (readdpwbyname): Return value returned by addhstbyX.
52078         (readdpwbyuid): Likewise.
52079         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52080         (addservbyX): Return value returned by cache_addserv.
52081         (readdservbyname): Return value returned by addservbyX:
52082         (readdservbyport): Likewise.
52083         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52084         (addhstbyX): Return value returned by cache_addhst.
52085         (readdhstbyname): Return value returned by addhstbyX.
52086         (readdhstbyaddr): Likewise.
52087         (readdhstbynamev6): Likewise.
52088         (readdhstbyaddrv6): Likewise.
52089         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52090         (readdinitgroups): Return value returned by addinitgroupsX.
52091         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52092         (prune_cache): Keep track of timeout value of re-added entries.
52093         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52094         * nscd/nscd.h: Adjust prototypes of readd* functions.
52096 2011-02-04  Roland McGrath  <roland@redhat.com>
52098         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52099         (nis_stats): Likewise.
52100         * nis/nis_modify.c (nis_modify): Likewise.
52101         * nis/nis_remove.c (nis_remove): Likewise.
52102         * nis/nis_add.c (nis_add): Likewise.
52104         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52106         * posix/fnmatch_loop.c: Add some consts.
52108         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52110 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52112         [BZ #12460]
52113         * config.make.in (config-cflags-novzeroupper): Define.
52114         * configure.in: Substitute libc_cv_cc_novzeroupper.
52115         * elf/Makefile (AVX-CFLAGS): Define.
52116         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52117         (CFLAGS-tst-auditmod4a.c): Likewise.
52118         (CFLAGS-tst-auditmod4b.c): Likewise.
52119         (CFLAGS-tst-auditmod6b.c): Likewise.
52120         (CFLAGS-tst-auditmod6c.c): Likewise.
52121         (CFLAGS-tst-auditmod7b.c): Likewise.
52122         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52124 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52126         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52127         function to the callback.
52128         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52130 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52132         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52133         of errno.
52135 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52137         [BZ #11724]
52138         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52139         of constructors.
52140         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52141         of destructors.
52142         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52144         [BZ #11724]
52145         * elf/Makefile: Add rules to build and run new test.
52146         * elf/tst-initorder.c: New file.
52147         * elf/tst-initorder.exp: New file.
52148         * elf/tst-initordera1.c: New file.
52149         * elf/tst-initordera2.c: New file.
52150         * elf/tst-initordera3.c: New file.
52151         * elf/tst-initordera4.c: New file.
52152         * elf/tst-initorderb1.c: New file.
52153         * elf/tst-initorderb2.c: New file.
52154         * elf/tst-order-a1.c: New file.
52155         * elf/tst-order-a2.c: New file.
52156         * elf/tst-order-a3.c: New file.
52157         * elf/tst-order-a4.c: New file.
52158         * elf/tst-order-b1.c: New file.
52159         * elf/tst-order-b2.c: New file.
52160         * elf/tst-order-main.c: New file.
52161         New test case by George Gensure <werkt0@gmail.com>.
52163 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52166         decoding ACE if AI_CANONIDN.
52168 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52170         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52172 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52174         * version.h (RELEASE): Bump for 2.13 release.
52175         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52177         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52179         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52180         MADV_NOHUGEPAGE.
52181         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52182         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52183         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52184         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52185         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52186         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52188         * posix/getconf.c: Update copyright year.
52189         * catgets/gencat.c: Likewise.
52190         * csu/version.c: Likewise.
52191         * debug/catchsegv.sh: Likewise.
52192         * debug/xtrace.sh: Likewise.
52193         * elf/ldconfig.c: Likewise.
52194         * elf/ldd.bash.in: Likewise.
52195         * elf/sprof.c (print_version): Likewise.
52196         * iconv/iconv_prog.c: Likewise.
52197         * iconv/iconvconfig.c: Likewise.
52198         * locale/programs/locale.c: Likewise.
52199         * locale/programs/localedef.c: Likewise.
52200         * malloc/memusage.sh: Likewise.
52201         * malloc/mtrace.pl: Likewise.
52202         * nscd/nscd.c (print_version): Likewise.
52203         * nss/getent.c: Likewise.
52205         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52206         PF_CAIF, and PF_ALG.
52207         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52209 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52211         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52212         (modules-names): Use them.
52213         (ifunc-test-modules, ifunc-pie-tests): Define.
52214         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52215         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52216         (test-extras): Likewise.
52217         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52218         $(compile-command.c).
52219         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52220         (all-built-dso): Define.
52221         (check-textrel.out, check-execstack.out): Depend on it.
52223         * configure.in: Don't override --enable-multi-arch.
52225 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52227         [BZ #6812]
52228         * nscd/hstcache.c (tryagain): Define.
52229         (cache_addhst): Return tryagain not notfound for temporary errors.
52230         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52231         failed.
52233 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52235         [BZ #10563]
52236         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52237         to make the syscall.
52238         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52240         [BZ #12378]
52241         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52242         and fall back to matching as normal character if the string ends before
52243         the matching ']' is found.  This is what POSIX requires.
52244         * posix/testfnm.c: Adjust test result.
52245         * posix/globtest.sh: Adjust test result.  Add new test.
52246         * posix/tst-fnmatch.input: Likewise.
52247         * posix/tst-fnmatch2.c: Add new test.
52249 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52251         * elf/Makefile (check-execstack): Revert last change.  Depend on
52252         check-execstack.h.
52253         (check-execstack.h): New target.
52254         (generated): Add check-execstack.h.
52255         * elf/check-execstack.c: Include "check-execstack.h".
52256         (main): Revert last change.
52257         (handle_file): Return zero if GNU_STACK is absent and
52258         DEFAULT_STACK_PERMS doesn't include PF_X.
52260 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52262         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52263         in child fails because the descriptor is already closed.
52264         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52265         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52266         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52268         [BZ #12397]
52269         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52270         syscall.
52272         [BZ #10484]
52273         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52274         temporary buffer used to handle multi lookups locally.
52275         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52277 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52279         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52280         loader is ld.so.
52282 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52284         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52285         alignment for SSE2.
52287 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52289         [BZ #12394]
52290         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52291         characters.  When rounding increased number of integer digits recompute
52292         number of groups.
52293         * stdio-common/tst-grouping.c: New file.
52294         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52296 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52298         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52299         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52301         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52302         void.
52303         * bits/select.h: Likewise.
52305 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52307         * po/ja.po: Update from translation team.
52309 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52311         [BZ #11155]
52312         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52313         implementation just like for lxstat, fxstatat, et al.
52315 2010-12-27  Jim Meyering  <meyering@redhat.com>
52317         [BZ #12348]
52318         * posix/regexec.c (build_trtable): Return failure indication upon
52319         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52321 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52323         [BZ #12201]
52324         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52325         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52326         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52327         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52329         [BZ #12207]
52330         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52332         [BZ #12204]
52333         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52334         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52336 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52338         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52339         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52340         script has SORT_BY_INIT_PRIORITY.
52341         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52342         NO_CTORS_DTORS_SECTIONS is defined.
52343         * elf/soinit.c: Likewise.
52344         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52345         NO_CTORS_DTORS_SECTIONS is defined.
52346         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52347         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52348         * sysdeps/sh/init-first.c: Likewise.
52349         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52351 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
52353         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52354         always use the slow path.
52356 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
52358         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52359         similar rule which adds the sysdep directories to the header search in
52360         order to pick up the correct platform stackinfo.h.
52361         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52362         perform test if it is, otherwise return successfully without testing.
52363         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52364         DEFAULT_STACK_PERMS define in stackinfo.h.
52365         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52366         defined in stackinfo.h.
52367         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52368         DEFAULT_STACK_PERMS defined in stackinfo.h.
52369         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52370         * sysdeps/ia64/stackinfo.h: Likewise.
52371         * sysdeps/s390/stackinfo.h: Likewise.
52372         * sysdeps/sh/stackinfo.h: Likewise.
52373         * sysdeps/sparc/stackinfo.h: Likewise.
52374         * sysdeps/x86_64/stackinfo.h: Likewise.
52375         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52376         PF_X for powerpc64.  Retain PF_X for powerpc32.
52378 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
52380         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52381         accurately.
52382         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52383         GETDENTS_64BIT_ALIGNED.
52385 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
52387         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52389 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52391         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52392         _GNU_SOURCE.
52394         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52395         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52396         Remove __restrict.
52397         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52398         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52400 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52402         [BZ #11655]
52403         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52404         are initialized.
52406 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52408         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52410 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52412         * po/it.po: Update from translation team.
52414 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52417         unused codes.
52419 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52421         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52423 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52425         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52426         specially.
52427         (gaih_getanswer_slice): Likewise.
52429 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52433 2010-05-31  Petr Baudis  <pasky@suse.cz>
52435         [BZ #11149]
52436         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52437         silently even in the chroot mode.
52439 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52441         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52442         last patch a bit.  Pretty printing
52444 2010-05-31  Petr Baudis <pasky@suse.cz>
52446         [BZ #10085]
52447         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52448         initialization of skip_initgroups_dyn.
52450 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52452         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52453         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52455 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52457         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52459 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52461         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52462         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52463         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52464         ($(objpfx)tst-fnmatch-mem): New rule.
52465         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52466         * posix/tst-fnmatch.c (main): Call mtrace.
52468 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52471         Support Intel processor model 6 and model 0x2c.
52473 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52475         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52476           signed comparison.
52478 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52480         [BZ #12205]
52481         * string/test-strncasecmp.c (check_result): New function.
52482         (do_one_test): Use it.
52483         (check1): New function.
52484         (test_main): Use it.
52485         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52486         Support strcasecmp and strncasecmp.
52488 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52490         [BZ #12194]
52491         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52492         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52494 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52496         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52497         IFUNC support.
52498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52499         memset-x86-64.
52500         * sysdeps/x86_64/multiarch/bzero.S: New file.
52501         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52502         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52503         * sysdeps/x86_64/multiarch/memset.S: New file.
52504         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52506         Set bit_Prefer_SSE_for_memop for Intel processors.
52507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52508         Define.
52509         (index_Prefer_SSE_for_memop): Define.
52510         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52512 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52514         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52515         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52517 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52519         [BZ #12191]
52520         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52521         (__x86_64_raw_data_cache_size_half): Likewise.
52522         (__x86_64_raw_shared_cache_size): Likewise.
52523         (__x86_64_raw_shared_cache_size_half): Likewise.
52525         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52526         (__x86_64_raw_data_cache_size_half): Likewise.
52527         (__x86_64_raw_shared_cache_size): Likewise.
52528         (__x86_64_raw_shared_cache_size_half): Likewise.
52529         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52530         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52531         and __x86_64_raw_shared_cache_size_half.  Round
52532         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52533         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52534         to multiple of 256 bytes.
52536 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52538         [BZ #12167]
52539         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52540         of inacessible symlinks.  Verify result of symlink before returning it.
52541         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52542         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52544 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52546         * math/math.h (isinf): Fix typo in comment.
52548 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52550         * po/da.po: Update from translation team.
52552 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52554         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52555         is added to the list.
52557 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52558             Ulrich Drepper  <drepper@gmail.com>
52560         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52561         the global list here.  Move code to...
52562         (_dl_add_to_namespace_list): ...here.  New function.
52563         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52564         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52565         * elf/dl-load.c (lose): Don't remove the element from the list.
52566         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52567         (_dl_map_object): Likewise.
52569 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52571         [BZ #12159]
52572         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52573         into all bytes of SSE register.
52574         Patch by Richard Li <richardpku@gmail.com>.
52576 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52578         [BZ #12140]
52579         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52580         perturbing.
52582 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52584         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52585         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52586         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52587         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52589         submachine.
52590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52592 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52594         * include/dlfcn.h (__RTLD_SECURE): Define.
52595         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52596         mode & __RTLD_SECURE instead.
52597         (open_path): Rename preloaded parameter to secure.
52598         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52599         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52600         * elf/dl-deps.c (openaux): Likewise.
52601         * elf/rtld.c (struct map_args): Remove is_preloaded.
52602         (map_doit): Don't use it.
52603         (dl_main): Likewise.
52604         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52605         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52607 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52609         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52610         (sysd-rules-targets): Remove duplicates.
52611         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52612         rtld-%.$o dependency.
52614 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52616         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52617         _dl_map_object do it.
52619 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52621         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52622         fast fma builtins, define the macros in the C99 standard.
52623         (FP_FAST_FMAF): Likewise.
52624         (FP_FAST_FMAL): Likewise.
52625         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52627         * bits/mathdef.h: Update copyright year.
52628         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52630 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52632         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52633         builtins, define the macros in the C99 standard.
52634         (FP_FAST_FMAF): Likewise.
52635         (FP_FAST_FMAL): Likewise.
52636         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52637         multiply/add.
52638         (FP_FAST_FMAF): Likewise.
52640 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52642         [BZ #3268]
52643         * math/libm-test.inc (fma_test): Some new testcases.
52644         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52645         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52646         y and infinite z.  Do multiplication by C already in long double.
52647         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52649         y and infinite z.  Do bitwise or of inexact bit into u.d.
52650         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52651         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52652         * sysdeps/i386/fpu/s_fma.S: Removed.
52653         * sysdeps/i386/fpu/s_fmal.S: Removed.
52655 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52657         [BZ #3268]
52658         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52660         computation is not scheduled after fetestexcept.  Fix value
52661         of minimum denormal long double.
52663 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52665         [BZ #3268]
52666         * math/libm-test.inc (fma_test): Add some more tests.
52667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52668         correctly.
52670 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52672         * scripts/data/localplt-s390-linux-gnu.data: New file.
52673         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52675 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52677         [BZ #3268]
52678         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52679         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52680         instead of dbl-64.
52681         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52682         inlines.
52683         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52685         if one of x and y is very large and the other is subnormal.
52686         * sysdeps/s390/fpu/s_fmaf.c: New file.
52687         * sysdeps/s390/fpu/s_fma.c: New file.
52688         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52689         * sysdeps/powerpc/fpu/s_fma.S: New file.
52690         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52691         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52692         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52694 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52696         [BZ #3268]
52697         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52698         fma tests.
52699         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52700         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52701         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52702         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52703         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52704         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52705         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52707 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52709         [BZ #12078]
52710         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52711         * posix/bug-regex31.input: Add test case.
52713 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52715         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52716         * posix/bug-regex31.input: New file.
52718         [BZ #12078]
52719         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52720         (parse_sub_exp): Fix last change, use postorder.
52722         * posix/bug-regex31.c: New file.
52723         * posix/Makefile: Add rules to build and run bug-regex31.
52725         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52727         [BZ #12078]
52728         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52730         [BZ #12108]
52731         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52732         to have entries in sys_siglist.
52734         [BZ #12093]
52735         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52736         be NULL.
52738 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52740         [BZ #3268]
52741         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52742         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52743         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52744         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52745         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52746         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52747         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52748         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52749         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52750         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52751         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52752         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52753         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52754         * math/ftestexcept.c (fetestexcept): Likewise.
52755         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52756         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52757         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52758         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52759         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52760         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52761         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52763 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52765         [BZ #12107]
52766         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52767         newline.
52769 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52771         * string/bug-strstr1.c: New file.
52772         * string/Makefile: Add rules to build and run bug-strstr1.
52774 2010-10-05  Eric Blake  <eblake@redhat.com>
52776         [BZ #12092]
52777         * string/str-two-way.h (two_way_long_needle): Always clear memory
52778         when skipping input due to the shift table.
52780 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52782         [BZ #12005]
52783         * malloc/mcheck.c: Handle large requests.
52785         [BZ #12077]
52786         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52787         for strncmp and strncasecmp.
52788         * string/stratcliff.c: Add tests for strcmp and strncmp.
52789         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52791 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52793         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52794         __set_fpscr.
52796 2010-09-30  Andreas Jaeger  <aj@suse.de>
52798         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52799         (CGROUP_SUPER_MAGIC): Define.
52800         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52801         Handle btrfs and cgroup file systems.
52802         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52803         Likewise.
52805 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52807         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52808         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52810 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52812         [BZ #12067]
52813         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52814         trying to locate the ELF header.
52816 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52818         [BZ #11611]
52819         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52820         Mask out sign-bit copies when constructing f_fsid.
52822 2010-09-24  Petr Baudis <pasky@suse.cz>
52824         * debug/stack_chk_fail_local.c: Add missing licence exception.
52825         * debug/warning-nop.c: Likewise.
52827 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52829         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52830         implementing getdents64 using getdents syscall, set d_type if
52831         __ASSUME_GETDENTS32_D_TYPE.
52833 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52835         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52836         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52838 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52840         [BZ #12037]
52841         * posix/unistd.h: Undo change of feature selection for ftruncate from
52842         2010-01-11.
52844 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52846         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52847         detection.
52849 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52851         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52852         fanotify_mark.
52853         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52855 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52857         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52858         variables after CHECK_SP call.
52859         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52861 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52862             Ulrich Drepper  <drepper@redhat.com>
52864         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52865         re-relocationg ld.so.
52866         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52867         _dl_init_paths call.
52868         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52869         here anymore.
52871 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52873         * resolv/res_init.c (__res_vinit): Count the default server we added.
52875 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52876             Ulrich Drepper  <drepper@redhat.com>
52878         [BZ #11968]
52879         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52880         (____longjmp_chk): Use %ebx for saving value across system call.
52881         Add unwind info.
52883 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52885         * manual/Makefile: Don't mix pattern rules with normal rules.
52887 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52889         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52890         operation.
52891         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52892         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52893         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52894         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52895         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52896         Likewise.
52898 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52900         [BZ #11979]
52901         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52902         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52904 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52906         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52907         * sysdeps/x86_64/addmul_1.S: Likewise.
52908         * sysdeps/x86_64/lshift.S: Likewise.
52909         * sysdeps/x86_64/mul_1.S: Likewise.
52910         * sysdeps/x86_64/rshift.S: Likewise.
52911         * sysdeps/x86_64/sub_n.S: Likewise.
52912         * sysdeps/x86_64/submul_1.S: Likewise.
52914 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52916         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52917         Define __sched_param instead of SCHED_* and sched_param when
52918         <bits/sched.h> is included with __need_schedparam defined.
52919         * bits/sched.h [__need_schedparam]
52920         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52921         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52922         (__defined_schedparam): Define to 1.
52923         (__sched_param): New structure, identical to sched_param.
52924         (__need_schedparam): Undefine.
52926 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52928         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52929         (epoll_create1): Declare.
52931         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52933 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52935         [BZ #7066]
52936         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52937         shifting retval into place.
52939 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52941         * nis/rpcsvc/nis.h: Update copyright notice.
52942         * nis/rpcsvc/nis.x: Likewise.
52943         * nis/rpcsvc/nis_callback.h: Likewise.
52944         * nis/rpcsvc/nis_callback.x: Likewise.
52945         * nis/rpcsvc/nis_object.x: Likewise.
52946         * nis/rpcsvc/nis_tags.h: Likewise.
52947         * nis/rpcsvc/yp.h: Likewise.
52948         * nis/rpcsvc/yp.x: Likewise.
52949         * nis/rpcsvc/ypupd.h: Likewise.
52950         * nis/yp_xdr.c: Likewise.
52951         * nis/ypupdate_xdr.c: Likewise.
52953         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52954         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52955         (pmap_getport): Use __libc_rpc_getport.
52956         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52957         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52958         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52960 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52963         fanotify_mark.
52965 2010-08-27  Roland McGrath  <roland@redhat.com>
52967         * sysdeps/i386/i686/multiarch/Makefile
52968         (CFLAGS-varshift.c): New variable.
52970 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52972         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52973         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52975         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52977         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52979 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52981         * sysdeps/x86_64/strlen.S: Unroll the loop.
52982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52983         strlen-sse2 strlen-sse2-bsf.
52984         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52985         __strlen_no_bsf if bit_Slow_BSF is set.
52986         (__strlen_sse42): Removed.
52987         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52988         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52990 2010-08-25  Roland McGrath  <roland@redhat.com>
52992         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52993         * sysdeps/x86_64/multiarch/varshift.c: New file.
52994         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52995         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52996         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52997         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52999 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53002         strlen-sse2 strlen-sse2-bsf.
53003         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53004         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53005         (__strlen_sse2): Removed.
53006         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53007         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53009         bit_Slow_BSF for Atom.
53010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53011         (index_Slow_BSF): Define.
53012         (HAS_SLOW_BSF): Define.
53014 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53016         [BZ #10851]
53017         * resolv/res_init.c (__res_vinit): When no server address at all
53018         is given default to loopback.
53020 2010-08-24  Roland McGrath  <roland@redhat.com>
53022         * configure.in: Remove config-name.h generation.
53023         * configure: Regenerated.
53024         * config-name.in: File removed.
53025         * scripts/config-uname.sh: New file.
53026         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53027         ($(objdir)config-name.h): New target.
53029         * sunrpc/rpc_parse.h: Avoid nested comment.
53031 2010-08-24  Richard Henderson  <rth@redhat.com>
53032             Ulrich Drepper  <drepper@redhat.com>
53033             H.J. Lu  <hongjiu.lu@intel.com>
53035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53037         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53038         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53039         _mm_alignr_epi8 with _mm_loadu_si128.
53040         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53041         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53042         (__m128i_shift_right): Removed.
53043         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53044         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53045         * sysdeps/x86_64/multiarch/varshift.h: New file.
53046         * sysdeps/x86_64/multiarch/varshift.S: New file.
53048 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53050         * configure.in: Move assembler checks to before sysdep dir checking.
53052 2010-08-20  Petr Baudis  <pasky@suse.cz>
53054         * LICENSES: Sync the sunrpc license.
53056 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53058         * sunrpc/auth_des.c: Update copyright notice once again.
53059         * sunrpc/auth_none.c: Likewise.
53060         * sunrpc/auth_unix.c: Likewise.
53061         * sunrpc/authdes_prot.c: Likewise.
53062         * sunrpc/authuxprot.c: Likewise.
53063         * sunrpc/bindrsvprt.c: Likewise.
53064         * sunrpc/clnt_gen.c: Likewise.
53065         * sunrpc/clnt_perr.c: Likewise.
53066         * sunrpc/clnt_raw.c: Likewise.
53067         * sunrpc/clnt_simp.c: Likewise.
53068         * sunrpc/clnt_tcp.c: Likewise.
53069         * sunrpc/clnt_udp.c: Likewise.
53070         * sunrpc/clnt_unix.c: Likewise.
53071         * sunrpc/des_crypt.c: Likewise.
53072         * sunrpc/des_soft.c: Likewise.
53073         * sunrpc/get_myaddr.c: Likewise.
53074         * sunrpc/getrpcport.c: Likewise.
53075         * sunrpc/key_call.c: Likewise.
53076         * sunrpc/key_prot.c: Likewise.
53077         * sunrpc/openchild.c: Likewise.
53078         * sunrpc/pm_getmaps.c: Likewise.
53079         * sunrpc/pm_getport.c: Likewise.
53080         * sunrpc/pmap_clnt.c: Likewise.
53081         * sunrpc/pmap_prot.c: Likewise.
53082         * sunrpc/pmap_prot2.c: Likewise.
53083         * sunrpc/pmap_rmt.c: Likewise.
53084         * sunrpc/rpc/auth.h: Likewise.
53085         * sunrpc/rpc/auth_unix.h: Likewise.
53086         * sunrpc/rpc/clnt.h: Likewise.
53087         * sunrpc/rpc/des_crypt.h: Likewise.
53088         * sunrpc/rpc/key_prot.h: Likewise.
53089         * sunrpc/rpc/netdb.h: Likewise.
53090         * sunrpc/rpc/pmap_clnt.h: Likewise.
53091         * sunrpc/rpc/pmap_prot.h: Likewise.
53092         * sunrpc/rpc/pmap_rmt.h: Likewise.
53093         * sunrpc/rpc/rpc.h: Likewise.
53094         * sunrpc/rpc/rpc_des.h: Likewise.
53095         * sunrpc/rpc/rpc_msg.h: Likewise.
53096         * sunrpc/rpc/svc.h: Likewise.
53097         * sunrpc/rpc/svc_auth.h: Likewise.
53098         * sunrpc/rpc/types.h: Likewise.
53099         * sunrpc/rpc/xdr.h: Likewise.
53100         * sunrpc/rpc_clntout.c: Likewise.
53101         * sunrpc/rpc_cmsg.c: Likewise.
53102         * sunrpc/rpc_common.c: Likewise.
53103         * sunrpc/rpc_cout.c: Likewise.
53104         * sunrpc/rpc_dtable.c: Likewise.
53105         * sunrpc/rpc_hout.c: Likewise.
53106         * sunrpc/rpc_main.c: Likewise.
53107         * sunrpc/rpc_parse.c: Likewise.
53108         * sunrpc/rpc_parse.h: Likewise.
53109         * sunrpc/rpc_prot.c: Likewise.
53110         * sunrpc/rpc_sample.c: Likewise.
53111         * sunrpc/rpc_scan.c: Likewise.
53112         * sunrpc/rpc_scan.h: Likewise.
53113         * sunrpc/rpc_svcout.c: Likewise.
53114         * sunrpc/rpc_tblout.c: Likewise.
53115         * sunrpc/rpc_util.c: Likewise.
53116         * sunrpc/rpc_util.h: Likewise.
53117         * sunrpc/rpcinfo.c: Likewise.
53118         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53119         * sunrpc/rpcsvc/key_prot.x: Likewise.
53120         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53121         * sunrpc/rpcsvc/mount.x: Likewise.
53122         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53123         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53124         * sunrpc/rpcsvc/rex.x: Likewise.
53125         * sunrpc/rpcsvc/rstat.x: Likewise.
53126         * sunrpc/rpcsvc/rusers.x: Likewise.
53127         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53128         * sunrpc/rpcsvc/spray.x: Likewise.
53129         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53130         * sunrpc/rtime.c: Likewise.
53131         * sunrpc/svc.c: Likewise.
53132         * sunrpc/svc_auth.c: Likewise.
53133         * sunrpc/svc_authux.c: Likewise.
53134         * sunrpc/svc_raw.c: Likewise.
53135         * sunrpc/svc_run.c: Likewise.
53136         * sunrpc/svc_simple.c: Likewise.
53137         * sunrpc/svc_tcp.c: Likewise.
53138         * sunrpc/svc_udp.c: Likewise.
53139         * sunrpc/svc_unix.c: Likewise.
53140         * sunrpc/svcauth_des.c: Likewise.
53141         * sunrpc/xcrypt.c: Likewise.
53142         * sunrpc/xdr.c: Likewise.
53143         * sunrpc/xdr_array.c: Likewise.
53144         * sunrpc/xdr_float.c: Likewise.
53145         * sunrpc/xdr_mem.c: Likewise.
53146         * sunrpc/xdr_rec.c: Likewise.
53147         * sunrpc/xdr_ref.c: Likewise.
53148         * sunrpc/xdr_sizeof.c: Likewise.
53149         * sunrpc/xdr_stdio.c: Likewise.
53151         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53152         handling.
53154 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53156         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53158 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53160         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53161         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53162         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53163         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53164         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53165         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53166         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53167         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53168         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53169         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53170         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53171         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53172         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53173         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53175 2010-07-26  Anton Blanchard  <anton@samba.org>
53177         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53178         * malloc/arena.c (heap_trim): Likewise.
53180 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53182         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53183         here.  Not...
53184         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53185         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53187 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53189         * sysdeps/i386/elf/Makefile: New file.
53191 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53193         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53194         from fanotify_init.
53195         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53196         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53198 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53200         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53201         of strncasecmp_l.
53202         * sysdeps/multiarch/strcmp.S: Likewise.
53204 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53206         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53207         strncase_l-nonascii.
53208         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53209         Add strncase_l-ssse3.
53210         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53211         * sysdeps/x86_64/strcmp.S: Likewise.
53212         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53213         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53214         * sysdeps/x86_64/strncase.S: New file.
53215         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53216         * sysdeps/x86_64/strncase_l.S: New file.
53217         * string/Makefile (strop-tests): Add strncasecmp.
53218         * string/test-strncasecmp.c: New file.
53220         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53221         warning.
53223         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53224         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53226 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53228         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53230 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53232         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53233         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53234         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53236 2010-05-01  Alan Modra  <amodra@gmail.com>
53238         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53239         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53240         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53241         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53242         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53243         tidying.  Don't tail-call __sigjmp_save for static lib.
53244         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53245         save location.
53246         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53247         (CALL_MCOUNT): Add eh info, and nop after bl.
53248         (TAIL_CALL_SYSCALL_ERROR): New macro.
53249         (PSEUDO_RET): Use it.
53250         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53251         Correct save location of integer regs and cr.
53252         (_dl_profile_resolve): Correct cr save location.  Delete nops
53253         after bl when SHARED.  Reduce cfi size a little by better
53254         placement of cfi directives.
53255         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53256         make a stack frame.  Instead use parm save area as a temp.
53257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53258         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53260         Don't make a stack frame for parent, use parm save area.
53261         Increase child stack frame to 112 bytes.  Don't save unused reg,
53262         and adjust reg usage.  Set up cfi on error recovery and
53263         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53265         (__makecontext): Add dummy nop after jump to exit.
53266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53267         Use correct parm save area and cr save, reduce stack frame.
53268         Correct cfi for possible PSEUDO_RET frame setup.
53269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53270         Branch to local label emitted by PSEUDO_RET rather than
53271         __syscall_error.
53273 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53275         [BZ #11904]
53276         * locale/programs/locale.c (print_assignment): New function.
53277         (show_locale_vars): Use it.
53279 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53281         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53282         field.
53283         (struct statfs64): Likewise.
53284         (_STATFS_F_FLAGS): Define.
53285         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53286         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53287         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53288         (ST_VALID): Define locally.
53289         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53290         __statvfs_getflags, use the provided value.
53291         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53292         __ASSUME_STATFS_F_FLAGS.
53294         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53296         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53297         Add sys/fanotify.h.
53298         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53299         fanotify_mask for GLIBC_2.13.
53300         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53301         fanotify_init and fanotify_mark.
53302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53303         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53305         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53306         Add prlimit.
53307         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53308         prlimit64 for GLIBC_2.13.
53309         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53310         prlimit64.
53311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53312         syscall.
53313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53314         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53315         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53316         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53317         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53318         add prlimit alias.
53319         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53321         [BZ #11903]
53322         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53323         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53325         * nss/Makefile: Add rules to build and run tst-nss-test1.
53326         * shlib-versions: Add entry for libnss_test1.
53327         * nss/nss_test1.c: New file.
53328         * nss/tst-nss-test1.c: New file.
53330         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53331         (__nss_configure_lookup): Set appropriate entry in
53332         __nss_configure_lookup to true.
53333         * nss/nsswitch.h: Define enum with indeces of databases in
53334         databases and __nss_database_custom arrays.  Declare
53335         __nss_database_custom.
53336         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53337         to avoid using nscd when custom rules are installed.
53338         * nss/getXXbyYY_r.c: Likewise.
53339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53341         * nss/nss_files/files-parse.c: Whitespace fixes.
53343 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53345         [BZ #11883]
53346         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53347         * posix/fnmatch_loop.c: Likewise.
53349 2010-07-17  Andi Kleen  <ak@linux.intel.com>
53351         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53352         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53353         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53354         * Versions.def [GLIBC_2.13]: Add.
53356 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
53358         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53359         Also fail if tpwd after pwuid call is NULL.
53361 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53363         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53364         when converting to ms.
53366 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53368         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53369         EOPNOTSUPP errors with ENOTTY.
53370         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53371         EOPNOTSUPP errors with ENOTTY.
53373 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
53375         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53376         Add strcasecmp_l-ssse3.
53377         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53378         strcasecmp.
53379         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53380         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53381         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53383 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
53385         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53387         * string/Makefile (strop-tests): Add strcasecmp.
53388         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53389         strcasecmp_l-nonascii.
53390         (gen-as-const-headers): Add locale-defines.sym.
53391         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53392         * sysdeps/x86_64/strcasecmp.S: New file.
53393         * sysdeps/x86_64/strcasecmp_l.S: New file.
53394         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53395         * sysdeps/x86_64/locale-defines.sym: New file.
53396         * string/test-strcasecmp.c: New file.
53398         * string/test-strcasestr.c: Test both ends of the range of characters.
53399         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53401 2010-07-29  Roland McGrath  <roland@redhat.com>
53403         [BZ #11856]
53404         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53406 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53408         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53409         for ld.so.
53411 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53413         * manual/memory.texi (Malloc Tunable Parameters): Document
53414         M_PERTURB.
53416 2010-07-26  Roland McGrath  <roland@redhat.com>
53418         [BZ #11840]
53419         * configure.in (-fgnu89-inline check): Set and substitute
53420         gnu89_inline, not libc_cv_gnu89_inline.
53421         * configure: Regenerated.
53422         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53424 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53426         * string/test-strnlen.c: New file.
53427         * string/Makefile (strop-tests): Add strnlen.
53428         * string/tester.c (test_strnlen): Add a few more test cases.
53429         * string/tst-strlen.c: Better error reporting.
53431         * sysdeps/x86_64/strnlen.S: New file.
53433 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53435         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53436         lower-latency instructions.
53438 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53440         * string/test-strcasestr.c: New file.
53441         * string/test-strstr.c: New file.
53442         * string/Makefile (strop-tests): Add strstr and strcasestr.
53443         * string/str-two-way.h: Don't undefine MAX.
53444         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53446 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53449         strcasestr-nonascii.
53450         (CFLAGS-strcasestr-nonascii.c): Define.
53451         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53452         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53453         Remove unused attribute.
53455 2010-07-20  Roland McGrath  <roland@redhat.com>
53457         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53458         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53459         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53460         like LD_HWCAP_MASK can disable hwcaps.
53462 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53464         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53466 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53468         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53469         call in strcasestr.
53470         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53471         __strcasestr_sse42_nonascii.
53472         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53473         strcasestr-nonascii.c.
53474         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53476 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53479         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53480         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53481         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53483 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53485         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53486         fcntl.
53488 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53490         [BZ #11577]
53491         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53492         dl_signal_cerror.
53494 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53497         _PC_PIPE_BUF using F_GETPIPE_SZ.
53499 2010-07-05  Roland McGrath  <roland@redhat.com>
53501         * manual/arith.texi (Rounding Functions): Fix rint description
53502         implicit in round description.
53504 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53506         * elf/Makefile: Fix linking for a few tests to make recent linker
53507         happy.
53509 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53511         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53512         $(common-objpfx)libc_nonshared.a.
53514 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53516         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53517         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53518         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53519         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53520         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53521         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53522         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53523         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53538         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53539         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53540         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53541         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53542         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53543         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53544         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53545         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53546         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53547         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53548         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53549         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53565 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53567         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53568         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53569         * string/memmove.c (memmove): Renamed to ...
53570         (MEMMOVE): ...this.  Default to memmove.
53571         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53572         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53573         (END_CHK): Define.
53574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53575         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53576         mempcpy-ssse3-back memmove-ssse3-back.
53577         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53578         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53579         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53580         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53581         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53582         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53583         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53584         * sysdeps/x86_64/multiarch/memmove.c: New file.
53585         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53586         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53587         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53588         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53590         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53591         Define.
53592         (index_Fast_Copy_Backward): Define.
53593         (HAS_ARCH_FEATURE): Define.
53594         (HAS_FAST_REP_STRING): Define.
53595         (HAS_FAST_COPY_BACKWARD): Define.
53597 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53599         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53600         Restore proper fallback handling.
53602 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53604         [BZ #11701]
53605         * posix/group_member.c (__group_member): Correct checking loop.
53607         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53608         OOM in getpwuid_r correctly.  Return error number when the caller
53609         should return, otherwise -1.
53610         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53611         call returning > 0 value.
53612         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53614 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53616         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53617         libc_nonshared.a from targets in modules-names.
53619 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53621         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53622         requires it.
53624 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53626         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53627         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53628         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53629         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53631 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53633         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53635 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53637         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53638         and F_GETPIPE_SZ.
53639         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53640         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53641         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53643         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53644         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53646 2010-06-14  Roland McGrath  <roland@redhat.com>
53648         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53650 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53652         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53653         __REDIRECT followed by __THROW.
53654         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53655         * posix/getopt.h (getopt): Likewise.
53657 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53659         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53660         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53661         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53662         in AT_FLAGS.
53663         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53664         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53666 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53668         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53670 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53672         [BZ #11640]
53673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53674         Properly check family and model.
53676 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53678         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53680 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53682         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53684 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53686         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53687         symbol reference.
53689 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53691         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53692         symbol reference.
53694 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53696         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53697         and internal_recvmmsg.
53698         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53699         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53700         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53701         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53703         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53704         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53705         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53707 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53709         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53711 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53713         POWER7 optimizations.
53714         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53715         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53717 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53719         * version.h: Update for 2.13 development version.
53721 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53723         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53724         exceptions.  Return 0.
53726 2010-05-07  Roland McGrath  <roland@redhat.com>
53728         * elf/ldconfig.c (main): Add a const.
53730 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53732         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53733         (args_options): Add no-idn option.
53734         (ahosts_keys_int): Add idn_flags to ai_flags.
53735         (parse_option): Handle 'i' option to clear idn_flags.
53737         * malloc/malloc.c (_int_free): Possible race in the most recently
53738         added check.  Only act on the data if no current modification
53739         happened.
53741 See ChangeLog.17 for earlier changes.