Fix country_name in nds_NL
[glibc.git] / ChangeLog
blobab2b32ab18c8b03bd2974b2865d402d1659149c9
1 2017-07-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * po/bg.po: Update translations.
4         * po/cs.po: Likewise.
5         * po/de.po: Likewise.
6         * po/pl.po: Likewise.
7         * po/uk.po: Likewise.
8         * po/vi.po: Likewise.
10 2017-07-26  Mike FABIAN  <mfabian@redhat.com>
12         [BZ #21828]
13         * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes.
15 2017-07-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17         * po/sv.po: Update Translation.
19 2017-07-25  Siddhesh Poyarekar  <siddhesh@sourceware.org>
20             Paul Eggert  <eggert@cs.ucla.edu>
22         * timezone.zic (PRIdLINENO): Remove.
23         (verror): Use PRIdMAX.
24         * po/libc.pot: Regenerate.
26 2017-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27             H.J. Lu  <hongjiu.lu@intel.com>
29         [BZ #21744]
30         * elf/dl-tunables.c: Include not-errno.h header.
31         * include/unistd.h (__access_noerrno): Remove definition.
32         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
33         * sysdeps/generic/not-errno.h: New file.
34         * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
36 2017-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38         [BZ #21752]
39         * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down
40         __libc_argv[0] if we aren't doing backtrace.  Rename do_backtrace
41         to need_backtrace.
42         * sysdeps/posix/libc_fatal.c (__libc_message): Don't call
43         __libc_secure_getenv if we aren't doing backtrace.
45 2017-07-24  Andreas Schwab  <schwab@suse.de>
47         [BZ #21804]
48         * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA)
49         [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove
50         trailing semicolon.
51         (struct __pthread_mutex_s): Remove semicolon after
52         __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END.
53         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
54         (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add
55         semicolon.
57 2017-07-23  Dmitry V. Levin  <ldv@altlinux.org>
59         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H ||
60         _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined
61         later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER,
62         and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
64 2017-07-23  John David Anglin  <danglin@gcc.gnu.org>
66         [BZ 19170]
67         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
69 2017-07-21  DJ Delorie  <dj@redhat.com>
71         * nss/tst-nss-test5.c: Correct test configuration.
73 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
75         * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
76         CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
77         CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
78         CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
79         CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
81 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
83         * nss/nss_test1.c (default_npwd_data): Fix definition.
85 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
87         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
88         math_force_eval.
90 2017-07-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
92         * sysdeps/sparc/fpu/libm-test-ulps: Update.
94         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
95         passing to syscall exit.
97 2017-07-19  DJ Delorie  <dj@delorie.com>
99         * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
101 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
103         [BZ #21741]
104         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
105         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
106         in libc.so.
108 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
110         [BZ #21740]
111         * debug/Makefile (elide-routines.o): New.
113 2017-07-19  Szabolcs Nagy  <szabolcs.nagy@arm.com>
115         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
116         (_dl_aarch64_cap_flags): Update.
117         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
118         (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
120 2017-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
122         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
123         (_dl_hwcap_string): Check range.
125 2017-07-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
127         [BZ #21707]
128         * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
129         relocations before or after initializing the TCB on statically
130         linked executables.  That's a per-architecture definition.
131         * elf/rtld.c (dl_main): Add a comment about thread-local
132         variables initialization.
133         * sysdeps/generic/libc-start.h: New file.  Define
134         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
135         * sysdeps/powerpc/Makefile:
136         [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
137         tst-tlsifunc-static.
138         [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
139         (tests-internal): Add tst-tlsifunc.
140         * sysdeps/powerpc/tst-tlsifunc.c: New file.
141         * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
142         * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
143         variable.
144         [$(subdir) = math] (test-float128% test-ifloat128%): Force
145         linking to the loader after linking to libgcc.
146         [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
147         (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
148         (tst-strfrom-locale strfrom-skeleton): Likewise.
149         * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file.  Define
150         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
152 2017-07-17  DJ Delorie  <dj@redhat.com>
154         * nss/nss_test.h: New.
155         * nss/nss_test1.h: Rewrite to use test-provided data.  Add group
156         tests.  Parameterize to allow multiple instances.
157         * nss/nss_test2.h: New.  Second instance.
158         * nss/nss_test.ver: New.
159         * nss/nss_test1.c: Update to use new framework.
160         * nss/nss_test2.c: New.
161         * nss/nss_test3.c: New.
162         * nss/nss_test4.c: New.
163         * nss/nss_test5.c: New.
164         * nss/Makefile: Build new tests.
165         * shlib-versions: Add libnss_test2.
167 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
169         [BZ #21512]
170         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
171         passing to syscall exit.
173 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
175         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
176         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
178 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
180         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
181         if _dl_fixup fails.
183         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
184         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
185         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
186         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
188         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
189         offset for r19 load.
191         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
193         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
194         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
195         pointer offset.  Correct PIC register offset.  Don't mention frame
196         related instructions in epilogue.
197         (PUSHARGS_1): Correct offset.
198         (PUSHARGS_2): Likewise.
199         (PUSHARGS_3): Likewise.
200         (PUSHARGS_4): Likewise.
201         (PUSHARGS_5): Likewise.
202         (PUSHARGS_6): Likewise.
203         (POPARGS_1): Don't mention register restore.
204         (POPARGS_2): Likewise.
205         (POPARGS_3): Likewise.
206         (POPARGS_4): Likewise.
207         (POPARGS_5): Likewise.
208         (POPARGS_6): Likewise.
209         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
210         copy of PIC register.
211         (LOAD_PIC): Likewise don't mention restore.
212         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
213         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
214         offset.  Don't mention frame related instructions in epilogue.
216         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
218         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
220         [BZ 20098]
221         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
222         (_dl_lookup_address): Return address if it is not consistent with
223         being a linker defined function pointer.  Likewise, return address
224         if address and function descriptor addresses are not accessible.
226 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
228         * po/libc.pot: Regenerate.
230 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
232         [BZ locale/19838]
233         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
235         * nptl/allocatestack.c (allocate_stack): Align old and new guard
236         addresses to page boundaries when the stack grows up.
238         * sysdeps/hppa/math-tests.h: New.
240 2017-07-14  DJ Delorie  <dj@redhat.com>
242         [BZ #21654]
243         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
244         alignment not char alignment.
245         (__merge_grp): Likewise.
247 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
248             Florian Weimer  <fweimer@redhat.com>
250         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
251         * libio/wmemstream.c (open_wmemstream): Likewise.
252         * nptl/tst-memstream.c: New.
254 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
256         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
257         of pcrel_address under Thumb mode.
259 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
261         [BZ #21207]
262         * locale/iso-639.def: Add Fiji Hindi (hif).
264 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
266         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
268 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
270         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
271         -fstack-protector-all.
273 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
275         [BZ #20496]
276         * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
278 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
280         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
281         to iterate over all possible object suffixes.  Add a comment
282         explaining the use of sysdep-CFLAGS instead of CFLAGS.
284 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
286         [BZ #12189]
287         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
288         (tests): Add tst-ssp-1 if -fstack-protector works.
289         * debug/fortify_fail.c: Include <stdbool.h>.
290         (_fortify_fail_abort): New function.
291         (__fortify_fail): Call _fortify_fail_abort.
292         (__fortify_fail_abort): Add a hidden definition.
293         * debug/stack_chk_fail.c: Include <stdbool.h>.
294         (__stack_chk_fail): Call __fortify_fail_abort, instead of
295         __fortify_fail.
296         * debug/tst-ssp-1.c: New file.
297         * include/stdio.h (__libc_message_action): New enum.
298         (__libc_message): Replace int with enum __libc_message_action.
299         (__fortify_fail_abort): New hidden prototype.
300         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
301         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
302         with enum __libc_message_action.  Call BEFORE_ABORT only if
303         action includes do_backtrace.
304         (__libc_fatal): Update __libc_message call.
306 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
308         [BZ #21738]
309         * manual/llio.texi (RWF_NOWAIT): New item.
310         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
311         Add RWF_NOWAIT check.
312         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
314 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
316         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
317         Support running on kernels without PTRACE_SINGLEBLOCK.
319 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
321         [BZ #21742]
322         * elf/Makefile (dl-routines): Move dl-conflict to ...
323         (rtld-routines): Here.
325 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
327         [BZ #21741]
328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
329         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
330         in libc.so.
332 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
334         * sysdeps/hppa/fpu/libm-test-ulps: Update.
336         [BZ #21016]
337         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
338         Fix typo.
339         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
340         bits/types/struct_timespec.h.
341         (PTHREAD_MUTEX_INITIALIZER): Revise define.
342         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
343         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
344         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
345         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
346         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
347         (PTHREAD_COND_INITIALIZER): Likewise.
348         Remove old definitions.
349         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
350         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
351         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
352         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
354         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
356 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
358         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
359         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
360         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
361         * sysdeps/x86_64/multiarch/memset.c: Likewise.
362         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
363         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
364         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
365         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
366         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
367         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
368         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
369         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
370         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
371         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
372         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
373         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
375 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
379 2017-07-09  Helge Deller  <deller@gmx.de>
381         [BZ #21049]
382         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
383         up to avoid clobbering r26.
385 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
387         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
388         profiled objects.
390 2017-07-06  DJ Delorie  <dj@redhat.com>
392         * manual/tunables.texi: Add missing @end deftp.
394 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
396         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
397         (do_test): Call it.
399 2017-07-06  DJ Delorie  <dj@redhat.com>
401         * config.make.in: Enable experimental malloc option.
402         * configure.ac: Likewise.
403         * configure: Regenerate.
404         * manual/install.texi: Document it.
405         * INSTALL: Regenerate.
406         * malloc/Makefile: Likewise.
407         * malloc/malloc.c: Add per-thread cache (tcache).
408         (tcache_put): New.
409         (tcache_get): New.
410         (tcache_thread_freeres): New.
411         (tcache_init): New.
412         (__libc_malloc): Use cached chunks if available.
413         (__libc_free): Initialize tcache if needed.
414         (__libc_realloc): Likewise.
415         (__libc_calloc): Likewise.
416         (_int_malloc): Prefill tcache when appropriate.
417         (_int_free): Likewise.
418         (do_set_tcache_max): New.
419         (do_set_tcache_count): New.
420         (do_set_tcache_unsorted_limit): New.
421         * manual/probes.texi: Document new probes.
422         * malloc/arena.c: Add new tcache tunables.
423         * elf/dl-tunables.list: Likewise.
424         * manual/tunables.texi: Document them.
425         * NEWS: Mention the per-thread cache.
427 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
429         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
430         * misc/tst-tsearch.c (TIMEOUT): Remove.
431         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
432         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
433         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
434         * string/tst-cmp.c (TIMEOUT): Define to 600.
436 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
438         [BZ #21715]
439         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
440         on definition.
442 2017-07-06  Florian Weimer  <fweimer@redhat.com>
443             H.J. Lu  <hongjiu.lu@intel.com>
445         [BZ #21609]
446         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
447         (gen-as-const-headers): Add rtld-offsets.sym.
448         * sysdeps/x86_64/dl-tls.c: New file.
449         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
450         * sysdeps/x86_64/tls_get_addr.S: Likewise.
451         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
452         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
453         (TI_OFFSET_OFFSET): Likwise.
455 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
457         [BZ# 21697]
458         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
460 2017-07-05  Florian Weimer  <fweimer@redhat.com>
462         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
463         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
464         * resolv/tst-resolv-threads.c: New file.
466 2017-07-05  Florian Weimer  <fweimer@redhat.com>
468         support: Add resolver testing mode which does not patch _res.
469         * support/resolv_test.h (struct resolv_redirect_config): Add
470         disable_redirect, server_address_overrides.
471         * support/resolv_test.c (make_server_sockets_for_address): New
472         function.
473         (resolv_test_start): Call it.
475 2017-07-05  Florian Weimer  <fweimer@redhat.com>
477         * support/namespace.h (struct support_chroot_configuration)
478         (struct support_chroot): Define.
479         (support_chroot_create, support_chroot_free): New functions.
480         * support/support_chroot.c: New file.
481         * support/Makefile (libsupport-routines): Add support_chroot.
482         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
483         (path_resolv_conf): Remove definitions.
484         (chroot_env): New variable.
485         (prepare): Call support_chroot_create.
486         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
487         (special_test_callback, do_test): Likewise.
489 2017-07-05  Florian Weimer  <fweimer@redhat.com>
491         Add subtest to check isolation of multiple loopback addresses.
492         * support/tst-support-namespace.c (test_localhost_bind): New function.
493         (do_test): Call it.
495 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
497         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
498         * libio/libioP.h (_IO_enable_locks): Declare.
499         * libio/Versions (_IO_enable_locks): New symbol.
500         * libio/genops.c (_IO_enable_locks): Define.
501         (_IO_old_init): Initialize flags2.
502         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
503         * libio/ferror.c (_IO_ferror): Likewise.
504         * libio/fputc.c (fputc): Likewise.
505         * libio/putc.c (_IO_putc): Likewise.
506         * libio/getc.c (_IO_getc): Likewise.
507         * libio/getchar.c (getchar): Likewise.
508         * libio/ioungetc.c (_IO_ungetc): Likewise.
509         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
510         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
511         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
513 2017-07-04  Florian Weimer  <fweimer@redhat.com>
515         [BZ #21542]
516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
517         two if no accurate information is available.
518         * posix/tst-sysconf-empty-chroot.c: New file.
519         * posix/Makefile (tests): Add it.
521 2017-07-04  Florian Weimer  <fweimer@redhat.com>
523         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
524         server and sort list counts.  Fix improper check for empty search
525         path (completely missing domain name) leading to assertion failure
526         in update_from_conf.
527         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
528         hostname member.
529         (run_res_init): Set host name if requested.
530         (test_cases): Update.
532 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
534         * scripts/build-many-glibcs.py (Context.checkout): Default
535         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
536         kernel version to 4.12.
538 2017-07-04  Florian Weimer  <fweimer@redhat.com>
540         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
541         list management and the role of free_list_start.
542         (decrement_at_index): Put zero at the end of the free list.
543         (__resolv_conf_attach): Fix bogus assert.
544         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
545         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
547 2017-07-03  Florian Weimer  <fweimer@redhat.com>
549         resolv: Introduce free list for resolv_conf index slosts.
550         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
551         type to uintptr_t.
552         (struct resolv_conf_global): Add free_list_start member.
553         (resolv_conf_get_1): Check for free list entry.
554         (decrement_at_index): Put freed slot on the free list.
555         (__resolv_conf_attach): Obtain new slot from the free list.
556         * resolv/tst-resolv-res_ninit.c: New file.
557         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
558         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
559         (generated): Add mtrace-tst-resolv-res_ninit.out,
560         tst-resolv-res_ninit.mtrace.
561         (mtrace-tst-resolv-res_ninit.out): Add target.
563 2017-06-30  Florian Weimer  <fweimer@redhat.com>
565         [BZ #984]
566         Reload /etc/resolv.conf if has been changed on disk.
567         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
568         (__resolv_conf_load, __resolv_conf_get_current): Declare.
569         * resolv/resolv_conf.c (struct resolv_conf_global): Add
570         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
571         (__resolv_conf_get_current): New function.
572         (__resolv_conf_allocate): Do not initialize initstamp.
573         (freeres): Deallocate global->conf_current.
574         * resolv/resolv.h (RES_NORELOAD): Define.
575         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
576         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
577         * resolv/resolv_context.c (replicated_configuration_matches): New.
578         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
579         the current configration.
580         * resolv/res_init.c (__res_initstamp): Remove variable definition.
581         (has_preinit_values): New function.
582         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
583         parameter and do not call __resolv_conf_attach.
584         (__res_vinit): Reimplement based __resolv_conf_load.
585         (res_options): Handle no-reload.
586         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
587         (lock): Remove.
588         (res_int): Do not update __res_initstamp.
589         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
590         RES_NORELOAD.
591         (test_cases): Test no-reload.
592         (special_test_call_res_init): Remove.
593         (special_test_callback): Rely on automated reloading.  Add tests
594         for no-reload.
596 2017-06-30  Florian Weimer  <fweimer@redhat.com>
598         Mirror the entire resolver configuration in struct resolv_conf.
599         * resolv/resolv_context.h (__resolv_context_nameserver_count)
600         (__resolv_context_nameserver): New functions.
601         (__resolv_context_sort_count, __resolv_context_sort_entry):
602         Likewise.
603         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
604         resolv_context parameter.
605         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
606         (addrsort): Switch to struct resolv_context.
607         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
608         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
609         sort_list, sort_list_size, options, retrans, retry, ndots members.
610         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
611         (same_address): New functions.
612         (resolv_conf_matches): Compare the new array members.
613         (__resolv_conf_allocate): Allocate and copy the new array members.
614         (update_from_conf): Copy the entire configuration.
615         * resolv/res_init.c (struct nameserver_list, struct sort_list):
616         Define using dynarray.
617         (struct resolv_conf_parser): Add nameserver_list, sort_list,
618         template members.
619         (resolv_conf_parser_init): Add preinit argument.  Initialize the
620         new members.
621         (resolv_conf_parser_free): Deallocate the new arrays.
622         (allocate_address_v4): New function.
623         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
624         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
625         the parser object instead.  Use allocate_address_v4 to allocate
626         IPv4 addresses.
627         (__res_vinit): Adjust.
628         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
629         extended name server list.
630         (test_cases): Adjust.
632 2017-06-30  Florian Weimer  <fweimer@redhat.com>
634         [BZ #19569]
635         [BZ #21475]
636         Support an arbitrary number of search domains.
637         * resolv/resolv_context.h (__resolv_context_search_list): New.
638         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
639         search_list_size members.
640         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
641         (__resolv_conf_allocate): Allocate and and copy search list.
642         (update_from_conf): Copy the search list.
643         * resolv/res_init.c (struct search_list): Define using dynarray.
644         (struct resolv_conf_parser): Define.
645         (resolv_conf_parser_init, resolv_conf_parser_free)
646         (domain_from_hostname): New functions.
647         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
648         struct search_list to collect search list entries.  Call
649         domain_from_hostname to obtain the fallback domain name.
650         (__res_vinit): Create and destroy parser object.  Pass search list
651         to __resolv_conf_allocate.
652         * resolv/res_query.c (__res_context_search): Use
653         __resolv_context_search_list to obtain search list entries.
654         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
655         from extended resolver context.
656         (test_cases): Update.
658 2017-06-30  Florian Weimer  <fweimer@redhat.com>
660         Add extended resolver state/configuration (struct resolv_conf).
661         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
662         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
663         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
664         (__res_vinit): Call __resolv_conf_allocate and
665         __resolv_conf_attach.
666         * resolv/resolv_context.h (struct resolv_context): Add conf member
667         of type struct resolv_conf.
668         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
669         resolv_conf.  Update conf member after initialization.
670         * resolv/Makefile (routines): Add resolv_conf.
671         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
672         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
673         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
674         _u._ext.__glibc_reserved.
676 2017-06-30  Florian Weimer  <fweimer@redhat.com>
678         [BZ #21668]
679         Introduce temporary resolver contexts (struct resolv_conf).
680         * resolv/resolv-internal.h (__res_context_mkquery)
681         (__res_context_searchl __res_context_query, __res_context_send)
682         (__res_context_hostalias): Declare.
683         (__res_nopt): Switch to struct resolv_context.
684         * resolv/res_use_inet6.h: New file.
685         * resolv/resolv_context.h: Likewise.
686         * resolv/resolv_context.c: Likewise.
687         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
688         Renamed from res_gethostbyname2.  Use struct resolv_context.
689         (res_gethostbyname2): New function.  Implement using
690         res_gethostbyname2_context.
691         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
692         struct resolv_context.
693         (res_gethostbyaddr): New function.  Implement using
694         res_gethostbyaddr_context.
695         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
696         resolv_context.
697         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
698         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
699         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
700         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
701         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
702         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
703         (_nss_dns_getnetbyaddr_r): Likewise.
704         * resolv/res-close.c (res_thread_freeres): Call
705         __resolv_context_freeres.
706         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
707         maybe_init in resolv/resolv_context.c.
708         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
709         res_nmkquery.  Use struct resolv_context.
710         (context_mkquery_common): New function.
711         (res_nmkquery, res_mkquery): Use it.
712         (res_nopt): Switch to struct resolv_context.
713         * resolv/res_query.c (__res_context_querydomain): Renamed from
714         __libc_res_nquerydomain.  Use struct resolv_context.
715         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
716         resolv_context.
717         (context_query_common): New function.
718         (res_nquery, res_query): Use it.
719         (__res_context_search): Renamed from __libc_res_nsearch.  Use
720         struct resolv_context.
721         (context_search_common): New function.
722         (res_nsearch, res_search): Use it.
723         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
724         Use struct resolv_context.
725         (context_querydomain_common): New function.
726         (res_nquerydomain, res_querydomain): Use it.
727         (__res_context_hostalias): Rename from res_hostalias.  Use struct
728         resolv_context.
729         (context_hostalias_common): New function.
730         (res_hostalias, hostalias): Use it.
731         * resolv/res_send.c (__res_context_send): Renamed from
732         __libc_res_nsend.  Use struct resolv_context.
733         (context_send_common): New function.
734         (res_nsend, res_send): Use it.
735         * resolv/Makefile (routines): Add resolv_context.
736         * resolv/Versions (libc): Export __resolv_context_get,
737         __resolv_context_get_preinit, __resolv_context_get_override,
738         __resolv_context_put.  Remove __res_maybe_init.
739         (libresolv): Export __res_context_query, __res_context_search,
740         __res_context_hostalias.  Remove __libc_res_nquery,
741         __libc_res_nsearch.
742         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
743         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
744         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
745         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
746         prototypes.
747         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
748         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
749         from __nss_hostname_digits_dots.  Use struct resolv_context.
750         (__nss_hostname_digits_dots): New function.
751         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
752         struct resolv_context object.  Call new function
753         __nss_hostname_digits_dots_context.
754         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
755         * nss/getnssent_r.c (__nss_setent): Likewise.
756         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
757         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
758         instead of direct _res manipulation.
759         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
761 2017-07-03  Florian Weimer  <fweimer@redhat.com>
763         * resolv/tst-resolv-res_init-skeleton.c
764         (special_tests_count, special_test_call_res_init)
765         (special_test_callback, special_test_thread_func)
766         (run_special_test_on_thread, special_test): Define.
767         (do_test): call special_test.
768         (test_init_names): Fix typo.
770 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
772         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
773         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
775 2017-07-01  Florian Weimer  <fweimer@redhat.com>
776             H.J. Lu  <hongjiu.lu@intel.com>
778         [BZ #21696]
779         * posix/sched_cpucount.c: Don't include <limits.h>.
780         (__sched_cpucount): Use __builtin_popcount.
782 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
784         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
785         Fix typo.
787 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
789         * include/math.h (__signbitf128): Define as hidden.
790         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
791         Reimplement without builtins.
792         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
793         (__builtin_signbitf128): Define to __signbitf128.
794         * sysdeps/powerpc/bits/floatn.h: Likewise.
795         * sysdeps/x86/bits/floatn.h: Likewise.
797 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
799         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
800         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
801         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
802         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
803         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
804         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
805         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
806         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
808         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
809         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
810         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
811         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
812         fcntl_common and add check for F_GETOWN.
813         (__libc_fcntl): Use SYSCALL_CANCEL macro.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
815         use default implementation.
817 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
819         * elf/dl-tunables.h (tunable_is_name): Move from...
820         * elf/dl-tunables.c (is_name): ... here.
821         (parse_tunables, __tunables_init): Adjust.
822         * manual/tunables.texi: Document glibc.tune.cpu.
823         * sysdeps/aarch64/dl-tunables.list: New file.
824         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
825         cpu_list): New type.
826         (cpu_list): New list of CPU names and their MIDR.
827         (get_midr_from_mcpu): New function.
828         (init_cpu_features): Override MIDR if necessary.
830         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
831         (__libc_ifunc_impl_list): Unconditionally select thunderx
832         routine for testing.
834 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
836         [BZ #21120]
837         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
838         * sysdeps/generic/malloc-alignment.h: Here.  New file.
839         * sysdeps/i386/malloc-alignment.h: Likewise.
840         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
842 2017-06-30  Florian Weimer  <fweimer@redhat.com>
844         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
845         variable.
846         (test_file_contents): Use it.
848 2017-06-30  Florian Weimer  <fweimer@redhat.com>
850         * resolv/res_init.c (res_setoptions): Remove source argument.
851         (res_vinit_1): Adjust.
853 2017-06-30  Florian Weimer  <fweimer@redhat.com>
855         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
857 2017-06-30  Florian Weimer  <fweimer@redhat.com>
859         * resolv/res_data.c: Reformat to GNU style.
860         (res_close): Update comments.
862 2017-06-30  Florian Weimer  <fweimer@redhat.com>
864         * resolv/res_data.c (res_query, res_search, res_querydomain)
865         (hostalias): Move to ...
866         * resolv/res_Send.c (res_query, res_search, res_querydomain)
867         (hostalias): here.
869 2017-06-30  Florian Weimer  <fweimer@redhat.com>
871         * resolv/res_data.c (res_isourserver, res_send): Move to ...
872         * resolv/res_send.c (res_isourserver, res_send): here.
874 2017-06-30  Florian Weimer  <fweimer@redhat.com>
876         * resolv/res_debug.c (_res_opcodes): Rename ...
877         (res_opcodes): ... as compatibility symbol.
878         (fp_nquery): Use res_opcodes.
879         * include/resolv.h (_res_opcodes): Remove declaration.
881 2017-06-30  Florian Weimer  <fweimer@redhat.com>
883         * include/resolv.h (res_pquery): Remove declaration.
884         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
885         functions.
886         (_res_opcodes): Remove variable.
887         * resolv/res_debug.c (do_section): Receive pfcode instead of
888         statp.
889         (res_pquery): Rename ...
890         (fp_nquery): to this function.  Skip unnecessary _res
891         initialization.
892         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
894 2017-06-30  Florian Weimer  <fweimer@redhat.com>
896         * resolv/res_debug.h: Remove file.
897         * resolv/README: Adjust.
899 2017-06-30  Florian Weimer  <fweimer@redhat.com>
901         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
902         conditionals.
903         (Aerror, Perror): Remove function definitions.
905 2017-06-30  Florian Weimer  <fweimer@redhat.com>
907         * resolv/res_data.c (res_mkquery): Move ...
908         * resolv/res_mkquery.c (res_mkquery): to here.
910 2017-06-30  Florian Weimer  <fweimer@redhat.com>
912         * resolv/res_mkquery.c: Reformat to GNU style.
913         (T_OPT): Remove definition.  It is present in the header file.
915 2017-06-30  Florian Weimer  <fweimer@redhat.com>
917         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
918         conditionals.
920 2017-06-30  Florian Weimer  <fweimer@redhat.com>
922         * support/support_capture_subprocess_check.c
923         (support_capture_subprocess_check): Report actual exit status.
925 2017-06-30  Florian Weimer  <fweimer@redhat.com>
927         [BZ #19570]
928         * resolv/res_send.c (nameserver_offset): New function.
929         (__libc_res_nsend): Use it to implement RES_ROTATE.
930         (get_nsaddr): Add assert with name server
931         range check.
932         * resolv/Makefile (xtests): Add tst-resolv-rotate.
933         (tst-resolv-rotate): Link against libpthread.
934         * resolv/tst-resolv-rotate.c: New file.
936 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
938         [BZ #21457]
939         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
940         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
941         [__WORDSIZE == 64] (MC_PC): Likewise.
942         [__WORDSIZE == 64] (MC_NPC): Likewise.
943         [__WORDSIZE == 64] (MC_Y): Likewise.
944         [__WORDSIZE == 64] (MC_G1): Likewise.
945         [__WORDSIZE == 64] (MC_G2): Likewise.
946         [__WORDSIZE == 64] (MC_G3): Likewise.
947         [__WORDSIZE == 64] (MC_G4): Likewise.
948         [__WORDSIZE == 64] (MC_G5): Likewise.
949         [__WORDSIZE == 64] (MC_G6): Likewise.
950         [__WORDSIZE == 64] (MC_G7): Likewise.
951         [__WORDSIZE == 64] (MC_O0): Likewise.
952         [__WORDSIZE == 64] (MC_O1): Likewise.
953         [__WORDSIZE == 64] (MC_O2): Likewise.
954         [__WORDSIZE == 64] (MC_O3): Likewise.
955         [__WORDSIZE == 64] (MC_O4): Likewise.
956         [__WORDSIZE == 64] (MC_O5): Likewise.
957         [__WORDSIZE == 64] (MC_O6): Likewise.
958         [__WORDSIZE == 64] (MC_O7): Likewise.
959         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
960         __MC_NGREG if [__USE_MISC].
961         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
962         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
963         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
964         Define fields using __ctx.
965         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
966         using __ctx.
967         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
968         (REG_PSR): Define only for [__USE_MISC].
969         (REG_PC): Likewise.
970         (REG_nPC): Likewise.
971         (REG_Y): Likewise.
972         (REG_G1): Likewise.
973         (REG_G2): Likewise.
974         (REG_G3): Likewise.
975         (REG_G4): Likewise.
976         (REG_G5): Likewise.
977         (REG_G6): Likewise.
978         (REG_G7): Likewise.
979         (REG_O0): Likewise.
980         (REG_O1): Likewise.
981         (REG_O2): Likewise.
982         (REG_O3): Likewise.
983         (REG_O4): Likewise.
984         (REG_O5): Likewise.
985         (REG_O6): Likewise.
986         (REG_O7): Likewise.
987         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
988         [__WORDSIZE == 64] (REG_FPRS): Likewise.
989         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
990         (gregset_t): Define using __NGREG.
991         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
992         __SPARC_MAXREGWINDOW if [__USE_MISC].
993         (struct rwindow): Rename to struct __rwindow.  Define fields using
994         __ctx.
995         (rw_fp): Define only for [__USE_MISC].
996         (rw_rtn): Likewise.
997         (gwindows_t): Remove struct tag.  Define fields using __ctx and
998         __SPARC_MAXREGWINDOW.
999         (MAXFPQ): Define only for [__USE_MISC].
1000         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
1001         (struct fq): Rename to struct __fq.  Define fields using __ctx.
1002         (FPU_REGS_TYPE): Define only for [__USE_MISC].
1003         (FPU_DREGS_TYPE): Likewise.
1004         (V7_FPU_FSR_TYPE): Likewise.
1005         (V9_FPU_FSR_TYPE): Likewise.
1006         (V9_FPU_FPRS_TYPE): Likewise.
1007         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
1008         using __ctx.
1009         [__WORDSIZE != 64] (fpregset_t): Likewise.
1010         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
1011         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
1012         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
1013         Rename field filler to __glibc_reserved1.
1014         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
1015         (MC_FILLER): Remove.
1017 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1019         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
1020         Adjust format string.
1021         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
1022         dependency.
1024 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1026         * sysdeps/posix/spawni.c (__spawni_child): New function.
1027         (__spawni): Rename to __spawnix.
1029 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1031         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
1032         Use it to make the temporary copy at the start of the work buffer.
1033         (process_arg): Adjust call to group_number.
1035 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1037         * stdio-common/vfprintf.c (printf_positional): Use struct
1038         scratch_buffer to allocate backing storage for the args_value,
1039         args_size, args_type arrays.
1041 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1043         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
1044         scratch_buffer.
1046 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1048         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
1049         wchar_t builds.
1051 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1053         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
1054         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
1056 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1058         * stdio-common/tst-vfprintf-user-type.c: New file.
1059         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
1061 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1063         * posix/tst-spawn2.c (do_test): Use libsupport.
1064         * posix/tst-spawn3.c (do_test): Likewise.
1066 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1068         * math/gen-tgmath-tests.py (Tests.__init__): Define
1069         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1071         * math/tgmath.h: Include <bits/libc-header-start.h> and
1072         <bits/floatn.h>.
1073         (__TGMATH_F128): New macro.
1074         (__TGMATH_CF128): Likewise.
1075         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1076         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1077         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1078         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1079         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1080         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1081         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1082         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1083         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1084         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1085         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1086         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1087         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1088         (__TGMATH_BINARY_REAL_IMAG): Likewise.
1089         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1090         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1091         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1092         _FloatNx types if the corresponding HUGE_VAL macros are defined.
1094         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1095         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1096         complex arguments.
1098         [BZ #21687]
1099         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1100         (totalorder): Use it.
1101         (totalordermag): Likewise.
1102         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1103         totalorder and totalordermag.
1104         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1105         totalordermag in arguments of calls to those functions.
1106         (NCALLS): Change to 134.
1108         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1109         cast to return type argument.
1110         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1111         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1112         (llrint): Likewise.
1113         (lround): Likewise.
1114         (llround): Likewise.
1115         (ilogb): Likewise.
1116         (llogb): Likewise.
1117         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1118         (ufromfp): Likewise.
1119         (fromfpx): Likewise.
1120         (ufromfpx): Likewise.
1122         [BZ #21607]
1123         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1124         [LDBL_MANT_DIG > DBL_MANT_DIG].
1125         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1126         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1127         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1128         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1129         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1130         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1131         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1132         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1133         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1134         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1135         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1136         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1137         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1138         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1139         * math/test-tgmath.c: Include <float.h>.
1140         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1141         DBL_MANT_DIG].
1142         * math/test-tgmath2.c: Include <float.h>.
1143         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1144         DBL_MANT_DIG].
1146         * math/gen-tgmath-tests.py: New file.
1147         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1148         [PYTHON] (generated): Add test-tgmath3.c.
1149         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1150         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1152         * configure.ac (AS): Require binutils 2.25 or later.
1153         (LD): Likewise.
1154         * configure: Regenerated.
1155         * sysdeps/s390/configure.ac (AS): Remove version check.
1156         * sysdeps/s390/configure: Regenerated.
1157         * sysdeps/x86_64/configure.ac (AS): Remove version check.
1158         * sysdeps/x86_64/configure: Regenerated.
1159         * manual/install.texi (Tools for Compilation): Document
1160         requirement for binutils 2.25 or later.
1161         * INSTALL: Regenerated.
1163 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1165         [BZ #14995]
1166         * configure.ac: Allow gold 1.14 or above to configire glibc
1167         * configure: Regenerated.
1169 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1171         [BZ #21457]
1172         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1173         struct tag.
1174         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1175         Likewise.
1176         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1177         Likewise.
1178         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1179         Declare struct type with __ctx.
1180         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1181         tag.
1182         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1183         and regs field name.
1185 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1187         * elf/loadtest.c (OUT): Define using do { } while (0).
1189         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1190         (DO_NUMBER_SPACEPAD): Likewise.
1192 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1194         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1195         sysdep_routines.
1196         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1197         __memchr_neon.
1198         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1199         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1200         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1201         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1203 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1205         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1206         Use vector and cu21 instruction.
1207         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1208         Add __to_utf8_loop_vx_cu in ifunc resolver.
1210 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1212         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1213         Use vector and cu24 instruction.
1215 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1217         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1218         Use vector and cu42 instruction.
1219         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1220         Add __to_utf16_loop_vx_cu in ifunc resolver.
1222 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1224         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1225         Use vector and cu41 instruction.
1226         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1227         in ifunc resolver.
1229 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1231         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1232         Add vxd, vxe, gs flag.
1233         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1234         HWCAP_S390_GS capability.
1235         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1236         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1238 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1240         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1241         the first 32 bytes before checking size when size >= 32 bytes.
1242         Replace vpmovmskb/subl/jnz with vptest/jnc.
1244 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1246         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1247         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1249 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1251         Work around test timeouts with ICMP rate limiting on localhost.
1252         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1253         function.
1254         (do_test): Call it.
1256 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1258         Call _res_hconf_init from __res_vinit.
1259         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1260         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1261         (NEED__RES): Define.
1262         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1263         (NEED__RES): Define.
1264         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1265         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1266         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1267         (NEED__RES): Define.
1268         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1269         _res_hconf_init.
1270         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1271         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1273         _res_hconf_init.
1275 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1277         * sysdeps/ia64/Implies: Add ieee754/float128.
1278         * sysdeps/ia64/bits/floatn.h: New file.
1279         * sysdeps/ia64/float128-abi.h: Likewise.
1280         * manual/math.texi (Mathematics): Document support for _Float128
1281         on ia64.
1282         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1283         Makefile variable.
1284         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1285         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1286         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1287         * sysdeps/ia64/math-tests.h: New file.
1288         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1289         based on TEST_COND_binary128 for [__ia64__].
1290         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1291         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1293         [BZ #21457]
1294         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1295         ucontext_t.
1296         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1297         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1298         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1299         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1300         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1301         ucontext): Likewise.
1302         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1303         Likewise.
1304         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1305         Likewise.
1306         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1307         Likewise.
1308         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1309         Likewise.
1310         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1311         Likewise.
1312         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1315         Likewise.
1316         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1317         ucontext): Likewise.
1318         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1319         Likewise.
1320         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1321         Likewise.
1322         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1323         Likewise.
1324         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1325         Likewise.
1326         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1327         Likewise.
1328         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1329         rt_signal_frame_32): Likewise.
1330         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1331         Likewise.
1332         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1333         kernel_rt_sigframe): Likewise.
1334         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1335         Likewise.
1336         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1337         Likewise.
1338         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1339         Likewise.
1340         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1341         (__profil_counter): Likewise.
1342         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1343         (SIGCONTEXT): Likewise.
1344         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1345         kernel_rt_sigframe): Likewise.
1346         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1347         kernel_rt_sigframe): Likewise.
1348         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1351         Likewise.
1352         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1353         (__start_context): Likewise.
1354         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1355         Likewise.
1356         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1357         Likewise.
1358         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1359         Likewise.
1361         * sysdeps/i386/Implies: Add ieee754/float128.
1362         * sysdeps/x86_64/Implies: Likewise.
1363         * sysdeps/x86/bits/floatn.h: New file.
1364         * sysdeps/x86/float128-abi.h: Likewise.
1365         * manual/math.texi (Mathematics): Document support for _Float128
1366         on x86_64 and x86.
1367         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1368         (math_opt_barrier): Do not put _Float128 values in floating-point
1369         registers.
1370         (math_force_eval): Likewise.
1371         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1372         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1373         to Makefile variable.
1374         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1375         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1376         * sysdeps/x86/math-tests.h: New file.
1377         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1378         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1379         XFAIL_FLOAT128_PAYLOAD.
1380         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1381         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1382         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1383         Likewise.
1384         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1385         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1389         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1390         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1391         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1394 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1396         [BZ #21512]
1397         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1398         syscall instead of jump to _exit.
1399         (CLONE_VM_BIT): Remove unused define.
1400         (CLONE_VM): Likewise.
1401         (CLONE_THREAD_BIT): Likewise.
1402         (CLONE_THREAD): Likewise.
1403         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1404         (CLONE_VM): Remove unused define.
1405         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1406         (CLONE_VM): Remove unused define.
1407         (CLONE_THREAD): Likewise.
1408         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1409         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1410         syscall instead of jump to _exit.
1411         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1412         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1413         (CLONE_VM): Remove unused define.
1414         (CLONE_THREAD): Likewise.
1415         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1416         (CLONE_VM): Remove unused define.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1418         Likewise.
1419         (CLONE_VM): Remove unused define.
1420         (CLONE_THREAD): Likewise.
1421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1422         Likewise.
1423         (CLONE_VM): Remove unused define.
1424         (CLONE_THREAD): Likewise.
1425         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1426         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1427         (CLONE_VM): Remove unused define.
1428         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1429         (CLONE_VM): Remove unused define.
1430         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1431         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1432         (CLONE_VM): Remove unused define.
1433         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1434         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1436 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1437             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1439         * manual/math.texi (Mathematics): Mention the enabling of float128
1440         for powerpc64le.
1441         * sysdeps/powerpc/bits/floatn.h: New file.
1442         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1443         * sysdeps/powerpc/fpu/math_private.h:
1444         (__ieee754_sqrtf128): New inline override.
1445         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1446         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1447         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1448         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1449         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1451         Updated.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1453         Likewise.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1455         New file.
1457 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1459         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1460         * sysdeps/powerpc/powerpc64le/configure: Update.
1462 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1463             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1465         * INSTALL: Regenerate.
1466         * manual/install.texi (Recommended Tools for Compilation): Mention
1467         the powerpc64le-specific requirement in the manual.
1468         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1469         for the compiler features required for building float128.
1470         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1472 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1474         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1475         before comparing with another char.
1477 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1479         * manual/math.texi: Fix a grammatical error.
1481 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1483         [BZ #21295]
1484         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1486 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1488         [BZ #21295]
1489         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1490         Append addresses at the end of the list.
1492 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1494         [BZ #21666]
1495         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1496         (loc2): Likewise.
1497         (locs): Likewise.
1499 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1501         [BZ #16637]
1502         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1503         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1504         digits between colons.
1505         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1507 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1508             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1510         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1511         (__sched_get_prioriry_min): Likewise.
1512         * include/sys/mman.h (__mmap): Likewise.
1513         (__mmap64): Likewise.
1514         (__munmap): Likewise.
1515         (__mprotect): Likewise.
1516         * include/termios.h (__tcsetattr): Likewise.
1517         * include/time.h (__nanosleep): Use hidden_proto instead of
1518         libc_hidden_proto.
1519         * posix/nanosleep.c (__nanosleep): Likewise.
1520         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1521         __sched_get_priority_min, and __sched_get_priority_max under
1522         GLIBC_PRIVATE.
1523         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1524         libc symbols.
1525         (change_stack_perm): Likewise.
1526         (change_stack_perm): Likewise.
1527         (allocate_stack): Likewise.
1528         * sysdeps/posix/gethostname.c: Likewise.
1529         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1530         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1531         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1532         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1533         (__pthread_key_delete): Likewise.
1534         (__pthread_detach): Likewise.
1535         (__pthread_cancel): Likewise.
1536         (__pthread_mutex_trylock): Likewise.
1537         (__pthread_mutexattr_init): Likewise.
1538         (__pthread_mutexattr_settype): Likewise.
1539         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1540         create alias for exported one.
1541         * nptl/pthread_join.c (pthread_join): Likewise.
1542         * nptl/pthread_detach.c (pthread_detach): Likewise.
1543         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1544         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1545         * nptl/pthread_create.c: Change static requirements for pthread
1546         symbols.
1547         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1548         for internal definition.
1549         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1550         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1551         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1552         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1553         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1554         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1555         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1556         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1557         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1558         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1559         Likewise.
1560         * nptl/pthread_self.c (__pthread_self): Likewise.
1561         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1562         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1563         * misc/mmap.c (__mmap): Add internal symbol definition.
1564         * misc/mmap.c (__mmap64): Likewise.
1565         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1566         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1567         (__mmap64): Likewise.
1568         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1569         Add __uname.
1571 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1573         * sysdeps/i386/fpu/libm-test-ulps: Update.
1574         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1576         * libm-test-support.c (check_float_internal): Clear exceptions at
1577         end of function.
1578         (check_int): Likewise.
1579         (check_long): Likewise.
1580         (check_bool): Likewise.
1581         (check_longlong): Likewise.
1582         (check_intmax_t): Likewise.
1583         (check_uintmax_t): Likewise.
1585         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1586         Do not declare.
1587         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1588         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1589         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1591 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1593         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1594         Replace movzbl and orl with movb.
1596 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1598         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1599         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1600         and HUGE_VAL_FNx.
1601         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1602         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1603         are in math.h, to avoid having to list the _FloatN and _FloatNx
1604         variants as well.  Likewise for the cabs functions.
1605         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1606         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1607         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1608         come from TS 18661-3, since this section explicitly states that
1609         these functions come from BSD.
1610         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1611         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1612         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1613         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1614         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1615         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1616         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1617         remainderfNx.
1618         (Setting and modifying single bits of FP values): Document
1619         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1620         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1621         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1622         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1623         (Floating-Point Comparison Functions): Document totalorderfN,
1624         totalorderfNx, totalordermagfN, totalordermagfNx.
1625         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1626         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1627         fdimfN, fdimfNx, fmafN, fmafNx.
1628         (Complex Numbers): Document the complex types: _FloatN complex and
1629         _FloatNx complex.
1630         (rojections, Conjugates, and Decomposing of Complex Numbers):
1631         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1632         cargfN, cargfNx, cprojfN, cprojfNx.
1633         * manual/math.texi (Mathematics): Mention that the _FloatN and
1634         _FloatNx variants of the math functions come from TS 18661-3,
1635         unless otherwise stated.
1636         (Predefined Mathematical Constants): Document the _FloatN and
1637         _FloatNx variants of the macros prefixed with M_.
1638         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1639         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1640         ccosfNx, ctanfN, ctanfNx.
1641         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1642         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1643         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1644         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1645         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1646         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1647         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1648         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1649         cpowfNx.
1650         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1651         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1652         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1653         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1654         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1655         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1656         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1657         ynfN, ynfNx.
1659 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1661         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1663 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1665         * resolv/res_libc.c: Reformat to GNU style.
1667 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1669         * resolv/resolv-internal.h (__res_initstamp): Declare.
1670         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1671         It is implied by the declaration.
1672         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1674 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1676         [BZ #21662]
1677         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1678         Use only 24 bits of the register before the subtraction.
1679         * string/test-memcmp.c (check1): Check with different lengths.
1681 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1683         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1684         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1686 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1688         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1689         Enable generation of float128 entries on the error table.
1691 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1693         * include/float.h: Include libc-header-start.h to get the
1694         definition of __GLIBC_USE.
1696 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1698         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1699         rearranged code and doubles float types.
1701 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1704         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1706 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1708         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1709         to errno, and simplify remaining related code.
1711 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1714         PPC_FEATURE2_SCV.
1715         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1716         and darn.
1718 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1720         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1721         the implementation-specific function name and remove unneeded macros
1722         definition.
1723         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1724         function name if not defined and pass as parameter to macros
1725         accordingly.
1727 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1730         (libm-sysdep_routines): Add s_llroundf-ppc64.
1731         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1732         (__llroundf): Define as strong alias of __llround.
1733         (llroundf):  Define as weak alias of __llround.
1734         (__lroundf): Define as strong alias of __llround.
1735         (lroundf):  Define as weak alias of __llround.
1736         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1737         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1740         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1741         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1742         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1744 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1746         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1747         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1749         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1750         (MATH_TESTS_TG): New macro.
1751         (SNAN_TESTS_float128): Likewise.
1752         (ROUNDING_TESTS_float128): Likewise.
1753         (EXCEPTION_TESTS_float128): Likewise.
1754         (SNAN_TESTS): Define using MATH_TESTS_TG.
1755         (ROUNDING_TESTS): Likewise.
1756         (EXCEPTION_TESTS): Likewise.
1758         * sysdeps/ieee754/float128/float128_private.h
1759         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1760         pass it to SET_RESTORE_ROUNDF128.
1762         * sysdeps/ieee754/float128/float128_private.h: Include
1763         <ieee754.h>.
1765         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1766         typeof to argument passed to __builtin_types_compatible_p.
1767         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1769         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1770         <errno.h>.
1771         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1772         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1773         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1774         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1775         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1776         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1777         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1778         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1779         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1780         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1781         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1782         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1783         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1784         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1785         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1786         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1787         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1788         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1789         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1790         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1791         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1792         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1794         * sysdeps/ieee754/float128/strtof128_l.c: Include
1795         <bits/types/locale_t.h> instead of <xlocale.h>.
1796         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1797         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1799 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1801         * benchtests/scripts/benchout_strings.schema.json: New file.
1802         * benchtests/scripts/compare_strings.py: New file.
1804         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1805         (do_one_test): Print json.
1806         (do_test): Likewise.
1807         (test_main): Likewise.
1808         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1809         (do_one_test): Print json.
1810         (do_test): Likewise.
1811         (test_main): Likewise.
1812         * benchtests/bench-memcpy.c: Include json-lib.h.
1813         (do_one_test): Print json.
1814         (do_test): Likewise.
1815         (test_main): Likewise.
1817         * benchtests/json-lib.h: Include inttypes.h.
1818         (json_attr_int, json_attr_int, json_element_string,
1819         json_element_int, json_element_uint): New functions.
1820         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1821         json_element_string, json_element_int, json_element_uint): New
1822         functions.
1824 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1826         * manual/arith.texi (Remainder Functions): Describe remainder as
1827         primary and drem as an alternative name.  Change the comment on
1828         remainder to ISO, since it is defined in ISO C99.
1830 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1832         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1833         macro expansion.
1834         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1836 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1838         [BZ #21533]
1839         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1840         201706L for Unicode 10.0.
1842 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1844         [BZ #21657]
1845         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1846         on node-local addresses.
1847         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1849 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1851         * intl/loadmsgcat.c: Remove alloca support.
1852         (_nl_load_domain): Use calloc instead of alloca.
1854 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1856         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1857         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1858         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1859         alloc_buffer_create_failure.
1860         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1861         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1862         (__libc_alloc_buffer_copy_string)
1863         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1864         * malloc/alloc_buffer_alloc_array.c: New file.
1865         * malloc/alloc_buffer_allocate.c: Likewise.
1866         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1867         * malloc/alloc_buffer_copy_string.c: Likewise.
1868         * malloc/alloc_buffer_create_failure.c: Likewise.
1869         * malloc/tst-alloc_buffer.c: Likewise.
1871 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1874         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1875         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1876         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1877         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1878         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1879         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1880         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1881         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1882         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1883         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1884         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1885         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1886         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1887         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1888         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1889         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1890         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1891         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1892         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1893         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1894         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1895         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1896         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1897         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1898         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1899         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1900         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1901         "locale-defines.h".
1902         (UPDATE_STRNCMP_COUNTER): New.
1903         (SECTION): Likewise.
1904         (GLABEL): Likewise.
1905         (LABEL): Likewise.
1906         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1907         for libc.a.
1909 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1911         [BZ #21622]
1912         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1913         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1914         __USE_MISC].
1915         (SA_NODEFER): Likewise.
1916         (SA_RESETHAND): Likewise.
1918 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1920         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1921         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1922         Remove security_level on all fields.
1923         * manual/tunables.texi: Replace ifunc with hwcaps.
1924         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1925         Renamed to ..
1926         (TUNABLE_CALLBACK (set_hwcaps)): This.
1927         (init_cpu_features): Updated.
1928         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1929         data_cache_size, data_cache_size and non_temporal_threshold to
1930         unsigned long int.
1931         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1932         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1933         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1934         use DEFAULT_STRLEN.
1936 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1938         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1939         asprintf to construct an absolute pathname.
1941 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1943         * misc/tst-preadvwritev2-common.c: New file.
1944         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1945         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1947 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1949         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1950         annotation.
1951         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1953 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1955         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1956         hidden __GI__dl_argv symbol.
1958 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1961         to parse addresses with IPv6 scope IDs.
1963 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1965         Add the __inet_pton_length helper function.
1966         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1967         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1968         Add length argument.
1969         (__inet_pton): New function.
1970         (inet_pton4): Add length argument.
1971         (hex_digit_value): New function.
1972         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1973         memmove and memset to fill :: gap.
1974         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1975         tst-inet_pton.
1976         * resolv/tst-inet_pton.c: New file.
1977         * support/Makefile (libsupport-routines): Add xmprotect.
1978         * support/xunistd.h (xmprotect): Declare.
1979         * support/xmprotect.c: New file.
1981 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1983         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1984         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1985         (call_gai, check_ai): New functions.
1986         (expect_failure, expect_success): Use them.  Add logging.
1988 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1990         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1991         (sysdep_routines): Add memchr_power8.
1992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1993         (memchr): Add __memchr_power8 to list of memchr functions.
1994         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1995         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1996         (memchr): Add __memchr_power8 to ifunc list.
1997         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1999 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2001         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
2002         (__llrintf): Define as strong alias of __llrint.
2003         (llrintf):  Define as weak alias of __llrint.
2004         (__lrintf): Define as strong alias of __llrint.
2005         (lrintf):  Define as weak alias of __llrint.
2006         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
2007         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2008         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
2009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
2011 2017-06-20  Zack Weinberg  <zackw@panix.com>
2013         * bits/signum-generic.h: Renamed from bits/signum.h.
2014         Add proper multiple include guard and misuse check.
2015         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
2016         Move definition of SIGIO to "archaic names for compatibility" section.
2017         * bits/signum.h: New file which just includes bits/signum-generic.h.
2018         * sysdeps/unix/bsd/bits/signum.h
2019         * sysdeps/unix/sysv/linux/bits/signum.h
2020         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
2021         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
2022         * sysdeps/unix/sysv/linux/mips/bits/signum.h
2023         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
2024         Just include <bits/signum-generic.h> and then add or adjust
2025         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
2027         * signal/Makefile: Install bits/signum-generic.h.
2028         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
2030         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
2031         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
2033         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
2034         * sysdeps/unix/sysv/linux/Makefile: Run it.
2036 2017-06-20  Zack Weinberg  <zackw@panix.com>
2038         * locale/xlocale.h: Rename to...
2039         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
2040         Only define struct __locale_struct and __locale_t, not locale_t.
2041         * locale/bits/types/locale_t.h: New file; define locale_t here.
2042         * locale/Makefile (headers): Update to match.
2044         * include/xlocale.h: Delete wrapper.
2045         * include/bits/types/__locale_t.h: New wrapper.
2046         * include/bits/types/locale_t.h: New wrapper.
2048         * ctype/ctype.h, include/printf.h, include/time.h
2049         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
2050         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
2051         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
2052         Correct outdated comments regarding the standardization status of
2053         the functions that take locale_t arguments.
2055         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
2056         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2057         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2058         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2059         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2060         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
2061         Don't include xlocale.h. If necessary, include locale.h instead.
2063         * stdlib/strtold_l.c: Unconditionally include wchar.h.
2065         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2066         * include/monetary.h, include/stdlib.h, include/time.h
2067         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2068         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2069         * locale/localeinfo.h, locale/newlocale.c
2070         * locale/nl_langinfo_l.c, locale/uselocale.c
2071         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2072         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2073         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2074         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2075         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2076         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2077         * string/strings.h, string/strncase.c, string/strxfrm_l.c
2078         * sysdeps/ieee754/float128/strtof128_l.c
2079         * sysdeps/ieee754/float128/wcstof128.c
2080         * sysdeps/ieee754/float128/wcstof128_l.c
2081         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2082         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2083         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2084         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2085         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2086         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2087         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2088         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2089         * sysdeps/x86_64/strcasecmp_l-nonascii.c
2090         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2091         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2092         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2093         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2094         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2095         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2096         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2097         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2098         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2099         Change all uses of __locale_t to locale_t.
2101 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2103         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2104         for !__OFF_T_MATCHES_OFF64_T.
2105         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2106         implementation based on open64.
2107         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2108         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2110 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2112         * elf/dl-tunables.list: Move x86 specific tunables to ...
2113         * sysdeps/x86/dl-tunables.list: Here.  New file.
2115 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
2117         [BZ #21635]
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2119         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2120         * conform/data/signal.h-data (uc_mcontext): XFAIL for
2121         powerpc32-linux.
2122         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2124         [BZ #21634]
2125         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2126         (conformtest-xfail-conds): New variable.
2127         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2128         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2130 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2132         * benchtests/powf-inputs: Add reduced trace from wrf.
2134 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2135             Erich Elsen  <eriche@google.com>
2137         * elf/dl-tunables.list (tune): Add ifunc,
2138         x86_non_temporal_threshold,
2139         x86_data_cache_size and x86_shared_cache_size.
2140         * manual/tunables.texi: Document glibc.tune.ifunc,
2141         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2142         and glibc.tune.x86_non_temporal_threshold.
2143         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2144         * sysdeps/x86/cpu-tunables.c: Likewise.
2145         * sysdeps/x86/cacheinfo.c
2146         (init_cacheinfo): Check and get data cache size, shared cache
2147         size and non temporal threshold from cpu_features.
2148         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2149         New.
2150         [HAVE_TUNABLES] Include <unistd.h>.
2151         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2152         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2153         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2154         IFUNC selection, data cache size, shared cache size and non
2155         temporal threshold.
2156         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2157         shared_cache_size and non_temporal_threshold.
2159 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2161         * benchtests/README: Describe workload feature.
2162         * benchtests/bench-skeleton.c (main): Add support for
2163         benchmarking traces from workloads.
2165 2017-06-20  Zack Weinberg  <zackw@panix.com>
2167         * string/string.h (__mempcpy_inline): Delete.
2168         * sysdeps/x86_64/multiarch/mempcpy.c
2169         * sysdeps/x86_64/multiarch/stpcpy.c:
2170         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2171         before including string.h.
2173 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2175         * benchtests/Makefile (bench-math): Add powf.
2176         * benchtests/powf-inputs: New file.
2178 2017-06-20  Zack Weinberg  <zackw@panix.com>
2180         * bits/string.h, string/bits/string.h
2181         * sysdeps/aarch64/bits/string.h
2182         * sysdeps/m68k/m680x0/m68020/bits/string.h
2183         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2184         * sysdeps/x86/bits/string.h: Delete file.
2186         * string/string.h: Don't include bits/string.h.
2187         * string/bits/string3.h: Rename to bits/string_fortified.h.
2188         No need to undef various symbols that the removed headers
2189         might have defined as macros.
2190         * string/Makefile (headers): Remove bits/string.h, change
2191         bits/string3.h to bits/string_fortified.h.
2192         * string/string-inlines.c: Update commentary.  Remove definitions
2193         of various macros that nothing looks at anymore.  Don't directly
2194         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2195         compiler-predefined macros.
2196         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2197         _is_ defined, provide internal hidden alias __strncat.
2198         * include/string.h: Declare internal hidden alias __strncat.
2199         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2200         not defined.
2201         * include/bits/string3.h: Rename to bits/string_fortified.h,
2202         update to match above.
2204         * sysdeps/i386/string-inlines.c: Define compat symbols for
2205         everything formerly defined by sysdeps/x86/bits/string.h.
2206         Make existing definitions into compat symbols as well.
2207         Remove some no-longer-necessary messing around with macros.
2209         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2210         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2211         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2212         * sysdeps/s390/multiarch/mempcpy.c
2213         No need to define _HAVE_STRING_ARCH_mempcpy.
2214         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2216         * sysdeps/i386/i686/multiarch/strncat-c.c
2217         * sysdeps/s390/multiarch/strncat-c.c
2218         * sysdeps/x86_64/multiarch/strncat-c.c
2219         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2221 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2223         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2224         (LDBL_DIG): Likewise.
2225         (LDBL_MIN_EXP): Likewise.
2226         (LDBL_MIN_10_EXP): Likewise.
2227         (LDBL_MAX_EXP): Likewise.
2228         (LDBL_MAX_10_EXP): Likewise.
2229         (LDBL_MAX): Likewise.
2230         (LDBL_MIN): Likewise.
2231         (LDBL_EPSILON): Likewise.
2232         (FLT_ROUNDS): Change standard from ISO to C90.
2233         (FLT_RADIX): Likewise.
2234         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2235         (FLT_DIG, DBL_DIG): Likewise.
2236         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2237         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2238         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2239         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2240         (FLT_MAX, DBL_MAX): Likewise.
2241         (FLT_MIN, DBL_MIN): Likewise.
2242         (FLT_EPSILON, DBL_EPSILON): Likewise.
2244 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2246         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2247         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2248         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2249         * sysdeps/mips/math-tests.h
2250         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2251         conditional code.
2253 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2255         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2256         It cannot change while __libc_setlocale_lock is acquired.
2258 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2260         * elf/rtld.c (audit_list_string): New variable.
2261         (audit_list): Update comment.
2262         (struct audit_list_iter): Define.
2263         (audit_list_iter_init, audit_list_iter_next): New function.
2264         (dl_main): Use struct audit_list_iter to process audit modules.
2265         (process_dl_audit): Call dso_name_valid_for_suid.
2266         (process_envvars): Set audit_list_string instead of calling
2267         process_dl_audit.
2269 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2271         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2272         (dso_name_valid_for_suid): New function.
2273         (handle_ld_preload): Likewise.
2274         (dl_main): Call it.  Remove alloca.
2276 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2278         [BZ #21625]
2279         * posix/sys/wait.h (strust rusage forward declaration): Change
2280         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2281         !__USE_XOPEN2K].
2282         (wait3): Likewise.
2284         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2285         * configure: Regenerated.
2286         * manual/install.texi (Tools for Compilation): Document
2287         requirement for GCC 4.9 or later.
2288         * INSTALL: Regenerated.
2290 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2292         [BZ #21624]
2293         CVE-2017-1000366
2294         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2295         __libc_enable_secure.
2297 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2299         [BZ #21539]
2300         * NEWS: Mention s390 ptrace request changes.
2301         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2302         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2303         PTRACE_SETFPREGS): Remove enum constant.
2304         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2305         Remove defines.
2306         (PTRACE_SINGLEBLOCK): New enum constant.
2307         (PT_STEPBLOCK): New define.
2308         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2309         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2310         PTRACE_TE_ABORT_RAND): New enum constant and define.
2311         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2312         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2313         New file.
2314         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2316 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2318         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2319         configuration file.
2320         (__res_vinit): Adjust.
2322 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2324         * resolv/res_init.c (res_vinit_1): New function.
2325         (__res_vinit): Call it.  Handle file open and memory allocation
2326         failures.
2327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2328         erno from __res_maybe_init failure.
2329         (_nss_dns_gethostbyname4_r): Likewise.
2330         (_nss_dns_gethostbyaddr2_r): Likewise.
2331         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2332         (_nss_dns_getnetbyaddr_r): Likewise.
2334 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2336         * resolv/res_init.c: Reformat to GNU style.
2338 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2340         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2341         (is_sort_mask): New function.
2342         (__res_vinit): Use it.
2344 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2346         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2347         conditionals.
2349 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2351         * resolv/res-close.c: New file.
2352         * resolv/res_init.c (__res_iclose, res_nclose)
2353         (res_thread_freeres): Remove definitions.
2354         * resolv/Makefile (routines): Add res-close.
2356 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2358         * resolv/res_randomid.c: New file.
2359         * resolv/res_init.c (res_randomid): Remove definition.
2360         * resolv/Makefile (routines): Add res_randomid.
2362 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2364         * include/resolv.h (__res_vinit): Declare as hidden.
2365         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2366         * resolv/res_libc.c (res_init): Likewise.
2368 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2370         [BZ #21457]
2371         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2372         _libc_xmmreg): Use __ctx in defining field.
2374         [BZ #21597]
2375         * signal/signal.h (siginterrupt): Make declaration conditional on
2376         [__USE_XOPEN_EXTENDED || __USE_MISC].
2378         [BZ #21584]
2379         * signal/signal.h: Make includes of <bits/sigstack.h> and
2380         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2381         __USE_MISC].
2382         (sigaltstack): Make declaration conditional on
2383         [__USE_XOPEN_EXTENDED || __USE_MISC].
2385         [BZ #21575]
2386         * resource/bits/types/struct_rusage.h: New file.
2387         * include/bits/types/struct_rusage.h: Likewise.
2388         * bits/resource.h (struct rusage): Include
2389         <bits/types/struct_rusage.h> instead of defining here.
2390         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2393         Likewise.
2394         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2395         Likewise.
2396         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2397         Likewise.
2398         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2399         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2400         Include <bits/types/struct_rusage.h>
2402 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2404         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2406 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2408         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2410 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2412         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2414 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2416         [BZ #21537]
2417         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2418         Check SHARED instead of PIC.
2419         (SYSCALL_PIC_SETUP): Add missing semicolons.
2420         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2421         Check SHARED instead of PIC.
2422         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2423         (__makecontext_ret): Adjust code to jump to exit.
2425 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2427         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2428         Simplify code by always using SVC 0 instead of EX.
2429         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2431 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2433         * elf/Versions (ld): Remove _dl_out_of_memory.
2435 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2437         * timezone/private.h: Update from tzcode 2017b.
2438         * timezone/tzfile.h: Likewise.
2439         * timezone/tzselect.ksh: Likewise.
2440         * timezone/zdump.c: Likewise.
2441         * timezone/zic.c: Likewise.
2442         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2443         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2444         * time/tzset.c (SECSPERDAY): New macro.
2446 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2448         * manual/string.texi (strdup): Complete header and standards
2449         annotation.
2450         (strncpy): Likewise.
2452 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2454         * manual/arith.texi (FP_NAN): Add or complete header and standard
2455         annotations.
2456         (FP_INFINITE): Likewise.
2457         (FP_ZERO): Likewise.
2458         (FP_SUBNORMAL): Likewise.
2459         (FP_NORMAL): Likewise.
2460         (SNAN): Likewise.
2461         (SNANL): Likewise.
2462         (totalorderf): Likewise.
2463         (totalorderl): Likewise.
2464         (totalordermagf): Likewise.
2465         (totalordermagl): Likewise.
2466         (_Complex_I): Likewise.
2467         (I): Likewise.
2469 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2471         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2472         standard annotation.
2473         (ARGP_HELP_SHORT_USAGE): Likewise.
2474         (ARGP_HELP_SEE): Likewise.
2475         (ARGP_HELP_LONG): Likewise.
2476         (ARGP_HELP_PRE_DOC): Likewise.
2477         (ARGP_HELP_POST_DOC): Likewise.
2478         (ARGP_HELP_DOC): Likewise.
2479         (ARGP_HELP_BUG_ADDR): Likewise.
2480         (ARGP_HELP_LONG_ONLY): Likewise.
2481         (ARGP_HELP_EXIT_ERR): Likewise.
2482         (ARGP_HELP_EXIT_OK): Likewise.
2483         (ARGP_HELP_STD_ERR): Likewise.
2484         (ARGP_HELP_STD_USAGE): Likewise.
2485         (ARGP_HELP_STD_HELP): Likewise.
2487 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2489         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2490         use of the C locale.  Update Perl dependency comment.
2491         * manual/header.texi: Update reference to summary.awk.
2492         * manual/macros.texi: Refer authors to `summary.pl --help'.
2493         * manual/summary.awk: Remove file.
2494         * manual/summary.pl: New file.  Generate summary.texi, and check
2495         for @standards-related syntax errors.
2496         * manual/argp.texi: Convert header and standards @comments to
2497         @standards.
2498         * manual/arith.texi: Likewise.
2499         * manual/charset.texi: Likewise.
2500         * manual/conf.texi: Likewise.
2501         * manual/creature.texi: Likewise.
2502         * manual/crypt.texi: Likewise.
2503         * manual/ctype.texi: Likewise.
2504         * manual/debug.texi: Likewise.
2505         * manual/errno.texi: Likewise.
2506         * manual/filesys.texi: Likewise.
2507         * manual/getopt.texi: Likewise.
2508         * manual/job.texi: Likewise.
2509         * manual/lang.texi: Likewise.
2510         * manual/llio.texi: Likewise.
2511         * manual/locale.texi: Likewise.
2512         * manual/math.texi: Likewise.
2513         * manual/memory.texi: Likewise.
2514         * manual/message.texi: Likewise.
2515         * manual/pattern.texi: Likewise.
2516         * manual/pipe.texi: Likewise.
2517         * manual/process.texi: Likewise.
2518         * manual/resource.texi: Likewise.
2519         * manual/search.texi: Likewise.
2520         * manual/setjmp.texi: Likewise.
2521         * manual/signal.texi: Likewise.
2522         * manual/socket.texi: Likewise.
2523         * manual/startup.texi: Likewise.
2524         * manual/stdio.texi: Likewise.
2525         * manual/string.texi: Likewise.
2526         * manual/sysinfo.texi: Likewise.
2527         * manual/syslog.texi: Likewise.
2528         * manual/terminal.texi: Likewise.
2529         * manual/threads.texi: Likewise.
2530         * manual/time.texi: Likewise.
2531         * manual/users.texi: Likewise.
2533 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2535         * manual/macros.texi (@standards): New macro.  Provide placeholder
2536         for header and standards annotations.
2537         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2539 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2541         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2542         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2543         rule.
2544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2545         sync_file_range.
2547          * support/support_test_main.c (support_test_main):  Use optstring
2548          member for option string in getopt_long.
2549          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2550          (CMDLINE_OPTSTRING): New define.
2551          * support/test-driver.h (test_config): Add optstring member.
2553 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2556         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2557         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2558         Check USE_AS_STRPBRK instead of STRPBRK_P.
2559         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2560         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2561         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2562         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2563         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2564         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2565         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2566         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2567         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2568         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2569         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2570         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2571         and "#endif".
2573 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2575         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2576         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2578 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2581         strcat-sse2.
2582         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2583         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2584         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2585         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2586         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2588 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2589             Erich Elsen  <eriche@google.com>
2591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2592         memcmp-sse2.
2593         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2594         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2595         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2596         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2597         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2598         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2600 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2601             Erich Elsen  <eriche@google.com>
2603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2604         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2606         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2607         Update comments.
2608         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2609         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2610         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2611         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2612         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2613         * sysdeps/x86_64/multiarch/memset.S: Removed.
2614         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2615         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2616         (__memset_chk_erms): New function.
2618 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2620         * configure.ac(--enable-tunables): Enable by default.
2621         * configure: Regenerate.
2622         * NEWS: Mention change.
2623         * manual/install.texi (enable-tunables): Adjust documentation.
2624         * INSTALL: Regenerate.
2626 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2628         [BZ #18988]
2629         * benchtests/thread_create-inputs: New file.
2630         * benchtests/thread_create-source.c: Likewise.
2631         * support/xpthread_attr_setguardsize.c: Likewise.
2632         * support/Makefile (libsupport-routines): Add
2633         xpthread_attr_setguardsize object.
2634         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2635         * benchtests/Makefile (bench-pthread): Add thread_create.
2636         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2637         then mprotect the required area.
2638         (guard_position): New function.
2639         (setup_stack_prot): Likewise.
2641 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2642             Erich Elsen  <eriche@google.com>
2643             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2646         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2647         mempcpy_chk-nonshared and memmove_chk-nonshared.
2648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2649         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2650         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2651         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2652         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2653         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2654         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2655         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2656         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2657         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2658         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2659         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2660         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2661         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2662         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2663         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2664         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2665         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2666         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2667         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2668         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2669         (__mempcpy_chk_erms): New function.
2670         (__memmove_chk_erms): Likewise.
2671         (__memcpy_chk_erms): New alias.
2673 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2675         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2676         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2678 2017-06-14  Zack Weinberg  <zackw@panix.com>
2680         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2681         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2682         defined, don't declare anything other than the E-constants.
2684         * include/errno.h: Change conditional for exposing internal
2685         declarations to (not _ISOMAC and not __ASSEMBLER__).
2686         * bits/errno.h: Remove logic for __need_Emath.  Document
2687         requirements for a port-specific bits/errno.h.
2689         * sysdeps/unix/sysv/linux/bits/errno.h
2690         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2691         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2692         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2693         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2694         Add multiple-include guard and check against improper inclusion.
2695         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2696         constants are defined as simple integer literals.  Consistent
2697         formatting.
2698         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2699         enum __error_t_codes if __ASSEMBLER__ is not defined.
2700         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2702         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2703         including errno.h.
2704         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2705         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2706         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2707         * sysdeps/x86_64/fpu/s_cosf.S
2708         * sysdeps/x86_64/fpu/s_sincosf.S
2709         * sysdeps/x86_64/fpu/s_sinf.S:
2710         Just include errno.h; don't define __need_Emath or include
2711         bits/errno.h directly.
2713 2017-06-14  Zack Weinberg  <zackw@panix.com>
2715         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2716         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2717         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2719         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2720         for IOV_MAX.
2721         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2722         Don't install bits/uio.h.
2723         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2724         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2725         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2727         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2728         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2729         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2731         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2732         Include bits/types/struct_iovec.h, not bits/uio.h.
2733         Use __ssize_t, not ssize_t, in function prototypes.
2734         Don't use hard TAB for double space after period in comments.
2736 2017-06-14  Alan Modra  <amodra@gmail.com>
2738         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2739         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2740         refsym and sym parameters.  Adjust callers.
2741         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2742         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2743         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2744         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2745         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2746         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2747         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2748         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2749         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2750         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2751         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2752         Likewise.
2753         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2755         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2758         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2759         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2760         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2761         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2762         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2763         Delete reloc param, add refsym and sym.  Check optimized plt
2764         call stubs for localentry:0 functions.  Adjust callers.
2765         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2766         and sym parameters.  Adjust callers.
2767         (_dl_reloc_overflow): Move attribute.
2768         (_dl_error_localentry): Declare.
2769         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2770         refsym and sym to elf_machine_fixup_plt.
2771         * elf/testobj6.c (preload): Call printf.
2773 2017-06-14  Alan Modra  <amodra@gmail.com>
2775         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2776         (NOPS, ENTRY_3): New macros.
2777         (ENTRY): Rewrite.
2778         (ENTRY_TOCLESS): Define.
2779         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2780         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2781         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2782         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2783         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2784         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2785         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2786         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2787         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2788         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2789         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2790         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2791         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2792         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2793         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2794         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2795         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2796         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2797         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2798         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2799         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2800         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2801         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2802         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2803         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2804         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2805         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2806         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2807         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2808         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2809         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2810         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2811         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2812         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2813         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2814         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2815         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2816         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2817         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2818         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2819         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2820         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2821         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2822         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2823         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2824         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2825         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2826         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2827         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2828         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2829         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2830         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2831         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2832         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2833         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2834         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2835         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2836         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2837         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2838         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2839         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2840         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2841         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2842         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2843         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2844         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2846         Likewise.
2847         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2848         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2849         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2850         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2852         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2853         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2854         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2855         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2858         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2859         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2860         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2861         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2862         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2863         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2864         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2865         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2866         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2867         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2868         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2869         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2870         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2871         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2872         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2873         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2874         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2875         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2876         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2877         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2878         add nop when SHARED.
2879         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2880         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2881         define.
2882         (ENTRY_TOCLESS): Define.
2883         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2884         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2885         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2887 2017-06-14  Alan Modra  <amodra@gmail.com>
2889         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2890         MEMSET_is_local.
2891         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2892         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2893         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2894         Define MEMSET.
2895         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2896         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2897         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2898         nop after local calls.
2899         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2900         Don't add nop after local call.
2901         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2902         CALL_MCOUNT.
2904 2017-06-14  Alan Modra  <amodra@gmail.com>
2906         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2907         (FUNC_LABEL): Rename from DOT_LABEL.
2908         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2909         Use .p2align rather than .align.
2910         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2911         (ABORT_TRANSACTION): Likewise.
2912         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2913         particularly at end.  Add semicolon at invocation as necessary.
2914         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2915         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2916         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2917         END): Adjust to suit.
2919 2017-06-14  Alan Modra  <amodra@gmail.com>
2921         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2922         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2923         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2924         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2925         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2927         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2929 2017-06-14  Alan Modra  <amodra@gmail.com>
2931         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2932         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2934 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2936         [BZ #21548]
2937         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2938         8 and use it when copying general purpose registers.
2939         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2940         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2941         mips o32.
2942         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2943         new test for mips o32.
2944         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2945         8 and use it when copying general purpose registers.
2946         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2948 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2950         * configure.ac (find_cxx_header): Suppress compiler error message.
2952 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2954         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2955         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2956         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2957         begin/end.
2958         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2959         dynarray_int_end.
2960         (test_str): Test dynarray_str_begin, dynarray_str_end.
2962 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2964         [BZ #21573]
2965         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2966         $(common-objpfx)bits/std_abs.h.
2967         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2968         New target.
2969         * config.make.in (c++-bits-std_abs-h): New.
2970         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2971         (CXX_BITS_STD_ABS_H): New.
2972         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2973         * configure: Regenerated.
2975 2017-06-13  Zack Weinberg  <zackw@panix.com>
2977         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2978         directives.
2980 2017-06-12  Zack Weinberg  <zackw@panix.com>
2982         * bits/sched.h: Remove __need_schedparam logic and replace with a
2983         normal multiple-include guard.  Change field name in struct
2984         sched_param from __sched_priority to sched_priority.  Delete
2985         everything under #ifndef __cpu_set_t_defined.
2986         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2987         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2989         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2990         For compatibility, #define sched_priority to itself, and #define
2991         __sched_priority as sched_priority.
2992         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2993         that was under #ifndef __cpu_set_t_defined in
2994         sysdeps/unix/sysv/linux/bits/sched.h.
2995         * include/bits/cpu-set.h: New wrapper.
2996         * posix/Makefile: Install bits/cpu-set.h.
2998 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2999             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3000             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3002         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
3003         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
3004         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
3005         * math/libm-test-isfinite.inc (finite_test): Likewise.
3006         * math/libm-test-lgamma.inc (gamma_test): Likewise.
3007         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
3008         (nexttoward_test_data}: Likewise.
3009         * math/libm-test-remainder.inc (drem_test): Likewise.
3010         * math/libm-test-scalb.inc (scalb_test): Likewise.
3011         (scalb_test_data): Likewise.
3012         * math/libm-test-significand.inc (significand_test): Likewise.
3013         (significand_test_data): Likewise.
3014         * math/libm-test-support.c (check_complex): Replace __complex__
3015         FLOAT with CFLOAT to get the support for old compiler.
3016         * math/libm-test-support.h (check_complex): Likewise.
3017         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
3018         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
3019         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
3020         * math/test-float128.h: New file.
3021         * math/test-math-floatn.h: New file.
3023 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3025         * include/float.h: Allow the definition of macros prefixed with
3026         FLT128 even if _ISOMAC is defined, but provided that
3027         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
3029 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3031         * manual/math.texi (Mathematics): Add description for _FloatN and
3032         _FloatNx types and mentions that they are not support in glibc for
3033         any architecture, so far.
3034         * manual/arith.texi (wcstof, wcstold): Replace the mention to
3035         stdlib.h with wchar.h.
3036         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
3037         (Printing of Floats): Add description for strfromfN.
3039 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3040             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3041             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3043         * include/gmp.h (__mpn_construct_float128): New declaration.
3044         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
3045         (__strtof128_l): New declaration.
3046         (__strtof128_nan): Likewise.
3047         (__wcstof128_nan): Likewise.
3048         (__strtof128_internal): Likewise.
3049         (____strtof128_l_internal): Likewise.
3050         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
3051         (__wcstof128_l): New declaration.
3052         (__wcstof128_internal): Likewise.
3054         * stdlib/Makefile (bug-strtod2): Link libm too.
3056         * stdlib/stdlib.h (strtof128): New declaration.
3057         (strtof128_l): Likewise.
3059         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
3060         tst-strtod.h macros to ensure float128 gets tested too.
3062         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3064         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3065         tests.
3066         (IF_FLOAT128): New macro.
3067         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3068         the tests.
3069         (STRTOD_TEST_FOREACH): Likewise.
3071         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3072         wcstof128 functions into libc.
3074         * sysdeps/ieee754/float128/Versions: Add exports for the above
3075         new functions.
3077         * sysdeps/ieee754/float128/mpn2float128.c: New file.
3078         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3079         * sysdeps/ieee754/float128/strtof128.c: New file.
3080         * sysdeps/ieee754/float128/strtof128_l.c: New file.
3081         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3082         * sysdeps/ieee754/float128/wcstof128.c: New file.
3083         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3084         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3085         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3086         (CFLAGS-wcstof128_l): Likewise.
3088         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3089         (wcstof128): New declaration.
3090         (wcstof128_l): Likewise.
3092 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
3094         [BZ #21552]
3095         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3096         not [__USE_XOPEN].
3097         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3099         [BZ #21550]
3100         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3102 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3105         strcpy-sse2 and stpcpy-sse2.
3106         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3107         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3108         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3109         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3110         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3111         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3112         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3113         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3114         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3115         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3116         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3117         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3118         (libc_hidden_def): Always defined as empty.
3119         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3120         Always Defined as empty.
3122 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3124         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3126 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3128         [BZ #15105]
3129         [BZ #19463]
3130         * include/string.h: Add internal redirect for __stpcpy.
3131         * string/Makefile: Remove bits/string2.h.
3132         * string/string.h: Update comment.
3133         * string/string-inlines.c: Remove bits/string2.h include and comment.
3134         * string/bits/string2.h: Remove file.
3136 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3138         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3139         * sunrpc/clnt_gen.c (clnt_create): Likewise.
3140         * sunrpc/des_impl.c (_des_crypt): Likewise.
3141         * sunrpc/key_call.c (key_gendes): Likewise.
3142         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3143         * sunrpc/svc_simple.c (universal): Likewise.
3144         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3145         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3146         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3148 2017-06-10  Zack Weinberg  <zackw@panix.com>
3150         * stdlib/errno.h: Correct an outdated comment.
3152 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
3154         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3155         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3156         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3157         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3158         New file.  Invoke newly supported sysconf values for powerpc,
3159         and report results.  If none are supported, report so.
3160         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
3161         tst-sysconf.
3163 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3165         * include/sys/auxv.h (__getauxval): Add a prototype and its
3166         libc_hidden_proto.
3167         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3169 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3171         [BZ #21561]
3172         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3173         [__USE_XOPEN_EXTENDED].
3174         (id_t): Likewise.
3175         (include of <bits/types/siginfo_t.h): Likewise.
3176         (waitid): Likewise.
3177         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3178         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3179         (WEXITED): Likewise.
3180         (WCONTINUED): Likewise.
3181         (WNOWAIT): Likewise.
3182         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3183         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3184         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3186         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3187         libc.so PLT entry optional.
3188         (__gtsf2): Likewise.
3189         (__unorddf2): Likewise.
3190         (__unordsf2): Likewise.
3191         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3192         New optional libc.so PLT entry.
3194         [BZ #21554]
3195         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3196         not [__USE_XOPEN].
3198         [BZ #21560]
3199         * posix/sys/wait.h: Condition include of <signal.h> on
3200         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3201         unconditionally.
3202         [!__pid_t_defined] (pid_t): Define typedef.
3204 2017-06-09  Zack Weinberg  <zackw@panix.com>
3206         * include/errno.h (__errno_location): Use __attribute_const__
3207         instead of bare __attribute__.
3209 2017-06-09  Zack Weinberg  <zackw@panix.com>
3211         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3212         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3213         more appropriate location. Also add dl-tunable-list.h and
3214         dl-tunable-list.stmp.
3216 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3220 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3223         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3225         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3226         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3227         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3228         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3229         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3230         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3231         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3232         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3234 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3237         memrchr-sse2 and memrchr-avx2.
3238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3239         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3240         __memrchr_sse2.
3241         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3242         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3243         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3245 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3248         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3249         wcschr-sse2 and wcschr-avx2.
3250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3251         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3252         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3253         __wcschr_sse2.
3254         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3255         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3256         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3257         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3258         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3259         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3260         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3261         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3262         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3263         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3265 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3268         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3269         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3271         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3272         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3273         __wcslen_sse2 and __wcsnlen_avx2.
3274         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3275         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3276         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3277         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3278         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3279         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3280         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3281         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3282         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3283         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3284         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3285         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3286         vzeroupper is preferred and AVX unaligned load is fast.
3288 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3290         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3291         USE_AS_WMEMCHR is defined.
3292         (PCMPEQ): Likewise.
3293         (memchr): Renamed to ...
3294         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3295         Replace pcmpeqb with PCMPEQ.
3296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3297         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3298         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3299         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3300         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3301         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3302         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3303         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3304         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3305         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3306         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3307         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3308         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3310         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3311         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3312         __wmemchr_sse2.
3314 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3316         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3317         tst-dynarray-fail.
3319 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3321         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3322         * support/support_test_verify_impl.c
3323         (support_test_verify_exit_impl): Split from
3324         support_test_verify_impl.
3325         * support/check.h (TEST_VERIFY): Drop status argument from
3326         support_test_verify_impl call.
3327         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3328         (support_test_verify_impl): Remove status argument.
3329         (support_test_verify_exit_impl): Declare.
3331 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3333         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3334         mention of magic numbers in comments.
3335         (_dl_procinfo): Fix undefined behavior
3337 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3339         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3340         [XPG4].
3341         (WEXITED): Likewise.
3342         (WSTOPPED): Likewise.
3343         (WCONTINUED): Likewise.
3344         (WNOHANG): Likewise.
3345         (WNOWAIT): Likewise.
3346         (idtype_t): Likewise.
3347         (P_ALL): Likewise.
3348         (P_PID): Likewise.
3349         (P_PGID): Likewise.
3350         (id_t): Likewise.
3351         (siginfo_t): Likewise.
3352         (wait3): Likewise.
3353         (waitid): Likewise.
3354         (signal.h): Do not allow header for [XPG4].
3355         (sys/resource.h): Likewise.
3356         (si_*): Do not allow for [XPG4].
3357         (W*): Likewise.
3358         (P_*): Likewise.
3359         (BUS_): Likewise.
3360         (CLD_): Likewise.
3361         (FPE_): Likewise.
3362         (ILL_): Likewise.
3363         (POLL_): Likewise.
3364         (SEGV_): Likewise.
3365         (SI_): Likewise.
3366         (TRAP_): Likewise.
3367         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3368         variable.
3370 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3372         [BZ #21528]
3373         * elf/dl-minimal.c (__strtoul_internal): Removed.
3374         (strtoul): Likewise.
3375         * elf/dl-misc.c (_dl_strtoul): New function.
3376         * elf/dl-tunables.c (tunables_strtoul): Removed.
3377         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3378         * elf/rtld.c (process_envvars): Likewise.
3379         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3380         Likewise.
3381         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3383 2017-06-08  Zack Weinberg  <zackw@panix.com>
3385         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3386         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3387         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3388         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3389         between wctype.h and wchar.h.
3391         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3392         Install them.
3394         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3395         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3396         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3397         New wrappers.
3398         * include/stdio.h, include/wchar.h, include/wctype.h:
3399         No need to handle __need macros.
3401         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3402         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3403         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3404         * wcsmbs/wchar.h, wctype/wctype.h
3405         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3406         Use the new files instead of __need macros.
3408 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3410         * string/test-memrchr.c (test_main): Add tests for len == 0
3411         and tests for positions close to the beginning, which are
3412         equivalent to positions close to the end for memchr.
3414 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3417         comments.
3418         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3419         instead of wmemset.h.
3420         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3421         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3422         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3424 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3426         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3427         spec->info.is_binary128 to zero.
3428         * stdio-common/printf.h (printf_info): Add new member is_binary128
3429         to indicate that the number being converted to string is compatible
3430         with the IEC 60559 binary128 format.
3431         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3432         _Float128 numbers.
3433         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3434         ldbl-128/printf_fphex_macros.h
3435         (__printf_fphex): Add code to deal with _Float128 numbers.
3436         * stdio-common/printf_size.c (__printf_size): Likewise.
3437         * stdio-common/vfprintf.c (process_arg): Initialize member
3438         info.is_binary128 to zero.
3439         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3440         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3441         (strfromf128): New declaration.
3442         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3443         to one.
3444         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3445         * sysdeps/ieee754/float128/Versions: Likewise.
3446         * sysdeps/ieee754/float128/strfromf128.c: New file.
3448 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3450         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3451         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3452         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3453         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3454         (PRINT_FPHEX): New function-like macro that can be used for long
3455         double, as well as for _Float128
3457 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3459         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3460         (__printf_fp_l): Use the new macro to avoid duplicating code.
3461         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3462         (__printf_fphex): Use the new macro to avoid duplicating code.
3463         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3464         (__printf_size): Use the new macro to avoid duplicating code.
3466 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3468         * include/gmp.h: Include bits/floatn.h
3469         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3470         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3471         including stack-alloc.h.  It could have been defined by other header
3472         which not necessarily defines HAVE_ALLOCA.
3473         * sysdeps/ieee754/float128/Makefile: New file.
3474         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3475         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3476         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3477         redefine __mpn_extract_long_double to __mpn_extract_float128.
3478         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3479         _Float128 to allow float128_private.h overrides.
3481 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3483         * stdlib/fpioconst.h: Include bits/floatn.h.
3484         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3485         power of ten table should be.
3486         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3487         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3488         to include larger tables when _Float128 support is enabled.
3489         (_fpioconst_pow10): Likewise.
3491 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3493         * include/bits/types/clock_t.h: Use #include <path> instead of
3494         #include "../../path".
3495         * include/bits/types/clockid_t.h: Likewise.
3496         * include/bits/types/struct_iovec.h: Likewise.
3497         * include/bits/types/struct_itimerspec.h: Likewise.
3498         * include/bits/types/struct_osockaddr.h: Likewise.
3499         * include/bits/types/struct_sigstack.h: Likewise.
3500         * include/bits/types/struct_timespec.h: Likewise.
3501         * include/bits/types/struct_timeval.h: Likewise.
3502         * include/bits/types/struct_tm.h: Likewise.
3503         * include/bits/types/time_t.h: Likewise.
3504         * include/bits/types/timer_t.h: Likewise.
3506         [BZ #14096]
3507         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3508         America/New_York.
3510 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3512         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3513         into ...
3514         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3515         ifunc-sse4_1.h.
3517 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3519         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3520         Remove check for NULL 'buf'.
3521         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3523 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3525         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3526         include test-skeleton.c.
3527         Include support/check.h and support/test-driver.c.
3529 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3531         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3532         (_dl_aarch64_cap_flags): New array.
3533         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3534         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3535         functions.
3537         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3538         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3539         Likewise.
3540         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3541         up hwcap and hwcap_mask.
3543         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3544         (init_cpu_features): Use glibc.tune.hwcap_mask.
3545         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3547         * elf/dl-hwcaps.h: New file.
3548         * elf/dl-hwcaps.c: Include it.
3549         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3550         glibc.tune.hwcap_mask.
3551         * elf/dl-cache.c: Include dl-hwcaps.h.
3552         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3553         glibc.tune.hwcap_mask.
3554         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3555         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3556         _dl_hwcap_mask.
3557         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3558         _dl_hwcap_mask.
3559         (process_envvars)[HAVE_TUNABLES]: Likewise.
3560         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3561         Likewise.
3562         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3563         initialize dl_hwcap_mask when tunables are enabled.
3565         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3566         guard.
3567         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3569         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3570         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3571         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3573         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3574         * elf/dl-tunables.c: Likewise.
3575         (do_tunable_update_val): New function.
3576         (__tunable_set_val): New function.
3577         (__tunable_get_val): Call CB only if the tunable was externally
3578         initialized.
3579         (tunables_strtoul): Replace strval with initialized.
3580         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3581         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3582         prevent collision.
3583         (__tunable_set_val): New function.
3584         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3585         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3586         (TUNABLE_SET_VAL): Remove.
3587         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3588         * README.tunables: Document the new macros.
3589         * malloc/arena.c (ptmalloc_init): Adjust.
3591 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3594         wcsnlen-sse4_1 and wcsnlen-c.
3595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3596         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3597         __wcsnlen_sse2.
3598         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3599         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3600         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3601         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3602         * sysdeps/x86_64/wcsnlen.S: Removed.
3604 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3606         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3607         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3608         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3609         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3611 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3613         * NEWS: Mention new spinlock implementation.
3614         * include/atomic.h:
3615         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3616         (atomic_exchange_acq): Likewise.
3617         (atomic_load_relaxed): Likewise.
3618         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3619         * nptl/pthread_spin_init.c (pthread_spin_init):
3620         Use atomic_store_relaxed.
3621         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3622         Use C11-like atomic macros.
3623         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3624         Likewise.
3625         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3626         Use atomic_store_release.
3627         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3628         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3629         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3630         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3631         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3632         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3633         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3634         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3635         * sysdeps/alpha/atomic-machine.h: Likewise.
3636         * sysdeps/arm/atomic-machine.h: Likewise.
3637         * sysdeps/i386/atomic-machine.h: Likewise.
3638         * sysdeps/ia64/atomic-machine.h: Likewise.
3639         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3640         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3641         * sysdeps/microblaze/atomic-machine.h: Likewise.
3642         * sysdeps/mips/atomic-machine.h: Likewise.
3643         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3644         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3645         * sysdeps/s390/atomic-machine.h: Likewise.
3646         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3647         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3648         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3649         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3650         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3651         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3652         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3653         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3654         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3655         * sysdeps/x86_64/atomic-machine.h: Likewise.
3657 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3659         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3660         and use it instead of dl_x86_cpu_features.
3661         (handle_intel): Replace maxidx with cpu_features.  Pass
3662         cpu_features to intel_check_word.
3663         (__cache_sysconf): Pass cpu_features to handle_intel.
3664         (init_cacheinfo): Likewise.  Use cpu_features instead of
3665         dl_x86_cpu_features.
3667 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3669         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3671         memcmp-avx2 and wmemcmp-avx2.
3672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3673         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3674         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3675         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3676         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3677         2 machines if AVX unaligned load is fast and vzeroupper is
3678         preferred.
3679         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3680         2 machines if AVX unaligned load is fast and vzeroupper is
3681         preferred.
3683 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3685         * include/wchar.h (__wmemset_chk): New.
3686         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3687         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3688         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3689         (WMEMSET_CHK_SYMBOL): Likewise.
3690         (WMEMSET_SYMBOL): Likewise.
3691         (__wmemset): Add hidden definition.
3692         (wmemset): Add weak hidden definition.
3693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3694         wmemset_chk-nonshared.
3695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3696         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3697         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3698         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3699         and __wmemset_chk_avx512_unaligned.
3700         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3701         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3702         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3703         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3704         (WMEMSET_SYMBOL): Likewise.
3705         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3706         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3707         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3708         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3709         (WMEMSET_SYMBOL): Likewise.
3710         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3711         (WMEMSET_CHK_SYMBOL): New.
3712         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3713         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3714         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3715         (libc_hidden_builtin_def): Also define __GI_wmemset and
3716         __GI___wmemset.
3717         (weak_alias): New.
3718         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3719         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3720         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3721         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3722         * sysdeps/x86_64/wmemset.c: Likewise.
3723         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3725 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3726             H.J. Lu  <hongjiu.lu@intel.com>
3728         * sysdeps/x86/init-arch.h (PASTER1): New.
3729         (EVALUATOR1): Likewise.
3730         (PASTER2): Likewise.
3731         (EVALUATOR2): Likewise.
3732         (REDIRECT_NAME): Likewise.
3733         (OPTIMIZE): Likewise.
3734         (IFUNC_SELECTOR): Likewise.
3736 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3738         * sysdeps/x86_64/strlen.S (PMINU): New.
3739         (PCMPEQ): Likewise.
3740         (SHIFT_RETURN): Likewise.
3741         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3742         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3743         pminub with PCMPEQ and PMINU.
3744         * sysdeps/x86_64/wcsnlen.S: New file.
3746 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3748         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3749         the lower 32 bits.  Remove redundant instructions.
3751 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3754         0 as the high part of offset.
3755         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3757 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3759         [BZ #21538]
3760         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3761         [__USE_UNIX98].
3762         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3763         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3764         Likewise.
3765         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3766         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3767         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3768         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3769         Likewise.
3771         [BZ #21517]
3772         * bits/types/stack_t.h (stack_t): Remove struct tag.
3773         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3774         Likewise.
3775         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3776         Likewise.
3777         * debug/segfault.c (install_handler): Use stack_t instead of
3778         struct sigaltstack.
3779         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3780         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3781         * include/signal.h (__sigaltstack): Likwise.
3782         * signal/sigaltstack.c (__sigaltstack): Likewise.
3783         * signal/signal.h (sigaltstack): Likewise.
3784         * sysdeps/mach/hurd/i386/signal-defines.sym
3785         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3786         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3787         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3788         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3789         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3790         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3791         elf_prstatus): Likewise.
3792         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3793         Likewise.
3794         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3795         Likewise.
3796         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3797         Likewise.
3798         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3799         elf_prstatus): Likewise.
3800         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3801         Likewise.
3802         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3803         Likewise.
3805 2017-06-04  Zack Weinberg  <zackw@panix.com>
3807         * sysdeps/gnu/errlist.c: Regenerate.
3809 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3811         * benchtests/bench-memchr.c (do_test): Print out both length
3812         and position.
3813         (test_main): Also test the position close to the beginning for
3814         memrchr.
3816 2017-06-04  Zack Weinberg  <zackw@panix.com>
3818         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3819         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3820         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3821         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3822         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3823         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3824         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3825         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3826         * nis/nis_print_group_entry.c, nis/nis_remove.c
3827         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3828         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3829         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3830         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3831         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3832         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3833         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3834         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3835         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3836         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3837         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3838         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3839         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3840         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3841         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3842         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3843         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3844         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3845         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3846         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3848         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3849         abi-versions.h as well as shlib-compat.h.
3850         * sunrpc/get_myaddr.c: Remove obsolete comment.
3851         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3852         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3853         * resolv/res_libc.c: Include shlib-compat.h only once.
3855 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3858         of strdup.
3860 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3862         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3863         Set to the 3/4 of the total shared cache size.
3865 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3867         * manual/errno.texi: Remove redundant error strings.
3868         * manual/macros.texi (@errno): Render the error string in every
3869         description.
3871 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3873         [BZ #21543]
3874         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3875         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3876         [__USE_XOPEN_EXTENDED].
3878 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3880         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3881         strdupa.
3882         (getcanonname): Use __strdup instead of strdup.
3884 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3886         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3887         (CFLAGS-preadv64v2.c): Likewise.
3888         (CFLAGS-pwritev2.c): Likewise.
3889         (CFLAGS-pwritev64v2.c): Likewise.
3891 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3893         Test res_init with several configuration files.
3894         * resolv/Makefile [build-shared] (tests-internal): Add
3895         tst-resolv-res_init, tst-resolv-res_init-thread.
3896         (tst-resolv-res_init): Link against libdl, libresolv.
3897         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3898         libpthread.
3899         * resolv/tst-resolv-res_init.c: New file.
3900         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3901         * resolv/tst-resolv-res_init-thread.c: Likewise.
3902         * support/Makefile (libsupport-routines): Add support-xstat,
3903         support_can_chroot, support_capture_subprocess_check,
3904         support_isolate_in_subprocess, support_shared_allocate,
3905         support_write_file_string, xchroot, xmkdir, xopen.
3906         * support/capture_subprocess.h (enum support_capture_allow): Define.
3907         (support_capture_subprocess_check): Declare.
3908         * support/namespace.h (support_can_chroot)
3909         (support_isolate_in_subprocess): Declare.
3910         * support/support-xstat.c: New file.
3911         * support/support.h (support_shared_allocate, support_shared_free)
3912         (support_write_file_string): Declare.
3913         * support/support_can_chroot.c: New file.
3914         * support/support_capture_subprocess_check.c: Likewise.
3915         * support/support_isolate_in_subprocess.c: Likewise.
3916         * support/support_shared_allocate.c: Likewise.
3917         * support/support_write_file_string.c: Likewise.
3918         * support/xchroot.c: Likwise.
3919         * support/xmkdir.c: Likwise.
3920         * support/xopen.c: Likwise.
3921         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3923 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3925         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3926         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3928 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3930         * malloc/Makefile (routines): Add dynarray_at_failure,
3931         dynarray_emplace_enlarge, dynarray_finalize.
3932         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3933         tst-dynarray-at-fail.
3934         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3935         (tests-special): Add tst-dynarray-mem.out,
3936         tst-dynarray-mem-fail.out.
3937         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3938         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3939         mtrace.
3940         * malloc/Versions (__libc_dynarray_at_failure)
3941         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3942         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3943         GLIBC_PRIVATE.
3944         * malloc/dynarray.h: New file.
3945         * malloc/dynarray-skeleton.c: Likewise.
3946         * malloc/dynarray_at_failure.c: Likewise.
3947         * malloc/dynarray_emplace_enlarge.c: Likewise.
3948         * malloc/dynarray_finalize.c: Likewise.
3949         * malloc/dynarray_resize.c: Likewise.
3950         * malloc/dynarray_resize_clear.c: Likewise.
3951         * malloc/tst-dynarray.c: Likewise.
3952         * malloc/tst-dynarray-fail.c: Likewise.
3953         * malloc/tst-dynarray-at-fail.c: Likewise.
3954         * malloc/tst-dynarray-shared.h: Likewise.
3955         * support/Makefile (libsupport-routines): Add
3956         support_capture_subprocess, xdup2, xpipe.
3957         (tests): Add tst-support_capture_subprocess.
3958         * support/capture_subprocess.h: New file.
3959         * support/support_capture_subprocess.c: Likewise.
3960         * support/tst-support_capture_subprocess.c: Likewise.
3961         * support/xdup2.c: Likewise.
3962         * support/xpipe.c: Likewise.
3963         * support/xunistd.h (xdup2, xpipe): Declare.
3965 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3967         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3968         macros MAX and MIN.
3970 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3972         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3973         [XPG4].
3974         (SA_SIGINFO): Likewise.
3975         (SA_ONSTACK): Likewise.
3976         (SA_RESETHAND): Likewise.
3977         (SA_RESTART): Likewise.
3978         (SA_NOCLDWAIT): Likewise.
3979         (SA_NODEFER): Likewise.
3980         (SS_ONSTACK): Likewise.
3981         (SS_DISABLE): Likewise.
3982         (MINSIGSTKSZ): Likewise.
3983         (SIGSTKSZ): Likewise.
3984         (ucontext_t): Likewise.
3985         (stack_t): Likewise.
3986         (struct sigstack): Likewise.
3987         (SI_USER): Do not expect for [XPG4 || XPG42].
3988         (SI_QUEUE): Likewise.
3989         (SI_TIMER): Likewise.
3990         (SI_ASYNCIO): Likewise.
3991         (SI_MESGQ): Likewise.
3992         (bsd_signal): Do not expect for [XPG4].
3993         (killpg): Likewise.
3994         (sigaltstack): Likewise.
3995         (sighold): Likewise.
3996         (sigignore): Likewise.
3997         (siginterrupt): Likewise.
3998         (sigpause): Likewise.
3999         (sigrelse): Likewise.
4000         (sigset): Likewise.
4001         (sigwait): Do not expect for [XPG4 || XPG42].
4003 2017-06-01  Zack Weinberg  <zackw@panix.com>
4005         [BZ #21514]
4006         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
4007         pointing to the generated file in <builddir>/misc/bits/syscall.h.
4009 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
4011         [BZ #21457]
4012         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
4013         NGREG to __NGREG if [__USE_MISC].
4014         (gregset_t): Define using __NGREG.
4015         (__ctx): New macro.
4016         (mcontext_t): Use __ctx in defining fields.
4017         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
4018         define NGREG to __NGREG if [__USE_MISC].
4019         (gregset_t): Define using __NGREG.
4020         (__ctx): New macro.
4021         (__ctxt): Likewise.
4022         (fpregset_t): Use __ctx and __ctxt in defining fields.
4023         (mcontext_t): Likewise.
4024         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
4025         define NGREG to __NGREG if [__USE_MISC].
4026         (gregset_t): Define using __NGREG.
4027         (__ctx): New macro.
4028         (mcontext_t): Use __ctx in defining fields.
4029         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
4030         define NGREG to __NGREG if [__USE_MISC].
4031         (gregset_t): Define using __NGREG.
4032         (__ctx): New macro.
4033         (fpregset_t): Use __ctx in defining fields.
4034         (mcontext_t): Likewise.
4035         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
4036         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4037         (gregset_t): Define using __NGREG.
4038         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4039         [__USE_MISC].
4040         (fpregset_t): Define using __NFPREG.
4041         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
4042         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4043         (gregset_t): Define using __NGREG.
4044         (__ctx): New macro.
4045         (fpregset_t): Use __ctx in defining fields.
4046         (mcontext_t): Likewise.
4047         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
4048         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4049         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4050         [__USE_MISC].
4051         (gregset_t): Define using __NGREG.
4052         (__ctx): New macro.
4053         (fpregset_t): Use __ctx in defining fields.
4054         (mcontext_t): Likewise.
4055         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
4056         (mcontext_t): Use __ctx in defining fields.
4057         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
4058         macro.
4059         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
4060         __NGREG if [__USE_MISC].
4061         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
4062         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4063         (mcontext_t): Likewise.
4064         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4065         __NGREG if [__USE_MISC].
4066         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4067         to __NFPREG if [__USE_MISC].
4068         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4069         to __NVRREG if [__USE_MISC].
4070         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4071         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4072         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4073         [__WORDSIZE != 32] (vrregset_t): Likewise.
4074         [__WORDSIZE != 32] (mcontext_t): Likewise.
4075         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4076         (__psw_t): Use __ctx in defining fields.
4077         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4078         [__USE_MISC].
4079         (gregset_t): Define using __NGREG.
4080         (fpreg_t): Use __ctx in defining fields.
4081         (fpregset_t): Likewise.
4082         (mcontext_t): Likewise.
4083         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4084         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4085         (gregset_t): Define using __NGREG.
4086         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4087         [__USE_MISC].
4088         (fpregset_t): Define using __NFPREG.
4089         (__ctx): New macro.
4090         (mcontext_t): Use __ctx in defining fields.
4091         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4092         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4093         __NGREG if [__USE_MISC].
4094         [__x86_64__] (gregset_t): Define using __NGREG.
4095         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4096         [__x86_64__] (struct _libc_fpstate): Likewise.
4097         [__x86_64__] (mcontext_t): Likewise.
4098         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4099         __NGREG if [__USE_MISC].
4100         [!__x86_64__] (gregset_t): Define using __NGREG.
4101         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4102         [!__x86_64__] (struct _libc_fpstate): Likewise.
4103         [!__x86_64__] (mcontext_t): Likewise.
4105 2017-06-01  Zack Weinberg  <zackw@panix.com>
4107         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4108         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
4109         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4110         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4111         libpthread.so no longer references __errno_location.
4113 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4115         * NEWS: Add note about pwritev2 and preadv2 inclusion.
4116         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4117         pwritev64v2.
4118         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4119         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4120         pwritev64v2.
4121         * misc/preadv2.c: New file.
4122         * misc/preadv64v2.c: Likewise.
4123         * misc/pwritev2.c: Likewise.
4124         * misc/pwritev64v2.c: Likewise.
4125         * misc/tst-preadvwritev2.c: Likewise.
4126         * misc/tst-preadvwritev64v2.c: Likewise.
4127         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4128         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4129         prototype.
4130         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4131         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4132         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4133         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4134         (PWRITEV): Likewise.
4135         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4136         ENOSYS.
4137         * nptl/tst-cancel4.c (tf_pwritev2): New test.
4138         (tf_preadv2): Likewise.
4139         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4140         * sysdeps/posix/preadv2.c: Likewise.
4141         * sysdeps/posix/preadv64v2.c: Likewise.
4142         * sysdeps/posix/pwritev2.c: Likewise.
4143         * sysdeps/posix/pwritev64v2.c: Likewise.
4144         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4145         support in kernel.
4146         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4147         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4148         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4149         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4150         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4151         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4152         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4153         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4154         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4155         support flags on Linux.
4156         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4157         preadv2, preadv64v2, pwritev2, pwritev64v2.
4158         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4159         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4160         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4161         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4162         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4163         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4166         Likewise.
4167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4168         Likewise.
4169         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4170         Likewise.
4171         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4172         Likewise.
4173         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4176         Likewise.
4177         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4179         (GLIBC_2.26): Likewise.
4180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4181         (GLIBC_2.26): Likewise.
4182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4183         Likewise.
4184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4185         (GLIBC_2.26): Likewise.
4186         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4187         Likewise.
4188         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4189         Likewise.
4190         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4191         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4192         Likewise.
4193         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4194         Likewise.
4195         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4196         Likewise.
4197         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4198         Likewise.
4199         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4200         Likewise.
4201         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4202         Likewise.
4203         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4204         Likewise.
4206 2017-05-31  Andreas Schwab  <schwab@suse.de>
4208         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4209         (main): Rename to do_test and make static.
4211 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4213         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4214         ARCH_INIT_CPU_FEATURES.
4215         (LIBC_START_MAIN): Call it.
4216         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4217         (__libc_start_main): Remove.
4218         (ARCH_INIT_CPU_FEATURES): New macro.
4219         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4220         (ARCH_INIT_CPU_FEATURES): New macro.
4222 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4223             RĂŒdiger Sonderfeld  <ruediger@c-plusplus.de>
4225         * include/stdlib.h (__libc_reallocarray): New declaration.
4226         * malloc/Makefile (routines): Add reallocarray.
4227         (tests): Add tst-reallocarray.c.
4228         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4229         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4230         function.
4231         * malloc/malloc.h (reallocarray): New declaration.
4232         * stdlib/stdlib.h (reallocarray): Likewise.
4233         * malloc/reallocarray.c: New file.
4234         * malloc/tst-reallocarray.c: New test file.
4235         * manual/memory.texi: Document reallocarray.
4236         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4237         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4238         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4239         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4240         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4241         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4244         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4247         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4251         Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4253         Likewise.
4254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4256         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4257         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4258         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4259         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4260         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4263         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4264         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4265         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4267 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4269         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4270         the lower 32 bits.
4272 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4274         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4275         $(build-pie-default) = yes]: Define.
4277 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4279         * string/test-memchr.c (test_main): Add tests for n == 0.
4281 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4283         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4284         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4285         (tests-internal): ... here.
4287 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4288              H.J. Lu  <hongjiu.lu@intel.com>
4290         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4291         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4292         (__tunable_set_val): Likewise.
4294 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4296         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4297         dl-tunables.list in subdirectories.
4299 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4300             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4301             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4303         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4304         (SNANF128): New macro.
4305         * math/e_sqrtf128.c: New file.
4306         * math/s_fmaxmag_template.c: Include math_private.h in order to
4307         make inline expansion of fabs128().
4308         * math/s_fminmag_template.c: Likewise.
4310         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4311         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4312         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4313         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4314         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4315         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4316         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4317         * sysdeps/ieee754/float128/e_expf128.c: New file.
4318         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4319         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4320         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4321         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4322         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4323         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4324         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4325         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4326         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4327         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4328         * sysdeps/ieee754/float128/e_logf128.c: New file.
4329         * sysdeps/ieee754/float128/e_powf128.c: New file.
4330         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4331         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4332         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4333         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4334         * sysdeps/ieee754/float128/float128_private.h: New file.
4335         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4336         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4337         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4338         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4339         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4340         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4341         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4342         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4343         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4344         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4345         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4346         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4347         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4348         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4349         * sysdeps/ieee754/float128/s_erff128.c: New file.
4350         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4351         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4352         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4353         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4354         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4355         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4356         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4357         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4358         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4359         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4360         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4361         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4362         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4363         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4364         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4365         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4366         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4367         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4368         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4369         * sysdeps/ieee754/float128/s_modff128.c: New file.
4370         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4371         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4372         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4373         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4374         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4375         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4376         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4377         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4378         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4379         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4380         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4381         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4382         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4383         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4384         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4385         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4386         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4387         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4388         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4389         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4390         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4391         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4392         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4393         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4394         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4396         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4397         (__iscanonicalf128): Define as a macro.
4399 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4401         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4402         (memmove): Use MEMMOVE for name.
4403         (memcpy): Use MEMCPY for name.  Change internal labels
4404         to external labels.
4405         * sysdeps/aarch64/multiarch/Makefile: New file.
4406         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4407         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4408         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4409         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4410         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4411         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4413 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4415         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4416         (_dl_arm_cap_flags): Fix array subscript.
4417         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4418         Fix count.
4420 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4422         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4424 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4426         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4427         (is_amd): Likewise.
4428         (max_cpuid): Likewise.
4429         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4430         (init_cacheinfo): Likewise.
4432 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4434         [BZ #21511]
4435         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4436         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4437         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4438         !__USE_XOPEN2K) || __USE_MISC].
4439         * conform/data/signal.h-data (struct sigstack): Expect type only
4440         if [!XOPEN2K8 && !POSIX2008].
4441         (sigstack): Expect function only if [XPG42 || UNIX98].
4443         [BZ #21457]
4444         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4445         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4446         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4447         <bits/types/__sigset_t.h>.
4448         (ucontext_t): Use sigset_t instead of __sigset_t.
4449         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4450         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4451         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4452         <bits/types/__sigset_t.h>.
4453         (ucontext_t): Use sigset_t instead of __sigset_t.
4454         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4455         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4456         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4457         <bits/types/__sigset_t.h>.
4458         (ucontext_t): Use sigset_t instead of __sigset_t.
4459         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4460         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4461         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4462         <bits/types/__sigset_t.h>.
4463         (ucontext_t): Use sigset_t instead of __sigset_t.
4464         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4465         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4466         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4467         <bits/types/__sigset_t.h>.
4468         (ucontext_t): Use sigset_t instead of __sigset_t.
4469         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4470         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4471         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4472         <bits/types/__sigset_t.h>.
4473         (ucontext_t): Use sigset_t instead of __sigset_t.
4474         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4475         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4476         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4477         <bits/types/__sigset_t.h>.
4478         (ucontext_t): Use sigset_t instead of __sigset_t.
4479         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4480         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4481         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4482         <bits/types/__sigset_t.h>.
4483         (ucontext_t): Use sigset_t instead of __sigset_t.
4484         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4485         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4486         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4487         <bits/types/__sigset_t.h>.
4488         (ucontext_t): Use sigset_t instead of __sigset_t.
4489         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4490         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4491         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4492         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4493         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4494         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4495         <bits/types/__sigset_t.h>.
4496         (ucontext_t): Use sigset_t instead of __sigset_t.
4497         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4498         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4499         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4500         <bits/types/__sigset_t.h>.
4501         (ucontext_t): Use sigset_t instead of __sigset_t.
4502         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4503         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4504         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4505         <bits/types/__sigset_t.h>.
4506         (ucontext_t): Use sigset_t instead of __sigset_t.
4507         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4508         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4509         <bits/ss_flags.h>.
4510         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4511         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4512         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4513         <bits/types/__sigset_t.h>.
4514         (ucontext_t): Use sigset_t instead of __sigset_t.
4515         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4516         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4517         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4518         <bits/types/__sigset_t.h>.
4519         (ucontext_t): Use sigset_t instead of __sigset_t.
4520         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4521         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4522         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4523         <bits/types/__sigset_t.h>.
4524         (ucontext_t): Use sigset_t instead of __sigset_t.
4525         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4526         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4527         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4528         <bits/types/__sigset_t.h>.
4529         (ucontext_t): Use sigset_t instead of __sigset_t.
4530         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4531         <bits/types.h>.
4532         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4533         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4534         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4535         <bits/types/__sigset_t.h>.
4536         (ucontext_t): Use sigset_t instead of __sigset_t.
4538 2017-05-22  Zack Weinberg  <zackw@panix.com>
4540         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4541         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4542         bits/siginfo-arch.h, only if not already defined.
4543         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4544         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4545         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4546         Likewise.
4548         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4549         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4551         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4552         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4553         Unconditionally define __SI_* macros.
4555 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4557         [BZ #21393]
4558         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4559         and add a check for dup3 failure.
4560         * libio/freopen64.c (freopen64): Likewise.
4561         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4562         libsupport.
4563         (do_test_bz21398): New test.
4564         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4566 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4569         Remove invalid comment.
4571 2017-05-21  Zack Weinberg  <zackw@panix.com>
4573         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4575 2017-05-20  Zack Weinberg  <zackw@panix.com>
4577         * bits/sigevent-consts.h
4578         * bits/siginfo-consts.h
4579         * bits/types/__sigset_t.h
4580         * bits/types/sigevent_t.h
4581         * bits/types/siginfo_t.h
4582         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4583         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4584         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4585         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4586         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4587         New system-dependent bits headers.
4589         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4590         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4591         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4592         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4593         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4594         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4595         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4596         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4597         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4598         New Linux-only system-dependent bits headers.
4600         * signal/bits/types/sig_atomic_t.h
4601         * signal/bits/types/sigset_t.h
4602         * signal/bits/types/sigval_t.h:
4603         New non-system-dependent bits headers.
4605         * sysdeps/generic/sigsetops.h
4606         * sysdeps/unix/sysv/linux/sigsetops.h:
4607         New internal headers.
4609         * include/bits/types/sig_atomic_t.h
4610         * include/bits/types/sigset_t.h
4611         * include/bits/types/sigval_t.h:
4612         New wrappers.
4614         * signal/sigsetops.h
4615         * bits/siginfo.h
4616         * bits/sigset.h
4617         * sysdeps/unix/sysv/linux/bits/siginfo.h
4618         * sysdeps/unix/sysv/linux/bits/sigset.h
4619         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4620         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4621         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4623         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4624         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4625         Deleted.
4627         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4628         Update lists of installed headers.
4630         * posix/bits/types.h: Define __sig_atomic_t here.
4631         * signal/signal.h: Use the new bits headers; no need to handle
4632         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4633         to define sigmask.
4634         * include/signal.h: No need to handle __need_sig_atomic_t
4635         nor __need_sigset_t.  Don't define __sigemptyset.
4637         * io/sys/poll.h, setjmp/setjmp.h
4638         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4639         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4640         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4641         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4642         * sysdeps/pthread/bits/sigthread.h
4643         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4644         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4645         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4646         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4647         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4648         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4649         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4650         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4651         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4652         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4653         Use bits/types/__sigset_t.h.
4655         * misc/sys/select.h, posix/spawn.h
4656         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4657         * sysdeps/unix/sysv/linux/sys/epoll.h
4658         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4659         Use bits/types/sigset_t.h.
4661         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4662         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4663         * socket/sys/socket.h: Don't include bits/sigset.h.
4665         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4666         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4667         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4668         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4669         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4670         * sysdeps/unix/sysv/linux/nptl-signals.h:
4671         Include sigsetops.h.
4673         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4674         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4675         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4676         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4677         now return no value.
4679         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4680         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4681         "sigsetops.h".
4683         * signal/sigsetops.c: Explicitly define __sigismember,
4684         __sigaddset, and __sigdelset as compatibility symbols.
4686         * signal/Versions: Correct commentary on __sigpause,
4687         __sigaddset, __sigdelset, __sigismember.
4689         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4690         __sigblock/__sigsetmask to use __sigprocmask and friends.
4692         * resolv/resolv.h: Remove __need_res_state logic.
4693         Move definition of res_state and related constants to ...
4694         * resolv/bits/types/res_state.h: ...this new file.
4695         * resolv/Makefile: Install bits/types/res_state.h.
4696         * include/bits/types/res_state.h: New wrapper.
4697         * include/list.h: Remove __need_list_t logic.
4698         Move definition of list_t to ...
4699         * include/list_t.h: ...this new file.
4701         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4702         instead of list.h and resolv.h.
4704         * resolv/resolv.h: Remove __need_res_state logic.
4705         Move definition of res_state and related constants to ...
4706         * resolv/bits/types/res_state.h: ...this new file.
4707         * resolv/Makefile: Install bits/types/res_state.h.
4708         * include/bits/types/res_state.h: New wrapper.
4709         * include/list.h: Remove __need_list_t logic.
4710         Move definition of list_t to ...
4711         * include/list_t.h: ...this new file.
4713         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4714         instead of list.h and resolv.h.
4716 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4718         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4720 2017-05-20  Zack Weinberg  <zackw@panix.com>
4722         * sysdeps/arm/sysdep.h
4723         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4725         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4726         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4727         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4728         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4729         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4730         * sysdeps/arm/armv6t2/strlen.S
4731         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4732         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4733         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4734         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4735         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4736         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4738 2017-05-20  Zack Weinberg  <zackw@panix.com>
4740         Remove the NaCl port.
4741         * sysdeps/arm/nacl: Remove directory and contents.
4742         * sysdeps/nacl: Remove directory and contents.
4743         * abi-tags: Remove .*-.*-nacl.* entry.
4745 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4747         * manual/errno.texi: Convert @comment-based errno documentation to
4748         @errno.
4749         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4750         their values, and messages, adding the error string to the Concept
4751         Index.  Provide a warning in the comment about external (to the
4752         manual) dependencies.
4753         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4754         * sysdeps/mach/hurd/errnos.awk: Likewise.
4756 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4758         * bits/ss_flags.h: New file.
4759         * bits/types/stack_t.h: Likewise.
4760         * include/bits/types/struct_sigstack.h: Likewise.
4761         * signal/bits/types/struct_sigstack.h: Likewise.
4762         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4763         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4764         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4765         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4766         bits/types/stack_t.h and bits/ss_flags.h.
4767         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4768         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4769         <bits/ss_flags.h>.
4770         * bits/sigstack.h (struct sigstack): Remove.
4771         (stack_t): Likewise.
4772         (SS_ONSTACK): Likewise.
4773         (SS_DISABLE): Likewise.
4774         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4775         (struct sigstack): Likewise.
4776         (stack_t): Likewise.
4777         (SS_ONSTACK): Likewise.
4778         (SS_DISABLE): Likewise.
4779         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4780         Likewise.
4781         (stack_t): Likewise.
4782         (SS_ONSTACK): Likewise.
4783         (SS_DISABLE): Likewise.
4784         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4785         Likewise.
4786         (stack_t): Likewise.
4787         (SS_ONSTACK): Likewise.
4788         (SS_DISABLE): Likewise.
4789         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4790         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4791         Likewise.
4792         (stack_t): Likewise.
4793         (SS_ONSTACK): Likewise.
4794         (SS_DISABLE): Likewise.
4795         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4796         (struct sigstack): Likewise.
4797         (stack_t): Likewise.
4798         (SS_ONSTACK): Likewise.
4799         (SS_DISABLE): Likewise.
4800         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4801         Likewise.
4802         (stack_t): Likewise.
4803         (SS_ONSTACK): Likewise.
4804         (SS_DISABLE): Likewise.
4805         * sysdeps/arm/sys/ucontext.h: Include
4806         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4807         <bits/ss_flags.h>.
4808         * sysdeps/generic/sys/ucontext.h: Likewise.
4809         * sysdeps/i386/sys/ucontext.h: Likewise.
4810         * sysdeps/m68k/sys/ucontext.h: Likewise.
4811         * sysdeps/mips/sys/ucontext.h: Likewise.
4812         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4813         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4814         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4815         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4816         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4817         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4818         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4819         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4820         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4821         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4822         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4823         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4824         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4825         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4826         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4828 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4830         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4831         "edx + ecx - 16" to avoid possible addition overflow.
4832         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4834 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4836         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4837         (CFLAGS-splice.c): Likewise.
4838         (CFLAGS-open_by_handle_at.c): Likewise.
4839         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4840         (CFLAGS-splice.c): Likewise.
4841         (CFLAGS-open_by_handle_at.c): Likewise.
4843 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4845         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4846         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4847         <ldbl-compat-choose.h>.
4848         (maybe_long_double_symbol): New macro.
4849         [!declare_mgen_alias] (declare_mgen_alias): Use
4850         maybe_long_double_symbol.
4851         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4852         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4854         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4855         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4856         * Makerules [$(build-shared) = yes && !avoid-generated]
4857         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4858         [$(build-shared) = yes && !avoid-generated]
4859         ($(common-objpfx)ldbl-compat-choose.h): New target.
4861         * scripts/versions.awk: Generate first-versions.h.
4862         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4863         <first-versions.h>.
4864         (LDOUBLE_cabsl_libm_version): Remove macro.
4865         (LDOUBLE_cargl_libm_version): Likewise.
4866         (LDOUBLE_cimagl_libm_version): Likewise.
4867         (LDOUBLE_conjl_libm_version): Likewise.
4868         (LDOUBLE_creall_libm_version): Likewise.
4869         (LDOUBLE_cacosl_libm_version): Likewise.
4870         (LDOUBLE_cacoshl_libm_version): Likewise.
4871         (LDOUBLE_ccosl_libm_version): Likewise.
4872         (LDOUBLE_ccoshl_libm_version): Likewise.
4873         (LDOUBLE_casinl_libm_version): Likewise.
4874         (LDOUBLE_csinl_libm_version): Likewise.
4875         (LDOUBLE_casinhl_libm_version): Likewise.
4876         (LDOUBLE_csinhl_libm_version): Likewise.
4877         (LDOUBLE_catanl_libm_version): Likewise.
4878         (LDOUBLE_catanhl_libm_version): Likewise.
4879         (LDOUBLE_ctanl_libm_version): Likewise.
4880         (LDOUBLE_ctanhl_libm_version): Likewise.
4881         (LDOUBLE_cexpl_libm_version): Likewise.
4882         (LDOUBLE_clogl_libm_version): Likewise.
4883         (LDOUBLE_cprojl_libm_version): Likewise.
4884         (LDOUBLE_csqrtl_libm_version): Likewise.
4885         (LDOUBLE_cpowl_libm_version): Likewise.
4886         (LDOUBLE_clog10l_libm_version): Likewise.
4887         (LDOUBLE___clog10l_libm_version): Likewise.
4888         (LDOUBLE_fdiml_libm_version): Likewise.
4889         (LDOUBLE_fmaxl_libm_version): Likewise.
4890         (LDOUBLE_fminl_libm_version): Likewise.
4891         (LDOUBLE_ilogbl_libm_version): Likewise.
4892         (LDOUBLE_nanl_libm_version): Likewise.
4893         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4894         FIRST_VERSION_libm_* macros.
4895         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4896         * Makerules [$(build-shared) = yes && !avoid-generated]
4897         (before-compile): Add $(common-objpfx)first-versions.h.
4898         [$(build-shared) = yes && !avoid-generated]
4899         ($(common-objpfx)first-versions.h): New target.
4900         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4901         building $(common-objpfx)versions.stmp.
4903 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4905         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4906         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4907         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4908         auto-generation list.
4910         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4911         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4912         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4913         from auto-generation list.
4915         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4916         open_by_handle_at.
4917         (CFLAGS-open_by_handle_at.c): New flag.
4918         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4919         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4920         file.
4921         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4923         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4924         (CFLAGS-splice.c): New flag.
4925         * sysdeps/unix/sysv/linux/splice.c: New file.
4926         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4927         auto-generation syscall list.
4928         * misc/Makefile (CFLAGS-splice.c): New rule.
4930         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4931         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4932         auto-generation syscall list.
4933         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4934         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4936         * misc/Makefile (CFLAGS-fsync.c): New flag.
4937         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4938         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4939         syscall list.
4940         * sysdeps/unix/sysv/linux/fsync.c: New file.
4941         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4942         (__errno_location): Remove.
4944         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4945         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4946         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4947         list.
4948         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4950         * misc/Makefile (CFLAGS-msync.c): New rule.
4951         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4952         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4953         * sysdeps/unix/sysv/linux/msync.c: New file.
4955         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4956         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4957         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4958         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4959         (CFLAGS-sigsuspend.c): Remove rule.
4961         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4962         (CFLAGS-tee.c): New rule.
4963         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4964         auto-generated list.
4965         * sysdeps/unix/sysv/linux/tee.c: New file.
4967         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4968         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4969         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4970         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4971         auto-generated list.
4973         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4974         auto-generated list.
4975         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4977         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4978         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4979         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4981         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4982         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4983         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4984         (__NR_pause): Undefine.
4985         * sysdeps/unix/sysv/linux/pause.c: New file.
4986         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4987         auto-generation list.
4988         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4989         Remove rule.
4990         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4992 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4994         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4995         comments.
4997 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4999         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
5000         LD_HWCAP_MASK.
5002 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
5004         * manual/conf.texi: Convert @tables of annotated @items to
5005         @vtables.
5006         * manual/lang.texi: Likewise.
5007         * manual/pattern.texi: Likewise.
5008         * manual/resource.texi: Likewise.
5009         * manual/socket.texi: Likewise.
5011 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
5013         * manual/crypt.texi: Move a comment out of an @*x list.
5014         * manual/filesys.texi: Refactor some comments, one of which looks
5015         like a standard.  Fix incorrectly separated standards.
5016         * manual/locale.texi: Invert an annotation.
5017         * manual/resource.texi: Fix incorrectly separated standards.
5018         * manual/time.texi: Refactor a @vtable that obscures an
5019         annotation.
5020         * manual/users.texi: Refactor multiple headers to occupy a single
5021         @comment.
5023 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5025         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5026         (sysdep_routines): Add memcmp-power8.
5027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5028         (memcmp): Add __memcmp_power8 to list of memcmp functions.
5029         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
5030         (memcmp): Add __memcmp_power8 to ifunc list.
5031         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
5032         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
5034 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5035             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5037         * math/math.h (__MATH_TG): Extend the conditions to add
5038         _Float128 support.
5039         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
5041 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
5043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5044         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
5045         s_cosf-ppc64.
5046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
5047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5049         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5051 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5053         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
5054         (gen-libm-calls): Add e_exp2F to use the template.
5055         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
5056         * math/e_exp2_template.c: New file, renamed from
5057         math/e_exp2l.c, and made into a template.
5058         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
5060 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5062         * elf/dl-tunable-types.h (tunable_type_code_t): New type
5063         TUNABLE_TYPE_UINT_64.
5064         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5065         Simplify computation of overflow.
5066         (tunable_set_val_if_valid_range_signed,
5067         tunable_set_val_if_valid_range_unsigned): Remove and replace
5068         with this...
5069         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5070         (tunable_initialize): Adjust.  Add uint64_t support.
5071         (__tunable_set_val): Add uint64_t support.
5072         * README.tunables: Document it.
5074         * scripts/gen-tunables.awk: Recognize 'default' keyword in
5075         dl-tunables.list.
5076         * README.tunables: Document it.
5078 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5080         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5081         * sysdeps/posix/preadv64.c: Likewise.
5082         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5083         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5084         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5085         * sysdeps/posix/pwritev64.c: Likewise.
5086         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5087         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5088         * sysdeps/posix/preadv_common.c: New file.
5089         * sysdeps/posix/pwritev_common.c: Likewise.
5091 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5093         * sysdeps/generic/math-type-macros-float128.h
5094         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5095         wrapper templates.
5097 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5098             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5100         * include/complex.h (__kernel_casinhf128): New declaration.
5101         * include/float.h: New file.
5102         * include/math.h (__finitef128): Add a hidden def.
5103         (__isinff128): Likewise.
5104         (__isnanf128): Likewise.
5105         (__fpclassify): Likewise.
5106         (__issignalling): Likewise.
5107         (__expf128): Likewise.
5108         (__expm1f128): Likewise.
5110         * sysdeps/generic/fix-fp-int-convert-overflow.h:
5111         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5112         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5114         * sysdeps/generic/math-type-macros-float128.h: New file.
5116         * sysdeps/generic/math_private.h: Include bits/floatn.h and
5117         math_private_calls.h for _Float128.
5118         (__isinff128): New inline implementation used when GCC < 7.0,
5119         since in this case __builtin_isinf_sign is broken.
5120         (fabsf128): New inline implementation that calls the builtin.
5121         (__EXPR_FLT128): New macro.
5122         (min_of_type): Optionally include _Float128 types too.
5124         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5125         Declare for _Float128.
5126         (__kernel_rem_pio2): Likewise.
5128         * sysdeps/ieee754/ldbl-opt/s_sin.c:
5129         (__DECL_SIMD_sincos_disablef128): New macro.
5131 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5133         * math/math.h: Include bits/math-finite.h for float128.
5134         (__MATH_DECLARING_FLOATN): Define to control declaration of
5135         float128 functions.
5136         * math/bits/math-finite.h (pow10): Do not declare for float128.
5137         (gamma): Likewise.
5138         (scalb): Likewise.
5140 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5141             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5143         * bits/floatn.h: New file.
5144         * bits/huge_val_flt128.h: Likewise.
5146         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5147         (__DECL_SIMD_sinf128): Likewise.
5148         (__DECL_SIMD_sincosf128): Likewise.
5149         (__DECL_SIMD_logf128): Likewise.
5150         (__DECL_SIMD_expf128): Likewise.
5151         (__DECL_SIMD_powf128): Likewise.
5153         * math/Makefile (headers): Install bits/floatn.h and
5154         bits/huge_val_flt128.h.
5156         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5157         defined.
5159         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5160         (isnan, gamma, nexttoward, scalb): Only define if not
5161         __MATH_DECLARING_FLOATN.
5162         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5163         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5164         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5165         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5167         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5168         Include bits/cmathcalls.h to get the declarations of _Float128
5169         versions of complex functions.
5170         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5171         Define macro.
5173         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5174         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5175         get the declarations of _Float128 versions of math functions.
5176         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5177         _FloatN types.
5178         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5179         is type-generic, so use it without __MATH_TG.
5180         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5181         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5182         _Float128 type and GCC < 7.0, otherwise use the builtin.
5183         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5184         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5185         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5186         New _GNU_SOURCE enabled macros.
5188 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5190         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5191         (signbitf): Likewise.
5192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5193         Likewise.
5194         (signbitl): Likewise.
5195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5196         Likewise.
5197         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5198         (signbitl): Likewise.
5199         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5201 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5203         [BZ #21386]
5204         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5205         parent PID.  The assertion in the child is incorrect with PID
5206         namespaces.
5208 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5210         * sysdeps/unix/sysv/linux/kernel-features.h
5211         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5212         * sysdeps/unix/sysv/linux/internal_statvfs.c
5213         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5215 2017-05-11  Zack Weinberg  <zackw@panix.com>
5217         * Makerules: New subdir configuration variables 'tests-internal'
5218         and 'test-internal-extras'.  Test files in these categories will
5219         still be compiled with MODULE_NAME=nonlib.  Test files in the
5220         existing categories (tests, xtests, test-srcs, test-extras) are
5221         now compiled with MODULE_NAME=testsuite.
5222         New subdir configuration variable 'modules-names-tests'.  Files
5223         which are in both 'modules-names' and 'modules-names-tests' will
5224         be compiled with MODULE_NAME=testsuite instead of
5225         MODULE_NAME=extramodules.
5226         (gen-as-const-headers): Move to tests-internal.
5227         (do-tests-clean, common-mostlyclean): Support tests-internal.
5228         * Makeconfig (built-modules): Add testsuite.
5229         * Makefile: Change libof-check-installed-headers-c and
5230         libof-check-installed-headers-cxx to 'testsuite'.
5231         * Rules: Likewise.  Support tests-internal.
5232         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5233         Remove extra-modules.mk.
5235         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5236         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5237         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5238         very top of the file and rationalize their order.
5239         If MODULE_NAME is not defined at all, define IS_IN to always be
5240         false, and don't define _ISOMAC.
5241         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5242         true, define _ISOMAC and suppress everything else in this file,
5243         starting with the inclusion of config.h.
5244         Do check for inappropriate definitions of __OPTIMIZE__ and
5245         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5246         Correct some out-of-date commentary.
5248         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5249         and _Mlong_double_ before including math.h.
5250         * include/string.h: If _ISOMAC is defined, don't expose
5251         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5252         location.
5254         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5255         * include/time.h, include/unistd.h, include/wchar.h: No need to
5256         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5258         * misc/sys/cdefs.h (__NTHNL): New macro.
5259         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5260         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5262         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5263         defined, for HAVE_TUNABLES.
5264         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5265         * intl/tst-gettext2.c: Provide own definition of N_.
5266         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5267         * math/test-signgam-main.c: No need to define _ISOMAC.
5268         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5269         * stdlib/tst-strtod1i.c: ...this new file.
5270         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5271         Split tests of __strtod_internal to...
5272         * stdlib/tst-strtod5i.c: ...this new file.
5273         * string/test-string.h: Include stdint.h. Duplicate definition of
5274         inhibit_loop_to_libcall here (from libc-symbols.h).
5275         * string/test-strstr.c: Provide dummy definition of
5276         libc_hidden_builtin_def when including strstr.c.
5277         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5278         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5279         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5280         Don't include init-arch.h.
5281         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5282         Don't include init-arch.h.
5284         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5285         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5286         unload, unload2, circleload1, neededtest, neededtest2,
5287         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5288         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5289         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5290         ifunc tests to tests-internal.
5291         Don't add $(modules-names) to test-extras.
5292         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5293         Add tst-deadline to tests-static-internal.
5294         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5295         tests-internal.
5296         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5297         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5298         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5299         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5300         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5301         Link tests-internal with libpthread also.
5302         Don't add $(modules-names) to test-extras.
5303         * nss/Makefile: Move tst-field to tests-internal.
5304         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5305         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5306         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5307         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5308         tests-internal.
5309         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5310         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5311         test-get_hwcap-static to tests-internal.
5312         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5313         tests-internal.
5314         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5315         modules-names-tests.
5317 2017-05-11  Zack Weinberg  <zackw@panix.com>
5319         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5320         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5321         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5322         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5323         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5324         already defined.
5325         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5326         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5327         appropriately.
5328         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5329         Define _IO_lock_t_defined after defining _IO_lock_t.
5331 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5333         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5334         void* for argument type and use VDSO_SYMBOL macro.
5335         (is_sigtramp_address_rt): Likewise.
5336         (__backtrace): Setup expected frame pointer address for signal
5337         handling.
5338         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5339         void* for argumetn type and use VSDO_SYMBOL macro.
5340         (__backtrace): Setup expected frame pointer address for signal
5341         handling.
5343         * sysdeps/unix/sysv/linux/writev.c: New file.
5345         * sysdeps/unix/sysv/linux/readv.c: New file.
5347         * include/unistd.h (write): Add hidden proto.
5348         * io/Makefile (CFLAGS-write.c): New define.
5349         * nptl/Makefile (CFLAGS-write.c): Likewise.
5350         * sysdeps/unix/sysv/linux/write.c: New file.
5352         [BZ #21428]
5353         * include/unistd.h (read): Add hidden proto.
5354         * io/Makefile (CFLAGS-read.c): New define.
5355         * nptl/Makefile (CFLAGS-read.c): Likewise.
5356         * sysdeps/unix/sysv/linux/read.c: New file.
5358         * io/Makefile (CFLAGS-creat.c): New rule.
5359         (CFLAGS-creat64.c): Likewise.
5360         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5361         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5362         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5363         * sysdeps/unix/sysv/linux/creat.c: New file.
5364         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5365         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5366         auto-generated list.
5367         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5369         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5370         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5371         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5372         * sysdeps/unix/sysv/linux/open.c: New file.
5373         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5374         iff __WORDSIZE != 64 and use __NR_openat when available.
5375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5376         from auto-generated list.
5378         * nptl/Makefile (CFLAGS-close.c): New flag.
5379         * sysdeps/unix/sysv/linux/close.c: New file.
5381 2017-05-11  DJ Delorie  <dj@redhat.com>
5383         * MAINTAINERS: New.  Points to wiki.
5385 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5387         * scripts/gen-tunables.awk: Add attribute_relro to
5388         tunable_list.
5390 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #21457]
5393         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5394         (R1): Likewise.
5395         (R2): Likewise.
5396         (R3): Likewise.
5397         (R4): Likewise.
5398         (R5): Likewise.
5399         (R6): Likewise.
5400         (R7): Likewise.
5401         (R8): Likewise.
5402         (R9): Likewise.
5403         (R10): Likewise.
5404         (R11): Likewise.
5405         (R12): Likewise.
5406         (R13): Likewise.
5407         (R14): Likewise.
5408         (R15): Likewise.
5409         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5410         (REG_FS): Likewise.
5411         (REG_ES): Likewise.
5412         (REG_DS): Likewise.
5413         (REG_EDI): Likewise.
5414         (REG_ESI): Likewise.
5415         (REG_EBP): Likewise.
5416         (REG_ESP): Likewise.
5417         (REG_EBX): Likewise.
5418         (REG_EDX): Likewise.
5419         (REG_ECX): Likewise.
5420         (REG_EAX): Likewise.
5421         (REG_TRAPNO): Likewise.
5422         (REG_ERR): Likewise.
5423         (REG_EIP): Likewise.
5424         (REG_CS): Likewise.
5425         (REG_EFL): Likewise.
5426         (REG_UESP): Likewise.
5427         (REG_SS): Likewise.
5428         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5429         (R_D1): Likewise.
5430         (R_D2): Likewise.
5431         (R_D3): Likewise.
5432         (R_D4): Likewise.
5433         (R_D5): Likewise.
5434         (R_D6): Likewise.
5435         (R_D7): Likewise.
5436         (R_A0): Likewise.
5437         (R_A1): Likewise.
5438         (R_A2): Likewise.
5439         (R_A3): Likewise.
5440         (R_A4): Likewise.
5441         (R_A5): Likewise.
5442         (R_A6): Likewise.
5443         (R_A7): Likewise.
5444         (R_SP): Likewise.
5445         (R_PC): Likewise.
5446         (R_PS): Likewise.
5447         (fpregset_t): Likewise.
5448         (MCONTEXT_VERSION): Likewise.
5449         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5450         (CTX_AT): Likewise.
5451         (CTX_V0): Likewise.
5452         (CTX_V1): Likewise.
5453         (CTX_A0): Likewise.
5454         (CTX_A1): Likewise.
5455         (CTX_A2): Likewise.
5456         (CTX_A3): Likewise.
5457         (CTX_T0): Likewise.
5458         (CTX_T1): Likewise.
5459         (CTX_T2): Likewise.
5460         (CTX_T3): Likewise.
5461         (CTX_T4): Likewise.
5462         (CTX_T5): Likewise.
5463         (CTX_T6): Likewise.
5464         (CTX_T7): Likewise.
5465         (CTX_S0): Likewise.
5466         (CTX_S1): Likewise.
5467         (CTX_S2): Likewise.
5468         (CTX_S3): Likewise.
5469         (CTX_S4): Likewise.
5470         (CTX_S5): Likewise.
5471         (CTX_S6): Likewise.
5472         (CTX_S7): Likewise.
5473         (CTX_T8): Likewise.
5474         (CTX_T9): Likewise.
5475         (CTX_K0): Likewise.
5476         (CTX_K1): Likewise.
5477         (CTX_GP): Likewise.
5478         (CTX_SP): Likewise.
5479         (CTX_S8): Likewise.
5480         (CTX_RA): Likewise.
5481         (CTX_MDLO): Likewise.
5482         (CTX_MDHI): Likewise.
5483         (CTX_CAUSE): Likewise.
5484         (CTX_EPC): Likewise.
5485         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5486         inclusion of <sys/procfs.h> on [__USE_MISC].
5487         (greg_t): Condition on [__USE_MISC].
5488         (gregset_t): Likewise.
5489         (fpregset_t): Likewise.
5490         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5491         (NGREG): Likewise.
5492         (gregset_t): Likewise.
5493         (REG_R0): Likewise.
5494         (REG_R1): Likewise.
5495         (REG_R2): Likewise.
5496         (REG_R3): Likewise.
5497         (REG_R4): Likewise.
5498         (REG_R5): Likewise.
5499         (REG_R6): Likewise.
5500         (REG_R7): Likewise.
5501         (REG_R8): Likewise.
5502         (REG_R9): Likewise.
5503         (REG_R10): Likewise.
5504         (REG_R11): Likewise.
5505         (REG_R12): Likewise.
5506         (REG_R13): Likewise.
5507         (REG_R14): Likewise.
5508         (REG_R15): Likewise.
5509         (struct _libc_fpstate): Likewise.
5510         (fpregset_t): Likewise.
5511         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5512         (NFPREG): Likewise.
5513         (gregset_t): Likewise.
5514         (fpregset_t): Likewise.
5515         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5516         (R_D1): Likewise.
5517         (R_D2): Likewise.
5518         (R_D3): Likewise.
5519         (R_D4): Likewise.
5520         (R_D5): Likewise.
5521         (R_D6): Likewise.
5522         (R_D7): Likewise.
5523         (R_A0): Likewise.
5524         (R_A1): Likewise.
5525         (R_A2): Likewise.
5526         (R_A3): Likewise.
5527         (R_A4): Likewise.
5528         (R_A5): Likewise.
5529         (R_A6): Likewise.
5530         (R_A7): Likewise.
5531         (R_SP): Likewise.
5532         (R_PC): Likewise.
5533         (R_PS): Likewise.
5534         (fpregset_t): Likewise.
5535         (MCONTEXT_VERSION): Likewise.
5536         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5537         Likewise.
5538         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5539         (REG_R1): Likewise.
5540         (REG_R2): Likewise.
5541         (REG_R3): Likewise.
5542         (REG_R4): Likewise.
5543         (REG_R5): Likewise.
5544         (REG_R6): Likewise.
5545         (REG_R7): Likewise.
5546         (REG_R8): Likewise.
5547         (REG_R9): Likewise.
5548         (REG_R10): Likewise.
5549         (REG_R11): Likewise.
5550         (REG_R12): Likewise.
5551         (REG_R13): Likewise.
5552         (REG_R14): Likewise.
5553         (REG_R15): Likewise.
5554         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5555         of <arch/abi.h> on [__USE_MISC].
5556         (greg_t): Condition on [__USE_MISC].
5557         (NGREG): Likewise.
5558         (gregset_t): Likewise.
5560 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5562         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5563         (__pthread_rwlock_arch_t): Remove __data definition.
5564         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5565         (__pthread_rwlock_arch_t): Likewise.
5567 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5569         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5570         internal_function on static functions.
5572 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5574         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5575         from format_ai_flags.
5576         (format_ai_flags): New function.  Incorporate flag formatting code
5577         from format_ai_one.
5578         (format_ai_canonname): New function.
5579         (format_ai_one): Remove flags parameter.
5580         (format_ai_family): Likewise.
5581         (support_format_addrinfo): Call format_ai_flags,
5582         format_ai_canonname.
5583         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5584         check_ai.
5585         (check_ai): Call check_ai_hints.
5586         (do_test): Add AI_CANONNAME tests.
5588 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5590         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5591         (gaih_inet): Likewise.
5593 2017-05-10  Andreas Schwab  <schwab@suse.de>
5595         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5596         (main): Rename to do_test and make static.
5598 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5600         * string/rawmemchr.c: Include <libc-diag.h>.
5601         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5602         with size (size_t)-1.
5604 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5606         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5607         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5608         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5610         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5611         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5612         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5613         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5614         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5615         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5616         * sysdeps/unix/sysv/linux/kernel-features.h
5617         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5618         socket syscalls.
5619         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5620         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5621         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5622         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5623         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5624         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5625         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5626         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5627         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5628         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5629         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5630         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5631         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5632         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5633         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5635 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5637         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5638         thread-shared-types.h.
5639         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5640         specific thread definition.
5641         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5642         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5643         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5644         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5645         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5646         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5647         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5648         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5649         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5650         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5651         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5652         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5653         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5654         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5655         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5656         thread definition between POSIX and C11.
5657         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5658         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5659         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5660         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5661         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5662         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5663         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5664         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5665         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5666         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5667         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5668         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5669         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5670         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5671         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5672         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5673         definitions shared across all architectures.
5675 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5677         * sysdeps/unix/sysv/linux/kernel-features.h
5678         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5679         (__ASSUME_SENDMMSG): Likewise.
5680         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5681         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5682         sendmmsg syscall if that can be assumed to be present, socketcall
5683         otherwise, with no fallback for runtime failure.
5685         * sysdeps/unix/sysv/linux/kernel-features.h
5686         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5687         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5688         (__ASSUME_RECVMMSG): Likewise.
5689         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5690         recvmmsg syscall if it can be assumed to be present, socketcall
5691         otherwise, with no fallback for runtime failure.
5693 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5694             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5696         * bits/libc-header-start.h:
5697         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5698         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5699         * manual/creature.texi: Likewise.
5701 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5702             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5704         * math/Makefile:
5705         (type-float128-suffix): New variable
5706         (type-float128-routines): Likewise
5707         (type-float128-yes): Likewise
5708         (types): Append float128 if supported
5709         (types-basic): New variable to control the use of templates for
5710         float, double, and long double, but not for float128 or newer types.
5711         (type-basic-foreach): Likewise.
5713         * sysdeps/ieee754/float128/Makeconfig: New file.
5714         * sysdeps/ieee754/float128/Versions: New file.
5716 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5718         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5719         Remove macro.
5720         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5721         prlimit64 is always available and does not give an ENOSYS error.
5722         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5723         unconditional.
5724         [!__NR_prlimit64]: Remove conditional code.
5725         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5726         prlimit64 is always available and does not give an ENOSYS error.
5727         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5729 2017-05-09  Zack Weinberg  <zackw@panix.com>
5731         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5733 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5735         [BZ #21474]
5736         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5737         (__res_maybe_init): Likewise.
5739 2017-05-09  Zack Weinberg  <zackw@panix.com>
5741         * extra-modules.mk: Delete file.
5742         * cppflags-iterator.mk: Rename to ...
5743         * libof-iterator.mk: ...this.  Adjust comments.
5745         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5746         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5747         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5748         Use libof-iterator.mk instead of cppflags-iterator.mk or
5749         extra-modules.mk.
5751         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5752         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5754 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5756         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5758 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5760         * stdio-common/vfprintf.c (EXTSIZ): Define.
5761         (vfprintf): Use EXTSIZ.
5762         (printf_positional): Likewise.
5764 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5766         * sysdeps/unix/sysv/linux/kernel-features.h
5767         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5768         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5769         <kernel-features.h>.
5770         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5772         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5773         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5775 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5777         Prevent multiple deletion of temporary files.
5778         * support/temp_file.c (struct temp_name_list): Add owner member.
5779         (add_temp_file): Record owner.
5780         (support_delete_temp_files): Delete file only if owner matches.
5781         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5782         (do_prepare): Use create_temp_file instead of add_temp_file.
5783         Initialize temp_fd1, temp_fd2.
5784         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5785         framework remove the temporary files.
5786         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5787         (do_prepare): Use create_temp_file instead of add_temp_file.
5788         Initialize temp_fd1, temp_fd2, temp_fd3.
5789         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5790         the test framework remove the temporary files.
5791         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5792         deletion.
5793         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5794         temporary directory.  It is removed by the test framework.
5795         * dirent/tst-scandir.c (do_test): Likewise.
5797 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5799         Delete temporary files in LIFO order.
5800         * support/temp_file.c (struct temp_name_list): Replace q member
5801         with next.
5802         (add_temp_file): Add new file to front of linked list.
5803         (support_delete_temp_files): Use next member.
5804         (support_print_temp_files): Likewise.
5806 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5809         sys/ultrasound.h.
5810         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5812 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5814         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5815         Remove.
5816         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5817         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5818         (arch_minimum_kernel): Remove.
5819         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5820         * README: Update statement about Linux kernel requirements.
5822 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5824         * manual/llio.texi: Add preadv and pwritev documentation.
5826 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5828         [BZ #21455]
5829         * bits/stdint-intn.h: New file.
5830         * bits/stdint-uintn.h: Likewise.
5831         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5832         bits/stdint-uintn.h.
5833         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5834         <stdint.h>.
5835         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5836         (__int8_t_defined): Do not define here.
5837         (int8_t): Likewise.
5838         (int16_t): Likewise.
5839         (int32_t): Likewise.
5840         (int64_t): Likewise.
5841         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5842         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5843         <stdint.h>.
5844         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5845         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5846         <bits/stdint-uintn.h>.
5847         (int8_t): Do not define here.
5848         (int16_t): Likewise.
5849         (int32_t): Likewise.
5850         (int64_t): Likewise.
5851         (uint8_t): Likewise.
5852         (uint16_t): Likewise.
5853         (uint32_t): Likewise.
5854         (uint64_t): Likewise.
5855         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5856         variable.
5857         (test-xfail-XPG42/netdb.h/conform): Likewise.
5858         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5859         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5860         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5861         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5863 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5865         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5866         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5867         the above.
5868         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5869         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5871 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #21445]
5874         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5876         [BZ #21457]
5877         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5878         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5879         __glibc_reserved1.
5880         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5881         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5882         (struct _fpxreg): Likewise.
5883         [!__x86_64__] (struct _fpstate): Rename field reserved to
5884         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5885         [__x86_64__] (struct _fpstate): Rename field padding to
5886         __glibc_reserved1.
5887         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5888         Rename field reserved2 to __glibc_reserved2.
5889         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5890         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5891         __glibc_reserved1.
5892         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5893         __glibc_reserved1.
5895 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5897         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5898         variable name.
5900 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5902         [BZ #21391]
5903         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5904         Only call init_cpu_features.
5905         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5906         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5907         * sysdeps/i386/dl-procinfo.h: Removed.
5908         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5909         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5910         <sysdeps/x86/dl-procinfo.h>.
5911         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5912         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5913         Include <sysdeps/x86/dl-procinfo.h> instead of
5914          <sysdeps/generic/dl-procinfo.h>.
5915         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5916         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5917         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5918         (bit_cpu_MOVBE): Likewise.
5919         (bit_cpu_BMI1): Likewise.
5920         (bit_cpu_BMI2): Likewise.
5921         (index_cpu_BMI1): Likewise.
5922         (index_cpu_BMI2): Likewise.
5923         (index_cpu_LZCNT): Likewise.
5924         (index_cpu_MOVBE): Likewise.
5925         (index_cpu_POPCNT): Likewise.
5926         (reg_BMI1): Likewise.
5927         (reg_BMI2): Likewise.
5928         (reg_LZCNT): Likewise.
5929         (reg_MOVBE): Likewise.
5930         (reg_POPCNT): Likewise.
5931         * sysdeps/x86/dl-hwcap.h: New file.
5932         * sysdeps/x86/dl-procinfo.h: Likewise.
5933         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5934         (_dl_x86_platforms): Likewise.
5936 2017-05-03  DJ Delorie  <dj@redhat.com>
5938         [BZ #21411]
5939         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5941 2017-05-03  Phil Blundell  <pb@pbcl.net>
5943         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5944         comments.
5946 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5948         [BZ #20116]
5949         * nptl/pthread_create.c: Expand comments to describe
5950         semaphore-like and mutex-like uses of PD->lock.
5952 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5954         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5955         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5956         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5957         auto-generation list.
5958         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5959         epoll_wait.
5960         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5961         Remove epoll_wait.
5963         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5964         osf_select.
5965         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5966         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5967         osf_select from auto-generation list.
5968         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5969         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5970         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5971         * sysdeps/unix/sysv/linux/select.c: New file.
5973         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5974         * sysdeps/unix/sysv/linux/poll.c: New file.
5975         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5976         auto-generation list.
5978 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5980         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5981         New macro.
5983 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5985         [BZ #21179]
5986         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5987         R_SPARC_REGISTER relocations.
5989 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5991         * include/unistd.h (__pread): Add libc_hidden_proto.
5992         (__pread64): Likewise.
5993         (__pwrite): Likewise.
5994         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5995         (__pread64): Remove.
5996         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5997         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5998         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
6000 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6004 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6006         * nptl/tst-cancel4-common.c: Use libsupport.
6007         * nptl/tst-cancel4-common.h: Likewise.
6008         * nptl/tst-cancel4.c (tf_read): Likewise.
6009         (tf_readv): Likewise.
6010         (tf_write): Likewise.
6011         (tf_writev): Likewise.
6012         (tf_sleep): Likewise.
6013         (tf_usleep): Likewise.
6014         (tf_nanosleep): Likewise.
6015         (tf_select): Likewise.
6016         (tf_pselect): Likewise.
6017         (tf_poll): Likewise.
6018         (tf_ppoll): Likewise.
6019         (tf_wait): Likewise.
6020         (tf_waitpid): Likewise.
6021         (tf_waitid): Likewise.
6022         (tf_sigpause): Likewise.
6023         (tf_sigsuspend): Likewise.
6024         (tf_sigwait): Likewise.
6025         (tf_sigwaitinfo): Likewise.
6026         (tf_sigtimedwait): Likewise.
6027         (tf_pause): Likewise.
6028         (tf_accept): Likewise.
6029         (tf_send): Likewise.
6030         (tf_recv): Likewise.
6031         (tf_recvfrom): Likewise.
6032         (tf_recvmsg): Likewise.
6033         (tf_open): Likewise.
6034         (tf_close): Likewise.
6035         (tf_pread): Likewise.
6036         (tf_pwrite): Likewise.
6037         (tf_preadv): Likewise.
6038         (tf_pwritev): Likewise.
6039         (tf_fsync): Likewise.
6040         (tf_fdatasync): Likewise.
6041         (tf_msync): Likewise.
6042         (tf_sendto): Likewise.
6043         (tf_sendmsg): Likewise.
6044         (tf_creat): Likewise.
6045         (tf_connect): Likewise.
6046         (tf_tcdrain): Likewise.
6047         (tf_msgrcv): Likewise.
6048         (tf_msgsnd): Likewise.
6049         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
6050         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
6052         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
6053         expected arguments.
6054         (do_test): Adapt to use libsupport.
6056 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
6058         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
6060         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
6061         (PF_MAX): Set to 44.
6062         (AF_SMC): New macro.
6064         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6065         kernel version to 4.11.
6067 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6069         [BZ #21280]
6070         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6071         signal of subnormals and adjust the exponent of power of 2 down
6072         when low part has opposite sign.
6074 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6076         * sysdeps/powerpc/powerpc64le/Implies: New file.
6077         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6078         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6079         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6080         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6081         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6082         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6083         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6084         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6085         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6086         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6087         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6088         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6089         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6090         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6091         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6092         * sysdeps/powerpc/preconfigure: New file.
6093         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6094         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6096 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
6098         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6099         inclusion.
6100         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6101         Remove.
6103 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
6105         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6106         (XPG3): Rename standard to XPG4.
6107         * conform/Makefile: Likewise.
6108         * conform/list-header-symbols.pl: Likewise.
6109         * conform/data/aio.h-data: Likewise.
6110         * conform/data/arpa/inet.h-data: Likewise.
6111         * conform/data/complex.h-data: Likewise.
6112         * conform/data/ctype.h-data: Likewise.
6113         * conform/data/dlfcn.h-data: Likewise.
6114         * conform/data/fcntl.h-data: Likewise.
6115         * conform/data/fenv.h-data: Likewise.
6116         * conform/data/float.h-data: Likewise.
6117         * conform/data/fmtmsg.h-data: Likewise.
6118         * conform/data/ftw.h-data: Likewise.
6119         * conform/data/grp.h-data: Likewise.
6120         * conform/data/inttypes.h-data: Likewise.
6121         * conform/data/iso646.h-data: Likewise.
6122         * conform/data/langinfo.h-data: Likewise.
6123         * conform/data/libgen.h-data: Likewise.
6124         * conform/data/limits.h-data: Likewise.
6125         * conform/data/locale.h-data: Likewise.
6126         * conform/data/math.h-data: Likewise.
6127         * conform/data/mqueue.h-data: Likewise.
6128         * conform/data/ndbm.h-data: Likewise.
6129         * conform/data/net/if.h-data: Likewise.
6130         * conform/data/netdb.h-data: Likewise.
6131         * conform/data/netinet/in.h-data: Likewise.
6132         * conform/data/poll.h-data: Likewise.
6133         * conform/data/pthread.h-data: Likewise.
6134         * conform/data/pwd.h-data: Likewise.
6135         * conform/data/sched.h-data: Likewise.
6136         * conform/data/search.h-data: Likewise.
6137         * conform/data/semaphore.h-data: Likewise.
6138         * conform/data/signal.h-data: Likewise.
6139         * conform/data/spawn.h-data: Likewise.
6140         * conform/data/stdbool.h-data: Likewise.
6141         * conform/data/stdint.h-data: Likewise.
6142         * conform/data/stdio.h-data: Likewise.
6143         * conform/data/stdlib.h-data: Likewise.
6144         * conform/data/string.h-data: Likewise.
6145         * conform/data/strings.h-data: Likewise.
6146         * conform/data/stropts.h-data: Likewise.
6147         * conform/data/sys/mman.h-data: Likewise.
6148         * conform/data/sys/resource.h-data: Likewise.
6149         * conform/data/sys/select.h-data: Likewise.
6150         * conform/data/sys/socket.h-data: Likewise.
6151         * conform/data/sys/stat.h-data: Likewise.
6152         * conform/data/sys/statvfs.h-data: Likewise.
6153         * conform/data/sys/time.h-data: Likewise.
6154         * conform/data/sys/timeb.h-data: Likewise.
6155         * conform/data/sys/types.h-data: Likewise.
6156         * conform/data/sys/uio.h-data: Likewise.
6157         * conform/data/sys/un.h-data: Likewise.
6158         * conform/data/sys/wait.h-data: Likewise.
6159         * conform/data/syslog.h-data: Likewise.
6160         * conform/data/termios.h-data: Likewise.
6161         * conform/data/tgmath.h-data: Likewise.
6162         * conform/data/time.h-data: Likewise.
6163         * conform/data/ucontext.h-data: Likewise.
6164         * conform/data/unistd.h-data: Likewise.
6165         * conform/data/utmpx.h-data: Likewise.
6166         * conform/data/varargs.h-data: Likewise.
6167         * conform/data/wchar.h-data: Likewise.
6168         * conform/data/wctype.h-data: Likewise.
6170 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6172         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6173         version to 7 branch.
6175 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6177         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6178         earlyclobber to output operand of sqrt insn.
6179         (__ieee754_sqrtf): Ditto.
6181 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6183         [BZ #21426]
6184         * misc/bits/types/struct_iovec.h: New file.
6185         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6186         * include/bits/types/struct_iovec.h: New file.
6187         * bits/uio.h (struct iovec): Replace by inclusion of
6188         <bits/types/struct_iovec.h>.
6189         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6190         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6191         of <sys/uio.h>.
6192         * nptl/tst-cancel4.c: Include <sys/uio.h>
6193         * posix/test-errno.c: Likewise.
6194         * support/resolv_test.c: Likewise.
6195         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6196         Remove.
6197         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6198         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6199         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6201         * conform/data/sys/socket.h-data (*_t): Allow.
6203 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6205         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6206         assignment.
6208 2017-04-24  Daurnimator  <quae@daurnimator.com>
6209             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6211         [BZ #21340]
6212         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6213         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6214         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6215         valid flags.
6216         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6217         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6218         POSIX_SPAWN_SETSID.
6219         * sysdeps/posix/spawni.c (__spawni): Likewise.
6220         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6221         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6223 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6225         * sysdeps/generic/math_private.h: Move the declaration of many
6226         functions to sysdeps/generic/math_private_calls.h.
6227         * sysdeps/generic/math_private_calls.h: New file with the
6228         declarations of the functions removed from math_private.h
6229         macroized by floating-point type.
6231 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6233         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6234         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6235         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6236         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6237         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6238         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6240 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6242         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6243         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6244         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6245         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6246         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6247         New Define.
6249 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6251         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6252         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6253         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6254         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6255         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6256         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6258 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6260         * sysdeps/s390/multiarch/ifunc-resolve.h
6261         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6262         * sysdeps/s390/multiarch/8bit-generic.c
6263         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6264         define ifunc resolvers.
6266 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6268         [BZ #20424]
6269         * manual/memory.texi (Replacing malloc): New section.
6270         (Allocating Storage For Program Data): Reference it.
6271         (The GNU Allocator): Likewise.
6273 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6275         * stdlib/Versions (__strtod_internal): List explicitly, not as
6276         wildcard.
6277         (__strtof_internal): Likewise.
6278         (__strtold_internal): Likewise.
6279         (__strtol_internal): Likewise.
6280         (__strtoll_internal): Likewise.
6281         (__strtoul_internal): Likewise.
6282         (__strtoull_internal): Likewise.
6283         (__strtoq_internal): Likewise.
6284         (__strtouq_internal): Likewise.
6285         * wcsmbs/Versions (__wcstod_internal): Likewise.
6286         (__wcstof_internal): Likewise.
6287         (__wcstold_internal): Likewise.
6288         (__wcstol_internal): Likewise.
6289         (__wcstoll_internal): Likewise.
6290         (__wcstoul_internal): Likewise.
6291         (__wcstoull_internal): Likewise.
6293 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6295         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6296         struct timespec definition.
6298 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6300         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6302 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6304         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6305         * inet/rexec.c (rexec_af): Likewise.
6307 2017-04-19  Zack Weinberg  <zackw@panix.com>
6309         * posix/tst-mmap-offset.c: Include stdint.h.
6310         * resolv/tst-ns_name_compress.c: Include string.h.
6311         * resolv/tst-resolv-edns.c: Include resolv.h.
6313 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6315         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6316         with __glibc_likely.
6317         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6318         Replace __builtin_expect with __glibc_unlikely.
6319         * resolv/res_init.c (__res_vinit): Likewise.
6320         * resolv/res_query.c (__libc_res_nquery): Likewise.
6321         * resolv/res_send.c (__libc_res_nsend): Likewise.
6323 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6325         [BZ #15722]
6326         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6327         with SOCK_CLOEXEC.
6328         * resolv/res_send.c (send_vc, reopen): Likewise.
6329         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6330         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6331         Likewise.
6332         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6333         * inet/rexec.c (rexec_af): Add comment.
6334         * inet/rcmd.c (rresvport_af): Likewise.
6336 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6338         * nscd/connections.c (have_accept4): Removed definition.
6339         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6340         accept4 works.
6341         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6342         ia64 because that was the first version with accept4 support.
6343         * support/Makefile (libsupport-routines): Add xaccept4.
6344         * support/xsocket.h (xaccept4): Declare.
6345         * support/xaccept4.c: New file.
6346         * socket/tst-accept4.c: New file.
6347         * socket/Makefile (tests): Add tst-accept4.
6348         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6349         definition.
6350         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6351         comment.
6352         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6353         implementation is available.
6354         (accept4): Use the system call if available, otherwise use the
6355         socket call.
6356         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6357         Set to 3.2.18.
6358         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6359         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6360         accept4 is unconditionally available in later 3.2 stable kernels.
6361         (__ASSUME_ACCEPT4_SYSCALL): Define.
6362         * sysdeps/unix/sysv/linux/kernel-features.h
6363         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6364         definitions.
6365         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6366         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6368 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6370         * conform/Makefile (tests-special): Do not make addition of
6371         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6372         (generated): Do not make addition of $(conformtest-header-base)
6373         conditional on [$(cross-compiling) = no].
6375         [BZ #21267]
6376         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6377         if defined by <asm/socket.h> and not previously defined.
6378         (IOCSIZE_SHIFT): Likewise.
6379         (IOC_IN): Likewise.
6380         (IOC_INOUT): Likewise.
6381         (IOC_OUT): Likewise.
6383 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6385         [BZ #21396]
6386         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6387         Prefer_No_AVX512 if AVX512ER isn't available.
6388         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6389         (index_arch_Prefer_No_AVX512): Likewise.
6390         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6391         AVX512 version if Prefer_No_AVX512 is set.
6392         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6393         Likewise.
6394         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6395         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6396         Likewise.
6397         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6398         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6399         Likewise.
6400         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6401         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6402         Likewise.
6404 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6406         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6407         Prefer_No_VZEROUPPER if AVX512ER is available.
6408         * sysdeps/x86/cpu-features.h
6409         (bit_cpu_AVX512PF): New.
6410         (bit_cpu_AVX512ER): Likewise.
6411         (bit_cpu_AVX512CD): Likewise.
6412         (bit_cpu_AVX512BW): Likewise.
6413         (bit_cpu_AVX512VL): Likewise.
6414         (index_cpu_AVX512PF): Likewise.
6415         (index_cpu_AVX512ER): Likewise.
6416         (index_cpu_AVX512CD): Likewise.
6417         (index_cpu_AVX512BW): Likewise.
6418         (index_cpu_AVX512VL): Likewise.
6419         (reg_AVX512PF): Likewise.
6420         (reg_AVX512ER): Likewise.
6421         (reg_AVX512CD): Likewise.
6422         (reg_AVX512BW): Likewise.
6423         (reg_AVX512VL): Likewise.
6425 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6427         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6428         O_CLOEXEC is defined.
6429         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6430         * io/Makefile (aux): Remove.
6431         * io/have_o_cloexec.c: Remove file.
6432         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6433         defined and works.
6434         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6435         defined.
6436         * login/utmp_file.c (O_flags): Remove definition.
6437         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6438         O_CLOEXEC works.
6439         (pututline_file): Likewise.
6440         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6441         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6442         definition.
6443         (internal_setgrent): Assume that O_CLOEXEC works.
6444         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6445         Remove definition.
6446         (internal_setgrent): Assume that O_CLOEXEC works.
6447         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6448         definition.
6449         (internal_setpwent): Assume that O_CLOEXEC works.
6450         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6451         definition.
6452         (internal_setspent): Assume that O_CLOEXEC works.
6453         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6454         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6455         O_CLOEXEC is defined and works.
6456         * nss/Makefile (libnss_files-routines): Remove
6457         files-have_o_cloexec.
6458         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6459         defined.
6460         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6461         O_CLOEXEC is defined and works.
6462         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6463         * nss/nss_files/files-have_o_cloexec.c: Remove.
6464         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6465         defined.
6466         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6467         and works.
6468         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6469         definition.
6470         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6471         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6472         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6473         (__opendirat, __opendir): Adjust opendir_oflags call.
6474         (check_have_o_cloexec): Remove.
6475         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6476         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6477         defined.
6478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6479         Remove definition.
6481 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6483         * include/unistd.h (__have_dup3): Remove declaration.
6484         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6485         dup3 is available.
6486         * libio/freopen64.c (freopen64): Likewise.
6487         * socket/Makefile (aux): Remove have_sock_cloexec.
6488         * socket/have_sock_cloexec.c: Remove file.
6489         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6490         definition.
6491         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6492         Likewise.
6493         * sysdeps/nacl/kernel-features.h: Update comment.
6495 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6497         * include/unistd.h (__have_pipe2): Remove declaration.
6498         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6499         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6500         available.
6501         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6502         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6503         Remove definition.
6505 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6507         * malloc/malloc.c (cfree): Turn into compat symbol.
6508         (__cfree): Remove alias.
6509         * stdlib/stdlib.h (cfree): Remove declaration.
6510         * malloc/malloc.h (cfree): Likewise.
6511         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6512         * malloc/Versions (GLIBC_2.26): Add.
6514 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6516         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6517         (sysdep_routines): Add strrchr-power8.
6518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6519         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6520         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6521         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6522         (strrchr): Add __strrchr_power8 to ifunc list.
6523         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6525 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6527         [BZ #21357]
6528         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6529         Call free() outside of mutex.
6531 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6533         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6534         is defined.
6535         * elf/rtld.c (process_envvars): Likewise.
6536         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6537         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6538         O_NOFOLLOW directly.
6539         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6541 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6543         [BZ #21369]
6544         Remove EDNS fallback.
6545         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6546         handling.
6547         * resolv/res_send.c (send_dg): Likewise.
6548         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6549         "tcp." prefixes.
6550         (do_test): Send a "formerr."-prefixed query in an attempt to
6551         trigger EDNS fallback.
6553 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6555         [BZ #21361]
6556         Limit EDNS buffer size to 1200 bytes.
6557         * include/resolv.h (__res_nopt): Remove declaration.
6558         * resolv/Makefile (tests): tst-resolv-edns.
6559         (tst-resolv-edns): Link with -lresolv, -lpthread.
6560         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6561         interval [512, 1200].
6562         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6563         we can resize the buffer.
6564         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6565         (__res_nopt): Declare.
6566         * resolv/tst-resolv-edns.c: New file.
6567         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6568         (struct resolv_response_context): Add edns member.
6569         * resolv/resolv_test.c (struct query_info): Add edns member.
6570         (parse_query): Extract EDNS information from the query.
6571         (server_thread_udp_process_one): Propagate EDNS data.
6572         (server_thread_tcp_client): Likewise.
6574 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6576         [BZ #21359]
6577         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6578         byte in the destination buffer.  Avoid out-of-bounds pointer
6579         arithmetic.
6580         * resolv/Makefile (tests): Add tst-ns_name_compress.
6581         (tst-ns_name_compress): Link with -lresolv.
6582         * resolv/tst-ns_name_compress.c: New file.
6583         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6584         (response): Recognize LONG_NAME.
6585         (do_test): Add LONG_NAME tests.
6586         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6587         for ns_name_unpack.  Add tests for ns_name_pton and
6588         ns_name_compress.
6590 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6592         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6593         (res_nisourserver): Remove definition.
6594         (p_section, res_npquery, res_nisourserver): Remove declaration.
6595         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6596         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6597         ... here.
6598         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6599         <resolv.h>.
6600         * resolv/res_query.c: Likewise.
6601         * resolv/res_debug.c (p_section): Define as static.
6603 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6605         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6606         strncat-power8.
6607         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6608         __strncat_power8 to ifunc list.
6609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6610         (strncat): Add __strncat_power8 to list of strncat functions.
6611         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6613 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6615         [BZ #21270]
6616         * posix/tst-mmap-offset.c (do_prepare): New function.
6617         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6618         (do_test_bz21270): New function.
6619         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6620         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6621         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6622         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6623         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6624         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6625         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6626         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6627         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6628         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6629         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6630         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6631         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6632         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6633         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6634         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6635         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6636         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6637         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6638         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6639         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6640         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6641         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6642         from auto-generation list.
6643         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6645         * sysdeps/unix/sysv/linux/mmap.c: New file.
6646         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6647         offsets and support for mmap2 syscall.
6649         * posix/globtest.sh: Add cleanup routine on trap 0.
6651 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6653         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6654         implementation-specific function name and remove unneeded
6655         macros definition.
6656         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6657         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6658         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6659         name if not defined and pass as parameter to macros accordingly.
6660         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6661         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6664         implementation-specific function name and remove unneeded
6665         macros definition.
6666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6668         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6671         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6672         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6673         name if not defined and pass as parameter to macros accordingly.
6674         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6675         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6676         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6677         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6678         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6679         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6681         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6682         implementation-specific function name and remove unneeded macros
6683         definition.
6684         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6685         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6686         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6687         function name if not defined and pass as parameter to macros
6688         accordingly.
6689         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6690         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6692         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6693         implementation-specific function name and remove unneeded macros
6694         definition.
6695         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6696         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6697         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6698         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6699         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6700         not defined and pass as parameter to macros accordingly.
6701         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6702         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6703         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6704         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6706         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6707         strcasestr implementation name and remove unneeded macros definition.
6708         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6709         strstr implementation name and remove unneeded macros definition.
6710         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6711         name if not defined and pass as parameter to macros accordingly.
6712         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6714         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6715         implementation-specific function name and remove unneeded macros
6716         definition.
6717         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6718         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6719         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6720         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6721         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6722         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6723         function name if not defined and pass as parameter to macros
6724         accordingly.
6725         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6726         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6727         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6728         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6730         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6731         the strlen implementation name and remove unneeded macros definition.
6732         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6733         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6734         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6735         the strnlen implementation name and remove unneeded macros definition.
6736         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6737         name if not defined and pass as parameter to macros accordingly.
6738         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6739         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6740         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6743         the implementation-specific function name and remove unneeded
6744         macros definition.
6745         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6746         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6747         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6748         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6749         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6750         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6751         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6752         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6753         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6754         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6755         name if not defined and pass as parameter to macros accordingly.
6756         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6758         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6759         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6760         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6761         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6762         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6763         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6766         implementation-specific function name and remove unneeded macros
6767         definition.
6768         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6770         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6771         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6772         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6773         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6774         function name if not defined.
6775         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6776         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6778 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6780         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6781         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6782         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6783         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6785 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6786             Zack Weinberg  <zackw@panix.com>
6788         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6789         readdir64 as thread-safe.  Update warning about readdir_r.
6791 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6793         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6794         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6795         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6796         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6797         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6798         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6799         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6801 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6803         * sysdeps/i386/dl-procinfo.c: Include
6804         <sysdeps/x86/dl-procinfo.c>.
6805         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6806         * sysdeps/x86/dl-procinfo.c: New file.
6808 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6810         * sysdeps/generic/math_private.h: Remove declarations of
6811         many functions that are already declared in math.h.
6812         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6813         declaration for __frexpl.
6814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6815         the declarations for __scalbnl and fabsl.
6817 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6819         [BZ #20831]
6820         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6821         of __mprotect to change protection on the excess portion
6822         to disallow all access.
6824 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6826         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6827         HAS_CPU_FEATURE to check for SSE.
6828         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6829         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6830         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6831         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6832         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6833         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6834         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6835         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6836         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6837         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6838         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6839         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6840         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6841         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6842         (index_cpu_SSE): Likewise.
6843         (reg_SSE): Likewise.
6845 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6847         * posix/getopt1.c: Include <config.h>, not "config.h".
6849 2017-04-07  Zack Weinberg  <zackw@panix.com>
6851         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6852         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6853         Mention in top-of-file boilerplate that these files are shared
6854         with gnulib.
6855         * posix/getopt.h, posix/bits/getopt_posix.h:
6856         Mention in top-of-file boilerplate that these files are NOT shared
6857         with gnulib, unlike the rest of the getopt implementation.
6859         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6860         New files, intended to be shared with gnulib.
6861         * posix/bits/getopt_posix.h:
6862         New file, not intended to be shared with gnulib.
6863         * posix/getopt.h: Now just includes features.h,
6864         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6865         no longer be shared with gnulib.
6866         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6867         * include/bits/getopt_posix.h: New wrappers.
6868         * posix/Makefile: Install new headers.
6869         * posix/unistd.h, libio/stdio.h:
6870         Include bits/getopt_posix.h instead of getopt.h.
6872         * include/libc-symbols.h: For gnulib compatibility, define
6873         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6874         _GL_ATTRIBUTE_CONST.
6875         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6876         parameters with _GL_UNUSED.
6878         * posix/getopt.c: When used standalone, define __libc_use_alloca
6879         as always false and alloca to abort if called.
6880         (process_long_option): Rewrite handling of ambiguous long options
6881         to use a single boolean vector, not a linked list; use
6882         __libc_use_alloca to decide whether to allocate this using alloca.
6883         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6885         * posix/getopt.c (process_long_option): New function split out
6886         from _getopt_internal_r.
6887         (_getopt_internal_r): Replace both copies of the long-option
6888         processing code with calls to process_long_option.
6889         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6890         (do_test): Differentiate argv[0] in the two subtests.
6892         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6893         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6894         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6896         * posix/getopt.h: Add backup definition of __nonnull for
6897         consistency with gnulib.  Define __getopt_argv_const to const
6898         if not already defined.
6899         (getopt): Update doc comment from gnulib.  Prototype
6900         unconditionally.  Add __nonnull annotation.
6901         (__posix_getopt): Add __nonnull annotation.
6902         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6903         prototypes for consistency with gnulib.  Add __nonnull
6904         annotations.
6905         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6906         (getopt_internal): Change 'argv' argument to type 'char **'.
6907         Remove now-unnecessary casts.
6908         (getopt, __posix_getopt): Eliminate repetition with a macro.
6909         Cast 'argv' to 'char **' when calling _getopt_internal.
6910         * posix/getopt1.c (getopt_long, getopt_long_only):
6911         Use __getopt_argv_const for consistency with gnulib.
6912         Cast 'argv' to 'char **' when calling _getopt_internal.
6913         (_getopt_long_r, _getopt_long_only_r):
6914         Change 'argv' argument to type 'char **'.
6915         (main): Constify 'long_options'.
6916         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6917         (_getopt_long_r, _getopt_long_only_r):
6918         Change 'argv' argument to type 'char **'.
6920         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6921         (locked_vfxprintf): New helper function. Handle arbitrary
6922         multibyte strings, not just ASCII.
6923         * include/stdio.h: Declare __fxprintf_nocancel.
6924         * posix/getopt.c: When _LIBC is defined, define fprintf to
6925         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6926         to _IO_funlockfile.  When neither _LIBC nor
6927         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6928         funlockfile as no-ops.
6929         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6930         the standalone error-printing code can now be used for libc as
6931         well.  Add an flockfile/funlockfile pair around one case where
6932         the error message is printed in several chunks.  Don't use fputc.
6933         * posix/tst-getopt-cancel.c: New test.
6934         * posix/Makefile: Run it.
6936         * posix/getopt.c (_getopt_internal_r): Don't increment
6937         d->optind a second time when reporting ambiguous -W options.
6939         * posix/getopt_int.h: Include getopt.h.
6940         Use impl-namespace names for all arguments to _getopt_internal and
6941         _getopt_internal_r.
6942         Declare __ordering enum outside the struct.
6943         Harmonize comments with gnulib.
6944         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6945         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6946         #ifdef TEST block and make unconditional.  Do not define NULL.
6947         * posix/getopt.c: Partial merge from gnulib, covering the
6948         initial includes and global declarations, commentary, and
6949         a couple of semantically-neutral code changes.
6951         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6952         Use '...' instead of `...' for quotation marks inside
6953         comments and strings.
6955         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6956         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6957         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6958         * posix/getopt_int.h: Likewise.
6959         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6960         __libc_argc and __libc_argv externs, which were only used by
6961         #ifdef USE_NONOPTION_FLAGS blocks.
6962         * posix/getopt_init.c: Remove file.
6963         * posix/Makefile (routines): Remove getopt_init.
6964         * include/getopt.h: Don't declare __getopt_initialize_environment.
6965         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6966         a comment.
6968 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6970         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6972 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6974         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6975         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6976         to __wrap_.udiv.
6977         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6978         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6980         * sysdeps/i386/symbol-hacks.h: New file.
6981         * sysdeps/m68k/symbol-hacks.h: New file.
6982         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6983         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6984         * sysdeps/unix/sysv/linux/i386/Makefile
6985         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6986         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6987         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6988         * sysdeps/unix/sysv/linux/m68k/Makefile
6989         [$(subdir) = csu] (sysdep_routines): Likewise.
6990         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6991         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6993         [$(subdir) = csu] (sysdep_routines): Likewise.
6994         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6995         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6996         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6997         [$(subdir) = csu] (sysdep_routines): Likewise.
6998         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6999         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7000         * sysdeps/wordsize-32/Makefile: Remove file.
7001         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
7002         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
7004 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
7006         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
7007         (TEST_FUNCTION_ARGV): New.
7009 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7011         * elf/next.c: Import support/test-driver.c instead of
7012         test-skeleton.c and delete TEST_FUNCTION macro definition.
7013         * elf/nodelete.c: Likewise.
7014         * elf/order2.c: Likewise.
7015         * elf/tst-_dl_addr_inside_object.c: Likewise.
7016         * elf/tst-addr1.c: Likewise.
7017         * elf/tst-align.c: Likewise.
7018         * elf/tst-align2.c: Likewise.
7019         * elf/tst-audit11.c: Likewise.
7020         * elf/tst-audit12.c: Likewise.
7021         * elf/tst-audit2.c: Likewise.
7022         * elf/tst-audit9.c: Likewise.
7023         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
7024         * elf/tst-deep1.c: Likewise.
7025         * elf/tst-dl-iter-static.c: Likewise.
7026         * elf/tst-dlmodcount.c: Likewise.
7027         * elf/tst-dlmopen1.c: Likewise.
7028         * elf/tst-dlmopen2.c: Likewise.
7029         * elf/tst-dlmopen3.c: Likewise.
7030         * elf/tst-dlopen-aout.c: Likewise.
7031         * elf/tst-dlopenrpath.c: Likewise.
7032         * elf/tst-dlsym-error.c: Likewise.
7033         * elf/tst-execstack-needed.c: Likewise.
7034         * elf/tst-execstack-prog.c: Likewise.
7035         * elf/tst-execstack.c: Likewise.
7036         * elf/tst-global1.c: Likewise.
7037         * elf/tst-gnu2-tls1.c: Likewise.
7038         * elf/tst-latepthread.c: Likewise.
7039         * elf/tst-leaks1.c: Likewise.
7040         * elf/tst-linkall-static.c: Likewise.
7041         (do_test): New function.
7042         * elf/tst-nodelete-opened.c: Likewise.
7043         * elf/tst-nodelete.cc: Likewise.
7044         * elf/tst-nodelete2.c: Likewise.
7045         * elf/tst-noload.c: Likewise.
7046         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
7047         * elf/tst-order-main.c: Likewise.
7048         * elf/tst-pathopt.c: Likewise.
7049         * elf/tst-pie2.c: Likewise.
7050         * elf/tst-piemod1.c: Likewise.
7051         * elf/tst-prelink.c: Likewise.
7052         * elf/tst-protected1a.c: Likewise.
7053         * elf/tst-protected1b.c: Likewise.
7054         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
7055         and define _GNU_SOURCE macro.
7056         (cmdline_process_function): New function.
7057         * elf/tst-relsort1.c: Likewise.
7058         * elf/tst-stackguard1.c: Likewise, import getopt.h,
7059         and define _GNU_SOURCE macro.
7060         (cmdline_process_function): New function.
7061         * elf/tst-thrlock.c: Likewise.
7062         * elf/tst-tls-dlinfo.c: Likewise.
7063         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7064         * elf/tst-tls1.c: Likewise.
7065         * elf/tst-tls10.c: Likewise.
7066         * elf/tst-tls11.c: Likewise.
7067         * elf/tst-tls12.c: Likewise.
7068         * elf/tst-tls13.c: Likewise.
7069         * elf/tst-tls14.c: Likewise.
7070         * elf/tst-tls15.c: Likewise.
7071         * elf/tst-tls16.c: Likewise.
7072         * elf/tst-tls17.c: Likewise.
7073         * elf/tst-tls18.c: Likewise.
7074         * elf/tst-tls19.c: Likewise.
7075         * elf/tst-tls2.c: Likewise.
7076         * elf/tst-tls3.c: Likewise.
7077         * elf/tst-tls4.c: Likewise.
7078         * elf/tst-tls5.c: Likewise.
7079         * elf/tst-tls6.c: Likewise.
7080         * elf/tst-tls7.c: Likewise.
7081         * elf/tst-tls8.c: Likewise.
7082         * elf/tst-tls9.c: Likewise.
7083         * elf/tst-tlsalign-extern.c: Likewise.
7084         * elf/tst-tlsalign.c: Likewise.
7085         * elf/tst-unique1.c: Likewise.
7086         * elf/tst-unique2.c: Likewise.
7087         * elf/vismain.c: Likewise.
7089 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7091         * string/test-strnlen.c (do_page_tests): New function
7092         to check length of strings ending at the page boundary.
7093         (test_main): Added call to the do_page_tests function.
7095 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7096             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7098         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7099         (sysdep_routines): Add strnlen-power8.
7100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7101         (strnlen): Add __strnlen_power8 to list of strnlen functions.
7102         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7103         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7104         (__strnlen): Add __strnlen_power8 to ifunc list.
7105         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7107 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7109         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7110         the TEST_FUNCTION macro definition.
7111         * wcsmbs/tst-mbrtowc2.c: Likewise.
7112         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7113         * wcsmbs/tst-wchar-h.c: Likewise.
7114         * wcsmbs/tst-wcpncpy.c: Likewise.
7115         * wcsmbs/tst-wcrtomb.c: Likewise.
7116         * wcsmbs/tst-wcsnlen.c: Likewise.
7117         * wcsmbs/tst-wcstof.c: Likewise.
7119 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7121         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7122         CALL_THREAD_FCT macro usage.
7123         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7124         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7125         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7127         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7128         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7129         (__ASSUME_REQUEUE_PI): Likewise.
7130         * sysdeps/unix/sysv/linux/kernel-features.h
7131         (__ASSUME_REQUEUE_PI): Likewise.
7132         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7133         (__ASSUME_REQUEUE_PI): Likewise.
7134         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7135         (__ASSUME_REQUEUE_PI): Likewise.
7136         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7137         (__ASSUME_REQUEUE_PI): Likewise.
7139 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7141         * resolv/tst-resolv-canonname.c: New file.
7142         * resolv/Makefile (tests): Add tst-resolv-canonname.
7143         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7145 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7147         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7148         Declare.
7149         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7150         (NS_MAXCDNAME): Remove definition.
7151         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7152         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7153         (NS_MAXCDNAME): Remove definition.
7154         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7156 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7158         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7159         call whose result is not used.
7161 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7163         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7164         * resolv/Makefile (tests): Add tst-ns_name.
7165         (tst-ns_name): Link with -lresolv.
7166         (tst-ns_name.out): Depend on the input data file.
7168 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7170         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7171         Clobber also r14.
7173 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7175         [BZ #21253]
7176         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7177         slack space by 32KiB.
7179 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7181         [BZ #21338]
7182         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7183         instead of incorrect do_set_arena_test
7185 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7187         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7188         * math/bits/math-finite.h: Likewise.
7190 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7192         [BZ #21289]
7193         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7195 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7197         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7198         non expected inotify_add_watch and quotactl return.
7200 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7202         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7203         to int32_t.
7204         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7205         as returning int32_t.
7207 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7209         * math/math.h: Include bits/math-finite.h once per
7210         floating-point type.
7211         * math/bits/math-finite.h: Macroize all declarations by
7212         floating-point type.
7214 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7216         [BZ #21182]
7217         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7218         near end of a page.
7219         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7220         overflow calculation.
7222 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7224         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7225         (IMPL) Call with 1 instead of 0 as argument.
7227 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7229         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7230         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7231         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7232         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7233         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7234         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7235         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7236         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7237         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7238         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7239         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7240         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7241         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7242         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7243         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7244         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7245         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7246         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7247         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7248         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7249         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7250         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7251         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7252         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7253         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7254         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7255         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7256         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7257         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7258         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7259         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7260         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7261         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7262         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7263         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7264         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7265         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7266         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7267         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7268         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7269         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7270         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7271         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7272         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7273         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7274         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7275         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7276         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7277         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7278         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7279         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7280         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7281         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7282         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7283         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7284         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7285         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7286         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7287         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7288         defined.
7289         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7290         __NR_setgroups32 if defined.
7291         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7292         if defined.
7293         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7294         __NR_setresgid32 is defined.
7295         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7296         __NR_setresuid32 if defined.
7297         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7298         __NR_setreuid32 if defined.
7299         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7300         defined.
7301         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7302         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7303         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7304         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7305         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7306         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7307         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7308         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7309         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7310         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7311         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7312         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7313         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7314         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7315         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7316         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7317         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7318         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7319         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7320         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7321         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7322         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7323         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7324         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7325         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7326         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7327         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7328         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7329         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7330         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7331         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7332         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7333         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7334         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7335         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7336         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7337         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7338         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7339         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7340         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7341         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7342         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7343         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7344         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7345         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7346         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7347         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7348         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7349         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7350         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7351         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7352         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7353         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7354         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7355         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7356         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7357         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7358         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7359         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7360         defined.
7361         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7362         __NR_setgroups32 if defined.
7363         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7364         if defined.
7365         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7366         __NR_setresgid32 is defined.
7367         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7368         __NR_setresuid32 if defined.
7369         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7370         __NR_setreuid32 if defined.
7371         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7372         defined.
7374 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7376         [BZ #21277]
7377         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7378         unconditionally.
7379         (IMAXBEL): Likewise.
7380         (IUTF8): Likewise.
7382 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7384         * sysdeps/aarch64/libm-test-ulps: Update.
7386 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7388         * README.tunables: Updated descriptions.
7389         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7390         * scripts/gen-tunables.awk: Updated the code related to the
7391         commit.
7393 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7395         * benchtests/Makefile (string-benchset): Add memcpy-random.
7396         * benchtests/bench-memcpy-random.c: New file.
7398 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7400         * stdio-common/printf.h (register_printf_modifier): Change the
7401         order of __wur and __THROW.
7402         (register_printf_type): Likewise.
7404 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7406         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7407         test_main ().
7408         (CMDLINE_PROCESS): Use function instead of defined macro.
7409         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7410         <suppport/support.h> to use set_fortify_handler().
7411         * string/bug-envz1.c: Import support/test-driver.c instead of
7412         test-skeleton.c.
7413         * string/bug-strcoll2.c: Likewise.
7414         * string/bug-strtok1.c: Likewise.
7415         * string/stratcliff.c: Likewise.
7416         * string/test-ffs.c: Likewise.
7417         * string/test-memccpy.c: Likewise.
7418         * string/test-memchr.c: Likewise.
7419         * string/test-memcmp.c: Likewise.
7420         * string/test-memcpy.c: Likewise.
7421         * string/test-memmem.c: Likewise.
7422         * string/test-memmove.c: Likewise.
7423         * string/test-memrchr.c: Likewise.
7424         * string/test-memset.c: Likewise.
7425         * string/test-rawmemchr.c: Likewise.
7426         * string/test-strcasecmp.c: Likewise.
7427         * string/test-strcasestr.c: Likewise.
7428         * string/test-strcat.c: Likewise.
7429         * string/test-strchr.c: Likewise.
7430         * string/test-strcmp.c: Likewise.
7431         * string/test-strcpy.c: Likewise.
7432         * string/test-string.h: Likewise.
7433         * string/test-strlen.c: Likewise.
7434         * string/test-strncasecmp.c: Likewise.
7435         * string/test-strncat.c: Likewise.
7436         * string/test-strncmp.c: Likewise.
7437         * string/test-strncpy.c: Likewise.
7438         * string/test-strnlen.c: Likewise.
7439         * string/test-strpbrk.c: Likewise.
7440         * string/test-strrchr.c: Likewise.
7441         * string/test-strspn.c: Likewise.
7442         * string/test-strstr.c: Likewise.
7443         * string/tst-bswap.c: Likewise.
7444         * string/tst-cmp.c: Likewise.
7445         * string/tst-endian.c: Likewise.
7446         * string/tst-inlcall.c: Likewise.
7447         * string/tst-strcoll-overflow.c: Likewise.
7448         * string/tst-strfry.c: Likewise.
7449         * string/tst-strlen.c: Likewise.
7450         * string/tst-strtok.c: Likewise.
7451         * string/tst-strtok_r.c: Likewise.
7452         * string/tst-strxfrm.c: Likewise.
7453         * string/tst-strxfrm2.c: Likewise.
7454         * string/tst-svc.c: Likewise.
7455         * string/tst-svc2.c: Likewise.
7457 2017-03-22  Zack Weinberg  <zackw@panix.com>
7459         * stdio-common/bug25.c: Include stdlib.h.
7460         * support/tst-support_format_dns_packet.c: Include stdio.h,
7461         stdlib.h, and string.h.
7462         * support/tst-support_record_failure.c: Include string.h.
7463         * support/tst-support_record_failure-2.sh: Adjust line number
7464         expectations and correct a typo in an error message.
7466 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7468         [BZ #21258]
7469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7470         Define only if _dl_runtime_resolve is defined to
7471         _dl_runtime_resolve_sse_vex.
7472         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7473         Fallthrough to _dl_runtime_resolve_sse_vex.
7475 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7477         * INSTALL: Regenerated.
7479 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7481         * config.h.in: Add LINK_OBSOLETE_NSL.
7482         * config.make.in: Add build-obsolete-nsl.
7483         * configure.ac: Add obsolete-nsl option.
7484         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7485         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7486         * include/rpcsvc/nislib.h: Likewise.
7487         * include/rpcsvc/ypclnt.h: Likewise.
7488         * manual/install.texi: Document --enable-obsolete-nsl.
7489         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7490         * nis/nis_add.c: Replace libnsl_hidden_def with
7491         libnsl_hidden_nolink_def.
7492         * nis/nis_addmember.c: Likewise.
7493         * nis/nis_call.c: Likewise.
7494         * nis/nis_clone_obj.c: Likewise.
7495         * nis/nis_defaults.c: Likeise.
7496         * nis/nis_domain_of_r.c: Likewise.
7497         * nis/nis_error.c: Likewise.
7498         * nis/nis_file.c: Likewise.
7499         * nis/nis_free.c: Likewise.
7500         * nis_local_names.c: Likewise.
7501         * nis/nis_lookup.c: Likewise.
7502         * nis/nis_modify.c: Likewise.
7503         * nis/nis_print.c: Likewise.
7504         * nis/nis_remove.c: Likewise.
7505         * nis/nis_table.c: Likewise.
7506         * nis/nis_util.c: Likewise.
7507         * nis/nis_xdr.c: Likewise.
7508         * nis/yp_xdr.c: Likewise.
7509         * nis/ypclnt.c: Likewise.
7510         * nis/ypupdate_xdr.c: Likewise.
7511         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7512         * nis/nis_clone_dir.c: Likewise.
7513         * nis/nis_clone_res.c: Likewise.
7514         * nis/nis_creategroup.c: Likewise.
7515         * nis/nis_destroygroup.c: Likewise.
7516         * nis/nis_domain_of.c: Likewise.
7517         * nis/nis_getservlist.c: Likewise.
7518         * nis/nis_ismember.c: Likewise.
7519         * nis/nis_mkdir.c: Likewise.
7520         * nis/nis_ping.c: Likewise.
7521         * nis/nis_print_group_entry.c: Likewise.
7522         * nis/nis_removemember.c: Likewise.
7523         * nis/nis_rmdir.c: Likewise.
7524         * nis/nis_server.c: Likewise.
7525         * nis/nis_subr.c: Likewise.
7526         * nis/nis_verifygroup.c: Likewise.
7528 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7530         * malloc/tst-interpose-aux.c (check_for_allocations):
7531         Move compiler barrier before free.
7533 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7535         [BZ #21279]
7536         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7537         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7538         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7539         x86_64-x32-linux.
7540         (mq_attr.mq_maxmsg): Likewise.
7541         (mq_attr.mq_msgsize): Likewise.
7542         (mq_attr.mq_curmsgs): Likewise.
7544         [BZ #21278]
7545         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7546         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7547         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7548         mips-o32-linux.
7550         [BZ #21268]
7551         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7552         if [__USE_MISC]
7553         (NL3): Likewise.
7555 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7557         [BZ #21275]
7558         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7559         __stack to __stackbase.
7560         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7561         checks so we can include defined(__ia64__) first.
7563 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7565         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7566         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7567         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7568         Call is_pty when the link does not exist or does not match, fail
7569         with ENODEV when it returns true.
7570         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7571         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7572         Call is_pty when the link does not exist or does not match, fail
7573         with ENODEV when it returns true.
7575 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7577         [BZ #16437]
7578         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7579         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7580         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7581         x86_64-x32-linux.
7582         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7583         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7584         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7586         [BZ #21261]
7587         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7588         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7589         names for all fields.
7590         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7591         for jmp_buf field renaming.
7592         (_JMPBUF_UNWINDS_ADJ): Likewise.
7594         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7595         with allow-header.
7597 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7599         * malloc/malloc.c (unlink): Add consistency check between size and
7600         next->prev->size, to further harden against 1-byte overflows.
7602 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7604         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7605         CPU_FEATURES_CPU_P.
7607 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7609         [BZ #21259]
7610         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7611         unconditionally, not just for [__USE_MISC].
7613         [BZ #17786]
7614         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7615         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7616         mips-o32-linux.
7618         [BZ #21260]
7619         * sysdeps/unix/sysv/linux/alpha/Makefile
7620         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7621         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7623         * conform/conformtest.pl ($cross): New variable.
7624         (--cross): New command-line option.
7625         (runtest): Skip test execution when cross-compiling.
7626         * conform/Makefile (conformtest-cross): New variable.
7627         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7628         conformtest.pl.
7630         * conform/conformtest.pl ($xfail_str): New variable.
7631         (--xfail=): New command-line option.
7632         (top level): Handle expectations starting xfail[cond]-.
7633         * conform/Makefile (conformtest-xfail): New variable.
7634         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7635         conformtest.pl.
7637 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7639         * conform/conformtest.pl: Use compilation instead of execution
7640         tests for testing values of constants and usability in #if.
7642 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7644         * math/auto-libm-test-in: Mark some catan and catanh as
7645         xfail-rounding:ibm128-libgcc.
7646         * math/auto-libm-test-out-catan: Regenerate.
7647         * math/auto-libm-test-out-catanh: Likewise.
7649 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7651         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7652         (__END_NAMESPACE_STD): Likewise.
7653         (__USING_NAMESPACE_STD): Likewise.
7654         (__BEGIN_NAMESPACE_C99): Likewise.
7655         (__END_NAMESPACE_C99): Likewise.
7656         (__USING_NAMESPACE_C99): Likewise.
7657         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7658         undefine macro.
7659         (_Mdouble_END_NAMESPACE): Likewise.
7660         * ctype/ctype.h: Do not handle C++ namespaces.
7661         * libio/bits/stdio-ldbl.h: Likewise.
7662         * libio/stdio.h: Likewise.
7663         * locale/locale.h: Likewise.
7664         * math/bits/mathcalls.h: Likewise.
7665         * setjmp/setjmp.h: Likewise.
7666         * signal/signal.h: Likewise.
7667         * stdlib/bits/stdlib-float.h: Likewise.
7668         * stdlib/bits/stdlib-ldbl.h: Likewise.
7669         * stdlib/stdlib.h: Likewise.
7670         * string/string.h: Likewise.
7671         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7672         * time/bits/types/clock_t.h: Likewise.
7673         * time/bits/types/struct_tm.h: Likewise.
7674         * time/bits/types/time_t.h: Likewise.
7675         * time/time.h: Likewise.
7676         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7677         * wcsmbs/uchar.h: Likewise.
7678         * wcsmbs/wchar.h: Likewise.
7679         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7680         * wctype/wctype.h: Do not handle C++ namespaces.
7681         * scripts/begin-end-check.pl: Remove.
7682         * Makefile (installed-headers): Likewise.
7683         (tests-special): Do not add $(objpfx)begin-end-check.out.
7684         ($(objpfx)begin-end-check.out): Remove.
7686 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7687             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7689         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7690         (DL_PLATFORM_INIT): New define.
7691         (dl_platform_init): New function.
7692         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7693         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7694         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7695         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7696         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7698 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7700         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7701         instead of PIC.
7703 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7705         [BZ #21094]
7706         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7707         24+24+24-bit pi for wider range of values around pi/2.
7708         * math/auto-libm-test-in: Add more tests of cos and tan.
7709         * math/auto-libm-test-out-cos: Regenerated.
7710         * math/auto-libm-test-out-tan: Likewise.
7712 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7714         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7715         (RTLD_START): Don't record stack end address in _dl_start_user.
7717 2017-03-15  Alexey Neyman  <stilor@att.net>
7719         [BZ #21088]
7720         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7721         around definitions match those around use.
7723 2017-03-15  Alexey Neyman  <stilor@att.net>
7725         * configure.ac: Avoid empty subexpression in grep.
7726         * configure: Regenerate.
7728 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7730         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7731         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7732         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7733         (test_wrp_rv): Fix format.
7734         (test_wrp_rv2): New macro.
7735         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7736         binaries.
7738 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7740         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7741         Use a union when storing pointers.
7742         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7743         cast result when passing to INIT_VEC_PTRS_LOOP.
7744         (VECTOR_WRAPPER_fFF_3): Likewise.
7745         (VECTOR_WRAPPER_fFF_4): Likewise.
7747 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7749         * include/bits/mathcalls-helper-functions.h: New file.
7750         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7751         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7752         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7753         math/bits/mathcalls-helper-functions.h.
7754         * math/bits/mathcalls-helper-functions.h: New file.
7755         * math/math.h: Include bits/mathcalls-helper-functions.h for
7756         float, double, and long double.
7758 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7760         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7761         instead of feraiseexcept.
7763 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7765         [BZ #21243]
7766         * support/temp_file.c (support_delete_temp_files): Add comment
7767         about ignored errors.
7769 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7771         [BZ #21244]
7772         * support/xclose.c: New file.
7773         * support/Makefile (libsupport-routines): Add xclose.
7774         * support/xunistd.h (xclose): Declare.
7775         * support/resolv_test.c (server_thread_tcp_client)
7776         (server_thread_tcp, make_server_sockets, resolv_test_start)
7777         (resolv_test_end): Call xclose instead of close.
7778         * support/support_enter_network_namespace.c
7779         (support_enter_network_namespace): Likewise.
7780         * support/support_run_diff.c (write_to_temp_file): Likewise.
7782 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7784         * support/support_format_dns_packet.c (support_format_dns_packet):
7785         Handle CNAME records in the response.  Extract RDATA names from
7786         rdata, not the whole packet.  Check AAAA record length.
7787         * support/tst-support_format_dns_packet.c: New file.
7788         * support/Makefile (tests): Add tst-support_format_dns_packet.
7789         (tst-support_format_dns_packet): Link against libresolv.
7791 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7793         [BZ #21232]
7794         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7795         posix_fadvise64 weak_alias for static build.
7797 2017-03-14  Andreas Schwab  <schwab@suse.de>
7799         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7800         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7801         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7802         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7803         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7804         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7805         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7806         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7808 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7810         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7811         posix error code.
7812         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7814 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7816         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7817         no_isolate usage for SH.
7819 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7821         [BZ #15105]
7822         [BZ #19463]
7823         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7824         * inet/rcmd.c (rcmd_af): Likewise.
7825         * inet/rexec.c   (rexec_af): Likewise.
7826         * intl/dcigettext.c (_LIBC): Likewise.
7827         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7828         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7829         * locale/setlocale.c (setlocale): Likewise.
7830         * posix/spawn_faction_addopen.c
7831         (posix_spawn_file_actions_addopen): Likewise.
7832         * stdlib/putenv.c (putenv): Use __strndup.
7833         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7835         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7836         (__Need_M_And_C) Remove define/undef.
7837         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7838         (__malloc_and_calloc_defined): Remove define.
7839         * string/bits/string2.h (__strdup): Remove define.
7840         (strdup): Likewise.
7841         (__strndup): Likewise.
7842         (strndup): Likewise.
7844 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7846         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7847         macro.
7848         (IPV6_ADDR_PREFERENCES): Likewise.
7849         (IPV6_MINHOPCOUNT): Likewise.
7850         (IPV6_ORIGDSTADDR): Likewise.
7851         (IPV6_RECVORIGDSTADDR): Likewise.
7852         (IPV6_TRANSPARENT): Likewise.
7853         (IPV6_UNICAST_IF): Likewise.
7854         (IPV6_RECVFRAGSIZE): Likewise.
7856 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7858         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7860 2017-03-12  Alexey Neyman <stilor@att.net>
7862         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7863         in R_SH_DIR32 case is always false when inlined from
7864         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7866 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7868         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7869         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7870         __ASSUME_SEND_SYSCALL.
7872 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7874         * sunrpc/Makefile: don't build and install rpcsvc header
7875         files, rpcgen and librpcsvc.a by default.
7877 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7879         * math/auto-libm-test-out-catan: Regenerated.
7880         * math/auto-libm-test-out-catanh: Likewise.
7881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7883 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7885         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7886         for long double with corrected test expectations.
7888 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7890         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7891         Define.
7892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7893         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7894         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7895         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7896         * sysdeps/unix/sysv/linux/tile/sysdep.h
7897         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7898         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7899         (__ASSUME_RECV_SYSCALL): Define.
7900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7901         (__ASSUME_RECV_SYSCALL): Likewise.
7902         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7903         (__ASSUME_RECV_SYSCALL): Likewise.
7904         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7905         (__ASSUME_RECV_SYSCALL): Likewise.
7906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7907         (__ASSUME_RECV_SYSCALL): Likewise.
7908         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7909         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7910         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7911         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7912         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7913         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7914         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7915         auto-generation list.
7916         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7917         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7918         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7919         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7920         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7921         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7922         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7923         __ASSUME_SENDTO_SYSCALL.
7924         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7925         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7926         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7928         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7929         auto-generation list.
7930         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7931         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7932         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7933         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7934         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7935         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7936         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7937         * sysdeps/unix/sysv/linux/kernel-features.h
7938         (__ASSUME_SENDTO_SYSCALL): Define by default.
7939         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7940         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7941         __NR_sendto.
7942         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7943         (__ASSUME_SENDTO_SYSCALL): Likewise.
7944         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7945         (__ASSUME_SENDTO_SYSCALL): Likewise.
7946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7947         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7948         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7949         (__ASSUME_SENDTO_SYSCALL): Likewise.
7950         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7951         (__ASSUME_SENDTO_SYSCALL): Likewise.
7952         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7954         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7955         auto-generation list.
7956         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7957         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7958         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7959         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7960         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7961         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7962         (__ASSUME_RECV_SYSCALL): New define.
7963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7964         (__ASSUME_RECV_SYSCALL): Likewise.
7965         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7966         (__ASSUME_RECV_SYSCALL): Likewise.
7967         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7968         (__ASSUME_RECV_SYSCALL): Likewise.
7969         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7970         (__ASSUME_RECV_SYSCALL): Likewise.
7971         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7972         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7973         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7974         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7975         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7976         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7977         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7978         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7979         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7980         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7981         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7982         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7984         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7985         auto-generation list.
7986         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7987         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7988         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7989         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7990         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7991         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7992         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7993         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7994         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7995         * sysdeps/unix/sysv/linux/kernel-features.h
7996         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7997         __NR_recvfrom.
7998         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7999         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8000         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8001         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8002         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8003         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
8004         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8005         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8006         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8007         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8008         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8009         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8010         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
8012         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
8013         auto-generation list.
8014         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8015         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8016         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8017         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8018         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8019         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8020         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8021         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
8022         * sysdeps/unix/sysv/linux/kernel-features.h
8023         (__ASSUME_CONNECT_SYSCALL): Define.
8024         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8025         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
8026         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8027         (__ASSUME_CONNECT_SYSCALL): Likewise.
8028         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8029         (__ASSUME_CONNECT_SYSCALL): Likewise.
8030         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8031         (__ASSUME_CONNECT_SYSCALL): Likewise.
8033         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
8034         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
8035         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
8036         auto-generation list.
8037         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8038         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8039         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8040         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8041         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8042         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8043         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8044         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8045         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8046         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8047         * sysdeps/unix/sysv/linux/kernel-features.h
8048         (__ASSUME_ACCEPT_SYSCALL): New define.
8049         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8050         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8051         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
8052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8053         (__ASSUME_ACCEPT_SYSCALL): Define.
8054         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8055         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8056         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8057         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8058         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8059         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8060         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8061         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8062         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8064 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
8065             Zack Weinberg  <zackw@panix.com>
8067         * posix/test-errno.c: New file.
8068         * posix/Makefile (tests): Add test-errno.
8069         * sysdeps/unix/sysv/linux/test-errno.c: New file.
8070         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8072 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
8074         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8076 2017-03-07  Florian Weimer  <fweimer@redhat.com>
8078         * time/tzset.c (compute_offset): Open-code min macro.
8079         (min, max, sign): Remove.
8081 2017-03-07  Florian Weimer  <fweimer@redhat.com>
8083         [BZ #15576]
8084         Remove TZNAME_MAX limit from sysconf.
8085         * include/time.h (__tzname_cur_max, __tzname_max): Remove
8086         declaration.
8087         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8088         compute_tzname_max.
8089         (compute_tzname_max): Remove.
8090         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8091         (update_vars): Do not update __tzname_cur_max.
8092         (tzset_internal): Remove argument.
8093         (__tzset): Adjust call to tzset_internal.
8094         (__tz_convert): Likewise.
8096         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8097         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8098         * manual/conf.texi (Sysconf Definition): Update comment.
8100 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8102         [BZ #21209]
8103         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8104         AT_SECURE processes.
8105         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8106         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8107         (test_child): Likewise.
8108         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8110 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8112         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8114 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8116         * sysdeps/s390/atomic-machine.h
8117         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8118         (__arch_compare_and_exchange_val_8_acq,
8119         __arch_compare_and_exchange_val_16_acq,
8120         __arch_compare_and_exchange_val_32_acq,
8121         __arch_compare_and_exchange_val_64_acq):
8122         Delete macro.
8123         (atomic_compare_and_exchange_val_acq,
8124         atomic_compare_and_exchange_val_rel,
8125         atomic_compare_and_exchange_bool_acq,
8126         catomic_compare_and_exchange_bool_acq,
8127         atomic_exchange_acq, atomic_exchange_rel,
8128         atomic_exchange_and_add_acq,
8129         atomic_exchange_and_add_rel,
8130         catomic_exchange_and_add, atomic_or_val,
8131         atomic_or, catomic_or, atomic_bit_test_set,
8132         atomic_and_val, atomic_and, catomic_and):
8133         Define macros with help of C11 atomic builtins.
8135 2017-03-03  Justus Winter <justus@gnupg.org>
8137         * sysdeps/mach/hurd/ftruncate64.c: New file.
8138         * sysdeps/mach/hurd/truncate64.c: Likewise.
8140 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8142         * time/tzfile.c (NOID): Do not define.
8143         * time/tzset.c (NOID): Likewise.
8145 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8147         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8149 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8151         * elf/get-dynamic-info.h: Remove header file inclusion guard.
8153 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8155         [BZ #21015]
8156         * manual/install.texi (Configuring and compiling): Document
8157         --enable-bind-now.
8158         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8159         (build-shlib-helper): Use $(LDFLAGS-lib.so).
8160         (format.lds): Likewise.
8161         [bind-now] (LDFLAGS-c.so): Remove.
8162         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8163         be R_X86_64_GLOB_DAT.
8164         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8165         relocation can be R_386_GLOB_DAT.
8166         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8167         relocaiton can be R_ALPHA_GLOB_DAT.
8168         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8170 2017-03-01  Zack Weinberg  <zackw@panix.com>
8172         * include/libc-pointer-arith.h: New file.  Define
8173         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8174         PTR_ALIGN_DOWN here.
8175         * include/libc-internal.h: Definitions of above macros
8176         moved from here.  Don't include libc-diag.h anymore either.
8177         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8178         Don't include libc-internal.h.
8180         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8181         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8182         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8183         * string/strcoll_l.c, sysdeps/nacl/brk.c
8184         * sysdeps/unix/clock_settime.c
8185         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8186         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8187         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8188         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8189         Don't include libc-internal.h.
8191         * elf/get-dynamic-info.h, iconv/loop.c
8192         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8193         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8194         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8195         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8196         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8198         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8199         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8200         * sysdeps/ieee754/ldbl-128/k_tanl.c
8201         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8202         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8203         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8204         Include libc-diag.h instead of libc-internal.h.
8206         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8207         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8208         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8209         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8210         * sysdeps/unix/sysv/linux/spawni.c
8211         * sysdeps/x86_64/nptl/tls.h:
8212         Include libc-pointer-arith.h instead of libc-internal.h.
8214         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8215         * sysdeps/x86_64/atomic-machine.h:
8216         Add multiple include guard.
8218         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8219         * string/strcasestr.c: No need to include config.h.
8220         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8221         sys/auxv.h. Don't include sysdep.h.
8222         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8224         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8225         DL_LOOKUP_ADDRESS.
8226         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8227         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8228         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8229         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8230         of ARTIFICIAL_LIMIT.
8231         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8232         declaration of __clone2.
8234 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8236         * scripts/backport-support.sh (latest_commit): New file.
8238 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8240         [BZ #20257]
8241         * inet/Makefile (routines): Add deadline.
8242         (tests-static): Add tst-deadline.
8243         * inet/net-internal.h (struct deadline_current_time)
8244         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8245         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8246         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8247         * inet/deadline.c: New file.
8248         * inet/tst-deadline.c: Likewise.
8249         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8250         tst-udp-timeout, tst-udp-garbage.
8251         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8252         explicitly.
8253         (tst-udp-garbage): Likewise.  Also link against thread library.
8254         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8255         struct layout is part of the ABI.
8256         (clntudp_call): Rework timeout handling.
8257         * sunrpc/tst-udp-garbage.c: New file.
8258         * sunrpc/tst-udp-nonblocking.c: Likewise.
8259         * sunrpc/tst-udp-timeout.c: Likewise.
8261 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8263         [BZ #5010]
8264         * sunrpc/svc.c (svc_is_mapped): Remove.
8265         (svc_unregister): Obtain mapped status while the service is still
8266         registered.
8267         * sunrpc/Makefile [have-thread-library] (tests): Add
8268         tst-svc_register.
8269         (tst-svc_register): Link against libc.so explicitly and the thread
8270         library.
8271         * sunrpc/tst-svc_register.c: New file.
8273 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8275         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8276         * sysdeps/pthread/bits/sigthread.h: Likewise.
8278 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8280         [BZ #21115]
8281         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8282         * sunrpc/Makefile (tests): Add tst-udp-error.
8283         (tst-udp-error): Link against libc.so explicitly.
8284         * sunrpc/tst-udp-error: New file.
8286 2017-02-25  Zack Weinberg  <zackw@panix.com>
8288         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8289         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8291         * sysdeps/generic/math_ldbl.h
8292         * sysdeps/ia64/fpu/math_ldbl.h
8293         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8295         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8296         * sysdeps/powerpc/fpu/math_ldbl.h
8297         * sysdeps/x86_64/fpu/math_ldbl.h:
8298         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8299         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8300         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8301         Add copyright notices.
8303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8304         Don't use EXTRACT_WORDS64.
8306         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8307         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8308         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8309         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8310         Include math_ldbl.h, not math_private.h.
8312 2017-02-25  Zack Weinberg  <zackw@panix.com>
8314         * include/libc-diag.h: New file.  Define ignore_value,
8315         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8316         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8318         * include/libc-internal.h: Definitions of above macros moved from
8319         here.  Include libc-diag.h.  Add copyright notice.
8321         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8322         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8323         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8324         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8325         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8326         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8327         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8328         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8329         Include libc-diag.h instead of libc-internal.h.
8331         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8332         call to unsetenv (NULL).
8333         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8334         call to pthread_mutexattr_destroy (NULL).
8336 2017-02-25  Zack Weinberg  <zackw@panix.com>
8338         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8339         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8340         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8341         gets was removed from C++ in C++14.
8342         * include/stdio.h: Remove redundant declaration of gets.
8343         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8344         be declared, since we are testing it.
8345         * stdio-common/Makefile (tst-gets.c): Compile with
8346         -Wno-deprecated-declarations.
8347         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8348         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8349         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8350         Compile with -Wno-deprecated-declarations.
8352 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8354         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8355         numbers.
8357 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8359         * resolv/tst-resolv-qtypes.c (domain):
8360         Change type to const pointer to const char.
8362 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8364         * math/Makefile (libm-tests-generated): Remove variable.
8365         (libm-tests-base-normal): New variable.
8366         (libm-tests-base-finite): Likewise.
8367         (libm-tests-base-inline): Likewise.
8368         (libm-tests-base): Likewise.
8369         (libm-tests-normal): Likewise.
8370         (libm-tests-finite): Likewise.
8371         (libm-tests-inline): Likewise.
8372         (libm-tests-vector): Likewise.
8373         (libm-tests): Define in terms of these new variables.
8374         (libm-tests-for-type): New variable.
8375         (libm-tests.o): Move definition.
8376         (tests): Move addition of $(libm-tests).
8377         (generated): Update for new and removed libm test files.
8378         ($(objpfx)libm-test.c): Remove target.
8379         ($(objpfx)libm-have-vector-test.h): Likewise.
8380         (CFLAGS-test-double-vlen2.c): Remove variable.
8381         (CFLAGS-test-double-vlen4.c): Likewise.
8382         (CFLAGS-test-double-vlen8.c): Likewise.
8383         (CFLAGS-test-float-vlen4.c): Likewise.
8384         (CFLAGS-test-float-vlen8.c): Likewise.
8385         (CFLAGS-test-float-vlen16.c): Likewise.
8386         (CFLAGS-test-float.c): Likewise.
8387         (CFLAGS-test-float-finite.c): Likewise.
8388         (CFLAGS-libm-test-support-float.c): Likewise.
8389         (CFLAGS-test-double.c): Likewise.
8390         (CFLAGS-test-double-finite.c): Likewise.
8391         (CFLAGS-libm-test-support-double.c): Likewise.
8392         (CFLAGS-test-ldouble.c): Likewise.
8393         (CFLAGS-test-ldouble-finite.c): Likewise.
8394         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8395         (libm-test-inline-cflags): New variable.
8396         (CFLAGS-test-ifloat.c): Remove variable.
8397         (CFLAGS-test-idouble.c): Likewise.
8398         (CFLAGS-test-ildouble.c): Likewise.
8399         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8400         dependencies.
8401         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8402         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8403         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8404         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8405         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8406         Likewise.
8407         (dependencies on libm-test-support-*.o): Remove.
8408         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8409         rules using iterators.
8410         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8411         Likewise.
8412         ($(objpfx)libm-test-support-$(o).o): Likewise.
8413         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8414         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8415         instead.
8416         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8417         define rule instead.
8418         * math/README.libm-test: Update.
8419         * math/libm-test-acos.inc: Include libm-test-driver.c.
8420         (do_test): New function.
8421         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8422         (do_test): New function.
8423         * math/libm-test-asin.inc: Include libm-test-driver.c.
8424         (do_test): New function.
8425         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8426         (do_test): New function.
8427         * math/libm-test-atan.inc: Include libm-test-driver.c.
8428         (do_test): New function.
8429         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8430         (do_test): New function.
8431         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8432         (do_test): New function.
8433         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8434         (do_test): New function.
8435         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8436         (do_test): New function.
8437         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8438         (do_test): New function.
8439         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8440         (do_test): New function.
8441         * math/libm-test-carg.inc: Include libm-test-driver.c.
8442         (do_test): New function.
8443         * math/libm-test-casin.inc: Include libm-test-driver.c.
8444         (do_test): New function.
8445         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8446         (do_test): New function.
8447         * math/libm-test-catan.inc: Include libm-test-driver.c.
8448         (do_test): New function.
8449         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8450         (do_test): New function.
8451         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8452         (do_test): New function.
8453         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8454         (do_test): New function.
8455         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8456         (do_test): New function.
8457         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8458         (do_test): New function.
8459         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8460         (do_test): New function.
8461         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8462         (do_test): New function.
8463         * math/libm-test-clog.inc: Include libm-test-driver.c.
8464         (do_test): New function.
8465         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8466         (do_test): New function.
8467         * math/libm-test-conj.inc: Include libm-test-driver.c.
8468         (do_test): New function.
8469         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8470         (do_test): New function.
8471         * math/libm-test-cos.inc: Include libm-test-driver.c.
8472         (do_test): New function.
8473         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8474         (do_test): New function.
8475         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8476         (do_test): New function.
8477         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8478         (do_test): New function.
8479         * math/libm-test-creal.inc: Include libm-test-driver.c.
8480         (do_test): New function.
8481         * math/libm-test-csin.inc: Include libm-test-driver.c.
8482         (do_test): New function.
8483         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8484         (do_test): New function.
8485         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8486         (do_test): New function.
8487         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8488         (do_test): New function.
8489         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8490         (do_test): New function.
8491         * math/libm-test-erf.inc: Include libm-test-driver.c.
8492         (do_test): New function.
8493         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8494         (do_test): New function.
8495         * math/libm-test-exp.inc: Include libm-test-driver.c.
8496         (do_test): New function.
8497         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8498         (do_test): New function.
8499         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8500         (do_test): New function.
8501         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8502         (do_test): New function.
8503         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8504         (do_test): New function.
8505         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8506         (do_test): New function.
8507         * math/libm-test-floor.inc: Include libm-test-driver.c.
8508         (do_test): New function.
8509         * math/libm-test-fma.inc: Include libm-test-driver.c.
8510         (do_test): New function.
8511         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8512         (do_test): New function.
8513         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8514         (do_test): New function.
8515         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8516         (do_test): New function.
8517         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8518         (do_test): New function.
8519         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8520         (do_test): New function.
8521         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8522         (do_test): New function.
8523         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8524         (do_test): New function.
8525         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8526         (do_test): New function.
8527         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8528         (do_test): New function.
8529         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8530         (do_test): New function.
8531         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8532         (do_test): New function.
8533         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8534         (do_test): New function.
8535         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8536         (do_test): New function.
8537         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8538         (do_test): New function.
8539         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8540         (do_test): New function.
8541         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8542         (do_test): New function.
8543         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8544         (do_test): New function.
8545         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8546         (do_test): New function.
8547         * math/libm-test-isless.inc: Include libm-test-driver.c.
8548         (do_test): New function.
8549         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8550         (do_test): New function.
8551         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8552         (do_test): New function.
8553         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8554         (do_test): New function.
8555         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8556         (do_test): New function.
8557         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8558         (do_test): New function.
8559         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8560         (do_test): New function.
8561         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8562         (do_test): New function.
8563         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8564         (do_test): New function.
8565         * math/libm-test-j0.inc: Include libm-test-driver.c.
8566         (do_test): New function.
8567         * math/libm-test-j1.inc: Include libm-test-driver.c.
8568         (do_test): New function.
8569         * math/libm-test-jn.inc: Include libm-test-driver.c.
8570         (do_test): New function.
8571         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8572         (do_test): New function.
8573         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8574         (do_test): New function.
8575         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8576         (do_test): New function.
8577         * math/libm-test-llround.inc: Include libm-test-driver.c.
8578         (do_test): New function.
8579         * math/libm-test-log.inc: Include libm-test-driver.c.
8580         (do_test): New function.
8581         * math/libm-test-log10.inc: Include libm-test-driver.c.
8582         (do_test): New function.
8583         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8584         (do_test): New function.
8585         * math/libm-test-log2.inc: Include libm-test-driver.c.
8586         (do_test): New function.
8587         * math/libm-test-logb.inc: Include libm-test-driver.c.
8588         (do_test): New function.
8589         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8590         (do_test): New function.
8591         * math/libm-test-lround.inc: Include libm-test-driver.c.
8592         (do_test): New function.
8593         * math/libm-test-modf.inc: Include libm-test-driver.c.
8594         (do_test): New function.
8595         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8596         (do_test): New function.
8597         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8598         (do_test): New function.
8599         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8600         (do_test): New function.
8601         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8602         (do_test): New function.
8603         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8604         (do_test): New function.
8605         * math/libm-test-pow.inc: Include libm-test-driver.c.
8606         (do_test): New function.
8607         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8608         (do_test): New function.
8609         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8610         (do_test): New function.
8611         * math/libm-test-rint.inc: Include libm-test-driver.c.
8612         (do_test): New function.
8613         * math/libm-test-round.inc: Include libm-test-driver.c.
8614         (do_test): New function.
8615         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8616         (do_test): New function.
8617         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8618         (do_test): New function.
8619         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8620         (do_test): New function.
8621         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8622         (do_test): New function.
8623         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8624         (do_test): New function.
8625         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8626         (do_test): New function.
8627         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8628         (do_test): New function.
8629         * math/libm-test-significand.inc: Include libm-test-driver.c.
8630         (do_test): New function.
8631         * math/libm-test-sin.inc: Include libm-test-driver.c.
8632         (do_test): New function.
8633         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8634         (do_test): New function.
8635         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8636         (do_test): New function.
8637         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8638         (do_test): New function.
8639         * math/libm-test-tan.inc: Include libm-test-driver.c.
8640         (do_test): New function.
8641         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8642         (do_test): New function.
8643         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8644         (do_test): New function.
8645         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8646         (do_test): New function.
8647         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8648         (do_test): New function.
8649         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8650         (do_test): New function.
8651         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8652         (do_test): New function.
8653         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8654         (do_test): New function.
8655         * math/libm-test-y0.inc: Include libm-test-driver.c.
8656         (do_test): New function.
8657         * math/libm-test-y1.inc: Include libm-test-driver.c.
8658         (do_test): New function.
8659         * math/libm-test-yn.inc: Include libm-test-driver.c.
8660         (do_test): New function.
8661         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8662         (HAVE_VECTOR): Remove macro.
8663         (START): Do not call HAVE_VECTOR.
8664         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8665         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8666         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8667         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8668         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8669         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8670         * math/test-math-vector.h (FUNC_TEST): New macro.
8671         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8672         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8673         (double-vlen4-funcs): Likewise.
8674         (double-vlen4-avx2-funcs): Likewise.
8675         (double-vlen8-funcs): Likewise.
8676         (float-vlen4-funcs): Likewise.
8677         (float-vlen8-funcs): Likewise.
8678         (float-vlen8-avx2-funcs): Likewise.
8679         (float-vlen16-funcs): Likewise.
8680         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8681         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8682         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8683         macro.
8684         (TEST_VECTOR_sin): Likewise.
8685         (TEST_VECTOR_sincos): Likewise.
8686         (TEST_VECTOR_log): Likewise.
8687         (TEST_VECTOR_exp): Likewise.
8688         (TEST_VECTOR_pow): Likewise.
8689         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8690         Likewise.
8691         (TEST_VECTOR_sin): Likewise.
8692         (TEST_VECTOR_sincos): Likewise.
8693         (TEST_VECTOR_log): Likewise.
8694         (TEST_VECTOR_exp): Likewise.
8695         (TEST_VECTOR_pow): Likewise.
8696         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8697         Likewise.
8698         (TEST_VECTOR_sinf): Likewise.
8699         (TEST_VECTOR_sincosf): Likewise.
8700         (TEST_VECTOR_logf): Likewise.
8701         (TEST_VECTOR_expf): Likewise.
8702         (TEST_VECTOR_powf): Likewise.
8703         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8704         Likewise.
8705         (TEST_VECTOR_sinf): Likewise.
8706         (TEST_VECTOR_sincosf): Likewise.
8707         (TEST_VECTOR_logf): Likewise.
8708         (TEST_VECTOR_expf): Likewise.
8709         (TEST_VECTOR_powf): Likewise.
8710         * math/gen-libm-have-vector-test.sh: Remove file.
8711         * math/libm-test.inc: Likewise.
8712         * math/libm-test-support-double.c: Likewise.
8713         * math/libm-test-support-float.c: Likewise.
8714         * math/libm-test-support-ldouble.c: Likewise.
8715         * math/test-double-finite.c: Likewise.: Likewise.
8716         * math/test-double.c: Likewise.
8717         * math/test-float-finite.c: Likewise.
8718         * math/test-float.c: Likewise.
8719         * math/test-idouble.c: Likewise.
8720         * math/test-ifloat.c: Likewise.
8721         * math/test-ildouble.c: Likewise.
8722         * math/test-ldouble-finite.c: Likewise.
8723         * math/test-ldouble.c: Likewise.
8724         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8725         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8727         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8728         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8729         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8730         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8731         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8733         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8735 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8736            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8738         * math/Makefile: Add wrappers to gen-libm-calls.
8739         * math/w_acos_template.c: New file.
8740         * math/w_acosh_template.c: Likewise.
8741         * math/w_asin_template.c: Likewise.
8742         * math/w_atan2_template.c: Likewise.
8743         * math/w_atanh_template.c: Likewise.
8744         * math/w_cosh_template.c: Likewise.
8745         * math/w_exp10_template.c: Likewise.
8746         * math/w_exp2_template.c: Likewise.
8747         * math/w_exp_template.c: Likewise.
8748         * math/w_fmod_template.c: Likewise.
8749         * math/w_hypot_template.c: Likewise.
8750         * math/w_j0_template.c: Likewise.
8751         * math/w_j1_template.c: Likewise.
8752         * math/w_jn_template.c: Likewise.
8753         * math/w_lgamma_r_template.c: Likewise.
8754         * math/w_lgamma_template.c: Likewise.
8755         * math/w_log10_template.c: Likewise.
8756         * math/w_log2_template.c: Likewise.
8757         * math/w_log_template.c: Likewise.
8758         * math/w_pow_template.c: Likewise.
8759         * math/w_remainder_template.c: Likewise.
8760         * math/w_sinh_template.c: Likewise.
8761         * math/w_sqrt_template.c: Likewise.
8762         * math/w_tgamma_template.c: Likewise.: Likewise.
8763         * sysdeps/generic/math-type-macros-double.h
8764         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8765         the new wrappers.
8766         * sysdeps/generic/math-type-macros-float.h: Likewise.
8767         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8769 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8771         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8772         New enum constant and macro.
8774         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8775         kernel version to 4.10.
8777 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8779         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8781 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8785 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8787         * sysdeps/powerpc/tst-set_ppr.c: New file.
8788         Implement test cases for __ppc_set_ppr_* functions.
8789         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8790         in the list of tests.
8792 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8794         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8795         instead of test-skeleton.c.
8796         (do_test): Replaced pthread_create and pthread_join with
8797         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8798         Removed unneeded status variable.
8799         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8800         instead of test-skeleton.c.
8801         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8803 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8805         [BZ #20313]
8806         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8807         201605L, for Unicode 9.
8809 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8811         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8812         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8813         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8814         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8815         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8816         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8818 2017-02-19  Zack Weinberg  <zackw@panix.com>
8820         * rt/tst-mqueue4.c: Include stdint.h.
8822 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8824         * sysdeps/arm/libm-test-ulps: Update.
8825         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8827         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8829 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8831         [BZ #21029]
8832         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8833         * sysdeps/unix/sysv/linux/i386/Makefile
8834         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8835         (uses-6-syscall-arguments): Remove.
8836         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8837         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8838         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8839         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8840         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8841         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8842         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8843         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8844         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8845         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8846         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8847         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8848         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8849         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8850         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8851         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8852         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8853         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8854         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8855         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8856         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8857         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8858         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8859         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8860         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8861         Likewise.
8862         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8863         Likewise.
8864         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8865         Likewise.
8866         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8867         Likewise.
8868         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8869         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8870         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8871         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8872         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8873         ebp on inline assembly.
8874         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8875         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8876         Set if CAN_USE_REGISTER_ASM_EBP is set.
8878 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8880         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8881         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8883 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8885         * math/auto-libm-test-in: Add tests of catan and catanh.
8886         * math/auto-libm-test-out-catan: New generated file.
8887         * math/auto-libm-test-out-catanh: Likewise.
8888         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8889         Move tests with finite inputs, except divide-by-zero cases, to
8890         auto-libm-test-in.
8891         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8892         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8893         (libm-test-funcs-noauto): Remove catan and catanh.
8894         * sysdeps/i386/fpu/libm-test-ulps: Update.
8895         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8898         * math/auto-libm-test-in: Add tests of casin and casinh.
8899         * math/auto-libm-test-out-casin: New generated file.
8900         * math/auto-libm-test-out-casinh: Likewise.
8901         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8902         Move tests with finite inputs to auto-libm-test-in.
8903         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8904         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8905         (libm-test-funcs-noauto): Remove casin and casinh.
8906         * sysdeps/i386/fpu/libm-test-ulps: Update.
8907         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8910         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8911         * math/auto-libm-test-out-cacos: New generated file.
8912         * math/auto-libm-test-out-cacosh: Likewise.
8913         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8914         Move tests with finite inputs to auto-libm-test-in.
8915         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8916         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8917         (libm-test-funcs-noauto): Remove cacos and cacosh.
8918         * sysdeps/i386/fpu/libm-test-ulps: Update.
8919         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8922         Revert:
8923         2017-02-16  Zack Weinberg  <zackw@panix.com>
8925         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8926         Don't include init-arch.h.
8927         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8928         Don't include init-arch.h.
8930 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8932         [BZ #21171]
8933         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8934         +Inf and raise divide-by-zero when x is negative.
8935         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8936         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8937         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8938         -Inf and raise divide-by-zero when x = +-0.
8939         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8940         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8941         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8942         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8943         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8944         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8945         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8947 2017-02-16  Zack Weinberg  <zackw@panix.com>
8949         * scripts/build-many-glibcs.py (bot_build_mail): If the
8950         bot_config does not contain all of the necessary email-
8951         related settings, just print a warning and continue.
8953 2017-02-16  Zack Weinberg  <zackw@panix.com>
8955         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8956         * dirent/opendir-tst1.c: Include sys/stat.h.
8957         * dirent/tst-fdopendir.c: Include sys/stat.h.
8958         * dirent/tst-fdopendir2.c: Include stdlib.h.
8959         * dirent/tst-scandir.c: Include stdbool.h.
8960         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8961         * elf/tst-tls15.c: Include stdlib.h.
8962         * elf/tst-tls16.c: Include stdlib.h.
8963         * elf/tst-tls17.c: Include stdlib.h.
8964         * elf/tst-tls18.c: Include stdlib.h.
8965         * iconv/tst-iconv6.c: Include endian.h.
8966         * iconvdata/bug-iconv11.c: Include limits.h.
8967         * io/test-utime.c: Include stdint.h.
8968         * io/tst-faccessat.c: Include sys/stat.h.
8969         * io/tst-fchmodat.c: Include sys/stat.h.
8970         * io/tst-fchownat.c: Include sys/stat.h.
8971         * io/tst-fstatat.c: Include sys/stat.h.
8972         * io/tst-futimesat.c: Include sys/stat.h.
8973         * io/tst-linkat.c: Include sys/stat.h.
8974         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8975         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8976         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8977         * io/tst-openat.c: Include stdbool.h.
8978         * io/tst-readlinkat.c: Include sys/stat.h.
8979         * io/tst-renameat.c: Include sys/stat.h.
8980         * io/tst-symlinkat.c: Include sys/stat.h.
8981         * io/tst-unlinkat.c: Include stdbool.h.
8982         * libio/bug-memstream1.c: Include stdlib.h.
8983         * libio/bug-wmemstream1.c: Include stdlib.h.
8984         * libio/tst-fwrite-error.c: Include stdlib.h.
8985         * libio/tst-memstream1.c: Include stdlib.h.
8986         * libio/tst-memstream2.c: Include stdlib.h.
8987         * libio/tst-memstream3.c: Include stdlib.h.
8988         * malloc/tst-interpose-aux.c: Include stdint.h.
8989         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8990         * nptl/tst-basic7.c: Include limits.h.
8991         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8992         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8993         * nptl/tst-cancel4_1.c: Include stddef.h.
8994         * nptl/tst-cancel4_2.c: Include stddef.h.
8995         * nptl/tst-cond16.c: Include limits.h.
8996         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8997         * nptl/tst-cond18.c: Include limits.h.
8998         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8999         * nptl/tst-cond4.c: Include stdint.h.
9000         * nptl/tst-cond6.c: Include stdint.h.
9001         * nptl/tst-stack2.c: Include limits.h.
9002         * nptl/tst-stackguard1.c: Include stddef.h.
9003         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
9004         * nptl/tst-tls4moda.c: Include stddef.h.
9005         Don't include stdio.h, unistd.h, or tls.h.
9006         * nptl/tst-tls4modb.c: Include stddef.h.
9007         Don't include stdio.h, unistd.h, or tls.h.
9008         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
9009         * posix/tst-getaddrinfo2.c: Include stdio.h.
9010         * posix/tst-getaddrinfo5.c: Include stdio.h.
9011         * posix/tst-pathconf.c: Include sys/stat.h.
9012         * posix/tst-posix_fadvise-common.c: Include stdint.h.
9013         * posix/tst-preadwrite-common.c: Include sys/stat.h.
9014         * posix/tst-regex.c: Include stdint.h.
9015         Don't include spawn.h or spawn_int.h.
9016         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
9017         * posix/tst-vfork3.c: Include sys/stat.h.
9018         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
9019         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
9020         * resolv/tst-resolv-search.c: Include stdlib.h.
9021         * stdio-common/tst-fmemopen2.c: Include stdint.h.
9022         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
9023         * stdlib/test-canon.c: Include sys/stat.h.
9024         * stdlib/tst-tls-atexit.c: Include stdbool.h.
9025         * string/test-memchr.c: Include stdint.h.
9026         * string/tst-cmp.c: Include stdint.h.
9027         * sysdeps/pthread/tst-timer.c: Include stdint.h.
9028         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
9029         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
9030         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9031         Don't include init-arch.h.
9032         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9033         Don't include init-arch.h.
9034         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
9035         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
9036         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
9037         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
9038         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
9039         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
9040         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
9041         * time/clocktest.c: Include stdint.h.
9042         * time/tst-posixtz.c: Include stdint.h.
9043         * timezone/tst-timezone.c: Include stdint.h.
9045 2017-02-16  Zack Weinberg  <zackw@panix.com>
9047         * string/string.h [__USE_MISC]: Include strings.h.
9048         (__bzero, bcmp, bcopy, bzero, index, rindex)
9049         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
9050         (ffs, ffsl, ffsll): Don't declare.
9051         * string/strings.h: Do not suppress the file if string.h has
9052         already been included.
9053         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
9054         annotations.
9055         (index, rindex): Define inline forwarders even if
9056         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
9057         (ffs): Use __attribute_const__.
9058         (ffsl, ffsll): Declare here.
9059         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
9060         have now been standardized.
9061         * include/string.h (__bzero): Declare here.
9063         * bits/types.h: Move to posix/bits.
9064         * include/bits/types.h: New wrapper.
9066 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
9068         * string/bits/string2.h (strcmp): Remove define.
9069         (__strcmp_cg): Likewise.
9070         (strncmp): Likewise.
9072 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
9074         * include/string.h: Add __cplusplus check.
9076 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9078         [BZ #21134]
9079         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9080         "divide by zero" exception when the input is zero.
9081         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9082         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9083         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9084         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9085         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9087 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
9089         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9090         and include ...
9091         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
9092         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9093         to, and include ...
9094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
9095         file.
9096         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9097         and include ...
9098         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
9099         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9100         and include ...
9101         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
9102         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9103         and include ...
9104         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
9105         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9106         and include ...
9107         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
9108         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9109         to, and include ...
9110         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
9111         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9112         and include ...
9113         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
9115 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
9117         * math/libm-test-support.h: Do not include <math-tests-arch.h>
9118         here.
9119         * math/libm-test-support.c (libm_test_init): Do not call
9120         INIT_ARCH_EXT here.
9121         * math/libm-test-driver.c: Include <math-tests-arch.h>.
9122         (main): Call INIT_ARCH_EXT.
9124 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9126         [BZ #21130]
9127         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9128         with the "invalid" exception raised when x is -Inf.
9129         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9131 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
9133         * string/bits/string2.h (strchr): Remove define.
9135 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
9137         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9138         tst-avx512.
9139         (test-extras): Add tst-avx-aux and tst-avx512-aux.
9140         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9141         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9142         ($(objpfx)tst-sse): New rule.
9143         ($(objpfx)tst-avx): Likewise.
9144         ($(objpfx)tst-avx512): Likewise.
9145         (CFLAGS-tst-avx-aux.c): New.
9146         (CFLAGS-tst-avxmod.c): Likewise.
9147         (CFLAGS-tst-avx512-aux.c): Likewise.
9148         (CFLAGS-tst-avx512mod.c): Likewise.
9149         * sysdeps/x86_64/tst-avx-aux.c: New file.
9150         * sysdeps/x86_64/tst-avx.c: Likewise.
9151         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9152         * sysdeps/x86_64/tst-avx512.c: Likewise.
9153         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9154         * sysdeps/x86_64/tst-avxmod.c: Likewise.
9155         * sysdeps/x86_64/tst-sse.c: Likewise.
9156         * sysdeps/x86_64/tst-ssemod.c: Likewise.
9158 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9160         * math/auto-libm-test-in: Add more tests of csin and csinh.
9161         * math/auto-libm-test-out-csin: Regenerated.
9162         * math/auto-libm-test-out-csinh: Likewise.
9163         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9164         auto-libm-test-in.
9165         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9167 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9169         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9170         libm-compat-calls-auto.
9171         (libm-compat-calls): Likewise.
9172         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9173         w_lgamma_compatF and k_standardF (merged from the items above).
9174         (libm-routines): Use libm-compat-calls, instead of
9175         libm-compat-calls-auto, with type-foreach.
9177 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9179         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9180         macro.
9181         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9182         (CFLAGS-test-ifloat.c): ... this.  Remove
9183         -U__LIBC_INTERNAL_MATH_INLINES.
9184         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9185         (CFLAGS-test-idouble.c): ... this.  Remove
9186         -U__LIBC_INTERNAL_MATH_INLINES.
9187         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9188         (CFLAGS-test-ildouble.c): ... this.  Remove
9189         -U__LIBC_INTERNAL_MATH_INLINES.
9191 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9193         * math/libm-test-support.c: New file.  Content from
9194         math/libm-test-driver.c.
9195         * math/libm-test-support.h: Likewise.
9196         * math/libm-test-support-double.c: New file.
9197         * math/libm-test-support-float.c: Likewise.
9198         * math/libm-test-support-ldouble.c: Likewise.
9199         * math/libm-test-driver.c: Remove main comment and header
9200         includes.  Include libm-test-support.h.
9201         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9202         (flag_test_errno): Remove static.
9203         (flag_test_exceptions): Likewise.
9204         (flag_test_finite): Likewise.
9205         (flag_test_inline): Likewise.
9206         (flag_test_mathvec): Likewise.
9207         (test_msg): Likewise.
9208         (NO_EXCEPTION): Remove.
9209         (INVALID_EXCEPTION): Likewise.
9210         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9211         (OVERFLOW_EXCEPTION): Likewise.
9212         (UNDERFLOW_EXCEPTION): Likewise.
9213         (INEXACT_EXCEPTION): Likewise.
9214         (INVALID_EXCEPTION_OK): Likewise.
9215         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9216         (OVERFLOW_EXCEPTION_OK): Likewise.
9217         (UNDERFLOW_EXCEPTION_OK): Likewise.
9218         (NO_INEXACT_EXCEPTION): Likewise.
9219         (EXCEPTIONS_OK): Likewise.
9220         (IGNORE_ZERO_INF_SIGN): Likewise.
9221         (TEST_NAN_SIGN): Likewise.
9222         (TEST_NAN_PAYLOAD): Likewise.
9223         (NO_TEST_INLINE): Likewise.
9224         (XFAIL_TEST): Likewise.
9225         (ERRNO_UNCHANGED): Likewise.
9226         (ERRNO_EDOM): Likewise.
9227         (ERRNO_ERANGE): Likewise.
9228         (IGNORE_RESULT): Likewise.
9229         (NON_FINITE): Likewise.
9230         (TEST_SNAN): Likewise.
9231         (NO_TEST_MATHVEC): Likewise.
9232         (__CONCATX): Likewise.
9233         (TYPE_MIN): Likewise.
9234         (TYPE_TRUE_MIN): Likewise.
9235         (TYPE_MAX): Likewise.
9236         (MIN_EXP): Likewise.
9237         (MAX_EXP): Likewise.
9238         (MANT_DIG): Likewise.
9239         (FSTR_MAX): Likewise.
9240         (ulp_idx): Likewise.
9241         (qtype_str): Remove static.
9242         (TEST_COND_binary32): Remove.
9243         (TEST_COND_binary64): Likewise.
9244         (TEST_COND_binary128): Likewise.
9245         (TEST_COND_ibm128): Likewise.
9246         (TEST_COND_intel96): Likewise.
9247         (TEST_COND_m68k96): Likewise.
9248         (TEST_COND_ibm128_libgcc): Likewise.
9249         (XFAIL_IBM128_LIBGCC): Likewise.
9250         (PAYLOAD_DIG): Likewise.
9251         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9252         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9253         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9254         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9255         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9256         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9257         (TEST_COND_long32): Likewise.
9258         (TEST_COND_long64): Likewise.
9259         (TEST_COND_before_rounding): Likewise.
9260         (TEST_COND_after_rounding): Likewise.
9261         (ulps_file_name): Likewise.
9262         (ulps_file): Likewise.
9263         (output_ulps): Likewise.
9264         (output_dir): Likewise.
9265         (noErrors): Likewise.
9266         (noTests): Likewise.
9267         (noExcTests): Likewise.
9268         (noErrnoTests): Likewise.
9269         (verbose): Likewise.
9270         (output_max_error): Likewise.
9271         (output_points): Likewise.
9272         (ignore_max_ulp): Likewise.
9273         (max_error): Likewise.
9274         (real_max_error): Likewise.
9275         (imag_max_error): Likewise.
9276         (prev_max_error): Likewise.
9277         (prev_real_max_error): Likewise.
9278         (prev_imag_max_error): Likewise.
9279         (max_valid_error): Likewise.
9280         (TYPE_DECIMAL_DIG): Likewise.
9281         (TYPE_HEX_DIG): Likewise.
9282         (fmt_ftostr): Likewise.
9283         (compare_ulp_data): Likewise.
9284         (find_ulps): Likewise.
9285         (init_max_error): Likewise.
9286         (set_max_error): Likewise.
9287         (print_float): Likewise.
9288         (print_screen): Likewise.
9289         (print_screen_max_error): Likewise.
9290         (update_stats): Likewise.
9291         (print_function_ulps): Likewise.
9292         (print_complex_function_ulps): Likewise.
9293         (fpstack_test): Likewise.
9294         (print_max_error): Likewise.
9295         (print_complex_max_error): Likewise.
9296         (test_single_exception): Likewise.
9297         (test_exceptions): Likewise.
9298         (test_single_errno): Likewise.
9299         (test_errno): Likewise.
9300         (ULPDIFF): Likewise.
9301         (ulp): Likewise.
9302         (check_float_internal): Likewise.
9303         (check_float): Likewise.
9304         (check_complex): Likewise.
9305         (check_int): Likewise.
9306         (check_long): Likewise.
9307         (check_bool): Likewise.
9308         (check_longlong): Likewise.
9309         (check_intmax_t): Likewise.
9310         (check_uintmax_t): Likewise.
9311         (enable_test): Likewise.
9312         (matherr): Likewise.
9313         (initialize): Likewise.
9314         (options): Likewise.
9315         (doc): Remove static.
9316         (argp): Likewise.
9317         (parse_opt): Remove.
9318         (check_ulp): Likewise.
9319         (libm_test_init): Likewise.
9320         (libm_test_finish): Likewise.
9321         * math/Makefile (libm-test-support): New variable.
9322         (test-extras): Add libm-test-support files.
9323         (extra-test-objs): Likewise.
9324         (CFLAGS-libm-test-support-float.c): New variable.
9325         (CFLAGS-libm-test-support-double.c): Likewise.
9326         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9327         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9328         libm-test-support objects.
9330 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9332         * math/Makefile (libm-calls): Move w_exp...
9333         (libm-compat-calls-auto): Here.
9335         * math/w_expl.c: Add suffix "_compat" to filename.
9336         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9337         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9338         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9339         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9340         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9341         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9342         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9343         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9345         * math/w_expl_compat.c: New file, copied from above.
9346         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9347         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9348         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9349         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9350         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9351         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9352         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9353         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9355         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9356         to filename.
9357         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9359         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9360         copied from above and adjusted for the new filenames.
9361         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9363 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9365         * math/Makefile (libm-calls): Move w_lgammaF...
9366         (libm-compat-calls-auto): Here.
9368         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9369         * math/w_lgammaf.c: Likewise.
9370         * math/w_lgammal.c: Likewise.
9372         * math/w_lgamma_compat2.c: New file, copied from above.
9373         * math/w_lgammaf_compat2.c: Likewise.
9374         * math/w_lgammal_compat2.c: Likewise.
9376 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9378         * math/Makefile (libm-calls): Move w_lgammaF_r...
9379         (libm-compat-calls-auto): Here.
9381         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9382         * math/w_lgammaf_r.c: Likewise.
9383         * math/w_lgammal_r.c: Likewise.
9384         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9385         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9386         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9388         * math/w_lgamma_r_compat.c: New file, copied from above.
9389         * math/w_lgammaf_r_compat.c: Likewise.
9390         * math/w_lgammal_r_compat.c: Likewise.
9391         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9392         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9393         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9395         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9396         to filename.
9397         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9399         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9400         copied from above and adjusted for the new filenames.
9401         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9403 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9405         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9406         calculation in SYSCALL_ERROR_HANDLER().
9408 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9410         * manual/contrib.texi: Fix typo.
9412 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9414         [BZ #21109]
9415         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9416         tunable_val_t as argument.
9417         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9418         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9419         argument.
9420         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9422 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9424         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9425         Add PTRACE_EVENT_STOP.
9426         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9430         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9431         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9433 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9435         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9436         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9437         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9438         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9439         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9440         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9441         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9442         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9443         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9444         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9446         [BZ #21112]
9447         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9448         12 bits zero.
9449         (cp_l): Update for new value of cp_h.
9450         * math/auto-libm-test-in: Add another test of pow.
9451         * math/auto-libm-test-out-pow: Regenerated.
9453 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9455         * manual/contrib.texi: Fix typo.
9457 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9459         [BZ #15998]
9460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9461         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9464 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9466         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9467         STRCHR as __strchr_power8.
9468         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9469         strlen as __strlen_power8.
9471 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9473         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9474         unaligned load for shorter strings.
9475         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9477 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9479         * math/libm-test-driver.c (flag_test_errno): New variable.
9480         (flag_test_exceptions): Likewise.
9481         (flag_test_finite): Likewise.
9482         (flag_test_inline): Likewise.
9483         (flag_test_mathvec): Likewise.
9484         (test_msg): Likewise.
9485         (ulp_idx): Likewise.
9486         (qtype_str): Likewise.
9487         (ULP_IDX): Remove macro.
9488         (QTYPE_STR): Likewise.
9489         (find_ulps): Use ulp_idx not ULP_IDX.
9490         (print_function_ulps): Use qtype_str, printed with %s, not
9491         QTYPE_STR, printed with concatentation to format string.
9492         (print_complex_function_ulps): Likewise.
9493         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9494         (test_errno): Use flag_test_errno not TEST_ERRNO.
9495         (enable_test): Use flag_test_inline, flag_test_finite and
9496         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9497         TEST_MATHVEC.
9498         (libm_test_init): New function.  Factored out of main.
9499         (libm_test_finish): Likewise.
9500         (main): Call libm_test_init and libm_test_finish and move most
9501         code to those functions.
9503         * math/libm-test-driver.c (STRX): New macro.
9504         (STR): Likewise.
9505         (STR_FLOAT): Likewise.
9506         (STR_VEC_LEN): Likewise.
9507         (TEST_MSG): Likewise.  Define here instead of expecting to be
9508         defined by including file.
9509         * math/test-double-finite.c (TEST_MSG): Remove macro.
9510         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9511         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9512         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9513         * math/test-double.c (TEST_MSG): Likewise.
9514         * math/test-float-finite.c (TEST_MSG): Likewise.
9515         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9516         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9517         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9518         * math/test-float.c (TEST_MSG): Likewise.
9519         * math/test-idouble.c (TEST_MSG): Likewise.
9520         * math/test-ifloat.c (TEST_MSG): Likewise.
9521         * math/test-ildouble.c (TEST_MSG): Likewise.
9522         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9523         * math/test-ldouble.c (TEST_MSG): Likewise.
9525         * math/libm-test.inc: Move all tests of individual functions to
9526         libm-test-*.inc and #include libm-test-*.c files.
9527         (acos_test_data): Remove.
9528         (acos_test): Likewise.
9529         (acosh_test_data): Likewise.
9530         (acosh_test): Likewise.
9531         (asin_test_data): Likewise.
9532         (asin_test): Likewise.
9533         (asinh_test_data): Likewise.
9534         (asinh_test): Likewise.
9535         (atan_test_data): Likewise.
9536         (atan_test): Likewise.
9537         (atanh_test_data): Likewise.
9538         (atanh_test): Likewise.
9539         (atan2_test_data): Likewise.
9540         (atan2_test): Likewise.
9541         (cabs_test_data): Likewise.
9542         (cabs_test): Likewise.
9543         (cacos_test_data): Likewise.
9544         (cacos_test): Likewise.
9545         (cacosh_test_data): Likewise.
9546         (cacosh_test): Likewise.
9547         (canonicalize_test_data): Likewise.
9548         (canonicalize_test): Likewise.
9549         (carg_test_data): Likewise.
9550         (carg_test): Likewise.
9551         (casin_test_data): Likewise.
9552         (casin_test): Likewise.
9553         (casinh_test_data): Likewise.
9554         (casinh_test): Likewise.
9555         (catan_test_data): Likewise.
9556         (catan_test): Likewise.
9557         (catanh_test_data): Likewise.
9558         (catanh_test): Likewise.
9559         (cbrt_test_data): Likewise.
9560         (cbrt_test): Likewise.
9561         (ccos_test_data): Likewise.
9562         (ccos_test): Likewise.
9563         (ccosh_test_data): Likewise.
9564         (ccosh_test): Likewise.
9565         (ceil_test_data): Likewise.
9566         (ceil_test): Likewise.
9567         (cexp_test_data): Likewise.
9568         (cexp_test): Likewise.
9569         (cimag_test_data): Likewise.
9570         (cimag_test): Likewise.
9571         (clog_test_data): Likewise.
9572         (clog_test): Likewise.
9573         (clog10_test_data): Likewise.
9574         (clog10_test): Likewise.
9575         (conj_test_data): Likewise.
9576         (conj_test): Likewise.
9577         (copysign_test_data): Likewise.
9578         (copysign_test): Likewise.
9579         (cos_test_data): Likewise.
9580         (cos_test): Likewise.
9581         (cosh_test_data): Likewise.
9582         (cosh_test): Likewise.
9583         (cpow_test_data): Likewise.
9584         (cpow_test): Likewise.
9585         (cproj_test_data): Likewise.
9586         (cproj_test): Likewise.
9587         (creal_test_data): Likewise.
9588         (creal_test): Likewise.
9589         (csin_test_data): Likewise.
9590         (csin_test): Likewise.
9591         (csinh_test_data): Likewise.
9592         (csinh_test): Likewise.
9593         (csqrt_test_data): Likewise.
9594         (csqrt_test): Likewise.
9595         (ctan_test_data): Likewise.
9596         (ctan_test): Likewise.
9597         (ctanh_test_data): Likewise.
9598         (ctanh_test): Likewise.
9599         (erf_test_data): Likewise.
9600         (erf_test): Likewise.
9601         (erfc_test_data): Likewise.
9602         (erfc_test): Likewise.
9603         (exp_test_data): Likewise.
9604         (exp_test): Likewise.
9605         (exp10_test_data): Likewise.
9606         (exp10_test): Likewise.
9607         (pow10_test): Likewise.
9608         (exp2_test_data): Likewise.
9609         (exp2_test): Likewise.
9610         (expm1_test_data): Likewise.
9611         (expm1_test): Likewise.
9612         (fabs_test_data): Likewise.
9613         (fabs_test): Likewise.
9614         (fdim_test_data): Likewise.
9615         (fdim_test): Likewise.
9616         (floor_test_data): Likewise.
9617         (floor_test): Likewise.
9618         (fma_test_data): Likewise.
9619         (fma_test): Likewise.
9620         (fmax_test_data): Likewise.
9621         (fmax_test): Likewise.
9622         (fmaxmag_test_data): Likewise.
9623         (fmaxmag_test): Likewise.
9624         (fmin_test_data): Likewise.
9625         (fmin_test): Likewise.
9626         (fminmag_test_data): Likewise.
9627         (fminmag_test): Likewise.
9628         (fmod_test_data): Likewise.
9629         (fmod_test): Likewise.
9630         (fpclassify_test_data): Likewise.
9631         (fpclassify_test): Likewise.
9632         (frexp_test_data): Likewise.
9633         (frexp_test): Likewise.
9634         (fromfp_test_data): Likewise.
9635         (fromfp_test): Likewise.
9636         (fromfpx_test_data): Likewise.
9637         (fromfpx_test): Likewise.
9638         (getpayload_test_data): Likewise.
9639         (getpayload_test): Likewise.
9640         (hypot_test_data): Likewise.
9641         (hypot_test): Likewise.
9642         (ilogb_test_data): Likewise.
9643         (ilogb_test): Likewise.
9644         (iscanonical_test_data): Likewise.
9645         (iscanonical_test): Likewise.
9646         (iseqsig_test_data): Likewise.
9647         (iseqsig_test): Likewise.
9648         (isfinite_test_data): Likewise.
9649         (isfinite_test): Likewise.
9650         (finite_test): Likewise.
9651         (isgreater_test_data): Likewise.
9652         (isgreater_test): Likewise.
9653         (isgreaterequal_test_data): Likewise.
9654         (isgreaterequal_test): Likewise.
9655         (isinf_test_data): Likewise.
9656         (isinf_test): Likewise.
9657         (isless_test_data): Likewise.
9658         (isless_test): Likewise.
9659         (islessequal_test_data): Likewise.
9660         (islessequal_test): Likewise.
9661         (islessgreater_test_data): Likewise.
9662         (islessgreater_test): Likewise.
9663         (isnan_test_data): Likewise.
9664         (isnan_test): Likewise.
9665         (isnormal_test_data): Likewise.
9666         (isnormal_test): Likewise.
9667         (issignaling_test_data): Likewise.
9668         (issignaling_test): Likewise.
9669         (issubnormal_test_data): Likewise.
9670         (issubnormal_test): Likewise.
9671         (isunordered_test_data): Likewise.
9672         (isunordered_test): Likewise.
9673         (iszero_test_data): Likewise.
9674         (iszero_test): Likewise.
9675         (j0_test_data): Likewise.
9676         (j0_test): Likewise.
9677         (j1_test_data): Likewise.
9678         (j1_test): Likewise.
9679         (jn_test_data): Likewise.
9680         (jn_test): Likewise.
9681         (lgamma_test_data): Likewise.
9682         (lgamma_test): Likewise.
9683         (gamma_test): Likewise.
9684         (llogb_test_data): Likewise.
9685         (llogb_test): Likewise.
9686         (lrint_test_data): Likewise.
9687         (lrint_test): Likewise.
9688         (llrint_test_data): Likewise.
9689         (llrint_test): Likewise.
9690         (log_test_data): Likewise.
9691         (log_test): Likewise.
9692         (log10_test_data): Likewise.
9693         (log10_test): Likewise.
9694         (log1p_test_data): Likewise.
9695         (log1p_test): Likewise.
9696         (log2_test_data): Likewise.
9697         (log2_test): Likewise.
9698         (logb_test_data): Likewise.
9699         (logb_test): Likewise.
9700         (lround_test_data): Likewise.
9701         (lround_test): Likewise.
9702         (llround_test_data): Likewise.
9703         (llround_test): Likewise.
9704         (modf_test_data): Likewise.
9705         (modf_test): Likewise.
9706         (nearbyint_test_data): Likewise.
9707         (nearbyint_test): Likewise.
9708         (nextafter_test_data): Likewise.
9709         (nextafter_test): Likewise.
9710         (nextup_test_data): Likewise.
9711         (nextup_test): Likewise.
9712         (nextdown_test_data): Likewise.
9713         (nextdown_test): Likewise.
9714         (nexttoward_test_data): Likewise.
9715         (nexttoward_test): Likewise.
9716         (pow_test_data): Likewise.
9717         (pow_test): Likewise.
9718         (remainder_test_data): Likewise.
9719         (remainder_test): Likewise.
9720         (drem_test): Likewise.
9721         (remquo_test_data): Likewise.
9722         (remquo_test): Likewise.
9723         (rint_test_data): Likewise.
9724         (rint_test): Likewise.
9725         (round_test_data): Likewise.
9726         (round_test): Likewise.
9727         (roundeven_test_data): Likewise.
9728         (roundeven_test): Likewise.
9729         (scalb_test_data): Likewise.
9730         (scalb_test): Likewise.
9731         (scalbn_test_data): Likewise.
9732         (scalbn_test): Likewise.
9733         (ldexp_test): Likewise.
9734         (scalbln_test_data): Likewise.
9735         (scalbln_test): Likewise.
9736         (setpayload_test_data): Likewise.
9737         (setpayload_test): Likewise.
9738         (setpayloadsig_test_data): Likewise.
9739         (setpayloadsig_test): Likewise.
9740         (signbit_test_data): Likewise.
9741         (signbit_test): Likewise.
9742         (sin_test_data): Likewise.
9743         (sin_test): Likewise.
9744         (sincos_test_data): Likewise.
9745         (sincos_test): Likewise.
9746         (sinh_test_data): Likewise.
9747         (sinh_test): Likewise.
9748         (sqrt_test_data): Likewise.
9749         (sqrt_test): Likewise.
9750         (tan_test_data): Likewise.
9751         (tan_test): Likewise.
9752         (tanh_test_data): Likewise.
9753         (tanh_test): Likewise.
9754         (tgamma_test_data): Likewise.
9755         (tgamma_test): Likewise.
9756         (totalorder_test_data): Likewise.
9757         (totalorder_test): Likewise.
9758         (totalordermag_test_data): Likewise.
9759         (totalordermag_test): Likewise.
9760         (trunc_test_data): Likewise.
9761         (trunc_test): Likewise.
9762         (ufromfp_test_data): Likewise.
9763         (ufromfp_test): Likewise.
9764         (ufromfpx_test_data): Likewise.
9765         (ufromfpx_test): Likewise.
9766         (y0_test_data): Likewise.
9767         (y0_test): Likewise.
9768         (y1_test_data): Likewise.
9769         (y1_test): Likewise.
9770         (yn_test_data): Likewise.
9771         (yn_test): Likewise.
9772         (significand_test_data): Likewise.
9773         (significand_test): Likewise.
9774         * math/Makefile (auto-libm-test-out-files): Remove variable.
9775         (libm-test-funcs-noauto): New variable.
9776         (libm-test-funcs-all): Likewise.
9777         (libm-test-c-auto): Likewise.
9778         (libm-test-c-noauto): Likewise.
9779         (libm-tests-generated): Add $(libm-test-c-auto) and
9780         $(libm-test-c-noauto).
9781         (generated): Do not add auto-libm-test-out.
9782         (libm-test-c-auto-obj): New variable.
9783         (libm-test-c-noauto-obj): Likewise.
9784         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9785         ($(libm-test-c-noauto-obj)): New static pattern rule.
9786         ($(libm-test-c-auto-obj)): Likewise.
9787         (libm-test-incs): New variable.
9788         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9789         and pass it to gen-libm-have-vector-test.sh.
9790         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9791         be passed on command line.
9792         * math/libm-test-acos.inc: New file.  Content from
9793         math/libm-test.inc.
9794         * math/libm-test-acosh.inc: Likewise.
9795         * math/libm-test-asin.inc: Likewise.
9796         * math/libm-test-asinh.inc: Likewise.
9797         * math/libm-test-atan.inc: Likewise.
9798         * math/libm-test-atan2.inc: Likewise.
9799         * math/libm-test-atanh.inc: Likewise.
9800         * math/libm-test-cabs.inc: Likewise.
9801         * math/libm-test-cacos.inc: Likewise.
9802         * math/libm-test-cacosh.inc: Likewise.
9803         * math/libm-test-canonicalize.inc: Likewise.
9804         * math/libm-test-carg.inc: Likewise.
9805         * math/libm-test-casin.inc: Likewise.
9806         * math/libm-test-casinh.inc: Likewise.
9807         * math/libm-test-catan.inc: Likewise.
9808         * math/libm-test-catanh.inc: Likewise.
9809         * math/libm-test-cbrt.inc: Likewise.
9810         * math/libm-test-ccos.inc: Likewise.
9811         * math/libm-test-ccosh.inc: Likewise.
9812         * math/libm-test-ceil.inc: Likewise.
9813         * math/libm-test-cexp.inc: Likewise.
9814         * math/libm-test-cimag.inc: Likewise.
9815         * math/libm-test-clog.inc: Likewise.
9816         * math/libm-test-clog10.inc: Likewise.
9817         * math/libm-test-conj.inc: Likewise.
9818         * math/libm-test-copysign.inc: Likewise.
9819         * math/libm-test-cos.inc: Likewise.
9820         * math/libm-test-cosh.inc: Likewise.
9821         * math/libm-test-cpow.inc: Likewise.
9822         * math/libm-test-cproj.inc: Likewise.
9823         * math/libm-test-creal.inc: Likewise.
9824         * math/libm-test-csin.inc: Likewise.
9825         * math/libm-test-csinh.inc: Likewise.
9826         * math/libm-test-csqrt.inc: Likewise.
9827         * math/libm-test-ctan.inc: Likewise.
9828         * math/libm-test-ctanh.inc: Likewise.
9829         * math/libm-test-erf.inc: Likewise.
9830         * math/libm-test-erfc.inc: Likewise.
9831         * math/libm-test-exp.inc: Likewise.
9832         * math/libm-test-exp10.inc: Likewise.
9833         * math/libm-test-exp2.inc: Likewise.
9834         * math/libm-test-expm1.inc: Likewise.
9835         * math/libm-test-fabs.inc: Likewise.
9836         * math/libm-test-fdim.inc: Likewise.
9837         * math/libm-test-floor.inc: Likewise.
9838         * math/libm-test-fma.inc: Likewise.
9839         * math/libm-test-fmax.inc: Likewise.
9840         * math/libm-test-fmaxmag.inc: Likewise.
9841         * math/libm-test-fmin.inc: Likewise.
9842         * math/libm-test-fminmag.inc: Likewise.
9843         * math/libm-test-fmod.inc: Likewise.
9844         * math/libm-test-fpclassify.inc: Likewise.
9845         * math/libm-test-frexp.inc: Likewise.
9846         * math/libm-test-fromfp.inc: Likewise.
9847         * math/libm-test-fromfpx.inc: Likewise.
9848         * math/libm-test-getpayload.inc: Likewise.
9849         * math/libm-test-hypot.inc: Likewise.
9850         * math/libm-test-ilogb.inc: Likewise.
9851         * math/libm-test-iscanonical.inc: Likewise.
9852         * math/libm-test-iseqsig.inc: Likewise.
9853         * math/libm-test-isfinite.inc: Likewise.
9854         * math/libm-test-isgreater.inc: Likewise.
9855         * math/libm-test-isgreaterequal.inc: Likewise.
9856         * math/libm-test-isinf.inc: Likewise.
9857         * math/libm-test-isless.inc: Likewise.
9858         * math/libm-test-islessequal.inc: Likewise.
9859         * math/libm-test-islessgreater.inc: Likewise.
9860         * math/libm-test-isnan.inc: Likewise.
9861         * math/libm-test-isnormal.inc: Likewise.
9862         * math/libm-test-issignaling.inc: Likewise.
9863         * math/libm-test-issubnormal.inc: Likewise.
9864         * math/libm-test-isunordered.inc: Likewise.
9865         * math/libm-test-iszero.inc: Likewise.
9866         * math/libm-test-j0.inc: Likewise.
9867         * math/libm-test-j1.inc: Likewise.
9868         * math/libm-test-jn.inc: Likewise.
9869         * math/libm-test-lgamma.inc: Likewise.
9870         * math/libm-test-llogb.inc: Likewise.
9871         * math/libm-test-llrint.inc: Likewise.
9872         * math/libm-test-llround.inc: Likewise.
9873         * math/libm-test-log.inc: Likewise.
9874         * math/libm-test-log10.inc: Likewise.
9875         * math/libm-test-log1p.inc: Likewise.
9876         * math/libm-test-log2.inc: Likewise.
9877         * math/libm-test-logb.inc: Likewise.
9878         * math/libm-test-lrint.inc: Likewise.
9879         * math/libm-test-lround.inc: Likewise.
9880         * math/libm-test-modf.inc: Likewise.
9881         * math/libm-test-nearbyint.inc: Likewise.
9882         * math/libm-test-nextafter.inc: Likewise.
9883         * math/libm-test-nextdown.inc: Likewise.
9884         * math/libm-test-nexttoward.inc: Likewise.
9885         * math/libm-test-nextup.inc: Likewise.
9886         * math/libm-test-pow.inc: Likewise.
9887         * math/libm-test-remainder.inc: Likewise.
9888         * math/libm-test-remquo.inc: Likewise.
9889         * math/libm-test-rint.inc: Likewise.
9890         * math/libm-test-round.inc: Likewise.
9891         * math/libm-test-roundeven.inc: Likewise.
9892         * math/libm-test-scalb.inc: Likewise.
9893         * math/libm-test-scalbln.inc: Likewise.
9894         * math/libm-test-scalbn.inc: Likewise.
9895         * math/libm-test-setpayload.inc: Likewise.
9896         * math/libm-test-setpayloadsig.inc: Likewise.
9897         * math/libm-test-signbit.inc: Likewise.
9898         * math/libm-test-significand.inc: Likewise.
9899         * math/libm-test-sin.inc: Likewise.
9900         * math/libm-test-sincos.inc: Likewise.
9901         * math/libm-test-sinh.inc: Likewise.
9902         * math/libm-test-sqrt.inc: Likewise.
9903         * math/libm-test-tan.inc: Likewise.
9904         * math/libm-test-tanh.inc: Likewise.
9905         * math/libm-test-tgamma.inc: Likewise.
9906         * math/libm-test-totalorder.inc: Likewise.
9907         * math/libm-test-totalordermag.inc: Likewise.
9908         * math/libm-test-trunc.inc: Likewise.
9909         * math/libm-test-ufromfp.inc: Likewise.
9910         * math/libm-test-ufromfpx.inc: Likewise.
9911         * math/libm-test-y0.inc: Likewise.
9912         * math/libm-test-y1.inc: Likewise.
9913         * math/libm-test-yn.inc: Likewise.
9914         * math/README.libm-test: Update.
9916         * math/gen-auto-libm-tests.c: Update comment about use of program.
9917         (generate_output): Add argument FUNCTION.
9918         (main): Require extra argument.  Pass function name to
9919         generate_output.
9920         * math/Makefile (generated): Add auto-libm-test-out.
9921         (libm-test-funcs-auto): New variable.
9922         (auto-libm-test-out-files): New variable.
9923         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9924         Concatenate those files to form $(objpfx)auto-libm-test-out and
9925         use it as input to gen-libm-test.pl.
9926         * math/README.libm-test: Update.
9927         * math/auto-libm-test-out: Remove.
9928         * math/auto-libm-test-out-acos: New generated file.
9929         * math/auto-libm-test-out-acosh: Likewise.
9930         * math/auto-libm-test-out-asin: Likewise.
9931         * math/auto-libm-test-out-asinh: Likewise.
9932         * math/auto-libm-test-out-atan: Likewise.
9933         * math/auto-libm-test-out-atan2: Likewise.
9934         * math/auto-libm-test-out-atanh: Likewise.
9935         * math/auto-libm-test-out-cabs: Likewise.
9936         * math/auto-libm-test-out-carg: Likewise.
9937         * math/auto-libm-test-out-cbrt: Likewise.
9938         * math/auto-libm-test-out-ccos: Likewise.
9939         * math/auto-libm-test-out-ccosh: Likewise.
9940         * math/auto-libm-test-out-cexp: Likewise.
9941         * math/auto-libm-test-out-clog: Likewise.
9942         * math/auto-libm-test-out-clog10: Likewise.
9943         * math/auto-libm-test-out-cos: Likewise.
9944         * math/auto-libm-test-out-cosh: Likewise.
9945         * math/auto-libm-test-out-cpow: Likewise.
9946         * math/auto-libm-test-out-csin: Likewise.
9947         * math/auto-libm-test-out-csinh: Likewise.
9948         * math/auto-libm-test-out-csqrt: Likewise.
9949         * math/auto-libm-test-out-ctan: Likewise.
9950         * math/auto-libm-test-out-ctanh: Likewise.
9951         * math/auto-libm-test-out-erf: Likewise.
9952         * math/auto-libm-test-out-erfc: Likewise.
9953         * math/auto-libm-test-out-exp: Likewise.
9954         * math/auto-libm-test-out-exp10: Likewise.
9955         * math/auto-libm-test-out-exp2: Likewise.
9956         * math/auto-libm-test-out-expm1: Likewise.
9957         * math/auto-libm-test-out-fma: Likewise.
9958         * math/auto-libm-test-out-hypot: Likewise.
9959         * math/auto-libm-test-out-j0: Likewise.
9960         * math/auto-libm-test-out-j1: Likewise.
9961         * math/auto-libm-test-out-jn: Likewise.
9962         * math/auto-libm-test-out-lgamma: Likewise.
9963         * math/auto-libm-test-out-log: Likewise.
9964         * math/auto-libm-test-out-log10: Likewise.
9965         * math/auto-libm-test-out-log1p: Likewise.
9966         * math/auto-libm-test-out-log2: Likewise.
9967         * math/auto-libm-test-out-pow: Likewise.
9968         * math/auto-libm-test-out-sin: Likewise.
9969         * math/auto-libm-test-out-sincos: Likewise.
9970         * math/auto-libm-test-out-sinh: Likewise.
9971         * math/auto-libm-test-out-sqrt: Likewise.
9972         * math/auto-libm-test-out-tan: Likewise.
9973         * math/auto-libm-test-out-tanh: Likewise.
9974         * math/auto-libm-test-out-tgamma: Likewise.
9975         * math/auto-libm-test-out-y0: Likewise.
9976         * math/auto-libm-test-out-y1: Likewise.
9977         * math/auto-libm-test-out-yn: Likewise.
9979         * math/Makefile (generated): Do not include libm-test.stmp.
9980         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9981         on $(objpfx)libm-test.stmp.
9982         ($(objpfx)libm-test.stmp): Remove rule.
9983         ($(objpfx)libm-test-ulps.h): New rule.
9984         ($(objpfx)libm-test.c): Likewise.
9985         ($(objpfx)libm-have-vector-test.h): Likewise.
9986         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9987         individual generated files, not libm-test.stmp.
9989         * math/gen-libm-test.pl ($output_dir): Remove variable.
9990         ($srcdir): Likewise.
9991         ($opt_a): New variable.
9992         ($opt_c): Likewise.
9993         ($opt_C): Likewise.
9994         ($opt_H): Likewise.
9995         (-n): Make option take argument and use it as NewUlps output.
9996         (-a): New option.  Use its argument for auto-libm-test-out input.
9997         (-c): New option.  Use its argument for libm-test.inc input.
9998         (-C): New option.  Use its argument for libm-test.c output.
9999         (-H): New option.  Use its argument for libm-test-ulps.h output.
10000         (top level): Only process inputs needed to generate outputs
10001         specified by command-line options.  Only generate outputs
10002         specified by command-line options.
10003         * math/README.libm-test: Update example gen-libm-test.pl command.
10004         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
10005         commands.
10006         (regen-ulps): Likewise.
10008 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
10010         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
10011         * include/string.h (index): Remove define.
10012         (rindex): Likewise.
10013         * misc/getttyent.c (__getttyent): Rename index to strchr.
10014         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
10015         * sunrpc/rpc_main.c (mkfile_output): Likewise.
10017 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10019         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
10020         * math/libm-test.inc: Move all contents, other than tests of
10021         individual functions, to libm-test-driver.c.
10022         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
10023         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
10024         [!FE_UPWARD] (FE_UPWARD): Likewise.
10025         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
10026         (NO_EXCEPTION): Likewise.
10027         (INVALID_EXCEPTION): Likewise.
10028         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
10029         (OVERFLOW_EXCEPTION): Likewise.
10030         (UNDERFLOW_EXCEPTION): Likewise.
10031         (INEXACT_EXCEPTION): Likewise.
10032         (INVALID_EXCEPTION_OK): Likewise.
10033         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10034         (OVERFLOW_EXCEPTION_OK): Likewise.
10035         (UNDERFLOW_EXCEPTION_OK): Likewise.
10036         (NO_INEXACT_EXCEPTION): Likewise.
10037         (EXCEPTIONS_OK): Likewise.
10038         (IGNORE_ZERO_INF_SIGN): Likewise.
10039         (TEST_NAN_SIGN): Likewise.
10040         (TEST_NAN_PAYLOAD): Likewise.
10041         (NO_TEST_INLINE): Likewise.
10042         (XFAIL_TEST): Likewise.
10043         (ERRNO_UNCHANGED): Likewise.
10044         (ERRNO_EDOM): Likewise.
10045         (ERRNO_ERANGE): Likewise.
10046         (IGNORE_RESULT): Likewise.
10047         (NON_FINITE): Likewise.
10048         (TEST_SNAN): Likewise.
10049         (NO_TEST_MATHVEC): Likewise.
10050         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
10051         (__CONCATX): Likewise.
10052         (TYPE_MIN): Likewise.
10053         (TYPE_TRUE_MIN): Likewise.
10054         (TYPE_MAX): Likewise.
10055         (MIN_EXP): Likewise.
10056         (MAX_EXP): Likewise.
10057         (MANT_DIG): Likewise.
10058         (FSTR_MAX): Likewise.
10059         (ULP_IDX): Likewise.
10060         (QTYPE_STR): Likewise.
10061         (TEST_COND_binary32): Likewise.
10062         (TEST_COND_binary64): Likewise.
10063         (TEST_COND_binary128): Likewise.
10064         (TEST_COND_ibm128): Likewise.
10065         (TEST_COND_intel96): Likewise.
10066         (TEST_COND_m68k96): Likewise.
10067         (TEST_COND_ibm128_libgcc): Likewise.
10068         (XFAIL_IBM128_LIBGCC): Likewise.
10069         (PAYLOAD_DIG): Likewise.
10070         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10071         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10072         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10073         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10074         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10075         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10076         (TEST_COND_long32): Likewise.
10077         (TEST_COND_long64): Likewise.
10078         (TEST_COND_before_rounding): Likewise.
10079         (TEST_COND_after_rounding): Likewise.
10080         (lit_pi_3_m_4_d): Likewise.
10081         (lit_pi_3_m_4_ln10_m_d): Likewise.
10082         (lit_pi_2_ln10_m_d): Likewise.
10083         (lit_pi_4_ln10_m_d): Likewise.
10084         (lit_pi_ln10_d): Likewise.
10085         (lit_pi_2_d): Likewise.
10086         (lit_pi_4_d): Likewise.
10087         (lit_pi): Likewise.
10088         (lit_e): Likewise.
10089         (ulps_file_name): Likewise.
10090         (ulps_file): Likewise.
10091         (output_ulps): Likewise.
10092         (output_dir): Likewise.
10093         (noErrors): Likewise.
10094         (noTests): Likewise.
10095         (noExcTests): Likewise.
10096         (noErrnoTests): Likewise.
10097         (verbose): Likewise.
10098         (output_max_error): Likewise.
10099         (output_points): Likewise.
10100         (ignore_max_ulp): Likewise.
10101         (plus_zero): Likewise.
10102         (minus_zero): Likewise.
10103         (plus_infty): Likewise.
10104         (minus_infty): Likewise.
10105         (qnan_value_pl): Likewise.
10106         (qnan_value): Likewise.
10107         (snan_value_pl): Likewise.
10108         (snan_value): Likewise.
10109         (max_value): Likewise.
10110         (min_value): Likewise.
10111         (min_subnorm_value): Likewise.
10112         (snan_value_ld): Likewise.
10113         (max_error): Likewise.
10114         (real_max_error): Likewise.
10115         (imag_max_error): Likewise.
10116         (prev_max_error): Likewise.
10117         (prev_real_max_error): Likewise.
10118         (prev_imag_max_error): Likewise.
10119         (max_valid_error): Likewise.
10120         (TYPE_DECIMAL_DIG): Likewise.
10121         (TYPE_HEX_DIG): Likewise.
10122         (fmt_ftostr): Likewise.
10123         (compare_ulp_data): Likewise.
10124         (find_ulps): Likewise.
10125         (init_max_error): Likewise.
10126         (set_max_error): Likewise.
10127         (print_float): Likewise.
10128         (print_screen): Likewise.
10129         (print_screen_max_error): Likewise.
10130         (update_stats): Likewise.
10131         (print_function_ulps): Likewise.
10132         (print_complex_function_ulps): Likewise.
10133         (fpstack_test): Likewise.
10134         (print_max_error): Likewise.
10135         (print_complex_max_error): Likewise.
10136         (test_single_exception): Likewise.
10137         (test_exceptions): Likewise.
10138         (test_single_errno): Likewise.
10139         (test_errno): Likewise.
10140         (ULPDIFF): Likewise.
10141         (ulp): Likewise.
10142         (check_float_internal): Likewise.
10143         (check_float): Likewise.
10144         (check_complex): Likewise.
10145         (check_int): Likewise.
10146         (check_long): Likewise.
10147         (check_bool): Likewise.
10148         (check_longlong): Likewise.
10149         (check_intmax_t): Likewise.
10150         (check_uintmax_t): Likewise.
10151         (enable_test): Likewise.
10152         (struct test_f_f_data): Likewise.
10153         (struct test_ff_f_data): Likewise.
10154         (struct test_fj_f_data): Likewise.
10155         (struct test_fi_f_data): Likewise.
10156         (struct test_fl_f_data): Likewise.
10157         (struct test_if_f_data): Likewise.
10158         (struct test_fff_f_data): Likewise.
10159         (struct test_fiu_M_data): Likewise.
10160         (struct test_fiu_U_data): Likewise.
10161         (struct test_c_f_data): Likewise.
10162         (struct test_f_f1_data): Likewise.
10163         (struct test_fF_f1_data): Likewise.
10164         (struct test_ffI_f1_data): Likewise.
10165         (struct test_c_c_data): Likewise.
10166         (struct test_cc_c_data): Likewise.
10167         (struct test_f_i_data): Likewise.
10168         (struct test_ff_i_data): Likewise.
10169         (struct test_f_l_data): Likewise.
10170         (struct test_f_L_data): Likewise.
10171         (struct test_fFF_11_data): Likewise.
10172         (struct test_Ff_b1_data): Likewise.
10173         (IF_ROUND_INIT_): Likewise.
10174         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10175         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10176         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10177         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10178         (ROUND_RESTORE_): Likewise.
10179         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10180         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10181         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10182         (ROUND_RESTORE_FE_UPWARD): Likewise.
10183         (RM_): Likewise.
10184         (RM_FE_DOWNWARD): Likewise.
10185         (RM_FE_TONEAREST): Likewise.
10186         (RM_FE_TOWARDZERO): Likewise.
10187         (RM_FE_UPWARD): Likewise.
10188         (COMMON_TEST_SETUP): Likewise.
10189         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10190         (COMMON_TEST_CLEANUP): Likewise.
10191         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10192         (RUN_TEST_f_f): Likewise.
10193         (RUN_TEST_LOOP_f_f): Likewise.
10194         (RUN_TEST_fp_f): Likewise.
10195         (RUN_TEST_LOOP_fp_f): Likewise.
10196         (RUN_TEST_2_f): Likewise.
10197         (RUN_TEST_LOOP_2_f): Likewise.
10198         (RUN_TEST_ff_f): Likewise.
10199         (RUN_TEST_LOOP_ff_f): Likewise.
10200         (RUN_TEST_LOOP_fj_f): Likewise.
10201         (RUN_TEST_fi_f): Likewise.
10202         (RUN_TEST_LOOP_fi_f): Likewise.
10203         (RUN_TEST_fl_f): Likewise.
10204         (RUN_TEST_LOOP_fl_f): Likewise.
10205         (RUN_TEST_if_f): Likewise.
10206         (RUN_TEST_LOOP_if_f): Likewise.
10207         (RUN_TEST_fff_f): Likewise.
10208         (RUN_TEST_LOOP_fff_f): Likewise.
10209         (RUN_TEST_fiu_M): Likewise.
10210         (RUN_TEST_LOOP_fiu_M): Likewise.
10211         (RUN_TEST_fiu_U): Likewise.
10212         (RUN_TEST_LOOP_fiu_U): Likewise.
10213         (RUN_TEST_c_f): Likewise.
10214         (RUN_TEST_LOOP_c_f): Likewise.
10215         (RUN_TEST_f_f1): Likewise.
10216         (RUN_TEST_LOOP_f_f1): Likewise.
10217         (RUN_TEST_fF_f1): Likewise.
10218         (RUN_TEST_LOOP_fF_f1): Likewise.
10219         (RUN_TEST_fI_f1): Likewise.
10220         (RUN_TEST_LOOP_fI_f1): Likewise.
10221         (RUN_TEST_ffI_f1_mod8): Likewise.
10222         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10223         (RUN_TEST_Ff_b1): Likewise.
10224         (RUN_TEST_LOOP_Ff_b1): Likewise.
10225         (RUN_TEST_Ffp_b1): Likewise.
10226         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10227         (RUN_TEST_c_c): Likewise.
10228         (RUN_TEST_LOOP_c_c): Likewise.
10229         (RUN_TEST_cc_c): Likewise.
10230         (RUN_TEST_LOOP_cc_c): Likewise.
10231         (RUN_TEST_f_i): Likewise.
10232         (RUN_TEST_LOOP_f_i): Likewise.
10233         (RUN_TEST_f_i_tg): Likewise.
10234         (RUN_TEST_LOOP_f_i_tg): Likewise.
10235         (RUN_TEST_ff_b): Likewise.
10236         (RUN_TEST_LOOP_ff_b): Likewise.
10237         (RUN_TEST_ff_i_tg): Likewise.
10238         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10239         (RUN_TEST_f_b): Likewise.
10240         (RUN_TEST_LOOP_f_b): Likewise.
10241         (RUN_TEST_f_b_tg): Likewise.
10242         (RUN_TEST_LOOP_f_b_tg): Likewise.
10243         (RUN_TEST_f_l): Likewise.
10244         (RUN_TEST_LOOP_f_l): Likewise.
10245         (RUN_TEST_f_L): Likewise.
10246         (RUN_TEST_LOOP_f_L): Likewise.
10247         (RUN_TEST_fFF_11): Likewise.
10248         (RUN_TEST_LOOP_fFF_11): Likewise.
10249         (VEC_SUFF): Likewise.
10250         (STR_CONCAT): Likewise.
10251         (STR_CON3): Likewise.
10252         (HAVE_VECTOR): Likewise.
10253         (START): Likewise.
10254         (END): Likewise.
10255         (END_COMPLEX): Likewise.
10256         (ALL_RM_TEST): Likewise.
10257         (matherr): Likewise.
10258         (initialize): Likewise.
10259         (options): Likewise.
10260         (doc): Likewise.
10261         (parse_opt): Likewise.
10262         (argp): Likewise.
10263         (check_ulp): Likewise.
10264         (main): Likewise.
10265         (do_test): New function.  Call tests of individual functions
10266         previously called from main.
10268         * math/libm-test.inc: Remove comment listing functions tested and
10269         not tested.
10271 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10273         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10274         (allocate_stack): Remove COLORING_INCREMENT usage.
10275         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10276         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10278 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10280         * manual/libm-err-tab.pl (@all_functions): Change to
10281         %all_functions.  Initialize as empty.
10282         (parse_ulps): Add to %all_functions based on functions found in
10283         ulps files.  Ignore results for non-default rounding modes and
10284         vector functions.
10285         (print_platforms): Use %all_platforms.
10286         * manual/math.texi (Errors in Math Functions): Document omissions
10287         from the table.
10289         * math/Makefile (before-compile): Remove.
10291 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10293         [BZ #21075]
10294         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10295         unused assignment.
10296         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10298 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10300         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10301         Add __glibc_unlikely hint.
10303 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10305         [BZ #16640]
10306         * sysdeps/i386/i686/strtok.S: Remove file.
10307         * sysdeps/i386/i686/strtok_r.S: Likewise.
10308         * sysdeps/i386/strtok.S: Likewise.
10309         * sysdeps/i386/strtok_r.S: Likewise.
10310         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10311         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10312         * sysdeps/x86_64/strtok.S: Likewise.
10313         * sysdeps/x86_64/strtok_r.S: Likewise.
10315         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10316         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10317         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10318         (__ASSUME_FADVISE64_AS_64_64): Define.
10319         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10320         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10321         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10322         __ALIGNMENT_ARG usage.
10323         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10324         __NR_fadvise64_64 if it is not defined.
10326 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10328         * version.h (RELEASE): Set to "development"
10329         (VERSION): Set to 2.25.90.
10330         * NEWS: Add 2.26 section.
10332         * version.h (RELEASE): Set to "stable"
10333         (VERSION): Set to 2.25.
10334         * include/features.h (__GLIBC_MINOR__): Set to 25.
10336         * manual/contrib.texi: Add more contributors from this release
10337         and past releases.
10339         * NEWS (2.25): Add list of bugs fixed.
10341         * NEWS: Add missing news items.
10343 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10345         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10346         parent if child exited in that manner.  Print WEXITSTATUS
10347         instead of the raw status.
10348         (do_test_prep): Rename to do_test.
10349         (do_test): Return the result of run_executable_sgid.
10350         (TEST_FUNCTION_ARGV): Adjust.
10352 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10353             Florian Weimer  <fweimer@redhat.com>
10354             Carlos O'Donell  <carlos@redhat.com>
10356         [BZ #20915]
10357         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10358         Do not initialize DTV.
10359         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10361 2017-02-03  David S. Miller  <davem@davemloft.net>
10363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10371         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10372         (libm-sysdep_routines): Update.
10373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10378         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10379         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10380         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10381         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10383         Likewise.
10384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10386         Likewise.
10387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10389         Likewise.
10390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10392         Likewise.
10393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10395         (libm-sysdep_routines): Update.
10397 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10399         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10400         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10401         against unrelocated shared library.
10402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10404 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10406         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10407         * elf/tst-env-setuid-tunables.c
10408         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10409         GLIBC_TUNABLES is removed in a setgid process.
10411         [BZ #21073]
10412         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10413         * elf/dl-tunables.c (tunables_strdup): Remove.
10414         (get_next_env): Also return the previous envp.
10415         (parse_tunables): Erase tunables of category
10416         TUNABLES_SECLEVEL_SXID_ERASE.
10417         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10418         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10419         (__tunables_init)[TUNABLES_FRONTEND ==
10420         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10421         after parsing.
10422         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10423         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10424         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10425         to security_level.
10426         * elf/dl-tunables.list: Add security_level annotations for all
10427         tunables.
10428         * scripts/gen-tunables.awk: Recognize and generate enum values
10429         for security_level.
10430         * elf/tst-env-setuid.c: New test case.
10431         * elf/tst-env-setuid-tunables: new test case.
10432         * elf/Makefile (tests-static): Add them.
10434 2017-02-01  Richard Henderson  <rth@twiddle.net>
10436         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10437         adjusting the byte count.
10439 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10441         * conform/Makefile (linknamespace-libs): Define.
10443         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10444         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10445         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10446         operands.
10448 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10450         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10452 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10454         [BZ #21081]
10455         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10456         (L(stosb)): Add VZEROUPPER before ret.
10458 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10459             Alexey Makhalov <amakhalov@vmware.com>
10460             Florian Weimer <fweimer@redhat.com>
10462         [BZ #20116]
10463         * nptl/pthread_create.c: Document concurrency notes.
10464         Enhance thread creation notes.
10465         (create_thread): Use bool *stopped_start.
10466         (START_THREAD_DEFN): Comment ownership of PD.
10467         (__pthread_create_2_1): Add local bool stopped_start and use
10468         that instead of pd->stopped_start where appropriate.
10469         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10470         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10471         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10472         * nptl/tst-create-detached.c: New file.
10473         * nptl/Makefile (tests): Add tst-create-detached.
10474         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10475         Reference the enhanced thread creation notes.
10476         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10477         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10478         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10479         (__pthread_current_priority): Likewise.
10480         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10481         xpthread_attr_init, xpthread_attr_setdetachstate, and
10482         xpthread_attr_setstacksize.
10483         * support/xpthread_attr_destroy.c: New file.
10484         * support/xpthread_attr_init.c: New file.
10485         * support/xpthread_attr_setdetachstate.c: New file.
10486         * support/xpthread_attr_setstacksize.c: New file.
10487         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10488         xpthread_attr_init, xpthread_attr_setdetachstate, and
10489         xpthread_attr_setstacksize.
10491 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10493         * nptl/Makefile (tests): Add tst-robust-fork.
10494         * nptl/tst-robust-fork.c: New file.
10495         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10496         xpthread_mutex_consistent, xpthread_mutex_destroy,
10497         xpthread_mutex_init, xpthread_mutexattr_destroy,
10498         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10499         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10500         xpthread_mutexattr_settype.
10501         * support/xmmap.c: New file.
10502         * support/xmunmap.c: Likewise.
10503         * support/xpthread_mutex_consistent.c: Likewise.
10504         * support/xpthread_mutex_destroy.c: Likewise.
10505         * support/xpthread_mutex_init.c: Likewise.
10506         * support/xpthread_mutexattr_destroy.c: Likewise.
10507         * support/xpthread_mutexattr_init.c: Likewise.
10508         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10509         * support/xpthread_mutexattr_setpshared.c: Likewise.
10510         * support/xpthread_mutexattr_setrobust.c: Likewise.
10511         * support/xpthread_mutexattr_settype.c: Likewise.
10512         * support/xthread.h (xpthread_mutexattr_destroy)
10513         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10514         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10515         (xpthread_mutexattr_settype, xpthread_mutex_init)
10516         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10517         * support/xunistd.h (xmmap, xmunmap): Likewise.
10519 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10521         * string/Makefile (xtests): Add comment.
10522         (LOCALES): Add en_GB.UTF-8.
10523         (tst-strcoll-overflow.out): Depend on generated locales.
10524         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10525         (SIZE, TIMEOUT): Update comments.
10526         (do_test): Define as static.  Fail test if setlocale fails.
10527         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10528         messages.
10529         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10530         TIMEOUT at 300 seconds should be enough to run this test
10531         successfully.
10533 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10535         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10536         /* FALLTHRU */ comments.
10538 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10540         [BZ #21053]
10541         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10542         constants instead of the old R* ones.
10543         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10544         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10545         (NGREG): ... to this, to fit in with other architectures.
10546         (gpregset_t): Use new NGREG macro.
10547         [__USE_GNU]: Remove condition; all architectures other than tile
10548         are unconditional.
10549         (R*): Rename to REG_R*.
10551 2017-01-20  DJ Delorie  <dj@redhat.com>
10553         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10554         (tunable_set_val_if_valid_range_signed) ... this, and ...
10555         (tunable_set_val_if_valid_range_unsigned) ... this.
10556         (tunable_initialize): Call the correct one of the above based on type.
10558 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10560         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10561         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10562         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10563         * sysdeps/microblaze/libm-test-ulps: Likewise.
10564         * sysdeps/sh/libm-test-ulps: Likewise.
10566         * math/README.libm-test: Update list of characters for input and
10567         output types.
10569 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10571         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10572         (__lll_unlock_elision): Fix adapt_count decrement.
10574 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10576         * README.pretty-printers (Known issues): Warn about printers not
10577         always covering everything.
10578         * nptl/nptl-printers.py (MutexPrinter): Change output.
10579         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10581 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10583         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10584         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10585         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10586         (__lll_lock_elision): Do not test futex before starting a
10587         transaction.  Use __glibc_likely instead of __builtin_expect.
10588         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10589         (__lll_trylock_elision): Do not test futex before starting a
10590         transaction.  Use __glibc_likely instead of __builtin_expect.
10592 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10594         * po/Makefile (update-translations): New target.
10596 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10598         [BZ #21061]
10599         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10601 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10603         * elf/dl-tunables (get_next_env): Always advance envp.
10604         * stdlib/tst-empty-env.c: New test case.
10605         * stdlib/Makefile (tests): Use it.
10607 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10609         [BZ #21047]
10610         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10611         name for instruction.
10612         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10614 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10616         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10617         for make install.
10619 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10621         * po/bg.po: Merge from Translation Project.
10622         * po/fr.po: Likewise.
10623         * po/ko.po: Likewise.
10624         * po/nl.po: Likewise.
10625         * po/sv.po: Likewise.
10627 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10629         * manual/install.texi (Tools for Compilation): Update GCC version
10630         known to work to build glibc.
10631         * INSTALL: Regenerated.
10633 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10635         [BZ #21006]
10636         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10638 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10640         [BZ #21045]
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10642         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10643         to __sigprocmask.
10645 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10647         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10648         wrap-around.
10649         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10651         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10653 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10655         * NEWS: Fix typo.
10657 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10659         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10660         barriers and comments.
10661         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10662         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10663         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10665 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10667         [BZ #19402]
10668         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10669         mutexes.
10671 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10673         [BZ #20985]
10674         * nptl/Makefile: Adapt.
10675         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10676         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10677         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10678         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10679         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10680         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10681         lll_robust* functions and adapt.
10682         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10683         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10684         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10685         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10686         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10687         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10689         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10690         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10691         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10692         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10693         * nptl/lowlevelrobustlock.c: Remove file.
10694         * nptl/lowlevelrobustlock.sym: Likewise.
10695         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10696         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10698 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10700         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10702 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10704         * po/cs.po: Merge translations from the Translation Project.
10705         * po/de.po: Likewise.
10706         * po/pl.po: Likewise.
10707         * po/ru.po: Likewise.
10708         * po/tr.po: Likewise.
10709         * po/uk.po: Likewise.
10710         * po/vi.po: Likewise.
10711         * po/zh_CN.po: Likewise.
10713 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10715         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10717         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10718         object.
10720 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10722         [BZ #16458]
10723         * bits/uintn-identity.h: New file.
10724         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10725         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10726         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10727         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10728         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10729         * string/endian.h: Include <bits/uintn-identity.h>.
10730         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10731         __uint16_identity.
10732         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10733         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10734         __uint32_identity.
10735         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10736         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10737         __uint64_identity.
10738         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10739         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10740         __uint16_identity.
10741         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10742         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10743         __uint32_identity.
10744         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10745         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10746         __uint64_identity.
10747         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10748         * string/Makefile (headers): Add bits/uintn-identity.h.
10749         (tests): Add test-endian-types.
10750         * string/test-endian-types.c: New file.
10751         * inet/Makefile (tests): Add test-hnto-types.
10752         * inet/test-hnto-types.c: New file.
10754 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10756         * po/be.po: Update from Translation Project.
10757         * po/bg.po: Likewise.
10758         * po/ca.po: Likewise.
10759         * po/cs.po: Likewise.
10760         * po/da.po: Likewise.
10761         * po/de.po: Likewise.
10762         * po/el.po: Likewise.
10763         * po/eo.po: Likewise.
10764         * po/es.po: Likewise.
10765         * po/fi.po: Likewise.
10766         * po/fr.po: Likewise.
10767         * po/gl.po: Likewise.
10768         * po/hr.po: Likewise.
10769         * po/hu.po: Likewise.
10770         * po/ia.po: Likewise.
10771         * po/id.po: Likewise.
10772         * po/it.po: Likewise.
10773         * po/ja.po: Likewise.
10774         * po/ko.po: Likewise.
10775         * po/lt.po: Likewise.
10776         * po/nb.po: Likewise.
10777         * po/nl.po: Likewise.
10778         * po/pl.po: Likewise.
10779         * po/pt_BR.po: Likewise.
10780         * po/ru.po: Likewise.
10781         * po/rw.po: Likewise.
10782         * po/sk.po: Likewise.
10783         * po/sl.po: Likewise.
10784         * po/sv.po: Likewise.
10785         * po/tr.po: Likewise.
10786         * po/uk.po: Likewise.
10787         * po/vi.po: Likewise.
10788         * po/zh_CN.po: Likewise.
10789         * po/zh_TW.po: Likewise.
10791 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10793         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10794         -Wformat-truncation instead of -Wformat-length.
10795         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10796         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10797         GCC 7.
10798         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10799         (do_test): Ignore -Wformat-truncation for GCC 7.
10801         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10802         buffer used to print long int value.
10804         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10805         one byte.  Print it with %ld, cast to long int.
10807 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10809         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10810         (re.fullmatch, subprocess.run): Likewise.
10812 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10814         * po/libc.pot: Regenerate.
10816 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10818         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10819         (min_strlen): Likewise.
10820         (disable_tunable): Likewise.
10821         (maybe_disable_malloc_check): Rename to
10822         maybe_enable_malloc_check.
10823         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10824         if /etc/suid-debug file exists.
10825         (__tunables_init): Update caller.
10826         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10827         secure.
10829 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10831         * nptl/DESIGN-rwlock.txt: Remove.
10832         * nptl/lowlevelrwlock.sym: Remove.
10833         * nptl/Makefile: Add new tests.
10834         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10835         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10836         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10837         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10838         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10839         PTHREAD_RWLOCK_FUTEX_USED): New.
10840         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10841         implementation.
10842         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10843         (__pthread_rwlock_rdlock): Adapt.
10844         * nptl/pthread_rwlock_timedrdlock.c
10845         (pthread_rwlock_timedrdlock): Adapt.
10846         * nptl/pthread_rwlock_timedwrlock.c
10847         (pthread_rwlock_timedwrlock): Adapt.
10848         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10849         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10850         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10851         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10852         (__pthread_rwlock_wrlock): Adapt.
10853         * nptl/tst-rwlock10.c: Adapt.
10854         * nptl/tst-rwlock11.c: Adapt.
10855         * nptl/tst-rwlock17.c: New file.
10856         * nptl/tst-rwlock18.c: New file.
10857         * nptl/tst-rwlock19.c: New file.
10858         * nptl/tst-rwlock2b.c: New file.
10859         * nptl/tst-rwlock8.c: Adapt.
10860         * nptl/tst-rwlock9.c: Adapt.
10861         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10862         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10863         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10864         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10865         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10866         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10867         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10868         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10869         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10870         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10871         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10872         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10873         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10874         (pthread_rwlock_t): Adapt.
10875         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10876         (pthread_rwlock_t): Adapt.
10877         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10878         * nptl/nptl-printers.py (): Adapt.
10879         * nptl/nptl_lock_constants.pysym: Adapt.
10880         * nptl/test-rwlock-printers.py: Adapt.
10881         * nptl/test-rwlockattr-printers.c: Adapt.
10882         * nptl/test-rwlockattr-printers.py: Adapt.
10884 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10886         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10887         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10888         (fma_test_data): Likewise.
10889         (hypot_test_data): Likewise.
10890         (log1p_test_data): Likewise.
10891         (modf_test_data): Likewise.
10892         (pow_test_data): Likewise.
10893         (remainder_test_data): Likewise.
10894         (remquo_test_data): Likewise.
10895         (scalb_test_data): Likewise.
10896         (scalbn_test_data): Likewise.
10897         (scalbln_test_data): Likewise.
10898         * math/gen-libm-test.pl (parse_args): Transform
10899         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10900         on the rounding mode.
10902 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10904         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10905         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10906         and those that can underflow to zero.
10907         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10908         add others.
10909         * math/auto-libm-test-out: Regenerated.
10911         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10912         supported.
10913         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10914         modes support if not supported.
10916         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10917         Add libc.so PLT entry.
10918         (__tls_get_addr): Make ld.so PLT entry optional.
10920 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10922         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10923         * string/bits/string3.h: ... here.
10925 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10927         [BZ #21028]
10928         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10929         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10930         if EXCEPTION_TESTS returns false.
10932 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10934         [BZ #20558]
10935         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10936         strings_fortified.h.
10937         [__USE_MISC] (bzero): Likewise.
10938         [__USE_MISC] (explicit_bzero): Likewise.
10939         * string/strings.h: Include strings_fortified.h.
10940         * string/Makefile (headers): Add strings_fortified.h.
10941         * string/bits/strings_fortified.h: New file.
10942         * include/bits/strings_fortified.h: Likewise.
10944 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10946         * elf/tst-tls13.c (TIMEOUT): Remove.
10947         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10948         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10949         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10950         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10951         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10953         [BZ #21026]
10954         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10955         (readahead): New syscall entry.
10957 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10959         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10960         around tests of strncat with large sizes.
10962         * malloc/tst-malloc.c: Include <libc-internal.h>.
10963         (do_test): Disable -Walloc-size-larger-than= around tests of
10964         malloc with negative sizes.
10965         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10966         (do_test): Disable -Walloc-size-larger-than= around tests of
10967         malloc and realloc with negative sizes.
10968         * malloc/tst-realloc.c: Include <libc-internal.h>.
10969         (do_test): Disable -Walloc-size-larger-than= around tests of
10970         realloc with negative sizes.
10972         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10973         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10974         allowed to 16 ulps.
10975         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10976         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10977         * math/auto-libm-test-out: Regenerated.
10979 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10981         * math/Makefile (libm-calls): Move wrappers...
10982         (libm-compat-call-auto): Here.
10983         (libm-routines): Add items in libm-compat-calls-auto.
10984         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10985         the filenames of the wrappers that have been renamed.
10986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10989         * math/w_acos.c: Add _compat suffix to filename.
10990         * math/w_acosf.c: Likewise.
10991         * math/w_acosh.c: Likewise.
10992         * math/w_acoshf.c: Likewise.
10993         * math/w_acoshl.c: Likewise.
10994         * math/w_acosl.c: Likewise.
10995         * math/w_asin.c: Likewise.
10996         * math/w_asinf.c: Likewise.
10997         * math/w_asinl.c: Likewise.
10998         * math/w_atan2.c: Likewise.
10999         * math/w_atan2f.c: Likewise.
11000         * math/w_atan2l.c: Likewise.
11001         * math/w_atanh.c: Likewise.
11002         * math/w_atanhf.c: Likewise.
11003         * math/w_atanhl.c: Likewise.
11004         * math/w_cosh.c: Likewise.
11005         * math/w_coshf.c: Likewise.
11006         * math/w_coshl.c: Likewise.
11007         * math/w_exp10.c: Likewise.
11008         * math/w_exp10f.c: Likewise.
11009         * math/w_exp10l.c: Likewise.
11010         * math/w_exp2.c: Likewise.
11011         * math/w_exp2f.c: Likewise.
11012         * math/w_exp2l.c: Likewise.
11013         * math/w_fmod.c: Likewise.
11014         * math/w_fmodf.c: Likewise.
11015         * math/w_fmodl.c: Likewise.
11016         * math/w_hypot.c: Likewise.
11017         * math/w_hypotf.c: Likewise.
11018         * math/w_hypotl.c: Likewise.
11019         * math/w_j0.c: Likewise.
11020         * math/w_j0f.c: Likewise.
11021         * math/w_j0l.c: Likewise.
11022         * math/w_j1.c: Likewise.
11023         * math/w_j1f.c: Likewise.
11024         * math/w_j1l.c: Likewise.
11025         * math/w_jn.c: Likewise.
11026         * math/w_jnf.c: Likewise.
11027         * math/w_jnl.c: Likewise.
11028         * math/w_log10.c: Likewise.
11029         * math/w_log10f.c: Likewise.
11030         * math/w_log10l.c: Likewise.
11031         * math/w_log2.c: Likewise.
11032         * math/w_log2f.c: Likewise.
11033         * math/w_log2l.c: Likewise.
11034         * math/w_log.c: Likewise.
11035         * math/w_logf.c: Likewise.
11036         * math/w_logl.c: Likewise.
11037         * math/w_pow.c: Likewise.
11038         * math/w_powf.c: Likewise.
11039         * math/w_powl.c: Likewise.
11040         * math/w_remainder.c: Likewise.
11041         * math/w_remainderf.c: Likewise.
11042         * math/w_remainderl.c: Likewise.
11043         * math/w_scalb.c: Likewise.
11044         * math/w_scalbf.c: Likewise.
11045         * math/w_scalbl.c: Likewise.
11046         * math/w_sinh.c: Likewise.
11047         * math/w_sinhf.c: Likewise.
11048         * math/w_sinhl.c: Likewise.
11049         * math/w_sqrt.c: Likewise.
11050         * math/w_sqrtf.c: Likewise.
11051         * math/w_sqrtl.c: Likewise.
11052         * math/w_tgamma.c: Likewise.
11053         * math/w_tgammaf.c: Likewise.
11054         * math/w_tgammal.c: Likewise.
11056         * math/w_acos_compat.c: New file copied from above and
11057         adjusted for new #includes path
11058         * math/w_acosf_compat.c: Likewise.
11059         * math/w_acosh_compat.c: Likewise.
11060         * math/w_acoshf_compat.c: Likewise.
11061         * math/w_acoshl_compat.c: Likewise.
11062         * math/w_acosl_compat.c: Likewise.
11063         * math/w_asin_compat.c: Likewise.
11064         * math/w_asinf_compat.c: Likewise.
11065         * math/w_asinl_compat.c: Likewise.
11066         * math/w_atan2_compat.c: Likewise.
11067         * math/w_atan2f_compat.c: Likewise.
11068         * math/w_atan2l_compat.c: Likewise.
11069         * math/w_atanh_compat.c: Likewise.
11070         * math/w_atanhf_compat.c: Likewise.
11071         * math/w_atanhl_compat.c: Likewise.
11072         * math/w_cosh_compat.c: Likewise.
11073         * math/w_coshf_compat.c: Likewise.
11074         * math/w_coshl_compat.c: Likewise.
11075         * math/w_exp10_compat.c: Likewise.
11076         * math/w_exp10f_compat.c: Likewise.
11077         * math/w_exp10l_compat.c: Likewise.
11078         * math/w_exp2_compat.c: Likewise.
11079         * math/w_exp2f_compat.c: Likewise.
11080         * math/w_exp2l_compat.c: Likewise.
11081         * math/w_fmod_compat.c: Likewise.
11082         * math/w_fmodf_compat.c: Likewise.
11083         * math/w_fmodl_compat.c: Likewise.
11084         * math/w_hypot_compat.c: Likewise.
11085         * math/w_hypotf_compat.c: Likewise.
11086         * math/w_hypotl_compat.c: Likewise.
11087         * math/w_j0_compat.c: Likewise.
11088         * math/w_j0f_compat.c: Likewise.
11089         * math/w_j0l_compat.c: Likewise.
11090         * math/w_j1_compat.c: Likewise.
11091         * math/w_j1f_compat.c: Likewise.
11092         * math/w_j1l_compat.c: Likewise.
11093         * math/w_jn_compat.c: Likewise.
11094         * math/w_jnf_compat.c: Likewise.
11095         * math/w_jnl_compat.c: Likewise.
11096         * math/w_log10_compat.c: Likewise.
11097         * math/w_log10f_compat.c: Likewise.
11098         * math/w_log10l_compat.c: Likewise.
11099         * math/w_log2_compat.c: Likewise.
11100         * math/w_log2f_compat.c: Likewise.
11101         * math/w_log2l_compat.c: Likewise.
11102         * math/w_log_compat.c: Likewise.
11103         * math/w_logf_compat.c: Likewise.
11104         * math/w_logl_compat.c: Likewise.
11105         * math/w_pow_compat.c: Likewise.
11106         * math/w_powf_compat.c: Likewise.
11107         * math/w_powl_compat.c: Likewise.
11108         * math/w_remainder_compat.c: Likewise.
11109         * math/w_remainderf_compat.c: Likewise.
11110         * math/w_remainderl_compat.c: Likewise.
11111         * math/w_scalb_compat.c: Likewise.
11112         * math/w_scalbf_compat.c: Likewise.
11113         * math/w_scalbl_compat.c: Likewise.
11114         * math/w_sinh_compat.c: Likewise.
11115         * math/w_sinhf_compat.c: Likewise.
11116         * math/w_sinhl_compat.c: Likewise.
11117         * math/w_sqrt_compat.c: Likewise.
11118         * math/w_sqrtf_compat.c: Likewise.
11119         * math/w_sqrtl_compat.c: Likewise.
11120         * math/w_tgamma_compat.c: Likewise.
11121         * math/w_tgammaf_compat.c: Likewise.
11122         * math/w_tgammal_compat.c: Likewise.
11124         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11125         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11126         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11127         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11128         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11129         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11130         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11131         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11132         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11133         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11134         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11135         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11136         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11137         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11138         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11139         * sysdeps/ia64/fpu/w_powl.c: Likewise.
11140         * sysdeps/ia64/fpu/w_powf.c: Likewise.
11141         * sysdeps/ia64/fpu/w_pow.c: Likewise.
11142         * sysdeps/ia64/fpu/w_logl.c: Likewise.
11143         * sysdeps/ia64/fpu/w_logf.c: Likewise.
11144         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11145         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11146         * sysdeps/ia64/fpu/w_log2.c: Likewise.
11147         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11148         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11149         * sysdeps/ia64/fpu/w_log10.c: Likewise.
11150         * sysdeps/ia64/fpu/w_log.c: Likewise.
11151         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11152         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11153         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11154         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11155         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11156         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11157         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11158         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11159         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11160         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11161         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11162         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11163         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11164         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11165         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11166         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11167         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11168         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11169         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11170         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11171         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11172         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11173         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11174         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11175         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11176         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11177         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11178         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11179         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11180         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11181         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11182         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11183         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11184         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11185         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11186         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11187         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11188         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11189         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11190         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11191         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11192         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11193         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11194         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11195         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11196         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11197         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11198         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11199         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11200         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11201         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11202         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11203         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11204         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11205         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11206         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11207         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11208         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11209         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11210         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11211         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11212         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11213         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11214         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11215         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11216         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11217         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11218         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11219         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11220         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11221         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11222         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11223         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11225         Likewise.
11226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11227         Likewise.
11228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11230         Likewise.
11231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11232         Likewise.
11233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11234         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11235         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11236         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11237         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11238         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11239         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11244         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11245         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11246         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11247         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11249         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11250         and adjusted for new #includes path
11251         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11252         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11253         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11254         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11255         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11256         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11257         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11258         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11259         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11260         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11261         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11262         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11263         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11264         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11265         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11266         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11267         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11268         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11269         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11270         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11271         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11272         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11273         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11274         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11275         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11276         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11277         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11278         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11279         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11280         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11281         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11282         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11283         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11284         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11285         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11286         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11287         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11288         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11289         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11290         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11291         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11292         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11293         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11294         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11295         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11296         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11297         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11298         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11299         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11300         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11301         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11302         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11303         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11304         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11305         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11306         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11307         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11308         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11309         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11310         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11311         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11312         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11313         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11314         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11315         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11316         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11317         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11318         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11319         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11320         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11321         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11322         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11323         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11324         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11325         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11326         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11327         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11328         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11329         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11330         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11331         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11332         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11333         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11334         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11335         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11336         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11337         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11338         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11339         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11340         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11341         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11342         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11343         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11344         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11345         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11346         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11347         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11348         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11349         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11351         Likewise.
11352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11353         Likewise.
11354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11355         Likewise.
11356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11357         Likewise.
11358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11359         Likewise.
11360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11361         Likewise.
11362         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11363         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11364         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11365         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11366         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11367         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11369         Likewise.
11370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11371         Likewise.
11372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11373         Likewise.
11374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11375         Likewise.
11376         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11377         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11378         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11379         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11381 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11383         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11384         __jmp_buf_internal_tag.
11386         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11387         preserve NaN payload if [__mips_nan2008].
11388         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11390         [BZ #21022]
11391         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11393 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11395         * sysdeps/i386/fpu/libm-test-ulps: Update.
11397 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11399         * sysdeps/ia64/strcat.c: Remove file.
11400         * sysdeps/powerpc/strcat.c: Likewise.
11401         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11402         C implementation.
11403         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11404         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11406 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11407             Steven Munroe  <sjmunroe@us.ibm.com>
11408             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11410         [BZ #20822]
11411         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11412         (__lll_lock_elision): Access adapt_count via C11 atomics.
11413         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11414         (__lll_trylock_elision): Likewise.
11415         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11416         (__lll_unlock_elision):  Update adapt_count variable inside the
11417         critical section using C11 atomics.
11419 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11421         * math/test-fenvinline.c (do_test): Disable tests of raised
11422         exceptions if !EXCEPTION_TESTS (FLOAT).
11424 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11426         [BZ #19390]
11427         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11428         maximum string size.
11429         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11430         in pointer addition.
11431         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11432         Likewise.
11434 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11436         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11437         passed to tst-ldconfig-X.sh.
11439 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11441         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11443 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11445         [BZ #21019]
11446         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11447         New syscall entry.
11448         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11449         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11450         lseek.
11452         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11453         power4 glibc for powerpc-linux-gnu.
11455 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11457         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11458         semctl.
11460 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11462         * math/test-nearbyint-except.c: Include <stdbool.h>.
11463         (any_supported): New variable.
11464         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11465         set any_supported.
11466         (do_test): Return 77 if no floating-point type supported
11467         exceptions.
11469         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11470         condition on [__mips_hard_float].
11472 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11474         [BZ #21014]
11475         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11476         in pointer addition.
11477         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11479 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11481         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11482         new condvar.
11484 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11486         * scripts/build-many-glibcs.py (Context.checkout): Default
11487         binutils version to 2.28 branch.
11489 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11491         * support/support_format_netent.c (support_format_netent): Work
11492         around alpha struct netent definition difference.
11494 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11496         * support/xwrite.c (xwrite): Use %td for pointer difference.
11498 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11500         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11501         have-tunables only.
11502         (tests-static): Add tst-malloc-usable-static-tunables for
11503         have-tunables only.
11505 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11507         * scripts/config.guess: Update to version 2017-01-01.
11508         * scripts/config.sub: Update to version 2017-01-01.
11510         * NEWS: Update copyright dates.
11511         * catgets/gencat.c (print_version): Likewise.
11512         * csu/version.c (banner): Likewise.
11513         * debug/catchsegv.sh: Likewise.
11514         * debug/pcprofiledump.c (print_version): Likewise.
11515         * debug/xtrace.sh (do_version): Likewise.
11516         * elf/ldconfig.c (print_version): Likewise.
11517         * elf/ldd.bash.in: Likewise.
11518         * elf/pldd.c (print_version): Likewise.
11519         * elf/sotruss.sh: Likewise.
11520         * elf/sprof.c (print_version): Likewise.
11521         * iconv/iconv_prog.c (print_version): Likewise.
11522         * iconv/iconvconfig.c (print_version): Likewise.
11523         * locale/programs/locale.c (print_version): Likewise.
11524         * locale/programs/localedef.c (print_version): Likewise.
11525         * login/programs/pt_chown.c (print_version): Likewise.
11526         * malloc/memusage.sh (do_version): Likewise.
11527         * malloc/memusagestat.c (print_version): Likewise.
11528         * malloc/mtrace.pl: Likewise.
11529         * manual/libc.texinfo: Likewise.
11530         * nptl/version.c (banner): Likewise.
11531         * nscd/nscd.c (print_version): Likewise.
11532         * nss/getent.c (print_version): Likewise.
11533         * nss/makedb.c (print_version): Likewise.
11534         * posix/getconf.c (main): Likewise.
11535         * scripts/test-installation.pl: Likewise.
11536         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11538         * All files with FSF copyright notices: Update copyright dates
11539         using scripts/update-copyrights.
11540         * intl/plural.c: Regenerated.
11541         * locale/programs/charmap-kw.h: Likewise.
11542         * locale/programs/locfile-kw.h: Likewise.
11544 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11546         [BZ #20593]
11547         Update DNS RR type definitions.
11548         * scripts/gen-rrtypes.py: New file.
11549         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11550         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11551         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11552         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11553         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11554         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11555         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11556         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11557         ns_t_ta, ns_t_dlv.
11558         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11559         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11560         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11561         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11562         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11563         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11564         Define.
11565         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11566         entry for ns_t_zxfr.
11568 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11570         [BZ #18784]
11571         CVE-2015-5180
11572         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11573         T_UNSPEC.  Adjust value.
11574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11575         * resolv/res_query.c (__libc_res_nquery): Likewise.
11576         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11577         QTYPEs.
11578         * resolv/tst-resolv-qtypes.c: New file.
11579         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11580         (tst-resolv-qtypes): Link against libresolv and libpthread.
11582 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11584         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11586 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11588         * manual/tunables.texi: New chapter.
11589         * manual/Makefile (chapters): Add it.
11590         * manual/probes.texi (@node): Point to the Tunables chapter.
11592         * Makeconfig (have-tunables): Check for non-negative instead
11593         of positive.
11594         * configure.ac: Add 'valstring' as a valid value for
11595         --enable-tunables.
11596         * configure: Regenerate.
11597         * elf/Makefile (have-tunables): Check for non-negative instead
11598         of positive.
11599         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11600         dl-tunables.c.
11601         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11602         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11603         (tunables_strdup): Likewise.
11604         (disable_tunables): Likewise.
11605         (parse_tunables): Likewise.
11606         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11607         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11608         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11609         (TUNABLES_FRONTEND_yes): New macro, define as
11610         TUNABLES_FRONTEND_valstring by default.
11611         * manual/install.texi: Document new acceptable values for
11612         --enable-tunables.
11613         * INSTALL: Regenerate.
11615         * config.make.in (have-loop-to-function): Define.
11616         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11617         -fno-tree-loop-distribute-patterns.
11618         * elf/dl-tunables.c: Include libc-internals.h.
11619         (GLIBC_TUNABLES): New macro.
11620         (tunables_strdup): New function.
11621         (parse_tunables): New function.
11622         (min_strlen): New function.
11623         (__tunables_init): Use the new functions and macro.
11624         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11625         * malloc/tst-malloc-usable-tunables.c: New test case.
11626         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11627         * malloc/Makefile (tests, tests-static): Add tests.
11629         * manual/install.texi: Add --enable-tunables option.
11630         * INSTALL: Regenerate.
11631         * README.tunables: New file.
11632         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11633         (before-compile): Generate dl-tunable-list.h early.
11634         * config.h.in: Add HAVE_TUNABLES.
11635         * config.make.in: Add have-tunables.
11636         * configure.ac: Add --enable-tunables option.
11637         * configure: Regenerate.
11638         * csu/init-first.c (__libc_init_first): Move
11639         __libc_init_secure earlier...
11640         * csu/init-first.c (LIBC_START_MAIN):... to here.
11641         Include dl-tunables.h, libc-internal.h.
11642         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11643         binaries.
11644         * elf/Makefile (dl-routines): Add dl-tunables.
11645         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11646         namespace.
11647         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11648         only when !HAVE_TUNABLES.
11649         * elf/rtld.c (process_envvars): Likewise.
11650         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11651         (_dl_sysdep_start): Call __tunables_init.
11652         * elf/dl-tunable-types.h: New file.
11653         * elf/dl-tunables.c: New file.
11654         * elf/dl-tunables.h: New file.
11655         * elf/dl-tunables.list: New file.
11656         * malloc/tst-malloc-usable-static.c: New test case.
11657         * malloc/Makefile (tests-static): Add it.
11658         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11659         Define TUNABLE_NAMESPACE.
11660         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11661         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11662         callback functions.
11663         (ptmalloc_init): Set tunable values.
11664         * scripts/gen-tunables.awk: New file.
11665         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11666         (_dl_sysdep_start): Call __tunables_init.
11668 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11670         * resolv/resolv.h (RES_BLAST): Deprecate.
11671         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11672         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11673         to RES_BLAST.
11675 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11677         [BZ #19582]
11678         Deprecate RES_USE_INET6.
11679         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11680         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11681         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11682         RES_USE_INET6.
11683         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11684         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11685         (_nss_nisplus_gethostbyaddr_r): Likewise.
11686         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11687         of res_use_inet6.
11688         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11689         instead of RES_USE_INET6.
11690         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11691         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11692         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11693         Likewise.
11694         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11695         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11696         Likewise.
11697         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11698         (_nss_dns_gethostbyname_r): Likewise.
11699         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11700         alternate RES_USE_INET6 handling.
11701         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11702         instead of RES_USE_INET6.
11703         * resolv/res_init.c (res_setoptions): Likewise.
11704         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11705         * resolv/resolv-internal.h: New file.
11706         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11707         make the deprecation warning non-fatal.
11708         * resolv/README (Using the resolver in multi-threaded code): Drop
11709         reference to RES_USE_INET6.
11710         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11711         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11713 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11715         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11716         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11717         tst-resolv-search.
11718         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11719         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11720         with libresolv and libpthread.
11721         * resolv/tst-bug18665.c: New file.
11722         * resolv/tst-bug18665-tcp: Likewise.
11723         * resolv/tst-res_use_inet6: Likewise.
11724         * resolv/tst-resolv-basic: Likewise.
11725         * resolv/tst-resolv-network: Likewise.
11726         * resolv/tst-resolv-search: Likewise.
11727         * support/Makefile (libsupport-routines): Add check_addrinfo,
11728         check_dns_packet, check_hostent, check_netent, resolv_test,
11729         support_format_address_family, support_format_addrinfo,
11730         support_format_dns_packet, support_format_herrno,
11731         support_format_hostent, support_format_netent, support_run_diff,
11732         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11733         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11734         xstrdup, xwrite.
11735         * support/check_addrinfo.c: New file.
11736         * support/check_dns_packet.c: Likewise.
11737         * support/check_hostent.c: Likewise.
11738         * support/check_netent.c: Likewise.
11739         * support/check_nss.h: Likewise.
11740         * support/format_nss.h: Likewise.
11741         * support/resolv_test.c: Likewise.
11742         * support/resolv_test.h: Likewise.
11743         * support/run_diff.h: Likewise.
11744         * support/support_format_address_family.c: Likewise.
11745         * support/support_format_addrinfo.c: Likewise.
11746         * support/support_format_dns_packet.c: Likewise.
11747         * support/support_format_herrno.c: Likewise.
11748         * support/support_format_hostent.c: Likewise.
11749         * support/support_format_netent.c: Likewise.
11750         * support/support_run_diff.c: Likewise.
11751         * support/xaccept.c: Likewise.
11752         * support/xbind.c: Likewise.
11753         * support/xconnect.c: Likewise.
11754         * support/xfclose.c: Likewise.
11755         * support/xfopen.c: Likewise.
11756         * support/xgetsockname.c: Likewise.
11757         * support/xlisten.c: Likewise.
11758         * support/xmemstream.c: Likewise.
11759         * support/xmemstream.h: Likewise.
11760         * support/xpoll.c: Likewise.
11761         * support/xpthread_once.c: Likewise.
11762         * support/xrecvfrom.c: Likewise.
11763         * support/xsendto.c: Likewise.
11764         * support/xsetsockopt.c: Likewise.
11765         * support/xstdio.h: Likewise.
11766         * support/xstrdup.c: Likewise.
11767         * support/support.h (xstrdup): Declare.
11768         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11769         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11770         * support/xthread.h (xpthread_once): Likwise.
11771         * support/xunistd.h (xwrite): Declare.
11773 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11775         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11776         (test_verbose): Declare.
11777         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11778         * support/support_test_main.c (default_options): Likewise.
11779         (usage, support_test_main): Handle 'v'.
11780         (test_verbose): Define.
11781         * support/tst-support_record_failure.c (do_test): Use
11782         test_verbose.
11783         * support/tst-support_record_failure-2.sh (different_status): Add
11784         --verbose test.
11786 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11788         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11789         test failures are recorded.
11790         * support/check.c (support_print_failure_impl): Call
11791         support_record_failure.
11792         (support_exit_failure_impl): Call support_record_failure if status
11793         indicates failure.
11794         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11795         * support/xasprintf.c (xasprintf): Likewise.
11796         * support/xfork.c (xfork): Likewise.
11797         * support/xpthread_check_return.c (xpthread_check_return):
11798         Likewise.
11799         * support/xsocket.c (xsocket): Likeweise.
11800         * support/xwaitpid.c (xwaitpid): Likewise.
11801         * support/support_record_failure.c (struct test_failures): Adjust
11802         to coding style.
11803         * support/support_test_verify_impl.c (support_test_verify_impl):
11804         Adjust error messages.
11805         * support/tst-support_record_failure-2.sh (different_status):
11806         Adjust error messages.
11808 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11810         * support/namespace.h: New file.
11811         * support/support_become_root.c: Likewise.
11812         * support/support_enter_network_namespace.c: Likewise.
11813         * support/tst-support-namespace.c: Likewise.
11814         * support/xsocket.c: Likewise.
11815         * support/xsocket.h: Likewise.
11816         * support/Makefile (libsupport-routines): Add support_become_root,
11817         support_enter_network_namespace, xsocket.
11818         (tests): Add tst-support-namespace.
11820 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11822         [BZ #17252]
11823         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11824         __USE_GNU.
11826 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11828         [BZ #13165]
11829         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11830         use new algorithm.
11831         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11832         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11833         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11834         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11835         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11836         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11837         __condvar_cleanup_waiting, __condvar_dec_grefs,
11838         __pthread_cond_wait_common): New.
11839         (__condvar_cleanup): Remove.
11840         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11841         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11842         Likewise.
11843         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11844         Likewise.
11845         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11846         * nptl/tst-cond1.c: Add comment.
11847         * nptl/tst-cond20.c (do_test): Adapt.
11848         * nptl/tst-cond22.c (do_test): Likewise.
11849         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11850         structure.
11851         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11852         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11853         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11854         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11855         Likewise.
11856         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11857         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11858         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11859         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11860         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11861         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11862         Likewise.
11863         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11864         Likewise.
11865         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11866         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11867         (COND_CLOCK_BITS): Adapt.
11868         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11869         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11870         __PTHREAD_COND_SHARED_MASK): New.
11871         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11872         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11873         * nptl/nptl_lock_constants.pysym: Adapt.
11874         * nptl/test-cond-printers.py: Adapt.
11875         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11876         cond_compat_check_and_clear): Adapt.
11877         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11878         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11879         (__pthread_cond_timedwait): ... and move here.
11880         * nptl/DESIGN-condvar.txt: Remove file.
11881         * nptl/lowlevelcond.sym: Likewise.
11882         * nptl/pthread_cond_timedwait.c: Likewise.
11883         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11884         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11885         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11887         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11891         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11892         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11893         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11894         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11896         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11898         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11900 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11902         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11903         (fromfp): New declaration.
11904         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11905         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11907         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11908         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11910         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11912         * math/math.h: Include <bits/types.h>.
11913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11914         constant and macro.
11915         (FP_INT_DOWNWARD): Likewise.
11916         (FP_INT_TOWARDZERO): Likewise.
11917         (FP_INT_TONEARESTFROMZERO): Likewise.
11918         (FP_INT_TONEAREST): Likewise.
11919         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11920         (fromfpf): Likewise.
11921         (fromfpl): Likewise.
11922         (ufromfp): Likewise.
11923         (ufromfpf): Likewise.
11924         (ufromfpl): Likewise.
11925         (fromfpx): Likewise.
11926         (fromfpxf): Likewise.
11927         (fromfpxl): Likewise.
11928         (ufromfpx): Likewise.
11929         (ufromfpxf): Likewise.
11930         (ufromfpxl): Likewise.
11931         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11932         s_fromfpxF and s_ufromfpxF.
11933         * math/gen-fromfp-tests.py: New file.
11934         * math/gen-fromfp-tests-inputs: Likewise.
11935         * math/libm-test.inc: Include <stdint.h>
11936         (check_intmax_t): New function.
11937         (check_uintmax_t): Likewise.
11938         (struct test_fiu_M_data): New type.
11939         (struct test_fiu_U_data): Likewise.
11940         (RUN_TEST_fiu_M): New macro.
11941         (RUN_TEST_LOOP_fiu_M): Likewise.
11942         (RUN_TEST_fiu_U): Likewise.
11943         (RUN_TEST_LOOP_fiu_U): Likewise.
11944         (fromfp_test_data): New array.
11945         (fromfp_test): New function.
11946         (fromfpx_test_data): New array.
11947         (fromfpx_test): New function.
11948         (ufromfp_test_data): New array.
11949         (ufromfp_test): New function.
11950         (ufromfpx_test_data): New array.
11951         (ufromfpx_test): New function.
11952         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11953         ufromfpx_test.
11954         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11955         characters.
11956         * math/test-tgmath-ret.c: Include <stdint.h>.
11957         (rm): New variable.
11958         (width): Likewise.
11959         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11960         called function.
11961         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11962         CHECK_RET_CONST_TYPE.
11963         (CHECK_RET_CONST_DOUBLE): Likewise.
11964         (CHECK_RET_CONST_LDOUBLE): Likewise.
11965         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11966         macros.
11967         (fromfp): New CHECK_RET_CONST call.
11968         (ufromfp): Likewise.
11969         (fromfpx): Likewise.
11970         (ufromfpx): Likewise.
11971         (do_test): Call check_return_fromfp, check_return_ufromfp,
11972         check_return_fromfpx and check_return_ufromfpx.
11973         * math/test-tgmath.c: Include <stdint.h>
11974         (NCALLS): Increase to 138.
11975         (F(compile_test)): Initialize i.  Call fromfp functions.
11976         (F(fromfp)): New function.
11977         (F(fromfpx)): Likewise.
11978         (F(ufromfp)): Likewise.
11979         (F(ufromfpx)): Likewise.
11980         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11981         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11982         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11983         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11984         ufromfpxl.
11985         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11986         ufromfp and ufromfpx.
11987         * math/fromfp.h: New file.
11988         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11989         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11990         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11991         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11992         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11993         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11994         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11995         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11996         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11997         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11998         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11999         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
12000         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
12001         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
12002         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
12003         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
12004         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
12005         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
12006         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
12007         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
12008         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
12009         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
12010         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
12011         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
12012         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
12013         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
12014         ufromfp, fromfpx and ufromfpx.
12015         (CFLAGS-nldbl-fromfp.c): New variable.
12016         (CFLAGS-nldbl-fromfpx.c): Likewise.
12017         (CFLAGS-nldbl-ufromfp.c): Likewise.
12018         (CFLAGS-nldbl-ufromfpx.c): Likewise.
12019         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
12020         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
12021         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
12022         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
12023         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
12024         * sysdeps/nacl/libm.abilist: Update.
12025         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12027         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12028         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12029         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12030         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12031         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12032         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12033         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12034         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12035         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12036         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12038         Likewise.
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12040         Likewise.
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12042         Likewise.
12043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12044         Likewise.
12045         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12046         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12047         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12048         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12049         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12051         Likewise.
12052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12053         Likewise.
12054         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12055         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12056         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12058 2016-12-30  Florian Weimer  <fweimer@redhat.com>
12060         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
12061         compat-gethnamaddr.
12062         (CPPFLAGS): Remove.
12063         * resolv/gethnamaddr.c: Rename ...
12064         * resolv/compat-gethnamaddr.c: ... to this file.
12065         (_endhtent): Make static.
12066         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
12067         symbol.
12068         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
12069         compat symbol.
12070         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
12071         symbol.
12072         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12073         Turn into compat symbol.
12074         * include/resolv.h (_endhtent): Remove declaration.
12076 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
12078         * bits/types.h (__intmax_t): New typedef.
12079         (__uintmax_t): Likewise.
12080         * sysdeps/generic/stdint.h: Include <bits/types.h>.
12081         (intmax_t): Define using __intmax_t.
12082         (uintmax_t): Define using __uintmax_t.
12084         * support/Makefile (tests-special): Make definition conditional on
12085         [$(run-built-tests) = yes].
12086         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12087         on [$(run-built-tests) = yes].
12089 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12091         * Rules (tests): Add tests-printers-programs to tests to be
12092         built.
12094 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12096         * sysvipc/Makefile (tests): Add test-sysvshm.
12097         * sysvipc/test-sysvshm.c: New file.
12099         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12100         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12101         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12102         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12103         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12104         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12105         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12108         Likewise.
12109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12110         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12111         is defined.
12113         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12114         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12115         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12116         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12117         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12118         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12119         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12120         Likewise.
12121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12122         Likewise.
12123         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12124         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12125         defined.
12127         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12128         oldshmctl.
12129         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12130         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12131         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12132         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12133         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12134         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12135         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12140         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12141         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12142         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12143         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12144         implementation.
12145         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12146         if it is defined.
12148         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12149         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12150         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12151         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12152         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12153         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12154         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12155         Likewise.
12156         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12157         Likewise.
12158         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12159         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12160         Define to __NR_osf_shmat.
12161         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12162         defined.
12164         * sysvipc/Makefile (tests): Add test-sysvsem.
12165         * sysvipc/test-sysvsem.c: New file.
12167         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12168         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12169         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12170         Likewise.
12171         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12172         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12173         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12174         Likewise.
12175         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12176         Likewise.
12177         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12178         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12179         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12180         add a comment about s390 syscall difference from default one.
12181         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12182         syscall if it is defined.
12184         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12185         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12186         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12187         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12188         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12189         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12190         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12191         Likewise.
12192         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12193         Likewise.
12194         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12195         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12196         defined.
12198         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12199         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12200         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12201         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12202         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12203         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12204         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12205         Likewise.
12206         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12209         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12210         if it is defined.
12212         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12213         oldsemctl.
12214         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12215         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12216         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12217         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12218         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12219         implementation.
12220         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12221         syscall if it is defined.
12222         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12223         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12224         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12225         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12226         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12227         Likewise.
12228         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12230         * sysvipc/Makefile (tests): Add test-sysvmsg.
12231         * sysvipc/test-sysvmsg.c: New file.
12232         * support/check.h (FAIL_UNSUPPORTED): New define.
12234         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12235         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12236         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12237         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12238         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12239         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12240         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12241         Likewise.
12242         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12243         Likewise.
12244         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12245         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12246         define.
12248         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12249         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12250         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12251         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12252         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12253         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12254         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12257         Likewise.
12258         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12259         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12260         if defined.
12262         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12263         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12264         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12265         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12266         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12267         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12268         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12269         Likewise.
12270         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12271         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12274         if defined.
12275         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12277         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12278         oldmsgctl.
12279         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12280         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12281         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12282         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12283         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12284         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12285         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12286         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12287         Likewise.
12288         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12289         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12290         implementation.
12291         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12292         if defined.
12294         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12295         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12296         definition and define its own.
12297         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12298         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12299         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12300         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12301         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12302         definitions to common header.
12303         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12304         operation from ipc_ops.h.
12306         * sysdeps/unix/sysv/linux/kernel-features.h
12307         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12308         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12309         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12311         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12313         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12314         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12315         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12316         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12317         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12318         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12319         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12320         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12321         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12323 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12325         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12326         overflow in pointer addition.
12328 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12330         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12331         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12333         (strchr): Add __strchr_power8 to list of strchr functions.
12334         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12335         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12336         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12337         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12338         (strchr): Add __strchr_power8 to ifunc list.
12339         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12340         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12341         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12342         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12344 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12346         * support/Makefile (libsupport-routines): Add
12347         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12348         (tests): Add tst-support_record_failure.
12349         (tests-special): tst-support_record_failure-2.
12350         (tst-support_record_failure-2.out): Depend on
12351         tst-support_record_failure-2.sh and tst-support_record_failure.
12352         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12353         (support_test_verify_impl, support_record_failure)
12354         (support_report_failure, support_report_failure_reset): Declare.
12355         * support/support_test_main.c (adjust_exit_status): New function.
12356         (support_test_main): Call it to incorporate record test failures.
12357         * support/support_test_verify_impl.c: New file.
12358         * support/support_record_failure.c: Likewise.
12359         * support/tst-support_record_failure.c: Likewise.
12360         * support/tst-support_record_failure-2.sh: Likewise.
12361         * support/xunistd.h: Likewise.
12362         * support/xfork.c: Likewise.
12363         * support/xwaitpid.c: Likewise.
12365 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12367         * scripts/check-c++-types.sh: Add comments.
12369 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12371         [BZ #19514]
12372         * resolv/res_send.c: Fix typo in comment.
12373         * sysdeps/i386/i386-mcount.S: Likewise.
12374         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12375         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12376         * sysdeps/sparc/sparc-mcount.S: Likewise.
12378 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12380         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12381         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12382         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12383         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12384         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12385         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12386         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12387         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12389 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12391         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12393 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12395         [BZ #17252]
12396         * posix/unistd.h (getentropy): Declare.
12398 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12400         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12401         Remove.
12402         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12403         (cmd): Remove spoof, nospoof, spoofalert.
12404         (parse_line): Ignore spoof-related lines.
12405         (do_init): Do not process RESOLV_SPOOF_CHECK.
12407 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12409         [BZ #20964]
12410         sunrpc: Always obtain AF_INET addresses from NSS.
12411         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12412         * sunrpc/rpc_gethostbyname.c: New file.
12413         * sunrpc/Makefile (routines): Add it.
12414         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12415         * sunrpc/clnt_simp.c (callrpc): Likewise.
12416         * sunrpc/getrpcport.c (getrpcport): Likewise.
12418 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12420         * sunrpc/rpcinfo.c: Remove.
12421         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12423 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12425         [BZ #19387]
12426         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12427         addition.
12428         * string/test-memchr.c (do_test): Remove alignment limitation.
12429         (test_main): Add test that trigger BZ #19387.
12431 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12433         [BZ #7065]
12434         Enable stack protectore if requested by ./configure.
12435         * Makeconfig (+stack-protector): New variable.
12436         (+cflags): Use it.
12438 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12440         [BZ #7065]
12441         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12442         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12443         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12444         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12445         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12447 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12449         [BZ #7065]
12450         * login/Makefile (pt_chown-cflags): Remove.
12451         * nscd/Makefile (CFLAGS-nscd): Likewise.
12452         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12454 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12456         [BZ #7065]
12457         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12458         non-libc-linking testcase.
12460 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12461             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12462             Florian Weimer  <fweimer@redhat.com>
12464         [BZ #7065]
12465         PLT avoidance for __stack_chk_fail*.
12466         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12467         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12468         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12469         __stack_chk_fail_local alias.
12470         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12471         (__stack_chk_fail): Turn into hidden reference to
12472         __stack_chk_fail_local.
12474 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12476         [BZ #7065]
12477         * configure.ac: Add check for unsupported stack-protection level.
12478         (libc_cv_predef_stack_protector): Remove.
12479         (no_ssp): New variable.
12480         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12481         (stack_protector): Set to -fno-stack-protector similarly.
12482         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12483         (libc_cv_asm_set_directive): Likewise.
12484         (libc_cv_protected_data): Likewise.
12485         (libc_cv_z_combreloc): Likewise.
12486         (libc_cv_hashstyle): Likewise.
12487         (libc_cv_has_glob_dat): Likewise.
12488         (libc_cv_output_format): Likewise.
12489         (libc_cv_output_format): Likewise.
12490         (libc_cv_ehdr_start): Likewise.
12491         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12492         (LIBC_LINKER_FEATURE): Likewise.
12493         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12495 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12497         [BZ #7065]
12498         * elf/Makefile (dummy-stack-chk-fail): New.
12499         (librtld.map): Use it.
12501 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12503         [BZ #7065]
12504         Compile the dynamic linker without stack protection.
12505         * elf/Makefile (elide-stack-protector): New.
12506         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12507         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12508         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12509         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12511 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12513         [BZ #7065]
12514         * config.make.in (have-ssp, no-stack-protector): New.
12515         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12516         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12517         (CFLAGS-sbrk.op): Likewise.
12518         (CFLAGS-brk.o): Likewise.
12519         (CFLAGS-brk.op): Likewise.
12520         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12521         (CFLAGS-wordcopy.c): Likewise.
12523 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12525         [BZ #7065]
12526         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12527         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12528         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12529         (__ifunc_resolver): Use it.
12530         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12531         inhibit_stack_protector.
12532         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12533         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12534         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12535         (foo_protected_ifunc): Likewise.
12536         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12537         (foo_protected_ifunc): Likewise.
12538         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12539         * sysdeps/nacl/nacl_interface_query.c
12540         (nacl_interface_query_ifunc): Likewise.
12541         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12542         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12543         Likewise.
12544         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12545         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12546         the generated vDSO syscall resolver.
12548 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12549             Florian Weimer  <fweimer@redhat.com>
12551         [BZ #7065]
12552         Initialize the stack guard earlier when linking statically.
12553         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12554         (__pthread_initialize_minimal): Declare.
12555         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12556         declaration.
12557         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12558         stack canary and apply_irel initialization up.  Call
12559         __pthread_initialize_minimal only if linked in.
12560         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12561         constant values.
12562         (__pthread_initialize_minimal): Remove.
12563         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12564         (__pthread_initialize_minimal_internal): Do not call
12565         __libc_setup_tls.
12567 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12569         [BZ #7065]
12570         * configure.ac (libc_cv_ssp): Move up.
12571         (libc_cv_ssp_strong): Likewise.
12572         (libc_cv_ssp_all): New.
12573         (stack_protector): Augment, adding -fstack-protector-all.
12574         (no_stack_protector): New.
12575         (STACK_PROTECTOR_LEVEL): New.
12576         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12577         * manual/install.texi (--enable-stack-protector): Document it.
12578         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12580 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12582         * README.pretty-printers: Must specify CPPFLAGS-* also.
12583         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12584         (CPPFLAGS-test-mutex-printers.c): Define.
12585         (CPPFLAGS-test-condattr-printers.c): Define.
12586         (CPPFLAGS-test-cond-printers.c): Define.
12587         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12588         (CPPFLAGS-test-rwlock-printers.c): Define.
12590         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12591         (tests): Add tst-cancel-getpwuid_r.
12592         * nss/tst-cancel-getpwuid_r.c: New file.
12594         [BZ #11941]
12595         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12596         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12597         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12598         tst-nodelete-dlclose.
12599         (modules-names): Add tst-nodelete-dlclose-dso and
12600         tst-nodelete-dlclose-plugin.
12601         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12602         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12603         ($(objpfx)tst-nodelete-dlclose): Define.
12604         ($(objpfx)tst-nodelete-dlclose.out): Define.
12606 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12608         * scripts/test_printers_common.py: Log GDB output in case of
12609         Python detection failure.
12611 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12613         * configure.ac: Check for python3 or python.
12614         * configure: Regenerated.
12615         * config.make.in (PYTHON): New variable.
12616         * benchtests/Makefile: Don't define PYTHON.
12617         (bench): Define target only if PYTHON was defined.
12618         * Rules: Don't define PYTHON.
12619         Define pretty printer targets only if PYTHON was defined.
12620         (tests-printers): Add to tests-unsupported if PYTHON is not
12621         found.
12622         (python-flags, python-invoke): Remove.
12623         (tests-printers-out): Use PYTHON instead of python-invoke.
12625 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12627         [BZ #20978]
12628         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12629         Compare name == NULL, not name != NULL.
12631         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12632         trailing whitespace removed.
12633         * scripts/config.guess: Update to version 2016-10-02.
12634         * scripts/config.sub: Update to version 2016-11-19.
12635         * scripts/install-sh: Update to version 2016-01-11.22.
12636         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12637         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12639 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12641         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12642         (do_one_test) Restore original string so iteration works.
12643         * string/string-inlines.c (do_test): Create better input strings.
12644         (test_main) Reduce number of testruns.
12645         * string/string-inlines.c (__old_strsep_1c): New function.
12646         (__old_strsep_2c): Likewise.
12647         (__old_strsep_3c): Likewise.
12648         * string/strsep.c (__strsep): Remove case of small delim string.
12649         Call strcspn directly rather than strpbrk.
12650         * string/bits/string2.h (__strsep): Remove define.
12651         (__strsep_1c): Remove.
12652         (__strsep_2c): Remove.
12653         (__strsep_3c): Remove.
12654         (strsep): Remove.
12655         * sysdeps/unix/sysv/linux/internal_statvfs.c
12656         (__statvfs_getflags): Rename to __strsep.
12658 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12660         * csu/libc-tls.c (_dl_tls_setup): Remove.
12661         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12662         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12663         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12665 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12667         [BZ #7065]
12668         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12669         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12671 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12672             Florian Weimer  <fweimer@redhat.com>
12674         [BZ #7065]
12675         * csu/Makefile (tests): Empty assignment and document it.
12676         (tests-static): Remove.
12677         * csu/tst-empty.c: Move to...
12678         * misc/tst-empty.c: ... here.  Switch to new test driver.
12679         * csu/tst-atomic.c: Move to...
12680         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12681         * csu/tst-atomic-long.c: Move to...
12682         * misc/tst-atomic-long.c: ... here.
12683         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12684         tst-atomic-long.
12685         (tests-static): Add tst-empty.
12687 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12689         * manual/nss.texi: Change incorrect @vtable to @table.
12690         * manual/arith.texi: Convert @tables of variables to @vtables
12691         and remove unnecessary indexing.
12692         * manual/filesys.texi: Likewise.
12693         * manual/llio.texi: Likewise.
12694         * manual/memory.texi: Likewise.
12695         * manual/process.texi: Likewise.
12696         * manual/resource.texi: Likewise.
12697         * manual/search.texi: Likewise.
12698         * manual/signal.texi: Likewise.
12699         * manual/socket.texi: Likewise.
12700         * manual/stdio.texi: Likewise.
12701         * manual/sysinfo.texi: Likewise.
12702         * manual/syslog.texi: Likewise.
12703         * manual/terminal.texi: Likewise.
12704         * manual/time.texi: Likewise.
12705         * manual/users.texi: Likewise.
12707 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12709         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12710         (roundeven): New declaration.
12711         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12712         macro.
12713         * math/Versions (roundeven): New libm symbol at version
12714         GLIBC_2.25.
12715         (roundevenf): Likewise.
12716         (roundevenl): Likewise.
12717         * math/Makefile (libm-calls): Add s_roundevenF.
12718         * math/libm-test.inc (roundeven_test_data): New array.
12719         (roundeven_test): New function.
12720         (main): Call roundeven_test.
12721         * math/test-tgmath.c (NCALLS): Increase to 134.
12722         (F(compile_test)): Call roundeven.
12723         (F(roundeven)): New function.
12724         * manual/arith.texi (Rounding Functions): Document roundeven,
12725         roundevenf and roundevenl.
12726         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12727         * include/math.h (roundeven): Use libm_hidden_proto.
12728         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12729         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12730         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12731         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12732         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12733         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12734         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12735         roundeven.
12736         (CFLAGS-nldbl-roundeven.c): New variable.
12737         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12738         * sysdeps/nacl/libm.abilist: Update.
12739         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12740         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12741         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12742         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12743         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12744         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12745         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12746         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12747         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12748         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12749         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12750         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12752         Likewise.
12753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12754         Likewise.
12755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12756         Likewise.
12757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12758         Likewise.
12759         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12762         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12763         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12765         Likewise.
12766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12769         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12770         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12772 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12774         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12775         preprocessor indentation inside #if.
12777 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12779         * math/libm-test.inc (fmt_ftostr): New function.
12780         (print_float, check_float_internal): Replace some uses of
12781         FTOSTR with uses of fmt_ftostr.
12782         (print_max_error, print_complex_max_error, print_function_ulps)
12783         (print_complex_function_ulps): Remove uses of the macros
12784         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12785         * math/test-double.h (FTOSTR): Define to strfromd.
12786         (PRINTF_EXPR): Delete.
12787         (PRINTF_XEXPR): Likewise.
12788         (PRINTF_NEXPR): Likewise.
12789         * math/test-float.h (FTOSTR): Define to strfromf.
12790         (PRINTF_EXPR): Delete.
12791         (PRINTF_XEXPR): Likewise.
12792         (PRINTF_NEXPR): Likewise.
12793         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12794         (PRINTF_EXPR): Delete.
12795         (PRINTF_XEXPR): Likewise.
12796         (PRINTF_NEXPR): Likewise.
12798 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12800         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12801         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12802         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12803         (__lll_lock_elision): Decrement adapt_count while unlocking
12804         instead of before locking.
12805         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12806         (__lll_trylock_elision): Likewise.
12807         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12808         (__lll_unlock_elision): Likewise.
12810 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12812         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12813         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12814         Use __libc_tbegin_retry macro.
12816 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12818         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12819         Add -msoft-float.
12820         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12821         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12822         Use __libc_t* transaction macros instead of __builtin_t*.
12823         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12824         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12826 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12828         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12829         (__lll_lock_elision): Use atomics to load / store adapt_count.
12830         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12831         (__lll_trylock_elision): Likewise.
12833 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12835         Do not require memset elimination in explicit_bzero test.
12836         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12837         (enum test_expectation): Add NO_EXPECTATIONS.
12838         (subtests): NO_EXPECTATIONS for ordinary clear.
12839         (check_test_buffer): Handle NO_EXPECTATIONS.
12840         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12842 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12844         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12845         (fmaxmag): New declaration.
12846         (fminmag): Likewise.
12847         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12848         macro.
12849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12850         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12851         (fmaxmagf): Likewise.
12852         (fmaxmagl): Likewise.
12853         (fminmag): Likewise.
12854         (fminmagf): Likewise.
12855         (fminmagl): Likewise.
12856         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12857         * math/s_fmaxmag_template.c: New file.
12858         * math/s_fminmag_template.c: Likewise.
12859         * math/libm-test.inc (fmaxmag_test_data): New array.
12860         (fmaxmag_test): New function.
12861         (fminmag_test_data): New array.
12862         (fminmag_test): New function.
12863         (main): Call fmaxmag_test and fminmag_test.
12864         * math/test-tgmath.c (NCALLS): Increase to 132.
12865         (F(compile_test)): Call fmaxmag and fminmag.
12866         (F(fminmag)): New function.
12867         (F(fmaxmag)): Likewise.
12868         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12869         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12870         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12871         fminmag.
12872         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12873         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12874         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12875         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12876         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12877         and fminmag.
12878         (CFLAGS-nldbl-fmaxmag.c): New variable.
12879         (CFLAGS-nldbl-fminmag.c): Likewise.
12880         * sysdeps/nacl/libm.abilist: Update.
12881         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12882         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12883         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12884         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12885         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12886         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12887         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12888         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12889         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12890         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12891         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12892         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12894         Likewise.
12895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12896         Likewise.
12897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12898         Likewise.
12899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12900         Likewise.
12901         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12902         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12903         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12904         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12905         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12907         Likewise.
12908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12909         Likewise.
12910         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12911         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12912         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12914 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12916         [BZ #20973]
12917         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12918         wake-up in robust mutexes.
12919         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12921 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12923         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12924         (CFLAGS-bench-fmaxf.c): New rule.
12925         (CFLAGS-bench-fminf.c): Likewise.
12926         * benchtests/fmaxf-inputs: New file.
12927         * benchtests/fminf-inputs: Likewise.
12929         * benchtests/Makefile (bench-math): Add fmin and fmax.
12930         (CFLAGS-bench-fmax.c): New rule.
12931         (CFLAGS-bench-fmin.c): Likewise.
12932         * benchtests/fmax-inputs: New file.
12933         * benchtests/fmin-inputs: Likewise.
12935         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12936         parenthesis.
12937         (CMDLINE_PROCESS): Define using function instead of macro.
12938         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12939         of test-skeleton.
12940         * benchtests/bench-memchr.c: Likewise.
12941         * benchtests/bench-memcmp.c: Likewise.
12942         * benchtests/bench-memcpy-large.c: Likewise.
12943         * benchtests/bench-memcpy.c: Likewise.
12944         * benchtests/bench-memmem.c: Likewise.
12945         * benchtests/bench-memmove-large.c: Likewise.
12946         * benchtests/bench-memmove.c: Likewise.
12947         * benchtests/bench-memset-large.c: Likewise.
12948         * benchtests/bench-memset.c: Likewise.
12949         * benchtests/bench-rawmemchr.c: Likewise.
12950         * benchtests/bench-strcasecmp.c: Likewise.
12951         * benchtests/bench-strcasestr.c: Likewise.
12952         * benchtests/bench-strcat.c: Likewise.
12953         * benchtests/bench-strchr.c: Likewise.
12954         * benchtests/bench-strcmp.c: Likewise.
12955         * benchtests/bench-strcpy.c: Likewise.
12956         * benchtests/bench-strcpy_chk.c: Likewise.
12957         * benchtests/bench-strlen.c: Likewise.
12958         * benchtests/bench-strncasecmp.c: Likewise.
12959         * benchtests/bench-strncmp.c: Likewise.
12960         * benchtests/bench-strncpy.c: Likewise.
12961         * benchtests/bench-strnlen.c: Likewise.
12962         * benchtests/bench-strpbrk.c: Likewise.
12963         * benchtests/bench-strrchr.c: Likewise.
12964         * benchtests/bench-strsep.c: Likewise.
12965         * benchtests/bench-strspn.c: Likewise.
12966         * benchtests/bench-strstr.c: Likewise.
12967         * benchtests/bench-strtok.c: Likewise.
12969 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12971         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12972         stepping identification.
12973         (init_cpu_features): Add handle of Haswell.
12975 2016-11-25  Jim Meyering  <meyering@fb.com>
12977         [BZ #20386]
12978         Let gcc detect assert(a = 1) errors.
12979         * assert/assert.h (assert): Rewrite, retaining the old definintion
12980         when required, but otherwise putting the expression as-is in an "if"
12981         expression (hence, with no added parentheses) within a statement
12982         expression.
12984 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12986         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12987         DSO.
12989 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12991         * Rules (python-flags, python-invoke): New.
12992         ($(test-printers-out)): Use $(python-flags).
12994 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12996         * manual/arith.texi (Math Error Reporting): Document that sNaN
12997         arguments are not considered domain errors.
12999 2016-12-16  Zack Weinberg <zackw@panix.com>
13000             Florian Weimer <fweimer@redhat.com>
13001             Nick Mathewson <nickm@torproject.org>
13003         * string/explicit_bzero.c: New routine.
13004         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
13005         * string/Makefile (routines, strop-tests, tests): Add them.
13006         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
13007         * string/string.h [__USE_MISC]: Declare explicit_bzero.
13009         * debug/explicit_bzero_chk.c: New routine.
13010         * debug/Makefile (routines): Add it.
13011         * debug/tst-chk1.c: Test fortification of explicit_bzero.
13012         * string/bits/string3.h: Fortify explicit_bzero.
13014         * manual/string.texi: Document explicit_bzero.
13015         * NEWS: Mention addition of explicit_bzero.
13017         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
13018         data before returning, using explicit_bzero.
13019         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
13020         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13021         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13023         * include/string.h: Redirect internal uses of explicit_bzero
13024         to __explicit_bzero_chk[_internal].
13025         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
13026         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
13027         * sysdeps/arm/nacl/libc.abilist
13028         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13029         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13030         * sysdeps/unix/sysv/linux/arm/libc.abilist
13031         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13032         * sysdeps/unix/sysv/linux/i386/libc.abilist
13033         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13034         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13035         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13036         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13037         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13038         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13039         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13040         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13041         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13046         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13047         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13048         * sysdeps/unix/sysv/linux/sh/libc.abilist
13049         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13050         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13053         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13054         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13055         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13056         Add entries for explicit_bzero and __explicit_bzero_chk.
13058 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13060         * math/fenv.h
13061         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
13062         (FE_SNANS_ALWAYS_SIGNAL): New macro.
13063         * math/test-fe-snans-always-signal.c: New file.
13064         * math/Makefile (tests): Add test-fe-snans-always-signal.
13065         (CFLAGS-test-fe-snans-always-signal.c): New variable.
13066         * manual/arith.texi (Infinity and NaN): Document
13067         FE_SNANS_ALWAYS_SIGNAL.
13069 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13071         * string/test-memchr.c (do_test): Typo on â€˜byte’ and missing closing
13072         bracket.
13074 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13076         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13077         before calling execv.
13079 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13081         [BZ #20971]
13082         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13083         overflow in pointer addition.
13084         * string/test-memchr.c (do_test): Add an argument to pass as
13085         the size on memchr.
13086         (test_main): Add check for SIZE_MAX.
13088 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13090         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13091         (libm-calls): Add w_scalblnF.
13092         * math/w_scalbln.c: Remove.
13093         * math/w_scalblnf.c: Likewise.
13094         * math/w_scalblnl.c: Likewise.
13095         * math/w_scalbln_template.c: New file with type-generic
13096         implementation based on math/w_scalbln.c.
13097         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13098         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13100 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13102         [BZ #20947]
13103         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13104         either is a signaling NaN.
13105         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
13106         follow fmaxl more closely.
13107         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13108         when either is a signaling NaN.
13109         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13110         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13111         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13112         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13113         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13114         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13115         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13116         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13117         (fmin_test_data): Likewise.
13119 2016-12-15  Andreas Schwab  <schwab@suse.de>
13121         * support/support_test_main.c (support_test_main): Don't shadow
13122         file-local variable test_pid.
13124 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13126         [BZ #20947]
13127         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13128         either is a signaling NaN.
13129         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13131 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13133         [BZ #20947]
13134         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13135         when either is a signaling NaN.
13136         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13138         * bits/long-double.h: New file.
13139         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13140         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13141         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13142         * sysdeps/mips/bits/long-double.h: Likewise.
13143         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13144         * math/Makefile (headers): Add bits/long-double.h.
13145         * misc/sys/cdefs.h: Include <bits/long-double.h>.
13146         * stdlib/strtold.c: Include <bits/long-double.h> instead of
13147         <bits/wordsize.h>.
13148         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13149         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13150         * math/math.h: Do not include <bits/mathdef.h>.
13151         * sysdeps/aarch64/bits/mathdef.h: Remove file.
13152         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13153         inclusion.
13154         * sysdeps/ia64/bits/mathdef.h: Remove file.
13155         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13156         * sysdeps/mips/bits/mathdef.h: Likewise.
13157         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13158         * sysdeps/s390/bits/mathdef.h: Likewise.
13159         * sysdeps/sparc/bits/mathdef.h: Likewise.
13160         * sysdeps/x86/bits/mathdef.h: Likewise.
13161         * sysdeps/s390/s390-32/bits/wordsize.h
13162         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13163         conditional code.
13164         * sysdeps/s390/s390-64/bits/wordsize.h
13165         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13166         Likewise.
13167         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13168         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13171         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13172         Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13174         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13175         Likewise.
13177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13178         <linux/falloc.h>.
13179         (FALLOC_FL_KEEP_SIZE): Remove.
13180         (FALLOC_FL_PUNCH_HOLE): Likewise.
13181         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13182         (FALLOC_FL_ZERO_RANGE): Likewise.
13184 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13186         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13188 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13190         * sysdeps/unix/sysv/linux/renameat.c: New file.
13191         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13193         * sysdeps/unix/sysv/linux/rename.c: New file.
13194         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13196 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13198         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13199         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13200         * string/strtok_r.c (__strtok_r): Optimize for performance.
13201         * string/string-inlines.c (__old_strtok_r_1c): New function.
13202         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13204 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13206         * math/Makefile (gen-libm-calls): Add w_log1pF.
13207         (libm-calls): Remove w_log1pF.
13208         * math/w_log1p.c: Remove.
13209         * math/w_log1pf.c: Likewise.
13210         * math/w_log1pl.c: Likewise.
13211         * math/w_log1p_template.c: New file with type-generic
13212         implementation based on math/w_log1p.c.
13213         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13214         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13216 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13218         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13220 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13222         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13223         kernel version to 4.9.
13225 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13227         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13228         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13230 2016-12-13  Andreas Schwab  <schwab@suse.de>
13232         * sysdeps/powerpc/dl-procinfo.c: Don't define
13233         _dl_powerpc_platforms.
13234         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13235         constants instead of referencing _dl_powerpc_platforms.
13236         (_dl_platform_string): Remove.
13238 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13240         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13242 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13244         * Rules (binaries-shared-tests, binaries-pie-tests)
13245         (binaries-static-tests): Link with $(link-extra-libs-tests).
13246         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13247         Remove $(link-extra-libs-tests).
13249 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13251         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13252         (sysdep_routines): Add strncmp_power9.
13253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13254         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13255         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13256         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13257         (strncmp): Add __strncmp_power9 to ifunc list.
13258         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13260 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13262         [BZ #17252]
13263         Add getentropy, getrandom.
13264         * stdlib/sys/random.h: New file.
13265         (headers): Add it.
13266         * stdlib/Makefile (routines): Add getentropy, getrandom.
13267         (tests): Add tst-getrandom.
13268         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13269         * stdlib/getentropy.c: New file.
13270         * stdlib/getrandom.c: Likewise.
13271         * stdlib/tst-getrandom.c: Likewise.
13272         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13273         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13274         * manual/crypt.texi (Unpredictable Bytes): New section.
13275         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13276         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13277         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13278         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13282         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13283         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13284         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13285         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13287         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13288         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13289         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13290         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13292         Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13294         Likewise.
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13297         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13298         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13299         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13300         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13301         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13304         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13305         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13306         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13308 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13310         [BZ #20956]
13311         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13312         as additional compiler barriers.
13313         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13314         (fn2, do_test): Declare with external linkage.
13315         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13316         (do_test): Declare with external linkage.
13317         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13318         (do_test): Declare with external linkage.
13319         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13320         (do_test): Declare with external linkage.
13322 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13324         * support/support_test_main.c (support_test_main): Use correct
13325         timeout.
13327 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13328             Florian Weimer  <fweimer@redhat.com>
13330         [BZ #16421]
13331         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13332         and __u6_addr32 members.
13333         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13334         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13335         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13336         Use __u6_addr32.
13337         * inet/tst-checks.c: Use <support/test-driver.c>
13338         * inet/tst-checks-posix.c: New file.
13339         * inet/Makefile (tests): Add it.
13340         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13342 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13344         New subdirectory support for build and test infrastructure.
13345         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13346         setting install-lib.
13347         * Makeconfig (link-extra-libs-tests): Define.
13348         (+link-pie-tests, +link-static-tests, +link-tests): Use
13349         link-extra-libs-tests.
13350         (rpath-dirs, all-subdirs): Add support.
13351         (built-modules): Add libsupport.
13352         (libsupport): Define.
13353         * support: New directory.
13354         * support/Makefile: New file.
13355         * support/check.c: Likewise.
13356         * support/check.h: Likewise.
13357         * support/delayed_exit.c: Likewise.
13358         * support/ignore_stderr.c: Likewise.
13359         * support/oom_error.c: Likewise.
13360         * support/set_fortify_handler.c: Likewise.
13361         * support/support.h: Likewise.
13362         * support/temp_file-internal.h: Likewise.
13363         * support/temp_file.c: Likewise.
13364         * support/test-driver.c: Likewise.
13365         * support/test-driver.h: Likewise.
13366         * support/test_main.c: Likewise.
13367         * support/write_message.c: Likewise.
13368         * support/xasprintf.c: Likewise.
13369         * support/xcalloc.c: Likewise.
13370         * support/xmalloc.c: Likewise.
13371         * support/xpthread_barrier_destroy.c: Likewise.
13372         * support/xpthread_barrier_init.c: Likewise.
13373         * support/xpthread_barrier_wait.c: Likewise.
13374         * support/xpthread_cancel.c: Likewise.
13375         * support/xpthread_check_return.c: Likewise.
13376         * support/xpthread_cond_wait.c: Likewise.
13377         * support/xpthread_create.c: Likewise.
13378         * support/xpthread_detach.c: Likewise.
13379         * support/xpthread_join.c: Likewise.
13380         * support/xpthread_mutex_lock.c: Likewise.
13381         * support/xpthread_mutex_unlock.c: Likewise.
13382         * support/xpthread_sigmask.c: Likewise.
13383         * support/xpthread_spin_lock.c: Likewise.
13384         * support/xpthread_spin_unlock.c: Likewise.
13385         * support/xrealloc.c: Likewise.
13386         * support/xsignal.h: Likewise.
13387         * support/xthread.h: Likewise.
13388         * support_tempfile.h: Likewise.
13389         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13390         (TEST_DATA_LIMIT): Remove unused macro.
13391         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13392         <support/check.h>.
13393         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13394         (ignore_stderr, set_fortify_handler): Remove.  Now in
13395         <support/support.h>.
13396         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13397         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13398         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13399         (xpthread_join): Remove.  Now in <support/xthread.h>.
13400         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13401         Introduce legacy wrappers.
13402         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13403         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13404         (write_message): Remove.
13405         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13406         test-skeleton.c.
13407         * io/test-open-tmpfile: Likewise.
13408         * io/tst-posix_fallocate-common.c: Likewise.
13409         * libio/tst-fseek.c: Likewise.
13410         * malloc/tst-malloc-backtrace.c: Likewise.
13411         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13412         * malloc/tst-malloc-thread-exit.c: Likewise.
13413         * nptl/tst-cancel7.c: Likewise.
13414         * nptl/tst-cleanup0.c: Likewise.
13415         * posix/tst-posix_fadvise-common.c: Likewise.
13416         * rt/tst-shm.c: Likewise.
13417         * time/bug-getdate1.c: Likewise.
13418         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13419         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13420         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13422 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13424         * Rules [$(run-built-tests) != no] (tests-expected): Add
13425         $(tests-printers).
13426         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13428 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13430         [BZ #20539]
13431         * math/Makefile (install-lib-ldscripts): Add libm.a.
13432         (install_subdir): Remove.
13433         (install-others): Add.
13434         ($(inst_libdir)/libm.a): Add rule for installation as
13435         linker script.
13436         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13438 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13440         * INSTALL: Regenerated.
13441         * Makeconfig: Add comments and whitespace to make the control flow
13442         clearer.
13443         (+link-printers-tests, +link-pie-printers-tests,
13444         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13445         built-rtld-LDFLAGS, link-libc-rpath,
13446         link-libc-tests-after-rpath-link,
13447         link-libc-printers-tests): New.
13448         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13449         link-libc-tests): Use the new variables as required.
13450         * Makerules ($(py-const)): New rule.
13451         generated: Add $(py-const).
13452         * README.pretty-printers: New file.
13453         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13454         (others): Depend on $(py-const).
13455         (tests): Depend on $(tests-printers-programs) or
13456         $(tests-printers-out),
13457         as required.  Pass $(tests-printers) to merge-test-results.sh.
13458         * manual/install.texi: Add requirements for testing the pretty
13459         printers.
13460         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13461         tests-printers, CFLAGS-test-mutexattr-printers.c
13462         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13463         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13464         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13465         * nptl/nptl-printers.py: New file.
13466         * nptl/nptl_lock_constants.pysym: Likewise.
13467         * nptl/test-cond-printers.c: Likewise.
13468         * nptl/test-cond-printers.py: Likewise.
13469         * nptl/test-condattr-printers.c: Likewise.
13470         * nptl/test-condattr-printers.py: Likewise.
13471         * nptl/test-mutex-printers.c: Likewise.
13472         * nptl/test-mutex-printers.py: Likewise.
13473         * nptl/test-mutexattr-printers.c: Likewise.
13474         * nptl/test-mutexattr-printers.py: Likewise.
13475         * nptl/test-rwlock-printers.c: Likewise.
13476         * nptl/test-rwlock-printers.py: Likewise.
13477         * nptl/test-rwlockattr-printers.c: Likewise.
13478         * nptl/test-rwlockattr-printers.py: Likewise.
13479         * scripts/gen-py-const.awk: Likewise.
13480         * scripts/test_printers_common.py: Likewise.
13481         * scripts/test_printers_exceptions.py: Likewise.
13483 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13485         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13486         argument.
13487         (Glibc.build_glibc): Strip installed shared libraries if
13488         requested.
13489         (get_parser): Add --strip option.
13490         (main): Update Context call.
13492 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13493             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13495         [BZ #20847]
13496         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13497         array bounds for else branch.
13498         (__execvpe): Style fixes.
13499         * posix/tst-vfork3.c (run_script): New function.
13500         (create_script): Likewise.
13501         (do_test): Use run_script internal function.
13502         (do_prepare): Use create_script internal function.
13504 2016-12-07  Andreas Schwab  <schwab@suse.de>
13506         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13507         (__elision_available): Don't declare.
13508         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13509         (__elision_available): Don't define.
13510         (elision_init): Don't set __elision_available.
13512 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13514         [BZ #20940]
13515         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13516         return Inf for arguments Inf and sNaN.
13517         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13518         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13519         Likewise.
13520         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13521         Likewise.
13522         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13523         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13524         for arguments Inf and sNaN.  When returning a NaN, compute it by
13525         arithmetic on the arguments.
13526         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13527         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13528         arguments.
13530 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13532         [BZ #20916]
13533         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13534         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13535         to compute result.
13536         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13537         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13539 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13541         * include/atomic.h (__atomic_check_size_ls): New.
13542         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13543         atomic_store_release): Use it.
13544         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13545         (elision_adapt, ELIDE_LOCK): Use atomics.
13546         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13547         atomics and improve code comments.
13548         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13549         (__lll_trylock_elision): Likewise.
13551 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13553         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13554         programs.
13556 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13558         [BZ #20916]
13559         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13560         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13561         arguments to compute result.
13562         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13563         1 for arguments (sNaN, 0) or (1, sNaN).
13564         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13565         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13567         [BZ #20919]
13568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13569         NaN first argument when raised to power 0.
13570         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13571         raising to power zero.
13572         * math/w_powf.c (__powf): Likewise.
13573         * math/w_powl.c (__powl): Likewise.
13574         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13575         pow (0, 0) or pow (NaN, 0).
13577 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13579         [BZ #20918]
13580         * configure.ac: Test for static NSS cryptographic libraries and set
13581         libc_cv_static_nss_crypt.
13582         * configure: Regenerate.
13583         * config.make.in (static-nss-crypt): Define.
13584         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13585         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13586         (CFLAGS-tst-linkall-static.c): Define.
13587         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13588         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13589         ($(objpfx)tst-linkall-static): Define.
13590         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13591         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13593 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13595         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13596         (one-hundred, tst-tls-many-dynamic-modules): Define.
13597         (modules-names): Add $(tst-tls-many-dynamic-modules).
13598         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13599         macros.
13600         (tst-tls-manydynamic): Link against libdl, libpthread.
13601         (tst-tls-manydynamic.out): The test needs the test modules at run
13602         time.
13603         * elf/tst-tls-manydynamic.c: New file.
13604         * elf/tst-tls-manydynamic.h: Likewise.
13605         * elf/tst-tls-manydynamicmod.c: Likewise.
13607 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13609         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13610         (TLS_DTV_UNALLOCATED): Add.
13611         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13612         offsets.
13614 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13616         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13618 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13620         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13621         Add -fno-optimize-sibling-calls.
13623 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13625         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13626         New declaration.
13627         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13628         macro.
13629         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13630         New macro.
13631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13633         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13634         (llogbf): Likewise.
13635         (llogbl): Likewise.
13636         * math/Makefile (gen-libm-calls): Add w_llogbF.
13637         (tests): Add test-fp-llogb-constants.
13638         * math/w_llogb_template.c: New file.  Based on
13639         math/w_ilogb_template.c.
13640         * math/libm-test.inc (llogb_test_data): New array.
13641         (llogb_test): New function.
13642         (main): Call llogb_test.
13643         * math/test-fp-llogb-constants.c: New file.  Based on
13644         math/test-fp-ilogb-constants.c.
13645         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13646         (do_test): Call check_return_llogb.
13647         * math/test-tgmath.c (NCALLS): Increase to 126.
13648         (F(compile_test)): Call llogb.
13649         (F(llogb)): New function.
13650         * manual/math.texi (Exponents and Logarithms): Document llogb,
13651         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13652         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13653         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13654         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13655         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13656         (CFLAGS-nldbl-llogb.c): New variable.
13657         * sysdeps/nacl/libm.abilist: Update.
13658         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13659         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13660         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13661         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13662         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13663         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13665         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13666         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13667         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13668         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13675         Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13677         Likewise.
13678         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13679         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13680         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13681         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13682         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13684         Likewise.
13685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13686         Likewise.
13687         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13688         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13689         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13691 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13693         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13694         _Float128 instead of long double.
13695         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13697         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13698         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13699         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13700         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13701         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13702         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13703         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13704         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13705         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13706         Likewise.
13708 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13710         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13711         Remove redirection to __strrchr_ppc.
13713 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13715         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13716         (sysdep_routines): Add strcmp_power9.
13717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13718         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13719         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13720         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13721         (strcmp): Add __strcmp_power9 to ifunc list.
13722         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13724 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13726         * bits/fp-logb.h: New file.
13727         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13728         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13729         * sysdeps/x86/bits/fp-logb.h: Likewise.
13730         * math/Makefile (headers): Add bits/fp-logb.h.
13731         * math/math.h: Include <bits/fp-logb.h>.
13732         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13733         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13734         * bits/mathdef.h (FP_ILOGB0): Remove.
13735         (FP_ILOGBNAN): Likewise.
13736         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13737         (FP_ILOGBNAN): Likewise.
13738         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13739         (FP_ILOGBNAN): Likewise.
13740         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13741         (FP_ILOGBNAN): Likewise.
13742         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13743         (FP_ILOGBNAN): Likewise.
13744         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13745         (FP_ILOGBNAN): Likewise.
13746         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13747         (FP_ILOGBNAN): Likewise.
13748         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13749         (FP_ILOGBNAN): Likewise.
13750         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13751         (FP_ILOGBNAN): Likewise.
13752         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13753         (FP_ILOGBNAN): Likewise.
13755         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13756         time module.
13757         (Context.__init__): Initialize self.logsdir_old.
13758         (Context.run_builds): Handle bot action.
13759         (Context.bot_cycle): Copy logs directory before running builds.
13760         (Context.bot_run_self): Take argument for whether to check
13761         subprocess result.  Flush stdout before running subprocess.
13762         (Context.bot): New function.
13763         (get_parser): Allow bot action.
13765 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13767         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13768         Import email.mime.text, email.utils and smtplib modules.
13769         (Context.__init__): Initialize self.bot_config_json.
13770         (Context.run_builds): Handle bot-cycle action.
13771         (Context.load_bot_config_json): New function.
13772         (Context.part_build_old): Likewise.
13773         (Context.bot_cycle): Likewise.
13774         (Context.bot_build_mail): Likewise.
13775         (Context.bot_run_self): Likewise.
13776         (get_parser): Allow bot-cycle action.
13778 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13781         Remove redirection to __stpcpy_ppc.
13783 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13785         Remove __libc_memalign from ld.so because it is unused.
13786         * elf/dl-minimal.c: Update comment on the malloc implementation.
13787         (malloc): Renamed from __libc_memalign, replacing the original
13788         malloc implementation.  Replace the align parameter with
13789         MALLOC_ALIGNMENT.
13790         * elf/Versions (ld): Update comment and remove __libc_memalign.
13791         * sysdeps/nacl/ld.abilist: Likewise.
13792         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13793         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13794         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13795         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13796         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13797         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13798         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13799         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13800         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13801         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13802         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13803         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13804         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13808         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13809         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13810         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13811         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13812         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13815         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13816         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13817         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13818         * sysdeps/generic/localplt.data (ld.so): Likewise.
13819         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13820         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13821         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13822         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13823         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13824         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13825         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13826         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13827         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13829         (ld.so): Likewise.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13831         (ld.so): Likewise.
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13833         Likewise.
13834         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13835         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13836         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13837         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13838         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13840 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13842         [BZ #16628]
13843         Implement _dl_catch_error, _dl_signal_error in libc.so.
13844         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13845         (catch_hook): Define as thread-local or regular variable,
13846         depending on DL_ERROR_BOOTSTRAP.
13847         (CATCH_HOOK): Remove.
13848         (dl_signal_error, _dl_catch_error): Use
13849         catch_hook.  Add hidden definition for libc.
13850         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13851         for DL_ERROR_BOOTSTRAP only.
13852         * elf/dl-error.c: New file.
13853         * elf/dl-error-minimal.c: Likewise.
13854         * elf/tst-latepthread.c: Likewise.
13855         * elf/tst-latepthreadmod.c: Likewise.
13856         * elf/Makefile (routines): Add dl-error.
13857         (dl-routines): Remove dl-error.
13858         (rtld-routines): Add dl-error-minimal.
13859         [build-shared] (tests): Add tst-latepthread.
13860         (module-names): Add tst-latepthreadmod.
13861         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13862         symbol.
13863         (tst-latepthreadmod.so): Link against libpthread.
13864         (tst-latepthread): Link against libdbl.
13865         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13866         _dl_catch_error.
13867         [ld] (GLIBC_PRIVATE): Likewise.
13868         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13869         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13870         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13871         directly.
13872         * elf/dl-tsd.c: Remove file.
13873         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13874         _dl_catch_error, _dl_signal_error.
13875         (_dl_initial_error_catch_tsd): Remove definition.
13876         (do_preload): Remove initialization of dl_error_catch_tsd.
13877         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13878         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13879         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13880         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13881         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13882         set dl_error_catch_tsd.
13883         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13884         _dl_error_catch_tsd member.
13885         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13886         members.
13887         (_dl_initial_error_catch_tsd): Remove declaration.
13888         (_dl_dprintf): Provide definition for use outside of ld.so.
13889         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13890         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13891         prototype for libc.
13892         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13893         _dl_catch_error.
13894         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13895         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13896         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13897         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13898         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13899         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13900         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13901         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13902         Likewise.
13903         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13905         (ld.so): Likewise.
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13907         (ld.so): Likewise.
13908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13909         Likewise.
13910         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13911         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13912         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13913         Likewise.
13914         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13915         Likewise.
13916         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13918 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13920         [BZ #4099]
13921         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13922         _IO_BUFSIZ (8192).
13924 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13926         * PROJECTS: Remove file.
13928 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13930         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13932 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13933             Steve Ellcey  <sellcey@caviumnetworks.com>
13935         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13936         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13937         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13938         fxstatat.
13939         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13940         lxstat.
13941         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13942         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13943         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13944         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13945         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13946         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13947         __xstat.
13949 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13951         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13952         Define.
13953         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13954         definition.
13956 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13958         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13959         version and turn into strong alias.  Remove compat symbol.
13961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13962         (__longjmp): Remove.
13964 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13966         * bits/fp-fast.h: New file.
13967         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13968         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13969         * math/Makefile (headers): Add bits/fp-fast.h.
13970         * math/math.h: Include <bits/fp-fast.h>.
13971         * bits/mathdef.h (FP_FAST_FMA): Remove.
13972         (FP_FAST_FMAF): Likewise.
13973         (FP_FAST_FMAL): Likewise.
13974         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13975         (FP_FAST_FMAF): Likewise.
13976         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13977         (FP_FAST_FMAF): Likewise.
13978         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13979         (FP_FAST_FMAF): Likewise.
13980         (FP_FAST_FMAL): Likewise.
13981         * sysdeps/arm/bits/mathdef.h: Remove file.
13982         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13983         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13984         * sysdeps/tile/bits/mathdef.h: Likewise.
13986 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13988         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13989         * math/w_ilogb.c: Remove.
13990         * math/w_ilogbf.c: Likewise.
13991         * math/w_ilogbl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13993         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13994         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13995         (libm-calls): Remove w_ilogbF.
13996         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13997         (LDOUBLE_ilogbl_libm_version): New macro.
13999         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
14001         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
14002         [!__STRICT_ANSI__ && !__cplusplus].
14004 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
14006         [BZ #20750]
14007         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
14008         of PIC.
14010 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14011             Yury Norov  <ynorov@caviumnetworks.com>
14012             Steve Ellcey  <sellcey@caviumnetworks.com>
14014         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
14015         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
14016         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
14017         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
14018         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
14019         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
14020         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
14021         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
14022         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
14023         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
14024         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
14025         to get correct reg name for ILP32.
14026         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
14027         (RELA_SIZE): New Macro.
14028         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
14029         to support ILP32.
14030         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
14031         cast for ILP32 mode.
14032         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
14033         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
14034         * sysdeps/aarch64/memset.S (__memset): Ditto.
14035         * sysdeps/aarch64/strchr.S (strchr): Ditto.
14036         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
14037         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
14038         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
14039         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
14040         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
14041         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
14042         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
14043         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
14044         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
14045         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
14046         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
14047         change PTR_MANGLE call to use register numbers instead of names.
14048         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
14049         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
14050         ILP32 mode, change PTR_MANGLE calls to use register numbers.
14051         * sysdeps/aarch64/start.S (_start): Ditto.
14052         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
14053         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
14054         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
14055         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
14056         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
14057         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
14058         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
14059         Make defined values dependent on __ILP32__.
14060         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
14061         (sem_t): Change __align type.
14062         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14063         PTR_SIZE): New Macros.
14064         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14065         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14066         Set when in ILP32 mode.
14067         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14068         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14069         Set elf flags for ILP32.
14070         (add_system_dir): Set ILP32 library directories.
14071         * sysdeps/unix/sysv/linux/aarch64/init-first.c
14072         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14073         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14074         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14075         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14076         New Macros.
14077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14079 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
14081         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14082         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14083         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14085 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
14087         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14088         <asm/cachectl.h>.
14090 2016-11-27  Zack Weinberg  <zackw@panix.com>
14092         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14093         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14095 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14097         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14098         error_t to fix usage in C++ programs.
14100 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
14102         * scripts/build-many-glibcs.py: Import datetime module.
14103         (Context.__init__): Load JSON build state.  Initialize list of
14104         status logs.
14105         (Context.run_builds): Update saved build state.
14106         (Context.add_makefile_cmdlist): Update list of status logs.
14107         (Context.load_build_state_json): New function.
14108         (Context.store_build_state_json): Likewise.
14109         (Context.clear_last_build_state): Likewise.
14110         (Context.update_build_state): Likewise.
14111         (CommandList.status_logs): Likewise.
14113 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
14115         * scripts/build-many-glibcs.py (Context.__init__): Save text of
14116         script being executed.
14117         (Context.get_script_text): New function.
14118         (Context.exec_self): Likewise.
14119         (Context.checkout): Re-exec script if changed by checkout process.
14121 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14123         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14124         (setpayloadsig): New declaration.
14125         * math/Versions (setpayloadsig): New libm symbol at version
14126         GLIBC_2.25.
14127         (setpayloadsigf): Likewise.
14128         (setpayloadsigl): Likewise.
14129         * math/Makefile (libm-calls): Add s_setpayloadsigF.
14130         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14131         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14132         (setpayloadsig_test_data): New array.
14133         (setpayloadsig_test): New function.
14134         (main): Call setpayloadsig_test.
14135         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14136         setpayloadsigf and setpayloadsigl.
14137         * manual/libm-err-tab.pl: Update comment on interfaces without
14138         ulps tabulated.
14139         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14140         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14141         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14142         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14143         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14144         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14145         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14146         setpayloadsig.
14147         (CFLAGS-nldbl-setpayloadsig.c): New variable.
14148         * sysdeps/nacl/libm.abilist: Update.
14149         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14150         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14151         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14152         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14153         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14154         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14155         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14156         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14157         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14158         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14159         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14160         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14162         Likewise.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14164         Likewise.
14165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14166         Likewise.
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14168         Likewise.
14169         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14170         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14171         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14172         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14173         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14175         Likewise.
14176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14177         Likewise.
14178         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14179         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14180         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14182         * scripts/build-many-glibcs.py: Import json module.
14183         (Context.__init__): Take replace_sources argument.  Load
14184         versions.json.
14185         (Context.load_versions_json): New function.
14186         (Context.store_json): Likewise.
14187         (Context.store_versions_json): Likewise.
14188         (Context.set_component_version): Likewise.
14189         (Context.checkout): Update versions.json.  Check for and handle
14190         changes of version.  Prefer previously explicitly specified
14191         version to default version.
14192         (Context.checkout_vcs): Return a revision identifier.
14193         (Context.git_checkout): Likewise.
14194         (Context.gcc_checkout): Likewise.
14195         (get_parser): Add --replace-sources option.
14196         (main): Pass replace_sources argument to Context call.
14198 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14200         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14201         * nptl/allocatestack.c (allocate_stack): Likewise.
14202         (__reclaim_stacks): Likewise.
14203         (setxid_signal_thread): Obtain pid through syscall.
14204         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14205         (sighandle_setxid): Likewise.
14206         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14207         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14208         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14209         Likewise.
14210         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14211         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14212         comment.
14213         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14214         * nptl/descr.h (struct pthread): Change comment about pid value.
14215         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14216         pid assert.
14217         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14218         Do not set pid value.
14219         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14220         pid cache check.
14221         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14222         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14223         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14224         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14225         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14226         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14227         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14228         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14229         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14230         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14231         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14232         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14233         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14234         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14235         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14236         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14237         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14238         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14239         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14240         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14241         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14242         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14243         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14244         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14245         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14248         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14249         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14250         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14251         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14252         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14253         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14254         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14255         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14256         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14257         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14258         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14259         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14260         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14261         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14262         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14263         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14266         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14267         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14268         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14269         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14270         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14271         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14272         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14273         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14274         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14275         struct access.
14276         (clone_test): Remove function.
14277         (do_test): Rewrite to take in consideration pid is not cached anymore.
14279 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14281         * bits/flt-eval-method.h: New file.
14282         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14283         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14284         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14285         * math/Makefile (headers): Add bits/flt-eval-method.h.
14286         * math/math.h: Include <bits/flt-eval-method.h>.
14287         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14288         [__USE_ISOC99] (double_t): Likewise.
14289         * bits/mathdef.h (float_t): Remove.
14290         (double_t): Likewise.
14291         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14292         (double_t): Likewise.
14293         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14294         (double_t): Likewise.
14295         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14296         (double_t): Likewise.
14297         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14298         (double_t): Likewise.
14299         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14300         (double_t): Likewise.
14301         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14302         (double_t): Likewise.
14303         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14304         (double_t): Likewise.
14305         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14306         (double_t): Likewise.
14307         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14308         (double_t): Likewise.
14309         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14310         (double_t): Likewise.
14311         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14312         (double_t): Likewise.
14313         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14314         (double_t): Likewise.
14315         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14316         (double_t): Likewise.
14318 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14320         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14321         instead of PIC.
14323 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14325         [BZ #20859]
14326         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14327         (-0x7fffffff) instead of 0x80000001.
14328         * math/test-fp-ilogb-constants.c: New file.
14329         * math/Makefile (tests): Add test-fp-ilogb-constants.
14331 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14333         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14334         (_init): Use it in place of hardcoded R_MIPS_JALR.
14335         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14336         (_init): Use it in place of hardcoded R_MIPS_JALR.
14337         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14338         (_init): Use it in place of hardcoded R_MIPS_JALR.
14340 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14342         [BZ #20787]
14343         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14344         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14345         (double_t): Do not define to double if [__x86_64__] when
14346         __FLT_EVAL_METHOD__ is nonzero.
14347         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14348         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14349         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14350         test-flt-eval-method-387 and test-flt-eval-method-sse.
14351         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14352         variable.
14353         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14355 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14357         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14358         use of -fno-isolate-erroneous-paths options for tilepro.
14360 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14362         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14363         structure initialization is no longer needed.
14365 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14367         [BZ #20855]
14368         * bits/mathdef.h (float_t): Define to float.
14369         * math/test-flt-eval-method.c: New file.
14370         * math/Makefile (tests): Add test-flt-eval-method.
14371         (CFLAGS-test-flt-eval-method.c): New variable.
14373 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14375         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14376         and __fstatfs.  Make them aliases of __fstatfs64 if
14377         STATFS_IS_STATFS64 is set to non-zero.
14378         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14379         and __statfs64.
14380         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14381         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14382         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14383         for __statfs and statfs.
14384         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14385         to 0.
14386         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14387         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14388         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14389         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14390         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14391         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14394         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14395         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14396         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14397         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14399 2016-11-22  Andreas Schwab  <schwab@suse.de>
14401         * misc/mkstemp.c: Include <fcntl.h>.
14402         * misc/mkstemps.c: Likewise.
14403         * misc/mkostemp.c: Likewise.
14404         * misc/mkostemps.c: Likewise.
14406 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14408         [BZ #20847]
14409         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14410         array bounds.
14411         (__execvpe): Likewise.
14413 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14415         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14416         -fno-isolate-erroneous-paths options for tilepro.
14418 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14420         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14421         to 0 when in 32 bit mode.
14422         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14423         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14424         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14425         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14427         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14428         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14429         XSTAT_IS_XSTAT64 test.
14430         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14431         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14432         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14433         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14434         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14435         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14436         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14437         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14438         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14439         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14440         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14442 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14444         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14445         (setpayload): New declaration.
14446         * math/Versions (setpayload): New libm symbol at version
14447         GLIBC_2.25.
14448         (setpayloadf): Likewise.
14449         (setpayloadl): Likewise.
14450         * math/Makefile (libm-calls): Add s_setpayloadF.
14451         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14452         test_Ff_b1_data.
14453         (RUN_TEST_Ff_b1): New macro.
14454         (RUN_TEST_LOOP_Ff_b1): Likewise.
14455         (canonicalize_test_data): Update type.
14456         (setpayload_test_data): New array.
14457         (setpayload_test): New function.
14458         (main): Call setpayload_test.
14459         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14460         setpayloadf and setpayloadl.
14461         * manual/libm-err-tab.pl: Update comment on interfaces without
14462         ulps tabulated.
14463         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14464         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14465         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14466         Likewise.
14467         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14468         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14469         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14470         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14471         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14472         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14473         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14474         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14475         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14476         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14477         setpayload.
14478         (CFLAGS-nldbl-setpayload.c): New variable.
14479         * sysdeps/nacl/libm.abilist: Update.
14480         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14481         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14482         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14483         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14484         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14485         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14486         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14487         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14488         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14489         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14490         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14491         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14493         Likewise.
14494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14495         Likewise.
14496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14497         Likewise.
14498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14499         Likewise.
14500         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14501         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14502         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14503         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14504         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14506         Likewise.
14507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14508         Likewise.
14509         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14510         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14511         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14513 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14515         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14516         * include/unistd.h: Extend comment about __access_noerrno return
14517         semantics.
14518         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14519         (access_common): Correct typo for EACCES.
14521 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14523         * sysdeps/tile/math-tests.h: New file.
14525         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14526         (__old_set_dataplane): Rename from set_dataplane and make a
14527         compatibility symbol.
14528         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14529         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14530         sys/dataplane.h.
14532 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14534         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14535         script quote words in command output to log suitably for input to
14536         the shell.
14538 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14539             Maciej W. Rozycki  <macro@imgtec.com>
14541         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14542         `.Lno_weak_fn' label.
14543         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14544         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14546 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14547             Yury Norov  <ynorov@caviumnetworks.com>
14549         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14550         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14551         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14552         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14553         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14554         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14555         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14557         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14559         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14560         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14561         (sysdep_routines): Remove oldgetrlimit64.
14562         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14563         (sysdep_routines): Likewise.
14564         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14565         (sysdep_routines): Likewise.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14567         [$(subdir) = resource] (sysdep_routines): Likewise.
14568         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14569         [$(subdir) = resource] (sysdep_routines): Likewise.
14570         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14571         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14572         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14573         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14574         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14575         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14576         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14577         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14578         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14579         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14580         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14581         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14582         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14583         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14584         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14585         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14586         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14587         setrlimit and getrlimit.
14588         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14590         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14594         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14595         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14597         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14598         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14599         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14600         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14601         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14602         (__old_getrlimit64): Add compatibility symbol.
14603         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14605 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14607         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14608         newly built gmp, mpfr and mpc.
14610         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14612 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14614         * conform/Makefile (linknamespace-libs): Rename to
14615         linknamespace-libs-thr.
14616         (linknamespace-libs-posix): New variable.
14617         (linknamespace-libs-xsi): Likewise.
14618         (linknamespace-libs-XPG3): Include libcrypt.a.
14619         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14620         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14621         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14622         (linknamespace-libs-XOPEN2K): Likewise.
14623         (linknamespace-libs-XOPEN2K8): Likewise.
14624         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14626         [BZ #20829]
14627         * stdio-common/Versions (__snprintf): Add to version
14628         GLIBC_PRIVATE.
14629         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14630         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14631         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14632         of snprintf.
14633         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14635 2016-11-16  Zack Weinberg  <zackw@panix.com>
14637         * string/string.h: Remove obsolete comment stating that
14638         strcoll_l and strxfrm_l have not yet been standardized.
14640 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14642         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14643         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14644         __access_noerrno.
14645         * io/access.c (__access_noerrno): New function.
14646         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14647         (hurd_fail_seterrno): Likewise.
14648         (access_common): Likewise.
14649         (__access_noerrno): Likewise.
14650         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14651         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14652         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14653         macro.
14655 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14657         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14658         Only declare fpregs if [__SH_FPU_ANY__].
14660 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14662         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14663         Make code unconditional.
14664         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14666 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14668         * manual/sysinfo.texi (S_APPEND): Delete.
14669         (S_IMMUTABLE): Likewise.
14671 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14672             Magnus Granberg  <zorry@gentoo.org>
14673             Mike Frysinger  <vapier@gentoo.org>
14675         [BZ #20662]
14676         * configure.ac (libc_cv_predef_stack_protector): Also check for
14677         __stack_chk_fail_local symbols.
14678         * configure: Regenerated.
14680 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14682         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14683         (libc_hidden_def): Remove redefinition.
14684         (__sigsetjmp): Add hidden definition.
14685         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14686         (libc_hidden_def): Remove redefinition.
14687         (__sigsetjmp): Add hidden definition.
14689 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14691         * scripts/build-many-glibcs.py (os.path): Do not import.
14692         (Context): Inherit explicitly from object.  Remove blank line
14693         between class and docstring.
14694         (Config): Likewise.
14695         (Glibc): Likewise.
14696         (Command): Likewise.
14697         (CommandList): Likewise.
14698         (Context.write_files): Store chmod mode in a variable.
14700         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14701         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14702         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14704 2016-11-14  Zack Weinberg  <zackw@panix.com>
14706         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14707         creating or re-creating it.
14709         * string/bits/string2.h: Fix typo in comment.
14711 2016-11-14  Zack Weinberg  <zackw@panix.com>
14713         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14714         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14715         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14716         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14717         of redirected function names.
14719         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14720         as well.  Document that MESSAGE must be a single string literal.
14722 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14724         * scripts/build-many-glibcs.py: New file.
14726         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14727         (do_test): Disable -Wmaybe-uninitialized around uses of
14728         except_mask.
14730         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14732 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14734         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14735         (atomic_store_release): Provide tilepro-specific implementations.
14737 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14739         * math/math.h (__MATH_TG): New macro.
14740         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14741         [__USE_ISOC99] (signbit): Likewise.
14742         [__USE_ISOC99] (isfinite): Likewise.
14743         [__USE_ISOC99] (isnan): Likewise.
14744         [__USE_ISOC99] (isinf): Likewise.
14745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14748         __MATH_TG and __MATH_EVAL_FMT2.
14749         * sysdeps/generic/math_private.h (fabs_tg): Define using
14750         __MATH_TG.
14751         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14752         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14753         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14754         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14755         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14756         macro.
14757         (__iscanonical): Likewise.
14758         (iscanonical): Define using __MATH_TG.
14760 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14762         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14763         guards.
14765         * sysdeps/unix/sysv/linux/access.c: New file.
14766         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14768 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14770         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14771         and __WORDSIZE32_PTRDIFF_LONG.
14773 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14775         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14777 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14779         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14780         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14781         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14782         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14783         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14785         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14786         * sysdeps/unix/sysv/linux/truncate.c: New file.
14787         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14788         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14789         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14790         Remove.
14791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14792         Likewise.
14794         * posix/tst-truncate-common.c: New file.
14795         * posix/tst-truncate.c: Use tst-truncate-common.c.
14796         * posix/tst-truncate64.c: Likewise and add LFS tests.
14797         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14798         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14799         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14800         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14801         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14803         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14804         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14805         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14806         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14807         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14808         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14809         Remove.
14810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14811         Likewise.
14813 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14815         [BZ #20790]
14816         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14817         to MAXLINESIZE.
14818         * sunrpc/bug20790.x: New file.
14819         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14820         variable.
14821         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14822         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14824         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14826         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14828         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14829         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14830         calloc, realloc, free, memalign and __libc_memalign rather than
14831         making them optional.
14833         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14834         for libc.so.
14836 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14838         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14839         ptw-lseek64.
14840         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14841         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14842         Likewise.
14843         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14844         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14845         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14846         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14847         * sysdeps/unix/sysv/linux/lseek.c: New file.
14848         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14849         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14850         __libc_lseek64 from auto-generation.
14851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14852         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14854 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14856         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14857         * nptl/tst-cleanup1.c (do_test): Likewise.
14858         * nptl/tst-cleanup3.c (do_test): Likewise.
14859         * nptl/tst-key1.c (do_test): Likewise.
14860         * nptl/tst-key2.c (tf, do_test): Likewise.
14861         * nptl/tst-key3.c (tf, do_test): Likewise.
14862         * nptl/tst-stdio1.c (do_test): Likewise.
14863         * nptl/tst-stdio2.c (do_test): Likewise.
14865         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14866         * nptl/tst-kill6.c (handler): Likewise.
14867         * nptl/tst-tls2.c (CB): Likewise.
14868         * nptl/tst-tls3.c (CB): Likewise.
14870 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14872         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14874 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14875             Steve Ellcey  <sellcey@caviumnetworks.com>
14877         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14878           __ASSUME_ST_INO_64_BIT as 0
14879         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14880         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14881           over the code where __ASSUME_ST_INO_64_BIT is used.
14882         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14883         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14884         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14886 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14888         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14889         Document ABI exposure of the __kind offset.
14890         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14891         Mention reason for the __kind offset exposure in the ABI.
14892         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14893         Likewise.
14894         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14895         Likewise.
14896         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14897         Likewise.
14898         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14899         (struct __pthread_mutex_s): Likewise.
14900         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14901         Likewise.
14902         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14903         Likewise.
14904         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14905         Likewise.
14906         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14907         Likewise.
14908         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14909         Likewise.
14910         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14911         Likewise.
14912         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14913         (struct __pthread_mutex_s): Likewise.
14914         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14915         (struct __pthread_mutex_s): Likewise.
14916         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14917         Likewise.
14919 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14921         * test-skeleton.c: Document do_test usage.
14923 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14925         * iconv/gconv.h (__gconv_info): Define __data element using a
14926         zero-length array.
14928 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14930         * math/test-tgmath2.c: Split up test function.
14932 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14934         * Rules (tests-expected): New variable, depending on
14935         $(run-built-tests).
14936         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14937         $(tests).
14939         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14940         $(tests-unsupported).
14942 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14944         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14945         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14947 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14949         [BZ #20768]
14950         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14951         __fegetenv instead of fegetenv.
14953         [BZ #14139]
14954         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14955         (find_files): Obtain platform name from libm-test-ulps-name and
14956         store in %pplatforms.
14957         (canonicalize_platform): Remove.
14958         (print_platforms): Use $pplatforms directly.
14959         (by_platforms): Do not allow for platforms missing from
14960         %pplatforms.
14961         * sysdeps/aarch64/libm-test-ulps-name: New file.
14962         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14963         * sysdeps/arm/libm-test-ulps-name: Likewise.
14964         * sysdeps/generic/libm-test-ulps-name: Likewise.
14965         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14966         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14967         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14968         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14969         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14970         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14971         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14972         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14973         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14974         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14975         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14976         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14977         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14978         * sysdeps/sh/libm-test-ulps-name: Likewise.
14979         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14980         * sysdeps/tile/libm-test-ulps-name: Likewise.
14981         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14983         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14985         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14986         (test-xfail-check-execstack): New variable.
14988         * sysdeps/mips/localplt.data: New file.
14990 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14991             Steve Ellcey  <sellcey@caviumnetworks.com>
14993         * bits/wordsize.h: Add documentation.
14994         * sysdeps/aarch64/bits/wordsize.h : New file
14995         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14996         definitions.
14997         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14998         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14999         with #if instead of #ifdef.
15000         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
15001         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
15002         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
15003         Add or change defines.
15004         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
15005         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15006         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
15007         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
15008         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15009         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15010         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
15011         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15012         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
15013         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15014         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
15015         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
15016         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
15017         * sysdeps/x86/bits/wordsize.h: Likewise.
15019 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
15020             Kevin Petit  <kevin.petit@arm.com>
15022         * sysdeps/aarch64/memchr.S (__memchr): New file.
15024 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15026         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
15028 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
15030         [BZ #19398]
15031         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
15032         $(linknamespace-symlists-tests).
15034 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
15036         * time/tst-strptime2.c: Ignore -Wformat-length warning.
15038 2016-11-02  Florian Weimer  <fweimer@redhat.com>
15039             Carlos O'Donell  <carlos@redhat.com>
15041         [Bug #20729]
15042         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
15043         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
15044         for -Os related change.
15046 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
15048         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
15050 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
15052         [BZ #19673]
15053         * manual/math.texi (Exponents and Logarithms): Correct description
15054         of clog10.
15056 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
15058         [Bz #20729]
15059         * locale/weight.h: Include libc-internal.h.
15060         * locale/weightwc.h: Likewise.
15061         * nptl/nptl_dbP.h: Likewise.
15063 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
15065         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15066         when it is MACH_PORT_NULL.
15068 2016-10-31  Andreas Schwab  <schwab@suse.de>
15070         [BZ #20707]
15071         * posix/glob.c (glob): Initialize pglob before checking for
15072         GLOB_BRACE.  Don't call glob recursively if pattern contains no
15073         valid brace expression despite GLOB_BRACE.
15074         * posix/globtest.sh: Test it.
15076 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15078         [BZ #20729]
15079         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15080         Define.
15081         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15082         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15083         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15084         for seq2.back_us and seq1.back_us only for -Os compiles.
15085         * locale/weightwc.h (findix): Likewise.
15086         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15087         DB_GET_FIELD_ADDRESS only for -Os compiles.
15088         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15089         for slen only for -Os compiles.
15090         * string/strcoll_l.c (get_next_seq): Ignore
15091         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15092         for -Os compiles.
15094         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15095         * include/crypt.h: New file.
15097 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15099         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15100         from test-skeleton.c.
15101         (statclass): Replace calls to write with calls to write_message.
15103 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15105         * math/math.h
15106         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15107         New macro.
15108         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15109         Likewise.
15110         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15111         Likewise.
15112         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15113         SNANL.
15114         * math/test-double.h (snan_value_MACRO): New macro.
15115         * math/test-float.h (snan_value_MACRO): Likewise.
15116         * math/test-ldouble.h (snan_value_MACRO): Likewise.
15117         * math/libm-test.inc (issignaling_test_data): Add tests of
15118         snan_value_MACRO.
15120 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15122         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15123         behavior when eliding a lock not held by the current thread.
15124         * sysdeps/powerpc/nptl/elide.h: Likewise.
15126 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15128         [BZ #20728]
15129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15130         branch to _exit() by a function call.
15132 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15134         * malloc/malloc.c: Update chunk layout comments.
15135         (chunk_main_arena): Update comment.
15137 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15139         * crypt/sha256.c, crypt/sha256-block.c,
15140         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15141         sha256_process_block to __sha256_process_block.
15142         * crypt/sha512.c, crypt/sha512-block.c,
15143         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15144         sha512_process_block to __sha512_process_block.
15146 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15148         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15150         * math/test-nan-overflow.c: Include stdlib.h for malloc.
15152 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
15154         [BZ #20019]
15155         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15156         definition in unrelocated shared library.
15157         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15159 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15161         [BZ #20729]
15162         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15163         * sysdeps/unix/sysv/linux/i386/Makefile
15164         (uses-6-syscall-arguments): Define.
15165         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15166         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15167         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15168         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15169         Likewise.
15170         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15171         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15172         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15173         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15174         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15175         (CFLAGS-fallocate64.os): Likewise.
15176         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15177         (CFLAGS-pthread_rwlock_timedrdlock.os)
15178         (CFLAGS-pthread_rwlock_timedwrlock.o)
15179         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15180         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15181         (CFLAGS-sem_timedwait.os): Likewise.
15183 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15185         * elf/tst-linkall-static.c: New file.
15186         * elf/Makefile (tests-static): Add tst-linkall-static.
15187         (tst-linkall-static): Link against static libraries.
15189 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15191         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15192         mmaped chunks.
15194 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15196         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15197         members to mchunk_prev_size, mchunk_size.
15198         (chunk_main_arena): Reverse sense and rename from
15199         chunk_non_main_arena.
15200         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15201         mchunk_size instead of size.
15202         (set_non_main_arena): Define.
15203         (chunksize): Use chunksize_nomask instead of direct member access.
15204         (chunksize_nomask): Define.
15205         (next_chunk): Use chunksize instead of direct member access.
15206         (prev_size, set_prev_size): Define.
15207         (prev_chunk): Use prev_size instead of direct member access.
15208         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15209         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15210         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15211         (mchunk_prev_size, mchunk_size): Poison tokens.
15212         (unlink): Use chunksize_nomask, prev_size accessors.
15213         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15214         (do_check_free_chunk): Use prev_size accessor.
15215         (sysmalloc): Use set_prev_size, set_head accessors.
15216         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15217         (__libc_free): Use chunksize_nomask accessor.
15218         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15219         chunk_main_arena accessors.
15220         (_int_free): Use chunksize_nomask, prev_size accessors.
15221         (malloc_consolidate): Use chunksize, prev_size accessors.
15222         (_int_realloc): Use chunksize_nomask accessor.
15223         (_int_memalign): Use set_prev_size accessor.
15224         (__malloc_info): Use chunksize_nomask accessor.
15225         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15226         accessors.
15227         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15228         (heap_trim): Use chunksize_nomask, prev_size accessors.
15230 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15232         [BZ #19380]
15233         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15234         for inexact results.
15235         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15236         of inexact result where mpfr_subnormalize is the only inexact
15237         step.
15238         * stdlib/tst-strtod-round-data.h: Regenerated.
15239         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15240         Define to 0.
15241         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15243 2016-10-27  David S. Miller  <davem@davemloft.net>
15245         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15247 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15249         * malloc/malloc.c (do_set_mallopt_check): New function.
15250         (do_set_mmap_threshold): Likewise.
15251         (do_set_mmaps_max): Likewise.
15252         (do_set_top_pad): Likewise.
15253         (do_set_perturb_byte): Likewise.
15254         (do_set_trim_threshold): Likewise.
15255         (do_set_arena_max): Likewise.
15256         (do_set_arena_test): Likewise.
15257         (__libc_mallopt): Use them.
15259 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15261         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15262         (canonicalize): New declaration.
15263         * math/Versions (canonicalize): New libm symbol at version
15264         GLIBC_2.25.
15265         (canonicalizef): Likewise.
15266         (canonicalizel): Likewise.
15267         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15268         * math/s_canonicalize_template.c: New file.
15269         * math/libm-test.inc: Update comment on functions tested and
15270         testing of NaN payloads.
15271         (TEST_NAN_PAYLOAD): New macro.
15272         (NO_TEST_INLINE): Update value.
15273         (XFAIL_TEST): Likewise.
15274         (ERRNO_UNCHANGED): Likewise.
15275         (ERRNO_EDOM): Likewise.
15276         (ERRNO_ERANGE): Likewise.
15277         (IGNORE_RESULT): Likewise.
15278         (NON_FINITE): Likewise.
15279         (TEST_SNAN): Likewise.
15280         (NO_TEST_MATHVEC): Likewise.
15281         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15282         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15283         (struct test_Ffp_b1_data): New type.
15284         (RUN_TEST_Ffp_b1): New macro.
15285         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15286         (canonicalize_test_data): New array.
15287         (canonicalize_test): New function.
15288         (main): Call canonicalize_test.
15289         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15290         canonicalizef and canonicalizel.
15291         * manual/libm-err-tab.pl: Update comment on interfaces without
15292         ulps tabulated.
15293         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15294         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15295         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15296         canonicalize.
15297         (CFLAGS-nldbl-canonicalize.c): New variable.
15298         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15299         to ...
15300         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15301         ... here.
15302         (do_test): Also test canonicalizel.
15303         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15304         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15305         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15306         file.
15307         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15308         Use libm_hidden_def.
15309         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15310         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15311         (do_test): Also test canonicalizel.
15312         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15313         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15314         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15315         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15316         libm_hidden_def.
15317         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15318         macro.
15319         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15320         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15321         * sysdeps/nacl/libm.abilist: Update.
15322         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15323         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15324         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15325         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15326         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15327         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15328         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15329         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15330         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15331         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15332         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15333         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15335         Likewise.
15336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15337         Likewise.
15338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15339         Likewise.
15340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15341         Likewise.
15342         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15343         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15344         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15346         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15350         Likewise.
15351         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15352         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15353         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15355         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15356         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15357         getpayload.
15358         (CFLAGS-nldbl-getpayload.c): New variable.
15360 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15362         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15363         integer from the format string.
15365 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15367         [BZ #19473]
15368         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15369         declarations.
15370         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15371         weak aliases.
15372         * malloc/hooks.c (__malloc_get_state): Remove definition.
15373         (malloc_get_state): New stub implementation as
15374         compatibility symbol.
15375         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15376         compat symbol.
15377         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15378         malloc_set_state.
15379         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15381 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15383         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15384         (names): Turn into concatenation of strings.
15385         (gconv_init): Adapt iteration over names.
15387 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15389         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15390         make const.
15391         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15392         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15393         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15394         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15395         character in sbconv.
15396         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15397         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15398         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15400 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15402         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15404         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15405         (M_TRIM_THRESHOLD): Likewise.
15407         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15408         (M_ARENA_MAX): Likewise.
15409         * malloc/malloc.c: Remove obsolete comment.
15411         * manual/memory.texi: Add environment variable alternatives to
15412         setting mallopt parameters.
15414 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15416         * include/atomic.h
15417         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15418         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15420 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15422         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15423         * stdlib/tst-strfrom.h: New file.
15424         * stdlib/tst-strfrom.c: New file.
15425         * stdlib/tst-strfrom-locale.c: New file.
15427         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15428         * stdlib/bug-strtod2.c: Likewise.
15429         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15430         * stdlib/tst-strtod6.c: Likewise.
15431         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15433 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15435         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15436         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15437         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15438         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15439         * stdlib/stdlib.h (strfromd): New declaration.
15440         (strfromf): Likewise.
15441         (strfroml): Likewise.
15442         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15443         strfrom.
15444         * stdlib/strfromd.c: New file.
15445         * stdlib/strfromf.c: Likewise.
15446         * stdlib/strfroml.c: Likewise.
15447         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15448         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15449         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15450         * sysdeps/arm/nacl/libc.abilist: Update.
15451         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15452         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15453         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15454         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15455         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15456         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15460         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15461         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15462         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15463         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15464         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15469         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15470         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15471         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15472         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15473         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15476         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15477         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15478         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15480 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15482         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15483         instead of cmpli.
15484         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15485         instead of cmpli.
15487 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15489         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15490         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15491         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15492         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15493         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15494         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15496 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15498         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15499         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15500         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15501         SYSCALL_LL64_PRW.
15502         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15503         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15504         __ASSUME_PRW_DUMMY_ARG.
15505         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15506         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15507         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15508         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15509         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15510         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15512 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15514         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15516 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15518         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15519         "C++", to override a potential extern "C" directive around the
15520         header file inclusion.
15522 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15524         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15526 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15528         * sysdeps/powerpc/fpu/fenv_private.h:
15529         (_FPU_MASK_ALL): Rename to...
15530         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15531         XE FPSCR bits.
15533         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15535         (_FPU_MASK_ROUNDING): Rename to...
15536         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15537         NI bits.
15539         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15540         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15541         bits and rounding bits.
15543         (__libc_feholdbits_ppc): New inline function to mask, set,
15544         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15545         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15546         (libc_feholdexcept_setround_ppc): Likewise.
15548         (__libc_femergeenv_ppc): New function to dynamically mask both
15549         old and new FP environments and merge.
15550         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15551         (libc_feresetround_ppc): Likewise.
15552         (libc_feupdateenv_test_ppc): Likewise.
15553         (libc_feupdateenv_ppc): Likewise.
15555         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15556         of ISA RN bits, and update macro names.
15557         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15558         effectively the same as the previously mentioned function.
15560         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15561         usage with fe_resetround_ppc.
15563         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15564         to be used.
15565         (libc_feholdexcept_setround_ctxf): Likewise.
15566         (libc_feholdexcept_setround_ctxl): Likewise.
15568 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15570         [BZ #20715]
15571         * math/math.h [__cplusplus] (iszero): Define as function template.
15572         * math/Makefile [CXX] (tests): Add test-math-iszero.
15573         (CFLAGS-test-math-iszero.cc): Set.
15574         * math/test-math-iszero.cc: New file.
15576 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15578         [BZ #20660]
15579         * sysdeps/arm/e_sqrt.c: New file.
15580         * sysdeps/arm/e_sqrtf.c: Likewise.
15582 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15584         [BZ #20718]
15585         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15586         not use floating-point comparisons to test sign.
15587         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15588         Likewise.
15590         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15591         (getpayload): New declaration.
15592         * math/Versions (getpayload): New libm symbol at version
15593         GLIBC_2.25.
15594         (getpayloadf): Likewise.
15595         (getpayloadl): Likewise.
15596         * math/Makefile (libm-calls): Add s_getpayloadF.
15597         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15598         (struct test_f_f_data): Add comment.
15599         (RUN_TEST_fp_f): New macro.
15600         (RUN_TEST_LOOP_fp_f): Likewise.
15601         (getpayload_test_data): New array.
15602         (getpayload_test): New function.
15603         (main): Call getpayload_test.
15604         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15605         descriptor.
15606         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15607         getpayloadf and getpayloadl.
15608         * manual/libm-err-tab.pl: Update comment on interfaces without
15609         ulps tabulated.
15610         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15611         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15612         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15613         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15614         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15615         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15616         * sysdeps/nacl/libm.abilist: Update.
15617         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15618         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15619         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15620         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15621         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15622         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15623         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15624         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15625         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15626         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15627         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15628         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15630         Likewise.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15632         Likewise.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15634         Likewise.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15636         Likewise.
15637         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15638         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15639         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15640         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15641         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15645         Likewise.
15646         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15647         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15648         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15650 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15652         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15653         tst-fallocate{64}.
15654         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15655         on syscall return.
15657 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15659         [BZ #20689]
15660         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15661         usable.
15663 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15665         * sysdeps/generic/nan-high-order-bit.h: New file.
15666         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15667         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15668         * sysdeps/hppa/math_private.h: Remove file.
15669         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15670         not define here.
15671         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15672         <nan-high-order-bit.h>.
15673         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15674         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15675         <nan-high-order-bit.h>.
15676         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15677         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15678         <nan-high-order-bit.h>.
15679         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15680         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15681         <nan-high-order-bit.h>.
15682         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15683         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15684         <nan-high-order-bit.h>.
15685         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15686         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15687         <nan-high-order-bit.h>.
15688         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15689         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15690         <nan-high-order-bit.h>.
15691         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15692         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15693         <nan-high-order-bit.h>.
15694         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15695         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15696         <nan-high-order-bit.h>.
15697         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15698         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15699         <nan-high-order-bit.h>.
15700         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15701         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15702         <nan-high-order-bit.h>.
15703         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15704         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15705         <nan-high-order-bit.h>.
15706         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15707         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15708         <nan-high-order-bit.h>.
15709         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15710         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15711         <nan-high-order-bit.h>.
15712         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15713         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15714         <nan-high-order-bit.h>.
15715         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15716         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15717         <nan-high-order-bit.h>.
15718         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15719         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15720         <nan-high-order-bit.h>.
15721         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15722         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15723         <nan-high-order-bit.h>.
15724         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15726 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15728         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15730 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15732         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15733         abort-instr.h.
15734         (EFAULT): Remove conditional define.
15735         (ENOSYS): Likewise.
15736         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15737         instead of conditional branch instructions.
15739 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15741         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15742         (totalordermag): New declaration.
15743         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15744         New macro.
15745         * math/Versions (totalordermag): New libm symbol at version
15746         GLIBC_2.25.
15747         (totalordermagf): Likewise.
15748         (totalordermagl): Likewise.
15749         * math/Makefile (libm-calls): Add s_totalordermagF.
15750         * math/libm-test.inc (totalordermag_test_data): New array.
15751         (totalordermag_test): New function.
15752         (main): Call totalordermag_test.
15753         * math/test-tgmath.c (NCALLS): Increase to 125.
15754         (F(compile_test)): Call totalordermag.
15755         (F(totalordermag)): New function.
15756         * manual/arith.texi (FP Comparison Functions): Document
15757         totalordermag, totalordermagf and totalordermagl.
15758         * manual/libm-err-tab.pl: Update comment on interfaces without
15759         ulps tabulated.
15760         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15761         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15762         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15763         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15764         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15765         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15766         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15767         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15768         totalordermag.
15769         (CFLAGS-nldbl-totalordermag.c): New variable.
15770         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15771         (do_test): Also test totalordermagl.
15772         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15773         Likewise.
15774         * sysdeps/nacl/libm.abilist: Update.
15775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15777         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15778         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15781         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15783         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15786         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15788         Likewise.
15789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15790         Likewise.
15791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15792         Likewise.
15793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15794         Likewise.
15795         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15796         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15797         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15798         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15799         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15801         Likewise.
15802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15803         Likewise.
15804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15805         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15806         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15808 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15810         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15811         boolean.
15813 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15815         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15816         raising FE_INVALID with feraisexcept in case where part of
15817         argument is infinite, subtract that part of argument from itself.
15818         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15819         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15820         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15822 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15824         * math/libm-test.inc (totalorder_test_data): Add more tests.
15826 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15828         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15829         Undefine weak_alias and add a comment why mips64 require
15830         versioning.
15832 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15834         [BZ #20647]
15835         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15836         maximum CPUID level is less than 2.
15838 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15840         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15841         (totalorder): New declaration.
15842         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15843         New macro.
15844         * math/Versions (totalorder): New libm symbol at version
15845         GLIBC_2.25.
15846         (totalorderf): Likewise.
15847         (totalorderl): Likewise.
15848         * math/Makefile (libm-calls): Add s_totalorderF.
15849         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15850         string.
15851         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15852         (qnan_value_pl): Likewise.
15853         (snan_value_pl): Likewise.
15854         (qnan_value): Define using qnan_value_pl.
15855         (snan_value): Define using snan_value_pl.
15856         (struct test_ff_i_data): Add comment about which tests use this
15857         structure.
15858         (RUN_TEST_ff_b): New macro.
15859         (RUN_TEST_LOOP_ff_b): Likewise.
15860         (totalorder_test_data): New array.
15861         (totalorder_test): New function.
15862         (main): Call totalorder_test.
15863         * math/test-tgmath.c (NCALLS): Increase to 122.
15864         (F(compile_test)): Call totalorder.
15865         (F(totalorder)): New function.
15866         * manual/arith.texi (FP Comparison Functions): Document
15867         totalorder, totalorderf and totalorderl.
15868         * manual/libm-err-tab.pl: Update comment on interfaces without
15869         ulps tabulated.
15870         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15871         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15872         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15873         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15874         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15875         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15876         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15877         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15878         totalorder.
15879         (CFLAGS-nldbl-totalorder.c): New variable.
15880         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15881         file.
15882         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15883         Add test-totalorderl-ldbl-128ibm.
15884         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15885         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15886         test-totalorderl-ldbl-96.
15887         * sysdeps/nacl/libm.abilist: Update.
15888         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15889         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15890         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15891         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15892         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15893         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15894         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15895         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15896         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15897         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15898         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15899         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15901         Likewise.
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15903         Likewise.
15904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15905         Likewise.
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15907         Likewise.
15908         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15909         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15910         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15911         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15912         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15914         Likewise.
15915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15918         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15919         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15921 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15923         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15924         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15925         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15926         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15927         remove ENOSYS implementation.
15928         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15929         Consolidate all Linux implementations.
15931 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15933         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15934         * resolv/herror.c (herror): Cast away const-ness.
15935         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15936         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15938 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15940         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15941         instead of M_NAN + M_NAN.
15942         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15944 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15946         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15947         unused variable 'p'.
15949 2016-10-09  Alan Modra  <amodra@gmail.com>
15950             Andreas Schwab  <schwab@linux-m68k.org>
15952         [BZ #20554]
15953         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15954         [PIC && !SHARED]: Set up PIC register for PLT call.
15956 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15958         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15959         conditional on value of [__FLT_EVAL_METHOD__].
15960         * math/test-iseqsig-excess-precision.c: New file.
15961         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15963 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15965         * math/s_iseqsig_template.c: Include math-private.h.
15967         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15968         * posix/tst-posix_fadvise.c: New file.
15969         * posix/tst-posix_fadvise64.c: Likewise.
15970         * posix/tst-posix_fadvise-common.c: Likewise.
15971         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15972         (__ASSUME_FADVISE64_64_6ARG): Define.
15973         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15974         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15975         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15976         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15977         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15978         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15979         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15980         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15981         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15982         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15983         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15984         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15987         Likewise.
15988         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15989         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15990         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15991         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15992         Alias to __posix_fadvise64_l32.
15993         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15994         Add compat definition to posix_fadvise64.
15995         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15996         Add versioned definition to posix_fadvise64.
15997         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15998         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15999         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
16000         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
16001         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
16003         * io/Makefile (tests): Add tst-posix_fallocate and
16004         tst-posix_fallocate64.
16005         * io/tst-posix_fallocate-common.c: New file.
16006         * io/tst-posix_fallocate.c: Likewise.
16007         * io/tst-posix_fallocate64.c: Likewise.
16008         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
16009         file.
16010         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
16011         Likewise.
16012         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
16013         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
16014         Likewise.
16015         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
16016         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
16017         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
16018         SYSCALL_LL to pass both offset and len arguments.
16019         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
16020         Likewise.
16021         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
16022         __libc_pwrite64 alias used by posix_fallocate64.
16024         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16025         tst-fallocate64.
16026         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16027         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16028         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16029         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16030         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16031         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16032         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16033         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16034         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16035         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16036         macro on offset argument.
16037         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16038         SYSCALL_LL64 on offset argument.
16040         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16041         tst-fallocate64.
16042         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16043         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16044         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16045         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16046         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16047         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16048         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16049         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16050         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16051         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16052         macro on offset argument.
16053         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16054         SYSCALL_LL64 on offset argument.
16055         * test-skeleton.c (FAIL_RET): Add macro.
16056         (FAIL_EXIT): Likewise.
16057         (FAIL_EXIT1): Likewise.
16058         (_FAIL): Likewise.
16060 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16062         [BZ #20629]
16063         resolv: Remove RES_USEBSTRING and its implementation.
16064         * resolv/resolv.h (RES_USEBSTRING): Remove.
16065         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16066         (digitvalue, encode_bitstring, decode_bitstring): Remove.
16067         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16068         (labellen): Remove extended label types support.
16069         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
16070         * resolv/res_init.c (res_setoptions): Likewise.
16071         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16073 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16075         resolv: Remove RES_NOIP6DOTINT and its implementation.
16076         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16077         (RES_NOIP6DOTINT): Remove.
16078         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16079         handling.
16080         * resolv/res_debug.c (p_option): Likewise.
16081         * resolv/res_init.c (res_setoptions): Likewise.
16082         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16084 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16086         resolv: Deprecate unimplemented flags.
16087         * misc/sys/cdefs.h (__glibc_macro_warning1)
16088         (__glibc_macro_warning): Define.
16089         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16090         (RES_KEEPTSIG): Mark as deprecated.
16091         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16092         RES_NOCHECKNAME, RES_KEEPTSIG.
16093         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16095 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16097         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16098         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16099         Use strong_alias to create symbols for glibc verison 2.19.
16101 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16103         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16105 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16107         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16109 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16111         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16113 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16115         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16116         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16117         in header for using it as type for ifunc function because __GI_* symbols
16118         for ppc32 do not target the ifunc symbols.
16119         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16121 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16123         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16124         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16125         libc_ifunc_hidden_def.
16126         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16127         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16128         Redirect ifunced function in header for using it as type of ifunc'ed
16129         function. Redefine libc_hidden_def to use fallback non ifunc'ed
16130         function for __GI_* symbol.
16131         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16132         * include/libc-symbols.h
16133         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16135 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16137         [BZ #20478]
16138         * sysdeps/s390/multiarch/ifunc-resolve.h
16139         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16140         to create ifunc symbols.
16141         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16142         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16143         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16144         for using it as type for ifunc function.
16145         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16146         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16147         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16148         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16149         * sysdeps/s390/multiarch/strcat.c: Likewise.
16150         * sysdeps/s390/multiarch/strchr.c: Likewise.
16151         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16152         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16153         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16154         * sysdeps/s390/multiarch/strlen.c: Likewise.
16155         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16156         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16157         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16158         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16159         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16160         * sysdeps/s390/multiarch/strspn.c: Likewise.
16161         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16162         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16163         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16164         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16165         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16166         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16167         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16168         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16169         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16170         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16171         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16172         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16174 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16176         * include/libc-symbols.h (__ifunc_resolver):
16177         New macro is used by __ifunc* macros.
16178         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16179         depending on HAVE_GCC_IFUNC.
16180         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16181         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16183         Redirect ifunced function in header for using as type for ifunc function.
16184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16190         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16191         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16192         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16193         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16195         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16196         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16203         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16204         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16205         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16206         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16207         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16208         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16209         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16210         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16211         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16212         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16213         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16214         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16215         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16216         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16218         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16219         instead of libc_ifunc() macro.
16220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16223 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16225         * config.h.in (HAVE_GCC_IFUNC): New undef.
16226         * configure.ac: Add check if gcc supports attribute ifunc feature.
16227         * configure: Regenerated.
16228         * manual/install.texi: Add recommendation for gcc with
16229         indirect-function support.
16230         * INSTALL: Regenerated.
16232 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16234         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16235         macro.
16236         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16237         (__iseqsig): New declaration.
16238         * math/s_iseqsig_template.c: New file.
16239         * math/Versions (__iseqsigf): New libm symbol at version
16240         GLIBC_2.25.
16241         (__iseqsig): Likewise.
16242         (__iseqsigl): Likewise.
16243         * math/libm-test.inc (iseqsig_test_data): New array.
16244         (iseqsig_test): New function.
16245         (main): Call iseqsig_test.
16246         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16247         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16248         * manual/libm-err-tab.pl: Update comment on interfaces without
16249         ulps tabulated.
16250         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16251         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16252         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16253         * sysdeps/nacl/libm.abilist: Update.
16254         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16255         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16256         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16257         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16258         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16259         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16260         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16261         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16262         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16263         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16264         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16265         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16267         Likewise.
16268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16269         Likewise.
16270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16271         Likewise.
16272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16273         Likewise.
16274         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16275         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16276         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16277         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16278         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16280         Likewise.
16281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16282         Likewise.
16283         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16284         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16285         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16287 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16289         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16290         do_sincos_2, sloww, sloww1): Update comments.
16292         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16293         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16295         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16296         K boolean and rename it.
16297         (__sin): Adjust.
16298         (__cos): Adjust.
16300 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16301             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16303         * manual/nss.texi: Fix typos in the manual.
16305 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16307         * manual/contrib.texi: Fix typos in the manual.
16309         * manual/maint.texi: Fix typos in the manual.
16311         * manual/install.texi: Fix typos in the manual.
16312         * INSTALL: Regenerated.
16314         * manual/lang.texi: Fix typos in the manual.
16316         * manual/probes.texi: Fix typos in the manual.
16318         * manual/threads.texi: Fix typos in the manual.
16320         * manual/debug.texi: Fix typos in the manual.
16322         * manual/crypt.texi: Fix typos in the manual.
16324         * manual/conf.texi: Fix typos in the manual.
16326         * manual/sysinfo.texi: Fix typos in the manual.
16328         * manual/users.texi: Fix typos in the manual.
16330         * manual/job.texi: Fix typos in the manual.
16332         * manual/process.texi: Fix typos in the manual.
16334         * manual/argp.texi: Fix typos in the manual.
16335         * manual/getopt.texi: Likewise.
16336         * manual/startup.texi: Likewise.
16338         * manual/signal.texi: Fix typos in the manual.
16340         * manual/setjmp.texi: Fix typos in the manual.
16342         * manual/resource.texi: Fix typos in the manual.
16344         * manual/time.texi: Fix typos in the manual.
16346         * manual/arith.texi: Fix typos in the manual.
16348         * manual/math.texi: Fix typos in the manual.
16350         * manual/syslog.texi: Fix typos in the manual.
16352         * manual/terminal.texi: Fix typos in the manual.
16354         * manual/socket.texi: Fix typos in the manual.
16356         * manual/filesys.texi: Fix typos in the manual.
16358         * manual/llio.texi: Fix typos in the manual.
16360         * manual/stdio.text: Fix typos in the manual.
16362 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16364         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16365         instead of K1.
16367         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16368         SHIFT_QUADRANT and make it bool.
16369         (do_sincos_2): Likewise.
16370         (sloww): Likewise.
16371         (sloww1): Likewise.
16372         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16373         (__cos): Likewise.
16375 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16377         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16379 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16381         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16382         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16383         0x7fffffffL].
16384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16386 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16388         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16389         inline by __inline__.
16390         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16391         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16392         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16393         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16394         sigset_t from signal.h.
16395         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16396         which is already required.
16398 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16400         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16402 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16404         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16405         (struct tcp_repair_window): New type.
16407 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16409         * libio/tst-memstream3.c: Include string.h.
16411 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16413         [BZ #18241]
16414         [BZ #20181]
16415         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16416         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16417         write position is at the end the buffer.
16418         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16419         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16420         (_IO_str_seekoff): Set correct offset from negative displacement and
16421         set EINVAL for invalid ones.
16422         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16423         buffer length.
16424         (_IO_wstr_switch_to_get_mode): New function.
16425         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16426         set EINVAL for invalid ones.
16427         * libio/tst-memstream3.c: New file.
16428         * libio/tst-wmemstream3.c: Likewise.
16429         * manual/examples/memstrm.c: Remove warning when priting size_t.
16431 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16433         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16434         macro to use __builtin_fma.
16435         * sysdeps/x86_64/fpu/dla.h: Remove file.
16437         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16438         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16439         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16441 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16443         [BZ #20292]
16444         * elf/Makefile (routines): Add dl-addr-obj.
16445         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16446         tst-_dl_addr_inside_object.
16447         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16448         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16449         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16450         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16451         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16452         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16453         * elf/dl-open.c: Likewise.
16454         * elf/dl-addr-obj.c: New file.
16455         * elf/tst-_dl_addr_inside_object.c: New file.
16457 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16459         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16460         <bits/iscanonical.h>.
16461         * bits/iscanonical.h: New file.
16462         * math/s_iscanonicall.c: Likewise.
16463         * math/Versions (__iscanonicall): New libm symbol at version
16464         GLIBC_2.25.
16465         * math/libm-test.inc (iscanonical_test_data): New array.
16466         (iscanonical_test): New function.
16467         (main): Call iscanonical_test.
16468         * math/Makefile (headers): Add bits/iscanonical.h.
16469         (type-ldouble-routines): Add s_iscanonicall.
16470         * manual/arith.texi (Floating Point Classes): Document
16471         iscanonical.
16472         * manual/libm-err-tab.pl: Update comment on interfaces without
16473         ulps tabulated.
16474         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16475         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16476         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16477         Likewise.
16478         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16479         test-iscanonical-ldbl-128ibm.
16480         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16481         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16482         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16483         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16484         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16485         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16486         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16488         Likewise.
16489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16490         Likewise.
16491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16492         Likewise.
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16494         Likewise.
16495         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16496         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16498 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16500         * string/bits/string3.h: Remove C++ style comments.
16502 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16504         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16505         instead of ternary condition.
16506         (do_sincos_2): Likewise.
16507         (__sin): Likewise.
16508         (__cos): Likewise.
16509         (slow): Likewise.
16510         (sloww): Likewise.
16511         (sloww1): Likewise.
16512         (bsloww): Likewise.
16513         (bsloww1): Likewise.
16515         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16516         instead of ternary condition.
16517         (do_sin_slow): Likewise.
16518         (do_sincos_1): Likewise.
16519         (do_sincos_2): Likewise.
16520         (__cos): Likewise.
16521         (sloww): Likewise.
16522         (sloww1): Likewise.
16523         (sloww2): Likewise.
16524         (bsloww): Likewise.
16525         (bsloww1): Likewise.
16526         (bsloww2): Likewise.
16528         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16529         check from here...
16530         (slow2): ... and here...
16531         (__sin): ... to here.
16533 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16535         * math/math.h
16536         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16537         Cast argument to its own type.
16538         * math/test-iszero-excess-precision.c: New file.
16539         * math/Makefile (tests): Add test-iszero-excess-precision.
16540         (CFLAGS-test-iszero-excess-precision.c): New variable.
16542 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16544         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16545         field, add err field.
16546         (__spawni_child): Report error through err member instead of pipe.
16547         (__spawnix): Likewise.
16549 2016-09-28  Zack Weinberg  <zackw@panix.com>
16551         * scripts/check-installed-headers.sh: Generalize treatment of
16552         sys/elf.h to all target architectures.
16554         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16555         deleted typedef ucontext_t.
16557 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16559         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16560         (__INTERNAL_SYSCALL1): Likewise.
16561         (__INTERNAL_SYSCALL2): Likewise.
16562         (__INTERNAL_SYSCALL3): Likewise.
16563         (__INTERNAL_SYSCALL4): Likewise.
16564         (__INTERNAL_SYSCALL5): Likewise.
16565         (__INTERNAL_SYSCALL6): Likewise.
16566         (__INTERNAL_SYSCALL7): Likewise.
16567         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16568         (__INTERNAL_SYSCALL_NARGS): Likewise.
16569         (__INTERNAL_SYSCALL_DISP): Likewise.
16570         (INTERNAL_SYSCALL_CALL): Likewise.
16571         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16572         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16573         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16574         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16575         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16576         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16577         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16578         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16579         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16580         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16581         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16582         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16583         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16585 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16587         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16588         macro.
16589         * math/libm-test.inc (iszero_test_data): New array.
16590         (iszero_test): New function.
16591         (main): Call iszero_test.
16592         * manual/arith.texi (Floating Point Classes): Document iszero.
16593         * manual/libm-err-tab.pl: Update comment on interfaces without
16594         ulps tabulated.
16596 2016-09-23  Zack Weinberg  <zackw@panix.com>
16598         * scripts/check-installed-headers.sh: New script.
16599         * Rules: In each directory that defines header files to be installed,
16600         run check-installed-headers.sh on them as a special test.
16601         * Makefile: Likewise for the headers installed at top level.
16603         * include/aliases.h, include/alloca.h, include/argz.h
16604         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16605         * include/elf.h, include/envz.h, include/err.h
16606         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16607         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16608         * include/link.h, include/malloc.h, include/mcheck.h
16609         * include/mntent.h, include/netinet/ether.h
16610         * include/nss.h, include/obstack.h, include/printf.h
16611         * include/pty.h, include/resolv.h, include/rpc/auth.h
16612         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16613         * include/rpc/clnt.h, include/rpc/des_crypt.h
16614         * include/rpc/key_prot.h, include/rpc/netdb.h
16615         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16616         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16617         * include/rpc/rpc_msg.h, include/rpc/svc.h
16618         * include/rpc/svc_auth.h, include/rpc/xdr.h
16619         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16620         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16621         * include/rpcsvc/ypupd.h, include/shadow.h
16622         * include/stdio_ext.h, include/sys/epoll.h
16623         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16624         * include/sys/prctl.h, include/sys/profil.h
16625         * include/sys/statfs.h, include/sys/sysctl.h
16626         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16627         * sysdeps/arm/nacl/include/bits/setjmp.h
16628         * sysdeps/mips/include/sys/asm.h
16629         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16630         * sysdeps/unix/sysv/linux/include/sys/timex.h
16631         * sysdeps/x86/fpu/include/bits/fenv.h:
16632         Add #ifndef _ISOMAC guard around internal declarations.
16633         Add multiple-inclusion guard if not already present.
16635 2016-09-23  Zack Weinberg  <zackw@panix.com>
16637         * sysdeps/generic/sys/ucontext.h
16638         * sysdeps/arm/sys/ucontext.h
16639         * sysdeps/i386/sys/ucontext.h
16640         * sysdeps/m68k/sys/ucontext.h
16641         * sysdeps/mips/sys/ucontext.h
16642         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16643         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16644         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16645         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16646         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16647         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16648         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16649         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16650         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16651         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16652         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16653         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16654         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16655         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16656         Include both bits/sigcontext.h and bits/sigstack.h.
16657         Fix grammar error in comment, if present.
16659         * bits/sigstack.h
16660         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16661         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16662         * sysdeps/unix/sysv/linux/bits/sigstack.h
16663         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16664         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16665         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16666         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16667         * bits/sigcontext.h
16668         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16669         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16670         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16671         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16672         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16673         as well as signal.h, if this was not already allowed.  Request
16674         definition of size_t if necessary.  Minimize semantically-null
16675         differences across files.
16677 2016-09-23  Zack Weinberg  <zackw@panix.com>
16679         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16680         Remove all logic conditional on __need macros.  Move all the
16681         conditionally defined types to their own headers...
16682         * time/bits/types/clock_t.h: Define clock_t here.
16683         * time/bits/types/clockid_t.h: Define clockid_t here.
16684         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16685         * time/bits/types/struct_timespec.h: Define struct timespec here.
16686         * time/bits/types/struct_timeval.h: Define struct timeval here.
16687         * time/bits/types/struct_tm.h: Define struct tm here.
16688         * time/bits/types/time_t.h: Define time_t here.
16689         * time/bits/types/timer_t.h: Define timer_t here.
16690         * time/Makefile: Install the new headers.
16692         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16693         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16694         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16695         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16696         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16697         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16698         * sysdeps/unix/sysv/linux/bits/resource.h
16699         * sysdeps/unix/sysv/linux/bits/timex.h
16700         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16701         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16702         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16703         * sysdeps/unix/sysv/linux/sys/acct.h
16704         * sysdeps/unix/sysv/linux/sys/timerfd.h
16705         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16706         * time/sys/time.h, time/sys/timeb.h
16707         Use the new bits/types headers.
16709         * include/time.h: Remove __need logic.
16710         * include/bits/time.h
16711         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16712         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16713         * include/bits/types/struct_itimerspec.h
16714         * include/bits/types/struct_timespec.h
16715         * include/bits/types/struct_timeval.h
16716         * include/bits/types/struct_tm.h:
16717         New wrapper headers.
16719 2016-09-23  Zack Weinberg  <zackw@panix.com>
16721         * sysdeps/mach/hurd/net/if_ppp.h
16722         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16723         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16724         if __USE_MISC is defined, to ensure struct ifreq is declared.
16726         * inet/netinet/ether.h: Condition all function prototypes
16727         on __USE_MISC, to ensure struct ether_addr is declared.
16729         * socket/bits/types/struct_osockaddr.h: New header.
16730         * include/bits/types/struct_osockaddr.h: New wrapper.
16731         * socket/Makefile: Install the new header.
16732         * socket/sys/socket.h, inet/protocols/talkd.h:
16733         Refer to bits/types/struct_osockaddr.h for the definition of
16734         struct osockaddr.
16736 2016-09-23  Zack Weinberg  <zackw@panix.com>
16738         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16739         * inet/protocols/routed.h, inet/protocols/talkd.h
16740         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16741         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16742         * sysdeps/generic/netinet/if_ether.h
16743         * sysdeps/generic/netinet/in_systm.h
16744         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16745         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16746         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16747         * sysdeps/mach/hurd/net/if_arp.h
16748         * sysdeps/mach/hurd/net/if_ppp.h
16749         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16750         * sysdeps/unix/sysv/linux/bits/in.h
16751         * sysdeps/unix/sysv/linux/net/ethernet.h
16752         * sysdeps/unix/sysv/linux/net/if_arp.h
16753         * sysdeps/unix/sysv/linux/net/if_ppp.h
16754         * sysdeps/unix/sysv/linux/net/if_shaper.h
16755         * sysdeps/unix/sysv/linux/net/route.h
16756         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16757         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16758         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16759         * sysdeps/unix/sysv/linux/netipx/ipx.h
16760         * sysdeps/unix/sysv/linux/sys/acct.h
16761         * include/arpa/nameser.h, include/resolv.h:
16762         Change all uses of u_char to unsigned char,
16763         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16764         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16765         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16766         and u_int64_t and u_quad_t to uint64_t.
16768         * mach/sys/reboot.h: Remove two casts of integer literals
16769         to the types they already have.
16771         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16772         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16773         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16774         from referring to 'unsigned char' to 'uint8_t' for consistency with
16775         the macro definition below.
16777         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16778         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16779         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16780         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16781         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16782         * sysdeps/unix/sysv/linux/sys/acct.h
16783         * include/arpa/nameser.h, include/resolv.h:
16784         Fix indentation disrupted by mechanical edits.
16786         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16787         * sysdeps/generic/netinet/in_systm.h
16788         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16789         * sysdeps/gnu/netinet/udp.h
16790         * sysdeps/unix/sysv/linux/net/ethernet.h
16791         * sysdeps/unix/sysv/linux/net/if_arp.h
16792         * sysdeps/unix/sysv/linux/net/if_ppp.h
16793         * sysdeps/unix/sysv/linux/net/if_shaper.h
16794         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16795         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16796         * sysdeps/unix/sysv/linux/netipx/ipx.h
16797         * sysdeps/unix/sysv/linux/sys/acct.h
16798         Include stdint.h for uintNN_t definitions.
16799         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16801 2016-09-23  Zack Weinberg  <zackw@panix.com>
16803         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16804         * sysdeps/unix/sysv/linux/netrose/rose.h:
16805         Include sys/socket.h and netax25/ax25.h.
16807         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16808         * resolv/arpa/nameser_compat.h:
16809         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16811         * sysdeps/unix/sysv/linux/sys/quota.h:
16812         Use __caddr_t instead of caddr_t.
16813         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16814         Use __clockid_t instead of clockid_t.
16816         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16818         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16819         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16820         expanding it.
16822         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16823         Define __glibc_c99_flexarr_available to 1 when the compiler
16824         supports C99-compatible flexible array members, 0 otherwise.
16825         * sysdeps/unix/sysv/linux/bits/socket.h
16826         * sysdeps/mach/hurd/bits/socket.h
16827         * bits/socket.h: Use __glibc_c99_flexarr_available in
16828         definitions of struct cmsghdr and CMSG_DATA.
16830 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16832         * manual/nss.texi (NSS Modules Interface): Adjust function return
16833         type to enum nss_status.  Document errnop argument.  Clarify
16834         h_errnop semantics.  Fix cross-reference formatting.
16835         (NSS Module Function Internals): Mention that *errnop needs to be
16836         set on failure, but not to zero.
16838 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16840         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16841         (get_random_name): New functions.
16842         (check_wrapper_flags_mode): Use linkat to give the new file a name
16843         determined by get_random_name.
16844         (do_test): Add calls to test open64 and openat64.
16846 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16848         * test-skeleton.c: Remove #include <stdarg.h>.
16850 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16852         [BZ #19826]
16853         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16854         initialization of static TLS entries.
16855         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16856         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16858 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16860         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16861         _hurd_malloc_fork_prepare.
16862         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16863         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16864         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16865         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16866         (_hurd_fork_child_hook): Drop malloc_fork_child.
16867         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16868         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16869         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16870         after locking locks (notably hurd_dtable_lock). Call
16871         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16872         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16873         __malloc_fork_unlock_child.
16874         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16876 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16878         * soft-fp/extendhftf2.c: New.
16879         * soft-fp/fixhfti.c: Likewise.
16880         * soft-fp/fixunshfti.c: Likewise.
16881         * soft-fp/floattihf.c: Likewise.
16882         * soft-fp/floatuntihf.c: Likewise.
16883         * soft-fp/half.h: Likewise.
16884         * soft-fp/trunctfhf2.c: Likewise.
16886 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16888         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16889         macro.
16890         * math/libm-test.inc (issubnormal_test_data): New array.
16891         (issubnormal_test): New function.
16892         * manual/arith.texi (Floating Point Classes): Document
16893         issubnormal.
16894         * manual/libm-err-tab.pl: Update comment on interfaces without
16895         ulps tabulated.
16897         * sysdeps/generic/stdint.h: Define
16898         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16899         <bits/libc-header-start.h> instead of including <features.h>.
16900         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16901         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16902         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16904         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16905         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16907         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16908         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16910         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16933         * manual/arith.texi (Integers): Document these macros for types
16934         specified by width properties.
16935         * manual/lang.texi (Width of Type): Document these macros for
16936         other standard typedefs.
16937         * stdlib/tst-width-stdint.c: New file.
16938         * stdlib/Makefile (tests): Add tst-width-stdint.
16940 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16942         [BZ #20016]
16943         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16944         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16945         Move ...
16946         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16947         ... here, as compatibility symbols in a new file.
16948         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16949         * resolv/res_init.c (__res_vinit): Adjust member names.
16950         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16951         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16952         (res_send_rhook): Remove.
16953         (struct __res_state): Rename qhook, rhook members.
16955 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16957         malloc: Use __libc_lock wrappers.
16958         * malloc/arena.c (list_lock, free_list_lock): Define using
16959         __libc_lock_define_initialized.
16960         (arena_lock): Adjust formatting.
16961         * malloc/malloc.c (struct malloc_state): Define mutex using
16962         __libc_lock_define.
16963         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16964         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16965         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16966         (mutex_unlock, mutex_trylock): Remove.
16967         (__pthread_initialize): Remove unused macro.
16968         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16969         (mutex_unlock, mutex_trylock): Remove.
16971 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16973         [BZ #20592]
16974         Remove RR type classification macros.
16975         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16976         (ns_t_udp_p, ns_t_xfr_p): Remove.
16978 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16980         Remove misleading version information.
16981         * resolv/arpa/nameser.h (__NAMESER): Remove.
16982         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16984 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16986         Remove the always-defined BIND_4_COMPAT macro.
16987         * resolv/arpa/nameser.h: Unconditionally include
16988         <arpa/nameser_compat.h>.
16989         (BIND_4_COMPAT): Remove.
16990         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16992 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16994         [BZ #20591]
16995         Remove obsolete DNSSEC support.
16996         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16997         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16998         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16999         (ns_verify_tcp, ns_verify_tcp_init): Remove.
17000         (ns_cert_types): Add comment.
17001         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
17002         separately.
17003         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
17004         (dst_s_dns_key_id): Remove.
17005         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
17006         variables.
17008 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17010         [BZ #20524]
17011         * manual/string.texi (String/Array Comparison): Clarify the
17012         strverscmp behavior.
17014 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17016         * test-skeleton.c (xasprintf): Add function.
17017         * io/tst-open-tmpfile.c: New test.
17018         * io/Makefile (tests): Add it.
17020 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17022         Avoid running $(CXX) during build to obtain header file paths.
17023         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
17024         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
17025         * Makerules (cstdlib, cmath): Remove variables.  Use
17026         $(c++-cstdlib-header), $(c++-cmath-header) instead.
17027         * configure: Regenerate.
17029 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17031         * Makeconfig (all-object-suffixes): Include .op only if
17032         $(build-profile).
17034 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17036         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
17037         conditionals.  Do not define PATH_MAX.
17039 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17041         * posix/Makefile (tests): Add tst-spawn3.
17042         * posix/tst-spawn3.c: New file.
17043         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
17044         if it is already opened for open action.
17046         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
17047         all signals when executing the clone vfork child.
17048         (SIGALL_SET): Remove macro.
17050         * nptl/Makefile (tests): Add tst-exec5.
17051         * nptl/tst-exec5.c: New file.
17052         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
17053         asynchronous cancellation.
17055 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17057         * hurd/exc2signal.c: #include <hurd/signal.h>
17058         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
17059         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
17060         accordingly.
17061         * mach/mach_error.c (mach_error): Fix old-style function definition.
17062         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17064 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17066         * math/Makefile (libm-calls): Remove s_nanF.
17067         (gen-libm-calls): Add s_nanF.
17069         * math/s_nan.c: Refactor into ...
17070         * math/s_nan_template.c: New file.
17072         * math/s_nanf.c: Removed.
17073         * math/s_nanl.c: Removed.
17074         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17075         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17077         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17078         (LDOUBLE_nanl_libm_version): New macro.
17080         * sysdeps/generic/math-type-macros-double.h:
17081         (M_STRTO_NAN): New macro.
17082         * sysdeps/generic/math-type-macros-float.h: Likewise.
17083         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17085         * sysdeps/generic/math-type-macros.h: Document
17086         M_STRTO_NAN.
17088 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17090         * math/s_nanf.c: Remove __nanf undef.
17091         * math/s_nan.c: Remove __nan undef.
17092         * math/s_nanl.c: Remove __nanl undef.
17094         * sysdeps/generic/math_private.h (__nan): Remove macro
17095         override.
17096         (__nanf): Likewise.
17097         (__nanl): Likewise.
17099 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17101         * math/Makefile (gen-all-calls): New variable.
17102         (generated): Replace gen-libm-calls with gen-all-calls.
17103         (gen-libm-templates.stmp): Likewise.  Also, ensure
17104         the output directory exists or is created and add
17105         dependency on the Makefile.
17106         (calls): Move s_ldexpF into gen-calls.
17107         (gen-calls): New variable.
17109         * math/s_ldexpf.c: Removed.
17110         * math/s_ldexpl.c: Removed.
17111         * math/s_ldexp.c: Refactored into ...
17112         * math/s_ldexp_template.c: New file.
17114         * sysdeps/generic/math-type-macros-double.h: Remove
17115         redundant fall-through definition of declare_mgen_alias.
17116         (declare_mgen_alias_2): New macro.
17118         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17119         New macro for function aliased to two exported symbols.
17121         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17122         new template file.
17123         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17125 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17127         * Makeconfig (all-object-suffixes): Remove .og.
17128         * Makerules (elide-routines.og): Remove.
17129         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17130         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17131         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17133 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17135         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17136         .os objects.
17138 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17140         [BZ #20615]
17141         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17142         fpu directory by non-fpu.
17143         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17144         on non-fpu directory from a fpu directory.
17146 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
17148         * include/limits.h: Define
17149         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17150         <bits/libc-header-start.h> instead of including <features.h>.
17151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17162         * manual/lang.texi (Width of Type): Document these macros.
17163         * stdlib/tst-width.c: New file.
17164         * stdlib/Makefile (tests): Add tst-width.
17166 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17168         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17169         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17171 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17173         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17174         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17175         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17177 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17179         [BZ #18243]
17180         * rt/Makefile (test): Add tst-shm-cancel.
17181         * rt/tst-shm-cancel.c: New file.
17182         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17184         [BZ #18243]
17185         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17186         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17187         definition.
17188         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17189         uncontended case.
17190         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17191         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17192         (tf): Fix check for uncontended case.
17193         (do_test): Likewise.
17194         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17195         (tf): Fix check for uncontended case.
17196         (do_test): Likewise.
17197         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17198         (tf): Fix check for uncontended case.
17199         (do_test): Likewise.
17200         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17201         (tf): Fix check for uncontended case.
17202         (do_test): Likewise.
17204         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17205         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17207         [BZ #15765]
17208         * nptl/Makefile (tests): Add tst-sem16.
17209         * nptl/tst-sem16.c: New file.
17210         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17212         * nptl/sem_open.c (sem_open): Init pad value to 0.
17213         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17214         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17216 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17218         [BZ #20611]
17219         * inet/Makefile (routines): Add inet6_scopeid_pton.
17220         (tests): Add tst-inet6_scopeid_pton.
17221         * inet/inet6_scopeid_pton.c: New file.
17222         * inet/net-internal.h: Likewise.
17223         * inet/tst-inet6_scopeid_pton.c: New test.
17224         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17225         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17228 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17230         Remove support for compiling wrappers with PTW.
17231         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17232         * nptl/Makefile (pthread-compat-wrappers): Define.
17233         (libpthread-routines): Use pthread-compat-wrappers.
17234         * sysdeps/unix/sysv/linux/alpha/Makefile
17235         (libpthread-routines, libpthread-shared-only-routines): Remove
17236         ptw- prefix.
17237         * sysdeps/s390/nptl/Makefile
17238         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17239         * sysdeps/ia64/nptl/Makefile
17240         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17241         * sysdeps/nacl/Makefile (libpthread-routines): Use
17242         pthread-compat-wrappers to filter the routines list instead of the
17243         ptw- prefix.
17245 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17247         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17248         with L() and remove explicit suffix, convert real literals
17249         which can be equivalentally substituted with integers, and
17250         transform -L(x) to L(-x).
17252         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17253         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17254         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17255         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17256         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17257         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17258         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17259         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17260         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17265         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17266         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17267         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17268         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17269         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17270         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17271         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17272         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17273         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17274         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17275         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17276         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17277         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17278         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17279         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17280         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17281         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17282         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17283         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17284         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17285         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17286         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17287         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17288         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17289         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17290         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17291         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17292         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17293         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17294         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17295         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17296         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17297         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17298         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17299         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17300         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17301         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17303 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17305         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17307 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17309         * malloc/Makefile (tests): Remove individual static test names
17310         and just add all of tests-static.
17312         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17314 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17316         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17317         file.
17319         * sysdeps/sparc/fpu/fegetmode.c: New file.
17320         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17322         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17323         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17325         * sysdeps/s390/fpu/fegetmode.c: New file.
17326         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17328         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17329         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17330         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17331         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17332         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17333         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17335         * sysdeps/mips/fpu/fegetmode.c: New file.
17336         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17338         * sysdeps/m68k/fpu/fegetmode.c: New file.
17339         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17341         * sysdeps/ia64/fpu/fegetmode.c: New file.
17342         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17344         * sysdeps/hppa/fpu/fegetmode.c: New file.
17345         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17347         * sysdeps/arm/fegetmode.c: New file.
17348         * sysdeps/arm/fesetmode.c: Likewise.
17350         * sysdeps/alpha/fpu/fegetmode.c: New file.
17351         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17353         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17354         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17356         * math/fegetmode.c: New file.
17357         * math/fesetmode.c: Likewise.
17358         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17359         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17360         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17361         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17362         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17364         declaration.
17365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17366         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17367         typedef.
17368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17369         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17370         (femode_t): New typedef.
17371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17372         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17373         (femode_t): New typedef.
17374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17375         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17376         (femode_t): New typedef.
17377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17378         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17379         (femode_t): New typedef.
17380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17381         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17382         (femode_t): New typedef.
17383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17384         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17385         (femode_t): New typedef.
17386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17387         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17388         (femode_t): New typedef.
17389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17390         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17391         (femode_t): New typedef.
17392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17393         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17394         (femode_t): New typedef.
17395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17396         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17397         (femode_t): New typedef.
17398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17399         declaration.
17400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17401         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17402         (femode_t): New typedef.
17403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17404         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17405         (femode_t): New typedef.
17406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17407         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17408         (femode_t): New typedef.
17409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17410         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17411         (femode_t): New typedef.
17412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17413         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17414         (femode_t): New typedef.
17415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17416         * manual/arith.texi (FE_DFL_MODE): Document macro.
17417         (fegetmode): Document function.
17418         (fesetmode): Likewise.
17419         * math/Versions (fegetmode): New libm symbol at version
17420         GLIBC_2.25.
17421         (fesetmode): Likewise.
17422         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17423         (tests): Add test-femode and test-femode-traps.
17424         * math/test-femode-traps.c: New file.
17425         * math/test-femode.c: Likewise.
17426         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17427         alias for __fe_dfl_env.
17428         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17429         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17430         (__fe_dfl_mode): Likewise.
17431         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17432         version GLIBC_2.25.
17433         * sysdeps/nacl/libm.abilist: Update.
17434         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17435         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17436         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17437         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17438         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17439         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17440         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17441         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17442         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17443         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17444         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17445         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17447         Likewise.
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17449         Likewise.
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17451         Likewise.
17452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17453         Likewise.
17454         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17455         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17456         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17457         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17458         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17460         Likewise.
17461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17462         Likewise.
17463         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17464         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17465         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17467 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17469         [BZ #20495]
17470         [BZ #20508]
17471         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17472         processors, set Use_dl_runtime_resolve_slow and set
17473         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17474         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17475         New.
17476         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17477         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17478         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17479         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17480         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17481         if Use_dl_runtime_resolve_opt is set.  Use
17482         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17483         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17484         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17485         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17486         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17487         New.
17488         (_dl_runtime_resolve_opt): Likewise.
17489         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17490         defined.
17492 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17494         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17495         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17497 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17499         Convert malloc to __libc_lock.  Automated part, using this Perl
17500         s/// command:
17501           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17502             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17503         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17504         conversion.
17506 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17508         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17509         (linknamespace-symlists-tests): Likewise.
17510         (linknamespace-header-tests): Likewise.
17512 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17514         [BZ #19810]
17515         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17516         * elf/tst-noload.c: New test case.
17517         * elf/Makefile (tests): Add tst-noload.
17519 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17521         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17523         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17524         not any more.
17526         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17528 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17530         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17531         (do_cos_slow): Likewise.
17532         (do_sin): Likewise.
17533         (do_sin_slow): Likewise.
17534         (slow): Likewise.
17535         (slow1): Likewise.
17536         (slow2): Likewise.
17537         (sloww): Likewise.
17538         (sloww1): Likewise.
17539         (sloww2): Likewise.
17540         (bsloww): Likewise.
17541         (bsloww1): Likewise.
17542         (bsloww2): Likewise.
17543         (cslow2): Likewise.
17545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17547         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17548         arguments.  Consolidate input partitioning from callers here.
17549         (do_cos_slow): Likewise.
17550         (do_sin): Likewise.
17551         (do_sin_slow): Likewise.
17552         (do_sincos_1): Remove the no longer necessary input partitioning.
17553         (do_sincos_2): Likewise.
17554         (__sin): Likewise.
17555         (__cos): Likewise.
17556         (slow1): Likewise.
17557         (slow2): Likewise.
17558         (sloww1): Likewise.
17559         (sloww2): Likewise.
17560         (bsloww1): Likewise.
17561         (bsloww2): Likewise.
17562         (cslow2): Likewise.
17564 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17566         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17567         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17568         outside of allocated array.
17570 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17572         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17573         instead of MB_CUR_MAX to avoid variable-length array.
17575 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17577         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17578         (type-double-routines): Add k_rem_pio2.
17579         (type-float-routines): Add k_rem_pio2f.
17581         * sysdeps/generic/math_private.h:
17582         (__kernel_rem_pio2l): Removed.
17584         * math/k_rem_pio2l.c: Removed.
17585         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17586         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17587         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17588         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17590 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17592         * math/Makefile (gen-libm-calls): Add s_fmin
17593         (libm-calls): Remove above.
17595         * math/s_fmin.c: Refactor into ...
17596         * math/s_fmin_template.c: New file.
17598         * math/s_fminf.c: Removed.
17599         * math/s_fminl.c: Removed.
17600         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17601         (LDOUBLE_fmin_libm_version): New macro.
17603         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17604         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17606 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17608         * math/Makefile: (gen-libm-calls): Add s_fmax.
17609         (libm-calls): Remove above.
17611         * math/s_fmax.c: Refactor into ...
17612         * math/s_fmax_template.c: New file.
17613         * math/s_fmaxf.c: Removed.
17614         * math/s_fmaxl.c: Removed.
17616         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17617         (LDOUBLE_fmaxl_libm_version): New macro.
17619         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17620         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17622         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17623         s_fmin.c to pick the aarch64 version of the file.
17624         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17625         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17627 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17629         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17630         (libm-calls): Remove above.
17632         * math/s_nextdown.c: Refactor into ...
17633         * math/s_nextdown_template.c: New file.
17634         * math/s_nextdownf.c: Removed.
17635         * math/s_nextdownl.c: Removed.
17637         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17639 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17641         * math/Makefile (gen-libm-calls): Add s_fdim.
17642         (libm-calls): Move to above.
17644         * math/s_fdim.c: Renamed and refactored into to ...
17645         * math/s_fdim_template.c: New file.
17646         * math/s_fdiml.c: Removed.
17647         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17648         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17650         * sysdeps/generic/math-type-macros-double.h:
17651         (declare_mgen_alias): Don't declare if already declared.
17652         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17653         Likewise.
17655         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17656         (declare_mgen_alias): Don't declare if already declared.
17657         (M_LIBM_NEED_COMPAT): Likewise.
17658         (declare_mgen_libm_compat): Likewise.
17659         (LDOUBLE_fdiml_libm_version): New macro.
17661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17662         Include math/s_fdim.c now that ldbl-opt version is not needed.
17663         (declare_mgen_alias): New macro to disable aliasing.
17665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17666         (declare_mgen_alias): Likewise.
17667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17668         (declare_mgen_alias): Likewise.
17669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17670         (declare_mgen_alias): Likewise.
17671         (M_LIBM_NEED_COMPAT): Likewise.
17673 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17675         [BZ #20525]
17676         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17677         Include <linux/quota.h>.
17678         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17679         and btodb.
17680         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17681         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17682         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17683         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17684         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17685         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17686         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17687         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17688         types.
17689         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17690         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17692 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17694         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17695         (gammal_positive): Fix spacing.
17696         (__ieee754_gammal_r): Likewise.
17698 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17700         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17701         (_Float128): Define as long double, always.
17702         (L): Apply long double type suffix, always.
17704         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17705         _Float128, excepting comments.
17707         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17708         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17709         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17710         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17711         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17712         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17713         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17714         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17715         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17716         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17717         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17718         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17719         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17721         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17722         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17723         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17726         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17728         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17739         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17743         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17745         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17746         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17747         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17749         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17750         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17752         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17753         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17754         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17758         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17760         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17761         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17762         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17765         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17766         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17767         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17768         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17769         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17770         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17771         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17772         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17773         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17774         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17776         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17777         _Float128, and include math_private.h.
17778         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17780         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17781         long double semantics.
17782         (_Float128): Likewise.
17783         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17784         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17785         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17786         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17788 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17790         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17791         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17792         * sysdeps/s390/configure: Regenerated.
17793         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17794         instruction for raising over-/underflow if z196 zarch is supported
17795         by default.
17796         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17798 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17800         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17801         it point to a dumb buffer for RPC to fill it.
17803 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17805         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17806         instead of if/else.
17807         (do_sin_slow): Likewise.
17808         (do_sincos_1): Use fabs instead of if/else.
17809         (do_sincos_2): Likewise.
17810         (__sin): Likewise.
17811         (__cos): Likewise.
17812         (slow2): Likewise.
17813         (sloww): Likewise.
17814         (sloww1): Likewise.  Drop argument M.
17815         (sloww2): Use fabs instead of if/else.
17816         (bsloww): Likewise.
17817         (bsloww1): Likewise.
17818         (bsloww2): Likewise.
17820         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17821         fall through comment.
17822         (do_sincos_1): Likewise.
17824         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17825         Consolidate switch cases 0 and 2.
17827 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17829         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17830         (libm-calls): Remove the above.
17832         * math/s_cexp_template.c: Update using type-generic macros.
17833         * math/s_clog10_template.c: Likewise.
17834         * math/s_cpow_template.c: Likewise.
17835         * math/s_clog_template.c: Likewise.
17836         * math/s_cproj_template.c: Likewise.
17837         * math/s_csqrt_template.c: Likewise.
17839         * math/s_cexp.c: Removed.
17840         * math/s_cexpf.c: Removed.
17841         * math/s_cexpl.c: Removed.
17842         * math/s_clog10.c: Removed.
17843         * math/s_clog10f.c: Removed.
17844         * math/s_clog10l.c: Removed.
17845         * math/s_cpow.c: Removed.
17846         * math/s_cpowf.c: Removed.
17847         * math/s_cpowl.c: Removed.
17848         * math/s_clog.c: Removed.
17849         * math/s_clogf.c: Removed.
17850         * math/s_clogl.c: Removed.
17851         * math/s_cproj.c: Removed.
17852         * math/s_cprojf.c: Removed.
17853         * math/s_cprojl.c: Removed.
17854         * math/s_csqrt.c: Removed.
17855         * math/s_csqrtf.c: Removed.
17856         * math/s_csqrtl.c: Removed.
17858         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17859         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17860         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17861         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17862         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17863         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17865         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17866         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17867         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17868         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17869         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17870         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17871         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17872         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17873         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17874         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17875         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17877         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17878         version.
17880         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17881         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17882         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17883         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17885 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17887         * s_cexp_template.c: Copy of s_cexp.c.
17888         * s_clog_template.c: Copy of s_clog.c.
17889         * s_clog10_template.c: Copy of s_clog10.c.
17890         * s_cpow_template.c: Copy of s_cpow.c.
17891         * s_cproj_template.c: Copy of s_cproj.c.
17892         * s_csqrt_template.c: Copy of s_csqrt.c.
17894 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17896         [BZ #20517]
17897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17898         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17899         exported.
17901 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17903         * math/fetestexceptflag.c: New file.
17904         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17905         Stefan Liebler.
17906         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17907         (fetestexceptflag): New function declaration.
17908         * manual/arith.texi (fetestexceptflag): Document function.
17909         * math/Versions (fetestexceptflag): New libm symbol at version
17910         GLIBC_2.25.
17911         * math/Makefile (libm-support): Add fetestexceptflag.
17912         (tests): Add test-fetestexceptflag.
17913         * math/test-fetestexceptflag.c: New file.
17914         * sysdeps/nacl/libm.abilist: Update.
17915         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17916         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17917         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17918         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17919         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17920         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17921         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17922         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17923         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17924         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17925         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17926         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17928         Likewise.
17929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17930         Likewise.
17931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17932         Likewise.
17933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17934         Likewise.
17935         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17936         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17937         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17938         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17939         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17941         Likewise.
17942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17943         Likewise.
17944         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17945         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17946         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17948 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17950         [BZ #20432]
17951         Avoid strong references to malloc-internal symbols when linking
17952         statically, to support statically interposed mallocs.
17953         * include/libc-symbols.h (call_function_static_weak): New macro.
17954         * malloc/Makefile (tests): Add tst-interpose-nothread,
17955         tst-interpose-thread, tst-interpose-static-nothread,
17956         tst-interpose-static-thread.
17957         (tests-static): Add tst-interpose-static-nothread,
17958         tst-interpose-static-thread.
17959         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17960         tst-interpose-aux-thread.o.
17961         (test-extras): Add tst-interpose-aux-nothread,
17962         tst-interpose-aux-thread.
17963         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17964         tst-interpose-aux-nothread.o.
17965         (tst-interpose-thread, tst-interpose-static-thread): Link with
17966         tst-interpose-aux-thread.o and libthread.
17967         * malloc/tst-interpose-aux-nothread.c: New file.
17968         * malloc/tst-interpose-aux-thread.c: Likewise.
17969         * malloc/tst-interpose-aux.c: Likewise.
17970         * malloc/tst-interpose-aux.h: Likewise.
17971         * malloc/tst-interpose-nothread.c: Likewise.
17972         * malloc/tst-interpose-skeleton.c: Likewise.
17973         * malloc/tst-interpose-static-nothread.c: Likewise.
17974         * malloc/tst-interpose-static-thread.c: Likewise.
17975         * malloc/tst-interpose-thread.c: Likewise.
17976         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17977         * sysdeps/mach/hurd/fork.c (__fork): Only call
17978         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17979         __malloc_fork_unlock_child if defined.
17980         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17982 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17984         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17985         timespec C99 designated initialization.
17987 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17989         [BZ #19946]
17990         Avoid expected SIGALRM signals.
17991         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17992         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17993         (xpthread_create, xpthread_detach, xpthread_join)
17994         (delayed_exit_thread, delayed_exit): New functions.
17995         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17996         (tf): Use xpthread_cond_wait.
17997         (do_test): Likewise.  Replace alarm with delayed_exit.
17998         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17999         (do_test): Call delayed_exit.  Report failure.
18000         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18001         (do_test): Call delayed_exit.
18002         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18003         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
18004         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18005         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
18006         error.
18007         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18008         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
18009         error.
18010         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
18011         (do_test): Call delayed_exit.
18012         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
18013         (do_test): Call delayed_exit.
18014         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
18015         (do_test): Call delayed_exit instead of alarm.  Use
18016         xpthread_mutex_lock.
18017         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
18018         (do_test): Call delayed_exit instead of alarm.  Use
18019         xpthread_mutex_lock.
18020         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
18021         (do_test): Call delayed_exit instead of alarm.
18022         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
18023         (do_test): Call delayed_exit instead of alarm.  Use
18024         xpthread_spin_lock.
18025         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
18026         (do_test): Call delayed_exit instead of alarm.  Use
18027         xpthread_join.
18029 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18031         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
18032         adjust CFA when allocating register save area on re-aligned
18033         stack.
18035 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18037         * string/tst-cmp.c: New test.
18038         * string/Makefile (tests): Add it.
18040 2016-08-25  Mark Wielaard  <mark@klomp.org>
18042         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
18043         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
18044         (check_tree_recurse): Use newly defined accessors.
18045         (check_tree): Likewise.
18046         (maybe_split_for_insert): Likewise.
18047         (__tfind): Likewise.
18048         (__tdelete): Likewise.
18049         (trecurse): Likewise.
18050         (tdestroy_recurse): Likewise.
18051         (__tsearch): Likewise. And add asserts for malloc alignment.
18052         (__twalk): Cast root to node in case CHECK_TREE is defined.
18054 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18056         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
18058 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18060         * math/Makefile (libm-gen-calls): Add
18061         catan, catanh, ctan, ctanh.
18062         (libm-calls): Remove the above.
18064         * math/s_catan_template.c: Update using type-generic macros.
18065         * math/s_catanh_template.c: Likewise.
18066         * math/s_ctan_template.c: Likewise.
18067         * math/s_ctanh_template.c: Likewise.
18069         * math/s_catanf.c: Removed.
18070         * math/s_catan.c: Removed.
18071         * math/s_catanl.c: Removed.
18072         * math/s_catanhf.c: Removed.
18073         * math/s_catanh.c: Removed.
18074         * math/s_catanhl.c: Removed.
18075         * math/s_ctanf.c: Removed.
18076         * math/s_ctan.c: Removed.
18077         * math/s_ctanl.c: Removed.
18078         * math/s_ctanhf.c: Removed.
18079         * math/s_ctanh.c: Removed.
18080         * math/s_ctanhl.c: Removed.
18082         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18083         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18084         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18085         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18086         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18087         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18089         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18090         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18091         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18092         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18094 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18096         * s_catan_template.c: Copy of s_catan.c.
18097         * s_catanh_template.c: Copy of s_catanh.c.
18098         * s_ctan_template.c: Copy of s_ctan.c.
18099         * s_ctanh_template.c: Copy of s_ctanh.c.
18101 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18103         * math/Makefile (gen-libm-calls): Move
18104         casin, casinh, csin, csinh here.
18105         (libm-calls): Remove the above.
18107         * math/s_casin_template.c: Update using type-generic macros.
18108         * math/s_casinh_template.c: Likewise.
18109         * math/s_csin_template.c: Likewise.
18110         * math/s_csinh_template.c: Likewise.
18111         * math/k_casinh_template.c: Likewise.
18113         * math/s_casinf.c: Removed.
18114         * math/s_casin.c: Removed.
18115         * math/s_casinl.c: Removed.
18116         * math/s_casinh.c: Removed.
18117         * math/s_casinhf.c: Removed.
18118         * math/s_casinhl.c: Removed.
18119         * math/s_csin.c: Removed.
18120         * math/s_csinf.c: Removed.
18121         * math/s_csinl.c: Removed.
18122         * math/s_csinh.c: Removed.
18123         * math/s_csinhf.c: Removed.
18124         * math/s_csinhl.c: Removed.
18125         * math/k_casinh.c: Removed.
18126         * math/k_casinhf.c: Removed.
18127         * math/k_casinhl.c: Removed.
18129         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18130         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18131         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18132         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18134         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18135         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18136         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18137         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18138         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18139         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18140         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18141         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18143         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18144         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18145         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18146         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18148         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18149         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18150         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18151         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18153 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18155         * s_casin_template.c: Copy of s_casin.c.
18156         * s_casinh_template.c: Copy of s_casinh.c.
18157         * s_csin_template.c: Copy of s_csin.c.
18158         * s_csinh_template.c: Copy of s_csinh.c.
18159         * k_casinh_template.c: Copy of k_casinh.c.
18161 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18163         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18165 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18167         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18168         (mul_split) Remove, rename as mul_splitl, remove
18169         redundant float.h include, and include via mul_splitl.h
18171         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18172         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18173         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18174         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18175         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18177         * math/mul_splitl.h: New file.
18179         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18180         Move into mul_split.h, and remove redundant float.h include.
18182         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18183         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18184         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18185         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18187         * math/mul_split.h: New file.
18189 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18191         * math/Makefile (libm-gen-calls): Move
18192         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18193         (libm-calls): Remove above.
18195         * math/s_cacos_template.c: Update using type-generic macros.
18196         * math/s_cacosh_template.c: Likewise.
18197         * math/s_ccos_template.c: Likewise.
18198         * math/s_ccosh_template.c: Likewise.
18200         * math/s_cacosf.c: Removed.
18201         * math/s_cacos.c: Removed.
18202         * math/s_cacosl.c: Removed.
18203         * math/s_cacoshf.c: Removed.
18204         * math/s_cacosh.c: Removed.
18205         * math/s_cacoshl.c: Removed.
18206         * math/s_ccosf.c: Removed.
18207         * math/s_ccos.c: Removed.
18208         * math/s_ccosl.c: Removed.
18209         * math/s_ccoshf.c: Removed.
18210         * math/s_ccosh.c: Removed.
18211         * math/s_ccoshl.c: Removed.
18213         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18214         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18215         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18216         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18217         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18218         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18220         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18221         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18222         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18223         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18225         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18226         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18227         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18228         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18230 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18232         * s_cacos_template.c: Copy of s_cacos.c.
18233         * s_cacosh_template.c: Copy of s_cacosh.c.
18234         * s_ccos_template.c: Copy of s_ccos.c.
18235         * s_ccosh_template.c: Copy of s_ccosh.c.
18237 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18239         * stdlib/tst-strtod-round-skeleton.c:
18240         Refactored from tst-strtod-round.c.
18242         (L_): New macro to apply literal modifier.
18243         (FNPFX): New macro to select str or wcs prefix.
18244         (CHAR): New macro to choose wchar_t or char.
18245         (STRM): New macro to choose printf for tested character type.
18247         (STRTO): New macro to choose appropriate string -> real function.
18248         (FNPFXS): Stringitized version of FNPFX.
18249         (STR): Support for above macro.
18250         (STRX): Likewise.
18252         (TEST): Update with above macros.
18253         (test): Likewise.
18254         (GEN_ONE_TEST): Likewise.
18255         (test_in_one_mode): Likewise.
18257         * stdlib/tst-strtod-round.c: New file.
18258         * wcsmbs/tst-wcstod-round.c: New file.
18260         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18261         (tst-wcstod-round): Add libm depencency for fesetround.
18263 2016-08-19  Zack Weinberg  <zackw@panix.com>
18265         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18267 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18269         [BZ #20477]
18270         * resolv/res_hconf.c (do_init): Use atomic access.
18271         * resolv/res_hconf.h: Add comments.
18272         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18273         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18276 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18278         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18279         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18281         Likewise.
18283 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18285         [BZ #16907]
18286         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18287         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18288         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18289         (__attribute__): Remove definition.
18291 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18293         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18294         Remove unused sqrtl declaration.
18296 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18298         * math/Makefile: (gen-libm-templates.stmp): New rule.
18299         (libm-calls): Move carg conj cimag and cabs into ...
18300         (gen-libm-calls): New variable.
18301         (generated): Inform Make objects from gen-libm-calls
18302         may be generated.
18304         * sysdeps/generic/math-type-macros.h: New file.
18305         * sysdeps/generic/math-type-macros-float.h: Likewise.
18306         * sysdeps/generic/math-type-macros-double.h: Likewise.
18307         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18308         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18309         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18311         * math/cabs.c: Refactor into
18312         * math/cabs_template.c: new file.
18313         * math/cabsf.c: Removed.
18314         * math/cabsl.c: Removed.
18315         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18316         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18318         * math/carg.c: Refactor into
18319         * math/carg_template.c: new file.
18320         * math/cargf.c: Removed.
18321         * math/cargl.c: Removed.
18322         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18323         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18325         * math/conj.c: Refactor into
18326         * math/conj_template.c: new file.
18327         * math/conjf.c: Removed.
18328         * math/conjl.c: Removed.
18329         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18330         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18332         * math/cimag.c: Refactor into
18333         * math/cimag_template.c: new file.
18334         * math/cimagf.c: Removed.
18335         * math/cimagl.c: Removed.
18336         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18337         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18339         * math/cimag.c: Refactor into
18340         * math/cimag_template.c: new file.
18341         * math/cimagf.c: Removed.
18342         * math/cimagl.c: Removed.
18343         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18344         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18346 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18348         Reduce time to expected nptl/tst-once5 failure.
18349         * nptl/tst-once5.cc (TIMEOUT): Define.
18351 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18353         [BZ #20452]
18354         Avoid additional copies of objects in libc.a in static libraries.
18355         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18356         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18357         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18358         rt-sysdep.
18359         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18360         Add nptl-sysdep.
18361         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18362         Add ptw-sysdep.
18363         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18364         rt-sysdep.
18365         * sysdeps/unix/sysv/linux/alpha/Makefile
18366         (libpthread-shared-only-routines): Add ptw-sysdep,
18367         ptw-sigprocmask, ptw-rt_sigaction.
18368         * sysdeps/unix/sysv/linux/ia64/Makefile
18369         (librt-shared-only-routines): Add rt-sysdep.
18370         * sysdeps/unix/sysv/linux/i386/Makefile
18371         (libpthread-shared-only-routines): Add libc-do-syscall.
18372         * sysdeps/unix/sysv/linux/microblaze/Makefile
18373         (libpthread-shared-only-routines): Add sysdep.
18374         * sysdeps/unix/sysv/linux/powerpc/Makefile
18375         (librt-shared-only-routines): Add rt-sysdep.
18376         (libpthread-shared-only-routines): Add sysdep.
18377         * sysdeps/unix/sysv/linux/s390/Makefile
18378         (librt-shared-only-routines): Add rt-sysdep.
18379         * sysdeps/unix/sysv/linux/sparc/Makefile
18380         (librt-shared-only-routines): Add rt-sysdep.
18381         (libpthread-shared-only-routines): Add sysdep.
18382         * sysdeps/unix/sysv/linux/tile/Makefile
18383         (libpthread-shared-only-routines): Likewise.
18385 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18387         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18388         Mask implicit bit out of unpacked value.
18389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18393         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18395         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18397         * sysdeps/s390/fpu/fesetexcept.c: New file.
18399         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18400         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18401         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18403         * sysdeps/mips/fpu/fesetexcept.c: New file.
18405         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18407         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18409         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18411         * sysdeps/arm/fesetexcept.c: New file.
18413         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18415         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18417         * math/fesetexcept.c: New file.
18418         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18419         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18420         * math/fenv.h: Define
18421         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18422         <bits/libc-header-start.h> instead of including <features.h>.
18423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18424         declaration.
18425         * manual/arith.texi (fesetexcept): Document function.
18426         * math/Versions (fesetexcept): New libm symbol at version
18427         GLIBC_2.25.
18428         * math/Makefile (libm-support): Add fesetexcept.
18429         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18430         * math/test-fesetexcept.c: New file.
18431         * math/test-fesetexcept-traps.c: Likewise.
18432         * sysdeps/nacl/libm.abilist: Update.
18433         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18434         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18435         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18436         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18437         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18438         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18439         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18440         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18441         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18442         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18443         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18444         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18446         Likewise.
18447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18448         Likewise.
18449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18450         Likewise.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18452         Likewise.
18453         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18454         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18455         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18456         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18457         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18459         Likewise.
18460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18461         Likewise.
18462         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18463         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18464         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18466 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18468         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18469         New.
18470         (do_test): Apply default_stack_size_in_mb if not set.
18471         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18473 2016-08-15  Andreas Schwab  <schwab@suse.de>
18475         [BZ #20435]
18476         CVE-2016-6323
18477         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18478         as .cantunwind.
18480 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18482         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18483         comment from fraiseexcpt.c.
18485         * math/test-fexcept.c (feraiseexcept_exact): New function.
18486         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18487         (test_except): Likewise.
18489 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18491         [BZ #20455]
18492         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18493         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18494         to be restored.
18496         * math/test-fexcept-traps.c: New file.
18497         * math/test-fexcept.c: Likewise.
18498         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18499         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18500         macro.
18501         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18502         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18504 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18506         * include/atomic.h (atomic_fetch_and_relaxed,
18507         atomic_fetch_and_release, atomic_fetch_or_release,
18508         atomic_fetch_xor_release): New.
18510 2016-08-06  Christian Seiler  <christian@iwakd.de>
18512         [BZ #20444]
18513         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18514         MACH_PORT_NULL.
18516 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18518         * math/s_fdim.c: Avoid alias renamed.
18519         * math/s_fdimf.c: Likewise.
18520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18521         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18522         Add s_fdimf-vis3, s_fdim-vis3.
18523         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18524         (CFLAGS-s_fdim-vis3.c): Likewise.
18525         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18526         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18528 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18531         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18532         Remove s_fdimf-vis3, s_fdim-vis3.
18533         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18534         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18541         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18542         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18544 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18546         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18547         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18548         -Wa,-Av9a -mvis.
18550 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18552         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18553         LIT() to individual constants in simple expressions
18554         after splitting on spaces.
18555         (_apply_lit): Rename replaced version, and use it to
18556         apply to what appears to be a token.
18558         * math/libm-test.inc: Fix many, many issues with
18559         spacing.
18561 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18563         * math/math.h: Move comment about <bits/mathdef.h> definitions
18564         above inclusion of <bits/mathdef.h>.  Do not mention
18565         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18567 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18569         * include/atomic.h (atomic_exchange_relaxed): New.
18571 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18573         * math/e_scalb.c: Do not include <fenv.h>.
18574         (invalid_fn): Do calculation resulting in NaN instead of raising
18575         FE_INVALID and returning a NaN explicitly.
18576         * math/e_scalbf.c: Do not include <fenv.h>.
18577         (invalid_fn): Do calculation resulting in NaN instead of raising
18578         FE_INVALID and returning a NaN explicitly.
18579         * math/e_scalbl.c: Do not include <fenv.h>.
18580         (invalid_fn): Do calculation resulting in NaN instead of raising
18581         FE_INVALID and returning a NaN explicitly.
18583 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18585         * po/de.po: Updated from Translation Project.
18586         * po/fi.po: Likewise.
18587         * po/sv.po: Likewise.
18589 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18591         [BZ #20452]
18592         Use sysdep.o from libc.a in static libraries.
18593         * sysdeps/unix/sysv/linux/i386/Makefile
18594         (libpthread-shared-only-routines): Add sysdep.
18595         (librt-shared-only-routines): Likewise.
18597 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18599         * math/tgmath.h (nextdown): Define if
18600         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18601         (nextup): Likewise.
18603         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18604         macro.
18605         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18606         Document.
18607         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18608         Document macro.
18609         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18610         (exp10f): Likewise.
18611         (exp10l): Likewise.
18612         * math/bits/mathcalls.h (exp10): Declare if
18613         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18615         * manual/arith.texi (nextup): Fix typo in last change.
18617 2016-08-03  Zack Weinberg  <zackw@panix.com>
18619         [BZ #19239]
18620         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18621         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18622         define major, minor, and makedev to issue deprecation warnings on use.
18623         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18624         previously-activated deprecation warnings for these macros and prevent
18625         subsequent inclusions of this header from having any effect.
18626         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18627         including <sys/sysmacros.h>, and undefine it again afterward.
18629 2016-08-03  Zack Weinberg  <zackw@panix.com>
18631         * sysdeps/generic/sys/sysmacros.h: Delete file.
18632         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18633         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18634         * bits/sysmacros.h: ... here; this encoding is now the generic
18635         encoding.  Now defines only the following macros:
18636         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18637         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18638         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18640         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18641         bits/sysmacros.h and the above new macros to generate the
18642         public implementations of major, minor, and makedev.
18643         * misc/tst-makedev.c: New test.
18644         * include/sys/sysmacros.h: New wrapper.
18646         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18647         (routines): Add makedev.
18648         (tests): Add tst-makedev.
18649         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18650         gnu_dev_makedev.
18651         * posix/Makefile (headers): Remove sys/sysmacros.h.
18652         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18654         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18655         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18656         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18657         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18658         * sysdeps/unix/sysv/linux/arm/libc.abilist
18659         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18660         * sysdeps/unix/sysv/linux/i386/libc.abilist
18661         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18662         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18663         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18664         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18665         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18666         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18667         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18668         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18669         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18674         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18675         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18676         * sysdeps/unix/sysv/linux/sh/libc.abilist
18677         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18678         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18681         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18682         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18683         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18684         Add GLIBC_2.25.
18686         * include/features.h (__glibc_clang_prereq): New macro.
18687         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18688         (__attribute_deprecated_msg__): New macros.
18690 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18692         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18693         macro.
18694         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18695         * manual/arith.texi (issignaling): Document as ISO from TS
18696         18661-1:2014.
18697         (nextup): Likewise.
18698         (nextupf): Likewise.
18699         (nextupl): Likewise.
18700         (nextdown): Likewise.
18701         (nextdownf): Likewise.
18702         (nextdownl): Likewise.
18703         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18704         macro.
18705         * math/math.h: Define
18706         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18707         <bits/libc-header-start.h> instead of including <features.h>.
18708         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18709         [__USE_GNU].
18710         * math/bits/mathcalls.h (nextdown): Declare if
18711         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18712         (nextup): Likewise.
18713         (__issignaling): Likewise.
18715 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18717         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18718         check, and remove __glibc_likely hint
18719         from FP_INFINITE check.
18720         * s_csinhf.c (__csinhf): Likewise.
18722         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18723         hint from FP_INFINITE check.
18724         * s_csinhl.c (__csinhl): Likewise.
18726 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18728         * math/Makefile (libm-calls): Insert F placeholder into
18729         object names.  Move w_lgamma_compat* routines into
18730         (libm-compat-calls): New variable.
18731         (libm-compat-calls-ldouble-yes): New variable.
18732         (calls): Insert F placeholder.
18733         (generated): Redefine using new type-foreach macro call.
18734         (routines): Likewise.
18736         (types): New variable to hold a list of symbolic names
18737         for each type supported by the target machine.
18738         (libm-routines): Redefine using new types variable.
18739         (type-foreach): macro to replace fooF with the
18740         appropriately suffixed foo for each types.
18742         (type-ldouble-suffix): New variable.
18743         (type-ldouble-routines): Likewise.
18744         (type-ldouble-yes): Likewise.
18745         (type-double-suffix): Likewise.
18746         (type-double-routines): Likewise.
18747         (type-float-suffix): Likewise.
18748         (type-float-routines): Likewise.
18750         (dbl-only-routines): Remove.
18751         (long-c-yes): Likewise.
18752         (long-m-routines): Likewise.
18753         (long-m-support): Likewise.
18754         (long-m-yes): Likewise.
18755         (test-longdouble-yes): Likewise.
18757         (test-float.o): Simplify by increasing the scope of the
18758         recipe which adds libm-test.stmp to the vector types.
18759         (test-ifloat.o): Likewise.
18760         (test-float-finite.o): Likewise.
18761         (test-double.o): Likewise
18762         (test-idouble.o): Likewise.
18763         (test-double-finite.o): Likewise.
18764         (test-ldouble.o): Likewise
18765         (test-ildoubl.o): Likewise.
18766         (test-ldouble-finite.o): Likewise.
18768         (libm-tests): Redefine type tests using foreach and the
18769         list of types in types.
18771         (CPPFLAGS-test-ildoubl.c): Rename to
18772         (CPPFLAGS-test-ildouble.c): New variable
18774         * math/test-ildoubl.c: Rename to
18775         * math/test-ildouble.c: New file.
18777 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18779         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18780         Use fabsl instead of fabs.
18781         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18782         Likewise.
18783         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18784         Add long double suffix to constant to ensure proper
18785         promotion to long double.
18787 2016-08-03  Tom Tromey  <tom@tromey.com>
18789         [BZ #20311]
18790         * nptl_db/Makefile (headers): Add proc_service.h.
18791         * nptl_db/proc_service.h: Add include guard.  Use
18792         __BEGIN/__END_DECLS.
18793         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18794         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18795         arguments.
18798 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18800         [BZ #17730]
18801         Avoid using memalign for TCB allocations.
18802         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18803         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18804         Avoid alignment gap in the TLS_DTV_AT_TP case.
18805         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18806         determine the pointer to free.
18807         * nptl/tst-tls3-malloc.c: New test.
18808         * nptl/Makefile (tests): Add it.
18809         (tst-tls3-malloc): Link with libdl, libpthread.
18810         (LDFLAGS-tst-tls3-malloc): Set.
18811         (tst-tls3-malloc.out): Depend on DSO used in test.
18813 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18815         [BZ #17730]
18816         Avoid using memalign for TLS allocations.
18817         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18818         is_static member with to_free member.
18819         (union dtv): Use struct dtv_pointer.
18820         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18821         dtv_pointer instead of is_static.
18822         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18823         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18824         instead of val.
18825         (allocate_dtv_entry): New function.
18826         (allocate_and_init): Return struct dtv_pointer.  Call
18827         allocate_dtv_entry instead of __libc_memalign.
18828         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18829         instead of val.
18830         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18831         instead of is_static.  Adjust call to allocate_and_init.
18832         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18833         struct dtv_pointer instead of val.
18835 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18837         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18838         (MALLOC_ALIGN_MASK): Move ...
18839         * malloc/malloc-internal.h: ... to here.
18840         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18842 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18844         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18845         (UDP_ENCAP_GTP1U): Likewise.
18847         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18848         (PF_MAX): Update value.
18849         (AF_QIPCRTR): New macro.
18851 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18853         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18854         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18855         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18857         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18858         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18859         s_truncf-vis3, s_trunc-vis3.
18860         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18861         (CFLAGS-s_ceil-vis3.c): Likewise.
18862         (CFLAGS-s_floorf-vis3.c): Likewise.
18863         (CFLAGS-s_floor-vis3.c): Likewise.
18864         (CFLAGS-s_truncf-vis3.c): Likewise.
18865         (CFLAGS-s_trunc-vis3.c): Likewise.
18866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18874         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18875         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18876         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18877         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18879 2016-08-02  David S. Miller  <davem@davemloft.net>
18881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18882         (__nearbyint_vis3): Don't check for sNaN before float register is
18883         loaded with the incoming argument.
18884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18885         (__nearbyintf_vis3): Likewise.
18886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18887         Likewise.
18888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18889         Likewise.
18891         * string/test-strncmp.c (do_test_limit): Make sure the test data
18892         stream is aligned as required for the type "CHAR".
18893         (do_test): Likewise.
18895 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18897         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18898         by beq instructions jumping to the end of the function.
18899         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18900         clobber list. Use "i" constraint instead of "X".
18901         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18902         of "X".
18904 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18906         * bits/libc-header-start.h: New file.
18907         * Makefile (headers): Add bits/libc-header-start.h.
18908         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18909         (__GLIBC_USE): New macro.
18910         * libio/stdio.h: Define
18911         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18912         <bits/libc-header-start.h> instead of including <features.h>.
18913         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18914         (open_memstream): Likewise.
18915         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18916         (__asprintf): Likewise.
18917         (asprintf): Likewise.
18918         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18919         (getdelim): Likewise.
18920         (getline): Likewise.
18921         * string/string.h: Define
18922         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18923         <bits/libc-header-start.h> instead of including <features.h>.
18924         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18925         (strndup): Likewise.
18926         * wcsmbs/wchar.h: Define
18927         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18928         <bits/libc-header-start.h> instead of including <features.h>.
18929         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18930         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18932 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18934         Support linking against compatibility symbols, for use in tests.
18935         * include/libc-symbols.h (symbol_version_reference): New macro.
18936         (symbol_version): Use it.
18937         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18938         (compat_symbol): Use compat_symbol_reference.
18939         (compat_symbol_1, compat_symbol_2): Remove.
18940         (compat_symbol_reference, compat_symbol_reference_1)
18941         (compat_symbol_reference_2): New macro.  Use
18942         symbol_version_reference.
18944 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18946         [BZ #19469]
18947         * malloc/Makefile (CPPFLAGS): Compile tests with
18948         -DTEST_NO_MALLOPT.
18949         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18951 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18953         [BZ #20033]
18954         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18955         finite version.
18956         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18957         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18958         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18959         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18960         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18961         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18962         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18963         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18967         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18970         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18971         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18973         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18974         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18975         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18976         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18977         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18978         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18979         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18980         in zero power.
18982 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18984         [BZ #20370]
18985         * malloc/arena.c (get_free_list): Update comment.  Assert that
18986         arenas on the free list have no attached threads.
18987         (remove_from_free_list): New function.
18988         (reused_arena): Call it.
18990 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18992         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18993         when it is a NaN.
18994         [_IEEE_FP_INEXACT] Remove.
18995         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18996         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18997         when it is a NaN.
18998         [_IEEE_FP_INEXACT] Remove.
18999         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
19000         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
19001         when it is a NaN.
19002         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
19003         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
19004         when its absolute value is greater than 0x1.0p52.
19005         [_IEEE_FP_INEXACT] Remove.
19006         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
19007         when its absolute value is greater than 0x1.0p23.
19008         [_IEEE_FP_INEXACT] Remove.
19010 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
19012         * version.h (RELEASE): Set to "development"
19013         (VERSION): Set to 2.24.90.
19014         * NEWS: Add 2.25 section.
19016         * version.h (RELEASE): Set to "stable"
19017         (VERSION): Set to 2.24.
19018         * include/features.h (__GLIBC_MINOR__): Set to 24.
19020         * NEWS: Add 2.24 fixed bugs.
19021         * po/libc.pot: Regenerate.
19023 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
19025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19026         [$(subdir) = math] (libm-sysdep_routines): Remove.
19027         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19028         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
19029         s_truncf-vis3, s_trunc-vis3.
19030         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19032         file.
19033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
19034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
19035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
19039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
19040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
19042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
19043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
19044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
19045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
19046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
19047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
19048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
19052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
19053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
19054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
19055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
19061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19062         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19066         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19067         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19068         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19069         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19072         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19073         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19074         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19075         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19077 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
19079         [BZ #20384]
19080         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19081         test-double-libmvec-sincos-avx-main.o,
19082         test-double-libmvec-sincos-avx2-main.o,
19083         test-double-libmvec-sincos-main.o,
19084         test-float-libmvec-sincosf-avx-main.o,
19085         test-float-libmvec-sincosf-avx2-main.o and
19086         test-float-libmvec-sincosf-main.o.
19087         test-float-libmvec-sincosf-avx512-main.o.
19088         ($(objpfx)test-double-libmvec-sincos): Also link with
19089         $(objpfx)test-double-libmvec-sincos-main.o.
19090         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19091         $(objpfx)test-double-libmvec-sincos-avx-main.o.
19092         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19093         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19094         ($(objpfx)test-float-libmvec-sincosf): Also link with
19095         $(objpfx)test-float-libmvec-sincosf-main.o.
19096         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19097         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19098         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19099         test-double-libmvec-sincos-avx512-main.o and
19100         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19101         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19102         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19103         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19104         (CFLAGS-test-double-libmvec-sincos.c): Removed.
19105         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19106         (CFLAGS-test-double-libmvec-sincos-main.c): New.
19107         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19108         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19109         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19110         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19111         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19112         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19113         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19114         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19115         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19116         -DREQUIRE_AVX2.
19117         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19118         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19119         -DREQUIRE_AVX512F.
19120         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19121         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19122         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19123         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19124         file.
19125         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19126         Likewise.
19127         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19128         Likewise.
19129         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19130         Likewise.
19131         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19132         Likewise.
19133         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19134         Likewise.
19135         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19136         Likewise.
19137         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19138         Likewise.
19140 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
19142         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19144 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
19146         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19147         and typo in a comment about AT_HWCAP entry.
19149 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19151         * sysdeps/aarch64/libm-test-ulps: Updated.
19153 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19155         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19156         of r13 as it is not restored in mvcle case.
19158 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
19160         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19161         Rename "ret" to "__ret".
19162         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19163         inline_syscall5, inline_syscall6): Likewise.
19165 2016-07-19   Will Newton  <will.newton@gmail.com>
19167         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19168         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19169         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19170         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19171         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19173 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19175         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19176         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19177         -mfpmath=387 with $(rtld-CFLAGS).
19178         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19179         $(rtld-CFLAGS).
19181 2016-07-18   Ross Burton  <ross.burton@intel.com>
19182              Khem Raj  <raj.khem@gmail.com>
19184         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19185         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19186         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19187         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19188         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19189         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19190         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19191         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19192         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19193         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19194         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19195         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19196         R_METAG_TLS_DTPOFF): New.
19198 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19199             Matt Clay  <mclay@lycos.com>
19201         [BZ #20357]
19202         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19203         to call __mpsin/__mpcos and to negate values.
19204         * math/auto-libm-test-in: Add test.
19205         * math/auto-libm-test-out: Regenerate.
19207 2016-07-18  Zack Weinberg  <zackw@panix.com>
19209         * grp/Makefile: Don't install the internal header grp-merge.h.
19211 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19213         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19215 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19217         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19219 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19221         [BZ #15368]
19222         * sysdeps/unix/sysv/linux/nptl-signals.h
19223         (__nptl_clear_internal_signals): New function.
19224         (__libc_signal_block_all): Likewise.
19225         (__libc_signal_block_app): Likewise.
19226         (__libc_signal_restore_set): Likewise.
19227         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19228         implementation.
19229         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19230         the cached pid/tid value in pthread structure.
19232 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19234         [BZ #20347]
19235         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19237 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19239         [BZ #20348]
19240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19241         preadv64, pwrite64 and pwritev64.
19243 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19245         [BZ #20350]
19246         * posix/tst-preadwrite.c: Renamed to ...
19247         * posix/tst-preadwrite-common.c: This.
19248         (PREAD): Removed.
19249         (PWRITE): Likewise.
19250         (STRINGIFY): Likewise.
19251         (STRINGIFY2): Likewise.
19252         (do_prepare): Make it static and remove function arguments.
19253         (do_test): Likewise.
19254         (PREPARE): Updated.
19255         (TEST_FUNCTION): New.
19256         (name): Make it static.
19257         (fd): Likewise.
19258         (do_prepare): Use create_temp_file.
19259         (do_test): Renamed to ...
19260         (do_test_with_offset): This.  Make it static and accept offset.
19261         Properly check return value of PWRITE and PREAD.  Return bytes
19262         read.  Don't close fd nor unlink name.
19263         * posix/tst-preadwrite.c: Rewrite.
19264         * posix/tst-preadwrite64.c: Likewise.
19266 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19268         [BZ #20309]
19269         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19270         -mtls-dialect=gnu2 works.
19271         * configure: Regenerated.
19272         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19273         (tests): Add tst-gnu2-tls1.
19274         (modules-names): Add tst-gnu2-tls1mod.
19275         ($(objpfx)tst-gnu2-tls1): New.
19276         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19277         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19278         * elf/tst-gnu2-tls1.c: New file.
19279         * elf/tst-gnu2-tls1mod.c: Likewise.
19280         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19281         bytes for push in the PLT entry to align the stack.
19283 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19285         [BZ #20349]
19286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19288 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19290         [BZ #18707]
19291         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19292         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19294 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19296         * sysdeps/unix/sysv/linux/sysdep.h
19297         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19298         guards.
19299         * misc/tst-preadvwritev-common.c: New file.
19300         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19301         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19302         a check for files larger than 2GB.
19304         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19305         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19306         * sysdeps/unix/sysv/linux/pread.c
19307         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19308         __OFF_T_MATCHES_OFF64_T.
19309         * sysdeps/unix/sysv/linux/pread64.c
19310         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19311         * sysdeps/unix/sysv/linux/preadv.c
19312         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19313         * sysdeps/unix/sysv/linux/preadv64.c
19314         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19315         * sysdeps/unix/sysv/linux/pwrite.c
19316         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19317         * sysdeps/unix/sysv/linux/pwrite64.c
19318         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19319         * sysdeps/unix/sysv/linux/pwritev.c
19320         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19321         * sysdeps/unix/sysv/linux/pwritev64.c
19322         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19324 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19326         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19327         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19329 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19331         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19333 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19335         [BZ #20240]
19336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19337         (CFLAGS-s_modf-ppc32.c): New variable.
19338         (CFLAGS-s_modff-ppc32.c): Likewise.
19339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19340         (CFLAGS-s_modf-ppc64.c): Likewise.
19341         (CFLAGS-s_modff-ppc64.c): Likewise.
19343 2016-07-07  Andreas Schwab  <schwab@suse.de>
19345         [BZ #20263]
19346         * nptl/tst-robust10.c: New test.
19347         * nptl/Makefile (tests): Add tst-robust10.
19349 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19351         [BZ #20263]
19352         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19354 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19356         * sysdeps/s390/linkmap.h (struct link_map_machine):
19357         Remove member gotplt and add member jmprel.
19358         * sysdeps/s390/s390-32/dl-machine.h
19359         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19360         instead of gotplt with &got[3].
19361         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19362         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19364 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19366         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19368 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19370         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19371         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19372         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19373         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19374         * libio/vtables.c (_IO_vtable_check)
19375         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19376         * libio/libioP.h (IO_set_accept_foreign_vtables)
19377         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19379 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19381         [BZ #20314]
19382         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19383         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19384         $(common-objpfx)cmath.
19385         ($(common-objpfx)cstdlib): New target.
19386         ($(common-objpfx)cmath): Likewise.
19388 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19390         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19392 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19394         [BZ #20327]
19395         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19396         are not part of the string.
19398 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19400         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19401         * nptl/tst-cancel4-common.h (fifoname): New variable.
19402         (fifofd): Likewise.
19403         (cl_fifo): New function.
19404         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19405         SIGINT.
19406         (tf_open): Add early cancel test.
19408 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19410         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19412 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19414         * sysdeps/generic/ldsodefs.h
19415         (dl_symbol_visibility_binds_local_p): New inline function.
19416         * elf/dl-addr.c (determine_info): Treat hidden and internal
19417         symbols as local.
19418         * elf/dl-lookup.c (do_lookup_x): Likewise.
19419         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19421 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19423         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19424         invalid exception for a sNaN input.
19425         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19426         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19427         (__nearbyint_vis3): Likewise
19428         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19429         (__nearbyintf_vis3): Likewise
19430         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19431         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19432         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19433         Likewise.
19434         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19435         Likewise.
19437 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19439         [BZ #20139]
19440         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19441         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19442         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19443         2.24 or above.
19444         (HAVE_AVX512_ASM_SUPPORT): Removed.
19445         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19446         * sysdeps/x86_64/configure: Regenerated.
19447         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19448         check unconditional.
19449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19450         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19451         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19452         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19453         Likewise.
19454         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19455         Likewise.
19456         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19457         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19458         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19459         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19460         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19461         Likewise.
19462         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19463         Likewise.
19464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19466         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19467         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19469         Likewise.
19470         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19471         Likewise.
19472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19473         Likewise.
19474         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19475         Likewise.
19476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19477         Likewise.
19478         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19479         Likewise.
19480         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19481         Likewise.
19482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19483         Likewise.
19484         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19485         Likewise.
19486         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19487         Likewise.
19488         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19489         Likewise.
19491 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19493         [BZ #20024]
19494         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19496         of this implementation of vector function.
19497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19499         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19500         Likewise.
19501         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19502         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19503         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19504         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19505         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19506         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19507         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19508         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19509         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19510         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19512         for testing vector sincos with fixed ABI.
19513         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19514         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19515         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19516         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19517         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19518         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19519         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19520         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19521         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19522         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19523         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19524         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19525         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19526         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19527         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19528         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19530 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19532         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19534 2016-06-30  Anton Blanchard  <anton@samba.org>
19536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19537         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19538         s_sinf-ppc64.
19539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19542         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19544 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19548         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19549         e_expf-ppc64.
19550         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19553         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19555 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19557         [BZ #20277]
19558         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19559         when SHARED is defined.
19561 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19563         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19564         (index_arch_Prefer_ERMS): Likewise.
19565         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19566         __memcpy_erms for Prefer_ERMS.
19567         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19568         (__memmove_erms): Enabled for libc.a.
19569         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19570         __memmove_erms or Prefer_ERMS.
19571         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19572         __mempcpy_erms for Prefer_ERMS.
19573         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19574         __memset_erms for Prefer_ERMS.
19576 2016-06-30  Andreas Schwab  <schwab@suse.de>
19578         [BZ #20262]
19579         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19580         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19581         of memory.
19583 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19585         [BZ #18645]
19586         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19587         (test-extras): Add tst-cleanupx4aux.
19588         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19589         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19590         tst-cleanupx4aux.o.
19591         * nptl/tst-cleanupx4aux.c: New file.
19593 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19595         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19597 2016-06-29  Andreas Schwab  <schwab@suse.de>
19599         [BZ #20260]
19600         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19601         address before the beginning of the string as an integer to avoid
19602         array-bounds warning.
19604 2016-06-28  Richard Henderson  <rth@redhat.com>
19606         * elf/elf.h (EM_BPF): New.
19607         (EM_NUM): Update.
19608         (R_BPF_NONE, R_BPF_MAP_FD): New.
19610         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19611         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19612         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19613         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19614         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19615         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19616         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19617         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19618         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19619         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19620         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19621         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19622         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19623         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19624         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19625         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19626         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19627         (EM_NUM): Update.
19629 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19631         [BZ #18960]
19632         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19633         Set _nl_current_LC_CATEGORY_used to two instead of one.
19635 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19637         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19638         (do_test): ... this.
19639         (TEST_FUNCTION): New macro.
19640          Include test-skeleton.c.
19641         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19642         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19644 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19646         [BZ #15479]
19647         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19648         floating-point environment rather than just control word.
19649         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19650         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19651         floating-point environment, with "invalid" exceptions merged in,
19652         rather than just control word.
19653         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19654         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19655         "inexact" exceptions.
19657         [BZ #15479]
19658         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19659         floating-point environment rather than just control word.
19660         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19661         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19662         floating-point environment, with "invalid" exceptions merged in,
19663         rather than just control word.
19664         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19665         * math/libm-test.inc (floor_test_data): Do not allow spurious
19666         "inexact" exceptions.
19668         [BZ #15479]
19669         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19670         floating-point environment rather than just control word.
19671         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19672         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19673         floating-point environment, with "invalid" exceptions merged in,
19674         rather than just control word.
19675         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19676         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19677         "inexact" exceptions.
19679 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19681         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19682         __libc_vfork.
19683         (__vfork) [IS_IN (libc)]: Remove alias.
19684         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19685         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19686         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19688 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19690         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19691         of atomic_compare_and_exchange_bool_rel.
19692         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19693         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19694         catomic_compare_and_exchange_bool_rel): Remove.
19695         * sysdeps/aarch64/atomic-machine.h
19696         (atomic_compare_and_exchange_bool_rel): Likewise.
19697         * sysdeps/alpha/atomic-machine.h
19698         (atomic_compare_and_exchange_bool_rel): Likewise.
19699         * sysdeps/arm/atomic-machine.h
19700         (atomic_compare_and_exchange_bool_rel): Likewise.
19701         * sysdeps/mips/atomic-machine.h
19702         (atomic_compare_and_exchange_bool_rel): Likewise.
19703         * sysdeps/microblaze/atomic-machine.h
19704         ( __arch_compare_and_exchange_bool_8_rel,
19705         __arch_compare_and_exchange_bool_16_rel): Likewise.
19706         * sysdeps/powerpc/atomic-machine.h
19707         ( __arch_compare_and_exchange_bool_8_rel,
19708         __arch_compare_and_exchange_bool_16_rel): Likewise.
19709         * sysdeps/powerpc/powerpc32/atomic-machine.h
19710         ( __arch_compare_and_exchange_bool_32_rel,
19711         __arch_compare_and_exchange_bool_64_rel): Likewise.
19712         * sysdeps/powerpc/powerpc64/atomic-machine.h
19713         ( __arch_compare_and_exchange_bool_32_rel,
19714         __arch_compare_and_exchange_bool_64_rel): Likewise.
19715         * sysdeps/tile/atomic-machine.h
19716         (atomic_compare_and_exchange_bool_rel): Likewise.
19718 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19720         [BZ #20296]
19721         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19722         when either argument is a NaN.
19723         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19724         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19726         * math/libm-test.inc (snan_value_ld): New macro.
19727         (isgreater_test_data): Add sNaN tests.
19728         (isgreaterequal_test_data): Likewise.
19729         (isless_test_data): Likewise.
19730         (islessequal_test_data): Likewise.
19731         (islessgreater_test_data): Likewise.
19732         (isunordered_test_data): Likewise.
19733         (nextafter_test_data): Likewise.
19734         (nexttoward_test_data): Likewise.
19735         (remainder_test_data): Likewise.
19736         (remquo_test_data): Likewise.
19737         (significand_test_data): Likewise.
19738         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19740 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19742         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19743         environment macros are defined.
19744         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19746 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19748         [BZ #20191]
19749         Implement vtable verification in libio.
19750         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19751         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19752         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19753         _IO_new_file_init_internal instead of _IO_file_init.
19754         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19755         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19756         * libio/Makefile (routines): Add vtables.
19757         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19758         (_IO_init): Remove, not for internal use.
19759         (_IO_init_internal): Declare, internal replacement for _IO_init.
19760         (_IO_file_init): Remove, not for internal use.
19761         (_IO_new_file_init): Remove, not for internal use.
19762         (_IO_new_file_init_internal): Declare, internal replacement for
19763         _IO_new_file_init.
19764         (_IO_old_file_init): Remove, not for internal use.
19765         (_IO_old_file_init_internal): Declare, internal replacement for
19766         _IO_old_file_init.
19767         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19768         internal use.
19769         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19770         Declare.
19771         (libio_vtable): New macro.
19772         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19773         functions.
19774         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19775         _IO_new_file_init.
19776         (_IO_new_file_init): New externally visible wrapper which disables
19777         vtable verification.
19778         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19779         Define as vtables.
19780         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19781         (_IO_init): New externally visible wrapper which disables
19782         vtable verification.
19783         * libio/iofdopen.c (_IO_new_fdopen): Call
19784         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19785         comment.
19786         * libio/iofopen.c (__fopen_internal): Call
19787         _IO_new_file_init_internal instead of _IO_file_init.
19788         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19789         Define as vtables.
19790         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19791         _IO_new_file_init_internal instead of _IO_file_init.
19792         * libio/iopopen.c (_IO_new_popen): Likewise.
19793         (_IO_proc_jumps): Define as vtable.
19794         * libio/iovdprintf.c (_IO_vdprintf): Call
19795         _IO_new_file_init_internal instead of _IO_file_init.
19796         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19797         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19798         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19799         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19800         _IO_old_file_init.
19801         (_IO_old_file_init): New externally visible wrapper which disables
19802         vtable verification.
19803         (_IO_old_file_jumps): Define as vtable.
19804         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19805         _IO_old_file_init_internal instead of _IO_old_file_init.
19806         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19807         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19808         (_IO_old_proc_jumps): Define as vtable.
19809         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19810         Define as vtables.
19811         * libio/vtables.c: New file.
19812         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19813         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19814         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19815         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19816         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19817         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19818         instead of _IO_init.
19820 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19822         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19824 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19826         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19827         potentially unused.
19829 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19831         * test-skeleton.c (write_message): New function.
19832         * malloc/tst-mallocfork2.c (write_message): Remove.
19833         * debug/tst-longjmp_chk2.c (write_indented): New function.
19834         (write_message): Remove.
19835         (stackoverflow_handler): Call write_indented.
19837 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19839         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19840         "inexact" exceptions after fnstenv.
19841         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19842         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19843         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19845 2015-06-22  Zack Weinberg  <zackw@panix.com>
19847         * sysdeps/generic/bits/hwcap.h: Moved to ...
19848         * bits/hwcap.h: Here.
19850 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19852         * sysdeps/aarch64/memcpy.S (memcpy):
19853         Further tuning for performance.
19855 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19857         [BZ #20284]
19858         * malloc/arena.c (reused_arena): Do not return NULL if we start
19859         out with a non-corrupted arena.
19861 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19863         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19864         * misc/tst-preadvwritev.c: New file.
19865         * misc/tst-preadvwritev64.c: Likewise.
19866         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19867         usage.
19868         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19869         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19870         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19871         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19873 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19875         [BZ #19654]
19876         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19877         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19878         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19879         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19880         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19881         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19882         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19883         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19884         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19885         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19886         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19887         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19888         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19889         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19890         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19891         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19892         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19893         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19894         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19895         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19896         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19897         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19898         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19899         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19900         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19901         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19903 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19905         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19906         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19908 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19910         * sysdeps/aarch64/memcpy.S (memcpy):
19911         Rewrite of optimized memcpy and memmove.
19912         * sysdeps/aarch64/memmove.S (memmove): Remove
19913         memmove code (merged into memcpy.S).
19915 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19917         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19918         * sysdeps/generic/dl-dtv.h: New file.
19919         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19920         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19921         (dtv_t): Remove.
19922         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19923         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19924         (dtv_t): Remove.
19925         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19926         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19927         (dtv_t): Remove.
19928         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19929         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19930         (dtv_t): Remove.
19931         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19932         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19933         (dtv_t): Remove.
19934         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19935         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19936         (dtv_t): Remove.
19937         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19938         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19939         (dtv_t): Remove.
19940         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19941         (dtv_t): Remove.
19942         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19943         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19944         (dtv_t): Remove.
19945         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19946         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19947         (dtv_t): Remove.
19948         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19949         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19950         (dtv_t): Remove.
19951         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19952         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19953         (dtv_t): Remove.
19954         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19955         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19956         (dtv_t): Remove.
19957         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19958         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19959         (dtv_t): Remove.
19960         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19961         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19962         (dtv_t): Remove.
19963         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19964         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19965         (dtv_t): Remove.
19967 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19969         Revert symbol poisoning of  __malloc_initialize_hook.
19970         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19971         poisoning.
19972         * malloc/Makefile: Remove un-poisoning.
19973         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19974         instead of old__malloc_initialize_hook.
19975         * malloc/malloc-hooks.h: Likewise.
19976         * malloc/malloc.c: Likewise.
19977         * malloc/mcheck-init.c: Likewise.
19979 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19981         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19983 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19985         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19986         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19987         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19988         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19990 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19992         * NEWS: Mention addition of nextup and nextdown.
19993         * manual/arith.texi: Document nextup and nextdown.
19994         * manual/libm-err-tab.pl: Add nextup and nextdown.
19995         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19996         * math/Versions (libm): Add GLIBC_2.24.
19997         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19998         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19999         Add new test.
20000         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
20001         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
20002         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
20003         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
20004         (nextup_test_data): Likewise.
20005         (nextdown_test_data): Likewise.
20006         * math/s_nextdown.c: New file.
20007         * math/s_nextdownf.c: Likewise.
20008         * math/s_nextdownl.c: Likewise.
20009         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
20010         F(nextup): New function.
20011         F(nextdown): Likewise.
20012         * math/tgmath.h: Add nextup and nextdown.
20013         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
20014         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
20015         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
20016         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
20017         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
20018         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
20019         Add nextup and nextdown.
20020         (CFLAGS-nldbl-nextup.c): New variable.
20021         (CFLAGS-nldbl-nextdown.c): Likewise.
20022         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
20023         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
20024         * sysdeps/nacl/libm.abilist: Update.
20025         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20027         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20028         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20029         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20030         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20031         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20032         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20033         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20034         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20035         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20036         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20039         Likewise.
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20042         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20043         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20044         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20045         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20046         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
20048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
20049         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20050         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20051         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
20052         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20054 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20056         * manual/pattern.texi: Fix typos & grammar errors.
20058 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20060         * manual/search.texi: Fix typos & grammar errors.
20062 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20064         * manual/message.texi: Fix typos & grammar errors.
20066 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
20068         * manual/contrib.texi: Fix spelling typos.
20069         * manual/crypt.texi: Likewise.
20070         * manual/filesys.texi: Likewise.
20071         * manual/locale.texi: Likewise.
20072         * manual/message.texi: Likewise.
20073         * manual/nss.texi: Likewise.
20074         * manual/string.texi: Likewise.
20076 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20078         * manual/locale.texi: Fix typos & grammar errors.
20080 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20082         * manual/charset.texi: Fix typos & grammar errors.
20084 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20086         * manual/string.texi: Fix typos.
20088 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20090         * manual/ctype.texi: Fix typos.
20092 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20094         * manual/memory.texi: Fix various typos & grammar errors.
20096 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
20098         [BZ #20255]
20099         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
20100         * math/libm-test.inc (fdim_test_data): Add another test.
20102         [BZ #6796]
20103         [BZ #20255]
20104         [BZ #20256]
20105         * math/s_fdim.c: Include <math_private.h>.
20106         (__fdim): Use math_narrow_eval on result.
20107         * math/s_fdimf.c: Include <math_private.h>.
20108         (__fdimf): Use math_narrow_eval on result.
20109         * sysdeps/i386/fpu/s_fdim.S: Remove file.
20110         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20111         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20112         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20113         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20114         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20115         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20116         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20117         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20118         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20119         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20120         * math/libm-test.inc (fdim_test_data): Expect errno setting on
20121         overflow.  Add sNaN tests.
20123         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20124         fpclassify.
20125         * math/s_fdimf.c (__fdimf): Likewise.
20126         * math/s_fdiml.c (__fdiml): Likewise.
20128 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20130         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20131         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20133         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20134         ifunc'ed strcasecmp/strncasecmp.
20135         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20136         [EALIGN]: Removed.
20137         [END]: Likewise.
20138         [__strcasecmp]: Define instead of the above to control symbol name.
20139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20140         for __strcasecmp_power8.
20141         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20142         for __strncasecmp_power8.
20143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20145         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20146         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20147         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20148         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20150 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
20152         [BZ #20252]
20153         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20154         arguments when second argument is a NaN.
20155         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20156         qNaN tests.
20158         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20159         (conj_test_data): Likewise.
20160         (copysign_test_data): Likewise.
20161         (creal_test_data): Likewise.
20162         (fma_test_data): Likewise.
20163         (fmod_test_data): Likewise.
20165         [BZ #20250]
20166         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20167         itself.
20168         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20169         zero input to itself.
20170         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20171         Likewise.
20172         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20173         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20175         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20176         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20178 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20180         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20181         * nptl/tst-cancel4-common.c: New file.
20182         * nptl/tst-cancel4-common.h: Likewise.
20183         * nptl/tst-cancel4.c: Move common definitions to
20184         tst-cancel4-common.{c,h} file.
20185         * nptl/tst-cancel4_1.c: New test.
20186         * nptl/tst-cancel4_2.c: New test.
20188 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20190         [BZ #20248]
20191         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20192         (write_message): New function.
20193         (stackoverflow_handler): Call it instead of printf, to avoid
20194         excessive stack usage by printf.
20195         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20197 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20199         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20200         (prio_inherit_missing): Remove define.
20201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20202         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20203         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20204         Likewise.
20205         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20206         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20208         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20209         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20210         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20212 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20214         [BZ #19670]
20215         [BZ #19672]
20217         * io/test-lfs.c (do_prepare): Use xmalloc.
20218         * io/tst-fcntl.c (do_prepare): Likewise.
20219         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20220         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20221         * login/tst-utmp.c (do_prepare): Likewise.
20222         * posix/tst-exec.c (do_prepare): Likewise.
20223         * posix/tst-pathconf.c (prepare): Likewise.
20224         * posix/tst-spawn.c (do_prepare): Likewise.
20225         * posix/tst-truncate.c (do_prepare): Likewise.
20226         * rt/tst-aio.c (do_prepare): Likewise.
20227         * rt/tst-aio64.c (do_prepare): Likewise.
20229 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20231         [BZ #20237]
20232         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20233         (get*ent): Set entidx to NULL during initialization.  If entidx is
20234         NULL, start iteration from the beginning.
20236 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20238         * malloc/malloc.c (musable): Return correct size for dumped fake
20239         mmapped chunk.
20241 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20243         [BZ #20222]
20244         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20245         (_IO_cookie_write): Likewise.
20246         (_IO_cookie_seek): Likewise.
20247         (_IO_cookie_close): Likewise.
20248         (_IO_old_cookie_seek): Likewise.
20249         (set_callbacks): New function.
20250         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20252 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20254         * locale/programs/localedef.c (oldstyle_tables): Remove.
20255         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20257 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20259         [BZ #20240]
20260         * math/Makefile (CFLAGS-s_modf.c): New variable.
20261         (CFLAGS-s_modff.c): Likewise.
20262         (CFLAGS-s_modfl.c): Likewise.
20263         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20265 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20267         [BZ #20215]
20268         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20269         [!__GNUC_PREREQ (3,2)]: Likewise.
20271 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20273         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20274         (msghdr.msg_controllen): Likewise.
20275         (cmsghdr.cmsg_len): Likewise.
20276         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20277         ptw-oldsendmsg.
20278         (CFLAGS-oldrecvmsg.c): Remove rule.
20279         (CFLAGS-oldsendmsg.c): Likewise.
20280         (CFLAGS-recvmsg.c): Add rule.
20281         (CFLAGS-sendmsg.c): Likewise.
20282         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20283         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20284         (CFLAGS-recvmsg.c): Remove rule.
20285         (CFLAGS-sendmsg.c): Likewise.
20286         (CFLAGS-oldrecvmsg.c): Likewise.
20287         (CFLAGS-oldsendmsg.c): Likewise.
20288         (CFLAGS-recvmmsg.c): Likewise.
20289         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20290         to kernel defined interfaces.
20291         (msghdr.msg_controllen): Likewise.
20292         (cmsghdr.cmsg_len): Likewise.
20293         (msghdr.__glibc_reserved1): Remove member.
20294         (msghdr.__glibc_reserved2): Likewise.
20295         (cmsghdr.__glibc_reserved1): Likewise.
20296         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20297         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20298         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20299         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20300         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20301         version.
20302         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20303         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20304         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20305         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20306         Remove recvmsg and sendmsg.
20307         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20308         Likewise.
20309         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20310         Likewise.
20311         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20312         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20313         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20314         Likewise.
20315         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20316         Likewise.
20317         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20318         [libc] (GLIBC_2.24): Likewise.
20319         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20320         Likewise.
20321         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20322         Likewise.
20323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20324         [libc] (GLIBC_2.24): Likewise.
20325         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20326         Likewise.
20327         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20328         Likewise.
20329         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20330         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20331         Likewise.
20332         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20333         Likewise.
20334         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20335         Likewise.
20336         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20337         Likewise.
20338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20339         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20340         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20341         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20342         version for {recv,send,recm,sendm}msg.
20343         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20344         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20345         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20346         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20347         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20348         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20349         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20350         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20351         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20352         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20353         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20354         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20356         Likewise.
20357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20358         Likewise.
20359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20361         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20363         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20364         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20365         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20366         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20369         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20370         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20371         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20373 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20375         [BZ #19564]
20376         Remove __malloc_initialize_hook from the API.
20377         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20378         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20379         #pragma GCC poison.
20380         * malloc/malloc-hooks.h: New file.
20381         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20382         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20383         (old__malloc_initialize_hook): Rename from
20384         __malloc_initialize_hook to evade poisoning.  Turn into compat
20385         symbol.
20386         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20387         __malloc_initialize_hook.
20388         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20389         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20390         * manual/memory.texi (Hooks for Malloc): Remove
20391         __malloc_initialize_hook.  Adjust hook example.
20393 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20395         [BZ #20235]
20396         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20397         itself.
20398         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20399         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20401         [BZ #20234]
20402         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20403         infinity or NaN input to itself.
20405         [BZ #20233]
20406         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20407         to itself.
20409         [BZ #20232]
20410         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20411         itself.
20413 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20415         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20416         __libc_start_main via GOT.
20418 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20420         * sysdeps/x86_64/memcopy.h: New file.
20421         * sysdeps/x86_64/wordcopy.c: Likewise.
20423 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20425         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20426         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20427         <cstdlib>.
20428         (optimization_barrier): New.
20429         (do_test): Use it.  Call quick_exit in the global namespace.
20430         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20431         instead of <cstdlib>, <thread>.
20432         (optimization_barrier): New.
20433         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20434         Call quick_exit in the global namespace.
20435         (do_test): Call optimization_barrier.  Use pthread_create,
20436         pthread_join instead of std::thread.
20438 2016-06-09  Andreas Schwab  <schwab@suse.de>
20440         [BZ #19755]
20441         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20442         new entries in auto-propagate mode.
20443         * nscd/grpcache.c (cache_addgr): Likewise.
20445 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20447         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20448         New functions.
20449         (add_temp_file): Use them.
20451 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
20453         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20455 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20457         [BZ #20229]
20458         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20459         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20460         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20462         [BZ #20228]
20463         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20464         itself.
20465         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20466         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20468         [BZ #20227]
20469         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20470         itself.
20471         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20472         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20473         * math/libm-test.inc (log_test_data): Add sNaN tests.
20475         [BZ #20226]
20476         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20477         itself.
20478         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20479         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20480         (exp10_test_data): Likewise.
20481         (expm1_test_data): Likewise.
20483         [BZ #20225]
20484         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20485         itself.
20486         * math/s_ldexpf.c (__ldexpf): Likewise.
20487         * math/s_ldexpl.c (__ldexpl): Likewise.
20488         * math/w_scalbln.c (__w_scalbln): Likewise.
20489         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20490         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20491         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20492         (scalbln_test_data): Likewise.
20494         [BZ #20224]
20495         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20496         argument to itself.
20497         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20499 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20501         [BZ #19776]
20502         * sysdeps/x86_64/memcpy.S: Make it dummy.
20503         * sysdeps/x86_64/mempcpy.S: Likewise.
20504         * sysdeps/x86_64/memmove.S: New file.
20505         * sysdeps/x86_64/memmove_chk.S: Likewise.
20506         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20507         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20508         * sysdeps/x86_64/memmove.c: Removed.
20509         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20510         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20511         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20512         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20513         Likewise.
20514         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20515         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20517         memcpy-sse2-unaligned, memmove-avx-unaligned,
20518         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20520         (__libc_ifunc_impl_list): Replace
20521         __memmove_chk_avx512_unaligned_2 with
20522         __memmove_chk_avx512_unaligned.  Remove
20523         __memmove_chk_avx_unaligned_2.  Replace
20524         __memmove_chk_sse2_unaligned_2 with
20525         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20526         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20527         with __memmove_avx512_unaligned.  Replace
20528         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20529         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20530         with __memcpy_chk_avx512_unaligned.  Remove
20531         __memcpy_chk_avx_unaligned_2.  Replace
20532         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20533         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20534         Replace __memcpy_avx512_unaligned_2 with
20535         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20536         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20537         with __mempcpy_chk_avx512_unaligned.  Remove
20538         __mempcpy_chk_avx_unaligned_2.  Replace
20539         __mempcpy_chk_sse2_unaligned_2 with
20540         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20541         Replace __mempcpy_avx512_unaligned_2 with
20542         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20543         Replace __mempcpy_sse2_unaligned_2 with
20544         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20545         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20546         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20547         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20548         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20549         (ENTRY): Removed.
20550         (END): Likewise.
20551         (ENTRY_CHK): Likewise.
20552         (libc_hidden_builtin_def): Likewise.
20553         Don't include ../memcpy.S.
20554         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20555         __memcpy_chk_avx512_unaligned_erms and
20556         __memcpy_chk_avx512_unaligned.  Use
20557         __memcpy_chk_avx_unaligned_erms and
20558         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20559         Default to __memcpy_chk_sse2_unaligned.
20560         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20561         Change function suffix from unaligned_2 to unaligned.
20562         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20563         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20564         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20565         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20566         (ENTRY): Removed.
20567         (END): Likewise.
20568         (ENTRY_CHK): Likewise.
20569         (libc_hidden_builtin_def): Likewise.
20570         Don't include ../mempcpy.S.
20571         (mempcpy): New.  Add a weak alias.
20572         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20573         __mempcpy_chk_avx512_unaligned_erms and
20574         __mempcpy_chk_avx512_unaligned.  Use
20575         __mempcpy_chk_avx_unaligned_erms and
20576         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20577         Default to __mempcpy_chk_sse2_unaligned.
20579 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20581         [BZ #19881]
20582         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20583         into ...
20584         * sysdeps/x86_64/memset.S: This.
20585         (__bzero): Removed.
20586         (__memset_tail): Likewise.
20587         (__memset_chk): Likewise.
20588         (memset): Likewise.
20589         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20590         defined.
20591         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20592         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20593         (__memset_zero_constant_len_parameter): Check SHARED instead of
20594         PIC.
20595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20596         memset-avx2 and memset-sse2-unaligned-erms.
20597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20598         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20599         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20600         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20601         (__bzero): Enabled.
20602         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20603         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20604         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20605         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20606         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20607         (memset): Removed.
20608         (__memset_chk): Likewise.
20609         (MEMSET_SYMBOL): New.
20610         (libc_hidden_builtin_def): Replace __memset_sse2 with
20611         __memset_sse2_unaligned.
20612         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20613         __memset_chk_sse2 and __memset_chk_avx2 with
20614         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20615         Use __memset_chk_sse2_unaligned_erms or
20616         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20617         __memset_chk_avx512_unaligned_erms and
20618         __memset_chk_avx512_unaligned.
20620 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20622         * math/gen-auto-libm-test.c (fp_format_desc): remove
20623         suffix member.
20624         (output_generic_value): Remove usage of suffix member,
20625         and the resulting unuse of the fp_format argument.
20626         (output_for_one_input_case): Remove unused fp_format
20627         parameter.
20629         * math/auto-libm-test-out: Regenerate.
20631         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20632         usage with TEST_COND_ibm128.
20633         (TEST_COND_flt_32): Remove.
20634         (TEST_COND_dbl_64): Remove.
20635         (TEST_COND_ldbl_96_intel): Remove.
20636         (TEST_COND_ldbl_96_m68k): Remove.
20637         (TEST_COND_ldbl_128): Remove.
20639 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20641         * auto-libm-test-in:
20642         Replace flt-32 usage with binary32.
20643         Replace dbl-64 usage with binary64.
20644         Replace ldbl-intel-96 usage with intel96.
20645         Replace ldbl-m68k-96 usage with m68k96.
20646         Replace ldbl-128ibm usage with ibm128.
20647         Replace ldbl-128 usage with binary128.
20649         * auto-libm-test-out: Regenerate.
20651 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20653         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20654         (parse_ulps): Dynamically generate type name matching
20655         string from all_floats.
20656         (get_ulps): Generate the ulps as an array instead.
20657         (output_ulps): Dynamically compose the type based
20658         on the number of supported formats, and print
20659         the indices as type specific helper macros.
20661         * math/libm-test.inc: Remove comment about CHOOSE.
20662         (ulp_data): Generate the type in libm-test-ulps.h.
20663         (ULP_IDX): New macro.
20664         (find_ulps): Update usage of max_ulp.
20666         * math/test-double-vlen2.h (CHOOSE): Remove.
20667         * math/test-double-vlen4.h (CHOOSE): Likewise.
20668         * math/test-double-vlen8.h (CHOOSE): Likewise.
20669         * math/test-float.c (CHOOSE): Likewise.
20670         * math/test-float-finite.c (CHOOSE): Likewise.
20671         * math/test-double.c (CHOOSE): Likewise.
20672         * math/test-double-finite.c (CHOOSE): Likewise.
20673         * math/test-idouble.c (CHOOSE): Likewise.
20674         * math/test-ifloat.c (CHOOSE): Likewise.
20675         * math/test-ildoubl.c (CHOOSE): Likewise.
20676         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20677         * math/test-ldouble.c (CHOOSE): Likewise.
20679         * math/test-float.h (TEST_FLOAT): Remove.
20680         * math/test-double.h (TEST_DOUBLE): Likewise.
20681         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20683 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20685         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20686         (parse_args): Strip C suffix from floating point literals
20687         typed with 'f' and wrap them with LIT().
20689         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20690         (test_ff_f_data_nexttoward): Rename to
20691         (test_fj_f_data): New struct.
20692         (nexttoward_test_data): Relabel tests as
20693         TEST_fj_f instead of TEST_ff_f.
20695 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20697         Emacs bug 23726.
20698         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20699         (__libc_realloc): Correct size computation for dumped fake mmapped
20700         chunks.
20702 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20704         [BZ #20219]
20705         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20706         to itself.
20707         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20709         [BZ #20218]
20710         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20711         to itself.
20712         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20714 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20716         [BZ #20195]
20717         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20718         check to ...
20719         (init_cpu_features): Here.
20721 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20723         [BZ #20214]
20724         * sysdeps/unix/sysv/linux/bits/in.h
20725         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20726          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20727         Define to 1.
20728         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20729          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20730         Define to 0.
20731         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20732         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20734 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20736         [BZ #20198]
20737         * stdlib/Makefile (tests): Add tst-quick_exit, and
20738         tst-thread-quick_exit.
20739         [ifeq ($(have-cxx-thread_local),yes)]
20740         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20741         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20742         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20743         (LDLIBS-tst-thread-quick_exit): Likewise.
20744         [ifneq ($(have-cxx-thread_local),yes)]
20745         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20746         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20747         If run_dtors is true call __call_tls_dtors.
20748         (exit): Call __run_exit_handlers with run_dtors set to true.
20749         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20750         definition.
20751         * stdlib/quick_exit.c (quick_exit): Remove function.
20752         (__new_quick_exit): New function.
20753         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20754         function.
20755         * stdlib/tst-quick_exit.cc: New file.
20756         * stdlib/tst-thread-quick_exit.cc: New file.
20757         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20758         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20759         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20760         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20761         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20762         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20763         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20764         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20765         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20766         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20767         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20768         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20769         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20770         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20771         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20772         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20777         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20778         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20779         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20780         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20781         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20784         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20785         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20786         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20788 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20790         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20791         a typo in comments.
20793 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20795         [BZ #20213]
20796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20797         argument to itself.
20798         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20800 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20802         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20803         required flags.
20804         (CFLAGS-pwritev64.c): Likewise.
20805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20807         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20808         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20809         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20810         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20811         syscall from auto-generation.
20812         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20813         [WORDSIZE == 64] (pwritev64): Remove macro.
20814         [!PWRITEV] (PWRITEV): Likewise.
20815         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20816         [!PWRITEV] (PWRITE): Likewise.
20817         [!PWRITEV] (OFF_T): Likewise.
20818         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20819         (LO_HI_LONG): Remove macro.
20820         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20821         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20822         (PWRITEV): Remove macro.
20823         (PWRITEV_REPLACEMENTE): Likewise.
20824         (PWRITE): Likewise.
20825         (OFF_T): Likewise.
20826         (pwritev64): New function.
20827         * nptl/tst-cancel4.c (tf_writev): Add test.
20829         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20830         required flags.
20831         (CFLAGS-preadv64.c): Likewise.
20832         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20833         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20834         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20835         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20836         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20837         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20838         syscall from auto-generation.
20839         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20840         [WORDSIZE == 64] (preadv64): Remove macro.
20841         [!PREADV] (PREADV): Likewise.
20842         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20843         [!PREADV] (PREAD): Likewise.
20844         [!PREADV] (OFF_T): Likewise.
20845         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20846         (LO_HI_LONG): Remove macro.
20847         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20848         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20849         (PREADV): Remove macro.
20850         (PREADV_REPLACEMENTE): Likewise.
20851         (PREAD): Likewise.
20852         (OFF_T): Likewise.
20853         (preadv64): New function.
20854         * nptl/tst-cancel4.c (tf_preadv): Add test.
20856 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20858         [BZ #20212]
20859         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20860         argument to itself.
20861         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20863 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20865         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20866         New symbol defined as libc_hidden_def.
20867         (strcasestr): Became a weak alias to __strcasestr.
20868         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20869         according to multi-arch support.  Move __stpncpy hidden
20870         definition from here to...
20871         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20872         symbol stpncpy.
20873         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20874         libc_hidden_builtin_def.
20875         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20876         memset symbol to use when multi-arch support is available.
20878 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20880         * dlfcn/tst-rec-dlopen.c: Include string.h.
20882 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20884         * manual/install.texi: Remove mention of --without-tls
20885         * INSTALL: Regenerate.
20887 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20889         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20890         Remove.
20891         (call_function, interposed_malloc_called): New variables.
20892         (malloc): New function.
20893         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20894         and clear call_function as needed.
20896 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20898         * include/wchar.h (__wmemset): Use __typeof.
20900 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20902         * include/wchar.h (__wmemset): Declare function without typeof.
20904 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20906         [BZ #20205]
20907         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20908         exponent when incrementing negative subnormal with low mantissa
20909         word zero.
20910         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20911         Add another test.
20913 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20915         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20916         __wmemset instead of wmemset.
20918 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20920         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20921         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20922         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20923         __USE_KERNEL_IPV6_DEFS to 0.
20924         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20925         Update comment.
20927 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20929         [BZ #19861]
20930         Do not use IFUNC resolver with potentially unrelocated symbol.
20931         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20932         (DEFINE_FORK): Remove macro and inline definition.
20933         (fork_alias): Renamed from fork_ifunc.
20934         (__fork_alias): Renamed from __fork_ifunc.
20936 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20938         [BZ 19653]
20939         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20940         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20942 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20944         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20945         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20946         i386-linux-gnu).
20947         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20948         Set to no.
20949         * sysdeps/mach/hurd/configure: Refresh.
20951 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20953         [BZ #20178]
20954         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20955         on failure instead of exit.
20957 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20959         [BZ #3629]
20960         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20961         of POSIX.1-2008.
20963 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20965         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20966           Use PLT entry for calling _hurd_self_sigstate.
20968 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20970         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20971         available logical processors with SMT level type sharing L2
20972         cache for Intel processors.
20974 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20976         [BZ #20160]
20977         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20978         argument to itself before returning the result.
20979         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20980         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20981         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20982         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20983         Likewise.
20984         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20985         Likewise.
20986         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20987         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20988         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20989         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20990         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20991         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20993         [BZ #20160]
20994         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20995         argument to itself before returning the result.
20996         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20997         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20998         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20999         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
21000         Likewise.
21001         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21002         Likewise.
21003         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
21004         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
21005         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
21006         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21007         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21008         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21010 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21012         * libm-test.inc: Replace usage of M_El with
21013         (lit_e): New macro.
21015 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21017         * libm-test.inc: Replace usage of M_PI_4l with
21018         (lit_pi_4_d): New macro.
21020 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21022         * libm-test.inc: Replace usage of M_PIl with
21023         (lit_pi): New macro.
21025 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21027         * libm-test.inc: Replace usage of M_PI2l with
21028         (lit_pi_2_d): New macro.
21030         * math/test-double.h (LITM): New macro.
21031         * math/test-float.h (LITM): Likewise.
21032         * math/test-ldouble.h (LITM): Likewise.
21034 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21036         * libm-test.inc (M_PI_34l): Rename to
21037         (lit_pi_3_m_4_d): New Macro.
21038         (M_PI_34_LOG10El): Rename to
21039         (lit_pi_3_m_4_ln10_m_d): New Macro.
21040         (M_PI2_LOG10El): Rename to
21041         (lit_pi_2_ln10_m_d):  New Macro.
21042         (M_PI4_LOG10El): Rename to
21043         (lit_pi_4_ln10_m_d):  New Macro.
21044         (M_PI_LOG10El): Rename to
21045         (lit_pi_ln10_d):  New Macro.
21047 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21049         [BZ #20157]
21050         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
21051         determine whether to negate low half if [_ARCH_PPCGR], and integer
21052         comparison otherwise.
21053         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21054         determine whether to negate low half.
21056         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
21057         (NO_TEST_INLINE_DOUBLE): Likewise.
21058         (TEST_COND_x86_64): Likewise.
21059         (TEST_COND_x86): Likewise.
21060         (M_PI_6l): Likewise.
21062 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21064         * math/libm-test.inc:
21065         (TEST_FLOAT): Change usage to TEST_COND_binary32.
21066         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21067         (TEST_LDOUBLE): Update usage to evaluate as true if
21068         the guarded tests match the property being tested.
21069         (LDBL_MAX_EXP): Change to MAX_EXP.
21070         (LDBL_MIN_EXP): Change to MIN_EXP.
21071         (LDBL_MANT_DIG): Change to MANT_DIG, except for
21072         nexttoward tests.
21074 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21076         * math/libm-test.inc:
21077         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21078         (TYPE_MIN): Likewise.
21079         (TYPE_TRUE_MIN): Likewise.
21080         (TYPE_MAX): Likewise.
21081         (MIN_EXP): Likewise.
21082         (MAX_EXP): Likewise.
21083         (MANT_DIG): Likewise.
21085         (FSTR_MAX): New macro.
21086         (__CONCATX): Likewise.
21087         (QTYPE_STR): Likewise.
21088         (TEST_COND_binary32): Likewise.
21089         (TEST_COND_binary64): Likewise.
21090         (TEST_COND_binary128): Likewise.
21091         (TEST_COND_ibm128): Likewise.
21092         (TEST_COND_intel96): Likewise.
21093         (TEST_COND_m68k96): Likewise.
21095         (TEST_COND_flt_32): Redefine as equivalent format test macro.
21096         (TEST_COND_dbl_64): Likewise.
21097         (TEST_COND_ldbl_96_intel): Likewise.
21098         (TEST_COND_ldbl_96_m68k): Likewise.
21099         (TEST_COND_ldbl_128): Likewise.
21100         (TEST_COND_ldbl_128ibm): Likewise.
21102         (plus_zero): Redefine using LIT macro.
21103         (minus_zero): Likewise.
21104         (plus_infty): Redefine as (INF).
21105         (minux_infty): Redefine as (-INF).
21106         (max_value): Redefine as TYPE_MAX.
21107         (min_value): Redefine as TYPE_MIN.
21108         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21110         (print_float): Refactor to use snprintf to convert FLOAT values
21111         to string. This brings it closer to dropin replacement of strtof
21112         for the TS 18661 defined types.
21113         (update_stats): Likewise.
21114         (print_complex_function_ulps): Likewise.
21115         (print_max_error): Likewise.
21116         (print_complex_max_error): Likewise.
21117         (check_float_internal): Likewise.
21119         * math/test-float.h (PREFIX): New macro.
21120         (LIT): Likewise.
21121         (TYPE_STR): Likewise.
21122         (FTOSTR): Likewise.
21124         * math/test-double.h (PREFIX): New macro.
21125         (LIT): Likewise.
21126         (TYPE_STR): Likewise.
21127         (FTOSTR): Likewise.
21129         * math/test-ldouble.h (PREFIX): New macro.
21130         (LIT): Likewise.
21131         (TYPE_STR): Likewise.
21132         (FTOSTR): Likewise.
21134 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21136         [BZ #20156]
21137         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21138         to itself when zero or not finite.
21139         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21140         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21141         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21142         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21144 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
21146         [BZ #20153]
21147         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21148         x * x + x for infinities and NaNs.
21150         [BZ #20151]
21151         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21152         argument to itself before returning result.
21153         (__ieee754_y0l): Likewise.
21154         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21155         (__ieee754_y1l).
21157         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21158         (atan_test_data): Likewise.
21159         (ceil_test_data): Likewise.
21160         (cos_test_data): Likewise.
21161         (cosh_test_data): Likewise.
21162         (erf_test_data): Likewise.
21163         (exp2_test_data): Likewise.
21164         (fabs_test_data): Likewise.
21165         (floor_test_data): Likewise.
21166         (ilogb_test_data): Likewise.
21167         (j0_test_data): Likewise.
21168         (j1_test_data): Likewise.
21169         (jn_test_data): Likewise.
21170         (lgamma_test_data): Likewise.
21171         (lrint_test_data): Likewise.
21172         (llrint_test_data): Likewise.
21173         (logb_test_data): Likewise.
21174         (lround_test_data): Likewise.
21175         (llround_test_data): Likewise.
21176         (nearbyint_test_data): Likewise.
21177         (rint_test_data): Likewise.
21178         (round_test_data): Likewise.
21179         (sin_test_data): Likewise.
21180         (sincos_test_data): Likewise.
21181         (sinh_test_data): Likewise.
21182         (sqrt_test_data): Likewise.
21183         (tan_test_data): Likewise.
21184         (tanh_test_data): Likewise.
21185         (tgamma_test_data): Likewise.
21186         (trunc_test_data): Likewise.
21187         (y0_test_data): Likewise.
21188         (y1_test_data): Likewise.
21189         (yn_test_data): Likewise.
21191         * math/libm-test.inc: Update comment about NaN testing.
21192         (TEST_SNAN): New macro.
21193         (snan_value): Likewise.
21194         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21195         (fpclassify_test_data): Add sNaN tests.
21196         (isfinite_test_data): Likewise.
21197         (isinf_test_data): Likewise.
21198         (isnan_test_data): Likewise.
21199         (isnormal_test_data): Likewise.
21200         (issignaling_test_data): Likewise.
21201         (signbit_test_data): Likewise.
21202         * math/gen-libm-test.pl (%beautify): Add snan_value.
21203         (show_exceptions): Add argument $test_snan.
21204         (parse_args): Handle snan_value as non-finite.  Update call to
21205         show_exceptions.
21206         * math/Makefile (libm-test-no-inline-cflags): Add
21207         -fsignaling-nans.
21209 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21211         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21212         (CFLAGS-oldsendmsg.c): Add rule.
21213         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21214         Correct recvmsg symbol name.
21215         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21216         Likewise.
21218 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21220         * sysdeps/unix/sysv/linux/Makefile
21221         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21222         oldsendmmsg.
21223         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21224         sendmmsg.
21225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21226         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21227         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21228         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21230         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21231         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21233         Likewise.
21234         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21235         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21236         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21237         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21238         iovlen and controllen fields to adjust to POSIX specification.
21239         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21241         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21242         and change to correct expected type.
21243         (msghdr.msg_controllen): Likewise.
21244         (cmsghdr.cmsg_len): Likewise.
21245         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21246         expected POSIX assumption about the size.
21247         (msghdr.msg_controllen): Likewise.
21248         (msghdr.__glibc_reserved1): Likewise.
21249         (msghdr.__glibc_reserved2): Likewise.
21250         (cmsghdr.cmsg_len): Likewise.
21251         (cmsghdr.__glibc_reserved1): Likewise.
21252         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21253         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21254         (CFLAGS-sendmsg.c): Remove rule.
21255         (CFLAGS-recvmsg.c): Likewise.
21256         (CFLAGS-oldsendmsg.c): Add rule.
21257         (CFLAGS-oldrecvmsg.c): Likewise.
21258         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21259         recvmsg and sendmsg.
21260         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21263         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21264         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21265         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21266         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21267         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21268         Likewise.
21269         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21270         Likewise.
21271         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21272         Likewise.
21273         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21274         Likewise.
21275         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21276         Likewise.
21277         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21278         Likewise.
21279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21280         (GLIBC_2.24): Likewise.
21281         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21282         Likewise.
21283         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21284         Likewise.
21285         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21286         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21287         Likewise.
21288         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21289         Likewise.
21290         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21291         Likewise.
21292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21293         (GLIBC_2.24): Likewise.
21294         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21295         Likewise.
21296         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21297         Likewise.
21298         * sysdeps/unix/sysv/linux/Makefile
21299         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21300         (CFLAGS-sendmsg.c): Add rule.
21301         (CFLAGS-recvmsg.c): Likewise.
21302         (CFLAGS-oldsendmsg.c): Likewise.
21303         (CFLAGS-oldrecvmsg.c): Likewise.
21304         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21305         initialization.
21306         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21307         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21308         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21309         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21310         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21311         iovlen and controllen fields to adjust to POSIX specification.
21312         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21313         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21314         added recvmsg and sendmsg.
21315         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21316         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21317         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21318         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21319         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21320         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21321         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21322         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21323         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21324         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21325         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21326         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21328         Likewise.
21329         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21331         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21332         Likewise.
21333         Likewise.
21334         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21335         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21336         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21337         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21338         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21339         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21341         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21343         Likewise.
21344         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21345         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21347         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21348         from auto-generation.
21349         (sendmsg): Likewise.
21350         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21351         (sendmsg): Likewise.
21352         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21353         (sendmsg): Likewise.
21354         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21355         (sendmsg): Likewise.
21356         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21357         (sendmsg): Likewise.
21358         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21359         (sendmsg): Likewise.
21360         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21361         Likewise.
21362         (sendmsg): Likewise.
21363         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21364         (sendmsg): Likewise.
21365         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21367         Remove.
21368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21369         Likewise.
21370         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21371         Undefine.
21372         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21373         Likewise.
21374         * sysdeps/unix/sysv/linux/kernel-features.h
21375         (__ASSUME_SENDMSG_SYSCALL): Define.
21376         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21377         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21379         Remove.
21380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21381         Likewise.
21382         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21383         Undefine.
21384         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21385         Likewise.
21386         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21388         Remove.
21389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21390         Likewise.
21391         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21392         Undefine.
21393         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21394         Likewise.
21395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21396         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21397         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21398         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21399         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21400         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21401         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21402         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21403         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21405 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21407         * stdlib/gen-tst-strtod-round.c: Add backslash to
21408         compile command in comment.
21409         (printfp): Remove the literal suffix, and define an infinite
21410         value as INF to avoid expansion clash with INFINITY.
21411         (round_str): Remove the literal suffix.
21412         (round_for_all): Likewise, remove the now duplicate ldbl-64
21413         entry, and remove some magic constants.
21415         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21416         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21417         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21418         (_CONCAT): New macro.
21419         (CONCAT): Likewise.
21420         (CHOOSE_ld): Likewise.
21421         (CHOOSE_f): Likewise.
21422         (CHOOSE_d): Likewise.
21423         (FTYPE_MEMBER): Likewise.
21424         (BOOL_MEMBER): Likewise.
21425         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21426         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21427         (_XNTRY): Likewise.
21428         (XNTRY): Likewise.
21429         (_ENTRY): Likewise.
21430         (ENTRY): Likewise.
21431         (test_exactness): Generate members via macro.
21432         (test_results): Likewise.
21433         (test): Update members.
21434         (TEST): Redefine using new macros.
21435         (INF): New macro.
21436         (fetestmodes): New structure.
21437         (do_test): Refactor to be type generic.
21438         (test_in_one_mode): Refactor duplicate code into
21439         (GEN_ONE_TEST): New macro.
21441         * stdlib/tst-strtod-round-data.h: Regenerate.
21443         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21444         Extend to pass additional arbitrary parameters to
21445         generators.
21447 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21449         [BZ #15479]
21450         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21451         floating-point state after first floating-point operation on
21452         input.  Restore full floating-point state instead of just rounding
21453         mode.
21454         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21455         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21456         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21457         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21458         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21460         [BZ #15479]
21461         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21462         floating-point state after first floating-point operation on
21463         input.  Restore full floating-point state instead of just rounding
21464         mode.
21465         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21466         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21467         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21468         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21469         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21471 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21473         [BZ #19727]
21474         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21475         valid high surrogate.
21476         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21477         of an utf16 surrogate.
21478         * iconv/gconv_simple.c (BODY): Likewise.
21479         * iconvdata/bug-iconv12.c: New file.
21480         * iconvdata/Makefile (tests): Add bug-iconv12.
21482 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21484         [BZ #19726]
21485         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21486         outptrp in case of an illegal input.
21487         * iconv/tst-iconv6.c: New file.
21488         * iconv/Makefile (tests): Add tst-iconv6.
21490 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21492         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21493         an error in case of a value in range of an utf16 low surrogate.
21495 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21497         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21498         an error in case of a value in range of an utf16 low surrogate.
21500 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21502         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21503         Move to ...
21504         * sysdeps/s390/Makefile: ... here.
21505         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21506         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21507         (BRANCH_ON_COUNT): New define.
21508         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21509         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21510         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21511         run on s390-32, too.
21512         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21513         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21514         run on s390-32, too.
21515         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21516         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21517         run on s390-32, too.
21519 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21521         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21522         etf3eh or new vector loop-variant.
21524 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21526         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21527         etf3eh or new vector loop-variant.
21529 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21531         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21532         or new vector loop-variant.
21534 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21536         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21537         Rename to TR_LOOP and usage of tr instead of troo instruction.
21539 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21541         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21542         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21544 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21546         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21547         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21548         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21549         New override define.
21550         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21552 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21554         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21555         * sysdeps/s390/configure.ac: Add test for S390 vector register
21556         support in gcc.
21557         * sysdeps/s390/configure: Regenerated.
21559 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21561         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21562         Install file from $(objpfx)gconv-modules.
21563         ($(objpfx)gconv-modules): Concatenate architecture specific file
21564         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21565         * sysdeps/s390/gconv-modules: New file.
21566         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21567         Deleted.
21568         ($(objpfx)gconv-modules-s390): Deleted.
21569         (sysdeps-gconv-modules): New variable.
21571 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21573         [BZ #15479]
21574         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21575         of immediate operand to rounding instruction.
21576         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21577         Likewise.
21578         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21579         Likewise.
21580         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21581         Likewise.
21583 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21585         * math/libm-test.inc (MIN_EXP): Directly define as
21586         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21588 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21590         * math/libm-test.inc (MANT_DIG): Directly define as
21591         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21593 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21595         * stdlib/gen-tst-strtod-round.c (main):
21596           Change usage to more closely match the generated
21597           output.  Add usage and compilation instructions.
21598           (string_to_fp): Add and use FILE* parameter as
21599           output target.
21600           (print_fp): Likewise.
21601           (round_str): Likewise.
21602           (round_for_all): Likewise.
21603         * stdlib/tst-strtod-round.c (tests): Move into
21604         * stdlib/tst-strtod-round-data.h: New file.
21606 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21608         [BZ #15479]
21609         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21610         (__round): Do not force "inexact" exception.
21611         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21612         variable.
21613         (__round): Do not force "inexact" exception.
21614         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21615         (__roundf): Do not force "inexact" exception.
21616         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21617         (__roundl): Do not force "inexact" exception.
21618         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21619         (__roundl): Do not force "inexact" exception.
21620         * math/libm-test.inc (round_test_data): Do not allow spurious
21621         "inexact" exceptions.
21623         [BZ #15479]
21624         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21625         exception in comment.
21626         (huge): Remove variable.
21627         (__floor): Do not force "inexact" exception.
21628         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21629         "inexact" exception in comment.
21630         (huge): Remove variable.
21631         (__floor): Do not force "inexact" exception.
21632         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21633         exception in comment.
21634         (huge): Remove variable.
21635         (__floorf): Do not force "inexact" exception.
21636         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21637         exception in comment.
21638         (huge): Remove variable.
21639         (__floorl): Do not force "inexact" exception.
21641         [BZ #15479]
21642         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21643         exception in comment.
21644         (huge): Remove variable.
21645         (__ceil): Do not force "inexact" exception.
21646         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21647         "inexact" exception in comment.
21648         (huge): Remove variable.
21649         (__ceil): Do not force "inexact" exception.
21650         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21651         (__ceilf): Do not force "inexact" exception.
21652         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21653         exception in comment.
21654         (huge): Remove variable.
21655         (__ceill): Do not force "inexact" exception.
21657 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21659         * config.h.in (BIND_NOW): New.
21660         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21661         * configure: Regenerated.
21662         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21663         indirect branch via the GOT slot.
21665 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21667         [BZ #19765]
21668         * sysdeps/s390/mempcpy.S: New File.
21669         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21671         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21672         Add mempcpy variants.
21673         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21674         (memcpy): Adjust to be usable from mempcpy entry point.
21675         (__memcpy_mvcle): Likewise.
21676         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21677         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21678         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21679         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21680         (__memcpy_z10): Likewise.
21681         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21683 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21685         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21686         Remove __GI_ symbol.
21687         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21688         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21689         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21690         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21691         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21692         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21694 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21696         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21697         Use cghi instead of chi to compare 64bit value.
21699 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21701         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21702         Jump to 1MB check before executing mvc-loop.
21704 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21706         [BZ #6527]
21707         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21708         unconditionally.
21709         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21711 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21713         * stdlib/tst-strtod6.c (do_test): Use new type generic
21714         invocation of the test function.
21715         (test): Refactor into ...
21716         (TEST_STRTOD): New macro base function.
21718 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21720         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21721         (TEST_STRTOD): New macro.
21722         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21724 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21726         * stdlib/tst-strtod6.c (do_test): Use new type generic
21727         invocation of the test function.
21728         (test): Refactor into ...
21729         (TEST_STRTOD): New macro base function.
21731 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21733         CVE-2016-4429
21734         [BZ #20112]
21735         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21736         payload.
21738 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21740         [BZ #20111]
21741         * bits/sockaddr.h (_SS_SIZE): Define.
21742         * bits/socket.h (_SS_SIZE): Remove.
21743         (_SS_PADSIZE): Adjust to account for all padding.
21744         (struct sockaddr_storage): Update comment.  Avoid implicit
21745         padding.
21746         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21747         (_SS_PADSIZE): Adjust to account for all padding.
21748         (struct sockaddr_storage): Update comment.  Avoid implicit
21749         padding.
21750         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21751         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21752         (_SS_PADSIZE): Adjust to account for all padding.
21753         (struct sockaddr_storage): Update comment.  Avoid implicit
21754         padding.
21755         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21756         __SS_SIZE is 126 in this version.
21757         * inet/tst-sockaddr.c: New file.
21758         * inet/Makefile (tests): Add tst-sockaddr.c
21759         (tst-sockaddr.c): Compile with non-strict aliasing.
21761 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21763         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21764         [XPG3 || XPG4].
21765         (NL_ARGMAX): Also expect for [XPG3].
21766         (NL_LANGMAX): Likewise.
21767         (NL_MSGMAX): Likewise.
21768         (NL_NMAX): Likewise.
21769         (NL_SETMAX): Likewise.
21770         (NL_TEXTMAX): Likewise.
21771         (NZERO): Likewise.
21772         (TMP_MAX): Likewise.
21773         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21774         variable.
21776         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21777         (PF_MAX): Update value.
21778         (AF_KCM): New macro.
21779         (SOL_NETBEUI): Likewise.
21780         (SOL_LLC): Likewise.
21781         (SOL_DCCP): Likewise.
21782         (SOL_NETLINK): Likewise.
21783         (SOL_TIPC): Likewise.
21784         (SOL_RXRPC): Likewise.
21785         (SOL_PPPOL2TP): Likewise.
21786         (SOL_BLUETOOTH): Likewise.
21787         (SOL_PNPIPE): Likewise.
21788         (SOL_RDS): Likewise.
21789         (SOL_IUCV): Likewise.
21790         (SOL_CAIF): Likewise.
21791         (SOL_ALG): Likewise.
21792         (SOL_NFC): Likewise.
21793         (SOL_KCM): Likewise.
21794         (MSG_BATCH): New enum value and macro.
21796 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21798         [BZ #18185]
21799         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21800         sharing L2 cache to 2 for Knights Landing.
21802 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21804         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21805         (FTW_DP): Do not expect for [XPG3 || XPG4].
21806         (FTW_SL): Do not expect for [XPG3].
21807         (FTW_SLN): Likewise.
21808         (FTW_PHYS): Likewise.
21809         (FTW_MOUNT): Likewise.
21810         (FTW_DEPTH): Likewise.
21811         (FTW_CHDIR): Likewise.
21812         (nftw): Likewise.
21813         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21814         variable.
21816 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21818         * manual/errno.texi: Fix various typos & grammar errors.
21820 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21822         * manual/intro.texi: Fix duplicated typo.
21824 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21826         [BZ #13304]
21827         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21828         <float.h>, <math_private.h> and <stdlib.h>.
21829         (add_split): New function.
21830         (mul_split): Likewise.
21831         (ext_val): New typedef.
21832         (store_ext_val): New function.
21833         (mul_ext_val): New function.
21834         (compare): New function.
21835         (add_split_ext): New function.
21836         (__fmal): After checking for Inf, NaN and zero, compute result as
21837         an exact sum of scaled double values in round-to-nearest before
21838         adding those up and adjusting for other rounding modes.
21839         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21840         tests of fma.
21841         * math/auto-libm-test-out: Regenerated.
21843 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21845         [BZ #20119]
21846         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21847         processor level type mask for CPUID with EAX == 11.
21849 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21851         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21852         logical threads if the HTT bit is 0.
21853         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21854         (index_cpu_HTT): Likewise.
21855         (reg_HTT): Likewise.
21857 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21859         [BZ #20115]
21860         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21861         Remove alignments on jump targets.
21863 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21865         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21866         (getpwent): Likewise.
21867         (setpwent): Likewise.
21868         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21869         variable.
21871         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21872         (remque): Likewise.
21873         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21874         variable.
21876 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21878         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21879         not being tested.
21881 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21883         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21884         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21885         call.
21886         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21887         (__condvar_cleanup1): Likewise.
21889 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21891         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21892         New
21893         (__pthread_unwind): Renamed to ...
21894         (PTHREAD_UNWIND): This.
21895         (__pthread_enable_asynccancel): Replace
21896         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21898 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21900         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21901         (CLONE_NEWCGROUP): New macro.
21903         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21904         (Q_GETNEXTQUOTA): New macro.
21906 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21908         [BZ #19907]
21909         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21910         buffer updated by the previous run.
21911         * string/test-memcpy.c (do_one_test): Likewise.
21912         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21913         * string/test-memmove.c (do_one_test): Likewise.
21915 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21917         [BZ #20094]
21918         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21919         not [__USE_XOPEN].
21920         (unlockpt): Likewise.
21921         (ptsname): Likewise.
21922         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21923         variable.
21925         [BZ #20076]
21926         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21927         instead of [__USE_UNIX98].
21928         (S_ISSOCK): Likewise.
21929         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21930         variable.
21932         [BZ #20074]
21933         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21934         [__USE_POSIX].
21935         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21936         variable.
21938         [BZ #20051]
21939         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21940         (ttyslot): Do not declare.
21941         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21942         (ttyslot): New prototype.
21943         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21944         variable.
21945         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21947 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21949         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21951 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21953         Fix race condition in tst-mallocfork2, use fewer resources.
21954         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21955         to current process group.
21956         (signal_sender): Yield in the non-sleeping case.
21958 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21960         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21961         (ecvt): Likewise.
21962         (fcvt): Likewise.
21963         (gcvt): Likewise.
21964         (getsubopt): Likewise.
21965         (grantpt): Likewise.
21966         (initstate): Likewise.
21967         (l64a): Likewise.
21968         (mktemp): Likewise.
21969         (mkstemp): Likewise.
21970         (ptsname): Likewise.
21971         (random): Likewise.
21972         (realpath): Likewise.
21973         (setstate): Likewise.
21974         (srandom): Likewise.
21975         (ttyslot): Likewise.
21976         (unlockpt): Likewise.
21977         (valloc): Likewise.
21979         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21980         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21981         variable.
21983 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21985         [BZ #20072]
21986         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21987         init_cpu_features only if SHARED is defined.
21988         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21990 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21992         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21993         non-inclusive caches on Intel processors.
21995 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21997         * malloc/malloc.c (dumped_main_arena_start)
21998         (dumped_main_arena_end): New variables.
21999         (DUMPED_MAIN_ARENA_CHUNK): New macro.
22000         (do_check_chunk): Skip dumped fake mmapped chunks.
22001         (munmap_chunk): Likewise.
22002         (__libc_free): Do not adjust statistics for fake mmapped chunks.
22003         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
22004         mmapped chunks.
22005         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
22006         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
22007         and dumped_main_arena_end to cover the dumped heap.
22009 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
22011         * conform/data/time.h-data (getdate_err): Do not expect for
22012         [XPG3].
22013         (getdate): Likewise.
22014         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
22015         variable.
22017         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
22018         (F_ULOCK): Likewise.
22019         (F_TEST): Likewise.
22020         (F_TLOCK): Likewise.
22021         (useconds_t): Likewise.
22022         (intptr_t): Do not expect for [XPG3] or [XPG4].
22023         (brk): Do not expect for [XPG3]
22024         (fchown): Likewise.
22025         (fchdir): Likewise.
22026         (ftruncate): Likewise.
22027         (getdtablesize): Likewise.
22028         (gethostid): Likewise.
22029         (getpagesize): Likewise.
22030         (getpgid): Likewise.
22031         (getsid): Likewise.
22032         (getwd): Likewise.
22033         (lchown): Likewise.
22034         (lockf): Likewise.
22035         (readlink): Likewise.
22036         (sbrk): Likewise.
22037         (setpgrp): Likewise.
22038         (setregid): Likewise.
22039         (setreuid): Likewise.
22040         (symlink): Likewise.
22041         (sync): Likewise.
22042         (truncate): Likewise.
22043         (ualarm): Likewise.
22044         (usleep): Likewise.
22045         (vfork): Likewise.
22046         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
22047         variable.
22049         [BZ #20054]
22050         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
22051         not [__USE_UNIX98].
22052         * conform/data/unistd.h-data (gethostname): Do not expect for
22053         [XPG3].
22055         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
22056         [!POSIX] (S_IFBLK): Likewise.
22057         [!POSIX] (S_IFCHR): Likewise.
22058         [!POSIX] (S_IFIFO): Likewise.
22059         [!POSIX] (S_IFREG): Likewise.
22060         [!POSIX] (S_IFDIR): Likewise.
22061         [!POSIX] (S_IFLNK): Likewise.
22062         [!POSIX] (S_IFSOCK): Likewise.
22063         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22064         variable.
22065         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22067 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
22069         * sysdeps/aarch64/memset.S (__memset):
22070         Rewrite of optimized memset.
22072 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22074         [BZ #19703]
22075         Partially async-signal-safe fork for single-threaded processes.
22076         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22077         variable.  Do not acquire and reset/release malloc and libio locks
22078         in single-threaded processes.
22079         * malloc/tst-mallocfork2.c: New file.
22080         * malloc/Makefile (tests): Add it.
22082 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22084         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22085         argument.  Use scratch buffer instead of extend_alloca.
22086         (gethosts): Use scratch buffer instead of extend_alloca.
22087         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
22088         extend_alloca.
22089         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22091 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
22093         [BZ #20055]
22094         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22095         instead of [__USE_UNIX98].
22096         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22097         [__USE_UNIX98].
22098         * conform/data/termios.h-data (tcgetsid): Do not expect for
22099         [XPG3].
22100         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22101         variable.
22102         (test-xfail-XPG4/termios.h/conform): Likewise.
22104 2016-05-11  Florian Weimer  <fweimer@redhat.com>
22106         Do not use mcheck in localedef.
22107         * locale/programs/localedef.c (turn_on_mcheck)
22108         (__malloc_initialize_hook): Remove.
22110 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22112         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22113         * sysdeps/s390/s390-64/Makefile: Likewise.
22115 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22117         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22118         Remove ifunc-defines.sym.
22119         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22120         Likewise.
22121         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22122         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22123         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22124         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22125         rtld-global-offsets.sym.
22126         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22127         * sysdeps/x86/cpu-features-offsets.sym: This.
22128         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22129         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22131 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
22133         [BZ #20073]
22134         * io/sys/stat.h (fchmod): Declare for
22135         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22136         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22137         variable.
22139         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22140         [XPG3] (S_IFSOCK): Likewise.
22141         [XPG3] (S_ISVTX): Likewise.
22142         [XPG3] (S_ISLNK): Likewise.
22143         [XPG3] (S_ISSOCK): Likewise.
22144         [XPG3] (fchmod): Likewise.
22145         [XPG3] (lstat): Likewise.
22146         [XPG3] (mknod): Likewise.
22148         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22149         [XPG3].  Expect type long and XFAIL for [XPG4].
22150         (st_blocks): Likewise.
22152         [BZ #20044]
22153         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22154         (pthread_atfork): New prototype.
22155         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22156         variable.
22158         [BZ #20043]
22159         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22160         prototype.
22162 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22164         [BZ #20017]
22165         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22166         gmtime.
22168 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22170         [BZ #19994]
22171         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22172         flag in _res.options.
22174 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22176         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22177         [XPG3 || XPG4].
22178         (blksize_t): Likewise.
22179         (clockid_t): Likewise.
22180         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22181         variable.
22182         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22184 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22186         * sysdeps/unix/sysv/linux/s390/init-first.c:
22187         Add VDSO_SYMBOL(getcpu).
22188         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22189         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22190         Add VDSO_SYMBOL(getcpu).
22191         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22192         New define HAVE_GETCPU_VSYSCALL.
22193         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22195 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22197         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22198         instead of <sysdeps/x86_64/cacheinfo.c>.
22199         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22200         * sysdeps/x86/cacheinfo.c: Here.
22202 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22204         * malloc/malloc-internal.h: Adjust header file guard.
22206 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22208         [BZ #19787]
22209         * inet/getnameinfo.c (check_sprintf_result): New function.
22210         (CHECKED_SNPRINTF): New macro.
22211         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22212         to the host buffer.
22213         (gni_host_local): Use checked_copy to copy the host name.
22214         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22215         (gni_serv_local): Use checked_copy to copy the service name.
22216         (getnameinfo): Remove unnecessary truncation of result buffers.
22218 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22220         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22221         in case of inet_ntop failure.
22223 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22225         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22226         avoid long lines.
22227         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22228         variables.
22229         (gni_host_inet, gni_host_local): Add comment.
22230         (gni_host): Add comment.  Use temporary to avoid long lines.
22232 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22234         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22235         registers specifiers where general purpose registers specifiers should
22236         have been used.
22238 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22240         [BZ #19779]
22241         CVE-2016-1234
22242         Avoid copying names of directory entries.
22243         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22244         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22245         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22246         (struct readdir_result): New type.
22247         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22248         (GL_READDIR): New macros.
22249         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22250         (convert_dirent, convert_dirent64): New functions.
22251         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22252         convert_dirent64.  Adjust references to the readdir result.
22253         * sysdeps/unix/sysv/linux/i386/glob64.c:
22254         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22255         * posix/bug-glob2.c (LONG_NAME): Define.
22256         (filesystem): Add LONG_NAME.
22257         (my_DIR): Increase the size of room_for_dirent.
22259 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22261         [BZ #20041]
22262         * misc/sys/select.h (__need_timespec): Only define if
22263         [__USE_XOPEN2K].
22264         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22265         variable.
22266         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22267         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22268         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22270 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22271             Segher Boessenkool  <segher@gcc.gnu.org>
22273         [BZ #20004]
22274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22275         (__novec_swapcontext): Add missing load.
22277 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22279         [BZ #20023]
22280         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22281         <time.h>.
22282         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22283         variable.
22284         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22286 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22289         flags CLONE_VM compare.
22291 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22293         [BZ #20031]
22294         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22295         completely empty.
22297 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22299         [BZ #19573]
22300         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22301         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22302         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22303         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22304         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22305         (hesiod_free_list): Mark as hidden.
22306         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22307         res_set, res_get.
22308         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22309         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22310         (hesiod_init): Remove obsolete res_ninit call.
22311         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22312         (hesiod_bind): Do not call init.
22313         (get_txt_records): Use res_mkquery, res_send instead of
22314         res_nmkquery, res_nsend.
22315         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22316         instead of _nss_hesiod_init.
22317         (_nss_hesiod_initgroups_dyn): Likewise.
22318         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22319         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22320         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22322 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22324         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22325         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22327 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22329         * hesiod/hesiod.h: Remove RCS keyword.
22330         * hesiod/hesiod_p.h: Likewise.
22332         * hesiod/hesiod.c: Likewise.
22334 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22336         [BZ #12450]
22337         * locale/iso-639.def: Add Samogitian/sgs.
22339 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22341         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22343         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22345 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22346             Carlos O'Donell  <carlos@redhat.com>
22348         [BZ #19072]
22349         * grp/Makefile (headers): Add grp-merge.h
22350         (routines): Add grp-merge.
22351         * grp/getgrgid_r.c: Include grp-merge.h.
22352         (DEEPCOPY_FN): Define.
22353         (MERGE_FN): Define.
22354         * grp/getgrname_r.c: Include grp-merge.h.
22355         (DEEPCOPY_FN): Define.
22356         (MERGE_FN): Define.
22357         * grp/grp-merge.c: New file.
22358         * grp/grp-merge.h: New file.
22359         * include/grp-merge.h: New file.
22360         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22361         __copy_grp@GLIBC_PRIVATE.
22362         * manual/nss.texi (Actions in the NSS configuration): Describe
22363         return, continue, and merge.
22364         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22365         (DEEPCOPY_FN): Define.
22366         (MERGE_FN): Define.
22367         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22368         (DEEPCOPY_FN): Define.
22369         (MERGE_FN): Define.
22370         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22371         [!MERGE_FN]: Define __merge_einval.
22372         (CHECK_MERGE): Define.
22373         (REENTRANT_NAME): Process merge if do_merge is true.
22374         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22375         (__nss_getent_r): Likewise.
22376         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22377         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22379 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22381         [BZ #20012]
22382         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22383         length to calculate the buffer to read.
22384         (fmemopen_write): Set the buffer position based on bytes written.
22385         (fmemopen_seek): Return EINVAL for invalid whence modes.
22387         [BZ #19957]
22388         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22389         tst-getpid2.
22390         (test): Add tst-clone2.
22391         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22392         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22393         pid/tid fields for CLONE_VM.
22394         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22395         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22396         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22397         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22398         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22399         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22400         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22401         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22403         Likewise.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22405         Likewise.
22406         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22407         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22408         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22409         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22410         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22411         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22412         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22413         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22415 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22417         [BZ #19642]
22418         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22419         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22420         (gni_serv_local, gni_serv): New functions extracted from
22421         getnameinfo.
22422         (getnameinfo): Call gni_host and gni_serv to perform the
22423         processing.  Always free scratch buffer.
22425 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22427         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22428         remaining bytes in the dest string, with zeros.
22430 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22432         [BZ #20010]
22433         CVE-2016-3706
22434         * sysdeps/posix/getaddrinfo.c
22435         (convert_hostent_to_gaih_addrtuple): New function.
22436         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22437         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22438         AF_INET data.
22440 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22442         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22443         callback function gl_readdir.
22444         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22445         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22446         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22447         memcpy to copy the name.
22448         * manual/pattern.texi (Calling Glob): Document requirements for
22449         implementations of the gl_readdir callback function.
22450         * manual/examples/mkdirent.c: New example.
22451         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22452         per the manual guidance.
22453         * posix/tst-gnuglob.c (my_readdir): Likewise.
22455 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22457         [BZ #20014]
22458         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22459         not [__USE_POSIX].
22460         (getchar_unlocked): Likewise.
22461         (putc_unlocked): Likewise.
22462         (putchar_unlocked): Likewise.
22463         (flockfile): Likewise.
22464         (ftrylockfile): Likewise.
22465         (funlockfile): Likewise.
22466         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22467         variable.
22468         (test-xfail-XPG4/stdio.h/conform): Likewise.
22470         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22471         Expect constant.
22472         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22473         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22474         variable.
22475         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22476         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22478         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22479         [__USE_LARGEFILE64] (off64_t): Likewise.
22480         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22481         variable.
22483 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22485         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22487 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22489         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22490         * resolv/res_init.c: Likewise.
22491         * resolv/res_mkquery.c: Likewise.
22493 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22495         * resolv/res_init.c (isascii): Do not define.  Use definition in
22496         <ctype.h>.
22497         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22498         (LOG_AUTH): Remove.
22499         (SPRINTF): Remove, adjust caller.
22500         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22502 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22504         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22505         SUNSECURITY conditional.
22506         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22508 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22510         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22511         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22512         Remove BSD-related preprocessor conditionals.
22513         * conf/portability.h: Remove.
22515 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22517         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22518         * resolv/res_data.c: Likewise.
22520 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22522         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22523         * resolv/res_data.c: Remove code conditional on ultrix.
22525 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22527         * resolv/res_init.c (RFC1535): Do not define.  Remove
22528         RFC1535 preprocessor conditionals.
22529         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22530         because there configuration options which make the resolver
22531         behavior different.
22533 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22535         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22536         RESOLVSORT preprocessor conditionals.
22537         * resolv/nss_dns/dns-host.c: Likewise.
22538         * resolv/res_init.c: Likewise.
22540 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22542         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22543         is never defined.
22545 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22547         * inet/inet_lnaof.c: Remove SCSS keyword.
22548         * inet/inet_mkadr.c: Likewise.
22549         * inet/inet_net.c: Likewise.
22550         * inet/inet_netof.c: Likewise.
22551         * inet/rcmd.c: Likewise.
22552         * inet/rexec.c: Likewise.
22553         * inet/ruserpass.c: Likewise.
22555 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22557         * resolv/inet_addr.c: Remove _LIBC conditionals.
22558         * resolv/res_data.c: Likewise.
22559         * resolv/res_init.c: Likewise.
22560         * resolv/res_mkquery.c: Likewise.
22561         * resolv/res_libc.c: Update comment.
22562         * resolv/README: Update.
22564 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22566         * resolv/gethnamaddr.c: Remove SCSS keyword.
22567         * resolv/herror.c: Likewise.
22568         * resolv/inet_addr.c: Likewise.
22569         * resolv/inet_net_ntop.c: Likewise.
22570         * resolv/inet_net_pton.c: Likewise.
22571         * resolv/inet_neta.c: Likewise.
22572         * resolv/inet_ntop.c: Likewise.
22573         * resolv/inet_pton.c: Likewise.
22574         * resolv/ns_date.c: Remove RCS keyword.
22575         * resolv/ns_name.c: Likewise.
22576         * resolv/ns_netint.c: Likewise.
22577         * resolv/ns_parse.c: Likewise.
22578         * resolv/ns_print.c: Likewise.
22579         * resolv/ns_samedomain.c: Likewise.
22580         * resolv/ns_ttl.c: Likewise.
22581         * resolv/nsap_addr.c: Likewise.
22582         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22583         * resolv/res_data.c: Remove RCS keyword.
22584         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22585         * resolv/res_init.c: Likewise.
22586         * resolv/res_mkquery.c: Likewise.
22587         * resolv/res_query.c: Likewise.
22588         * resolv/res_send.c: Likewise.
22590 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22592         * conform/data/stdio.h-data (fdopen): Expect also for
22593         [XPG3 || XPG4].
22595         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22596         (fseeko): Likewise.
22597         (ftello): Likewise.
22598         (ftrylockfile): Likewise.
22599         (funlockfile): Likewise.
22600         (getc_unlocked): Likewise.
22601         (getchar_unlocked): Likewise.
22602         (putc_unlocked): Likewise.
22603         (putchar_unlocked): Likewise.
22605 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22607         [BZ #19868]
22608         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22609         DNS packet syntax checks (which were not needed before).  Skip
22610         over non-PTR records.
22612 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22614         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22615         definition.  Include <stddef.h> instead.
22617 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22619         [BZ #19831]
22620         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22621         function.
22622         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22623         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22625 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22627         [BZ #19862]
22628         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22629         (getanswer_r): Do not call syslog.
22630         (gaih_getanswer_slice): Likewise.
22631         * resolv/gethnamaddr.c (AskedForGot): Remove.
22632         (getanswer): Do not call syslog.
22633         (gethostbyaddr): Likewise.
22635 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22637         * conform/data/signal.h-data (union sigval): Expect also if
22638         [XOPEN2K].
22639         (struct sigevent): Likewise.
22640         (SIGEV_NONE): Likewise.
22641         (SIGEV_SIGNAL): Likewise.
22642         (SIGEV_THREAD): Likewise.
22643         (SIGRTMIN): Likewise.
22644         (SIGRTMAX): Likewise.
22645         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22646         variable.
22647         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22649 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22651         [BZ #19830]
22652         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22653         (gaih_getanswer_slice): Likewise.
22654         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22655         Also check for availability of RR metadata.
22657 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22659         [BZ #19825]
22660         * resolv/res_send.c (send_vc): Remove early *resplen2
22661         initialization.  Set *resplen2 on socket error.  Call
22662         close_and_return_error for other errors.
22664 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22666         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22667         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22668         (SCM_IUCV_TRGCLS): New define.
22670 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22672         [BZ #20005]
22673         * libio/fmemopen.c (fmemopen_write): Update internal position after
22674         write.
22675         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22676         * stdio-common/tst-fmemopen4.c: New file..
22678 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22680         [BZ #19996]
22681         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22682         not [__USE_XOPEN2K].
22683         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22684         variable.
22686         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22687         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22688         variable.
22690         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22691         [__USE_XOPEN2K8].
22692         [__USE_LARGEFILE64] (off64_t): Likewise.
22693         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22694         variable.
22696 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22698         [BZ #19989]
22699         * libio/stdio.h (cuserid): Do not declare if
22700         [__USE_XOPEN2K && !__USE_GNU].
22701         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22702         variable.
22704 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22706         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22707         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22709         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22710         ifunc'ed strcspn.
22711         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22712         [EALIGN]: Removed.
22713         [END]: Likewise
22714         [STRSPN]: Define instead of the above to control symbol name.
22715         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22716         New file.
22717         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22718         Likewise.
22719         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22720         Likewise.
22721         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22722         Likewise.
22723         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22724         [INITIAL_MASK]: New macro.
22725         [STRCSPN]: Likewise.
22726         [UPDATE_MASK]: Likewise.
22727         [USE_AS_STRCSPN]: Likewise.
22729 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22731         [BZ #19931]
22732         * stdio-common/tst-vfprintf-width-prec.c: New file.
22733         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22734         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22735         (generated): Add mtrace-related files.
22736         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22737         (tst-%-mem.out): New pattern rule, replaces
22738         tst-printf-bz18872-mem.out.
22739         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22740         specifier, deallocate any previously allocated work buffer.
22742 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22744         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22745         Add nop before __startcontext, add explaining comments.
22747 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22749         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22750         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22751         completely different API.
22753         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22754         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22755         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22756         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22757         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22758         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22759         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22760         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22761         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22762         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22764 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22766         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22768 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22770         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22771         when it is the default of 0.
22773 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22775         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22776         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22777         (sysdep_routines): Add new strcasestr targets.
22778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22779         (__libc_ifunc_impl_list): Likewise.
22780         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22781         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22782         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22783         * sysdeps/powerpc/powerpc64/power8/Makefile:
22784         New file to add strcasestr-ppc64 to sysdep_routines.
22785         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22786         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22788 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22790         * benchtests/Makefile (wcsmbs-benchset): Include only for
22791         native builds and runs.
22792         (LOCALES): Likewise.
22793         (bench-build): Build timing-type here instead of the bench
22794         target.  Generate locale only for native builds.
22795         * benchtests/README: Add note for cross-building.
22797         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22799         * benchtests/README: Update README to include instructions on
22800         using bench-build.
22802         * Makefile.in (bench-build): New target.
22803         * Rules (PHONY): Add bench-build target.
22804         * benchtests/Makefile (bench): Depend on bench-build.
22805         (bench-build): New target.
22807 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22809         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22810         profil_reply_port.
22811         (profile_waiter): Do not initialize profil_reply_port.
22812         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22813         frequency instead of tick length in us.
22815 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22817         [BZ #18712]
22818         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22819         (__old_mempcpy_small): Likewise.
22820         (__old_strcpy_small): Likewise.
22821         (__old_stpcpy_small): Likewise.
22822         (__old_strpbrk_c2): Fix compat symbol name.
22823         (__old_strpbrk_c3): Likewise.
22824         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22825         (__mempcpy_small): Remove.
22826         (__strcpy_small): Remove.
22827         (__stpcpy_small): Remove.
22829 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22831         [BZ #19400]
22832         * locale/iso-639.def: Add the Talossan/tzl language.
22834 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22836         [BZ #16983]
22837         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22838         comment.  Add "ln" to strchr check on postal_fmt.
22840 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22842         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22843         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22844         tel_dom_fmt.
22846 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22848         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22849         (sysdep_routines): Added __strlen_power8.
22850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22851         __strlen_power8 entry.
22852         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22853         Implementation for POWER8.
22854         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22855         for __strlen_power8.
22856         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22857         Implementation for POWER8.
22859 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22861         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22863 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22865         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22866         Goldmont and Airmont processors.
22868 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22870         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22871         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22872         (__STRING2_SMALL_GET32): Remove.
22873         (memset): Remove.
22874         (__memset_1): Remove.
22875         (__memset_gc): Remove.
22876         (__mempcpy): Remove.
22877         (mempcpy): Remove.
22878         (__mempcpy_args): Remove.
22879         (strchr): Remove.
22880         (strcpy): Remove.
22881         (strcpy_args): Remove.
22882         (__stpcpy_args): Remove.
22883         (__strcmp_cc): Remove.
22884         (__strcmp_gc): Remove.
22885         (strstr): Remove.
22887 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22889         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22890         * nis/nis_call.c (nis_server_cache_add): Likewise.
22892 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22894         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22896 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22898         * malloc/arena.c (__malloc_fork_lock_parent)
22899         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22900         internal_function attribute.
22902 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22904         * stdio-common/printf_fp.c (__printf_fp_l):
22905         Rename ___printf_fp_l to __printf_fp_l and
22906         remove strong alias. Use libc_hidden_def instead
22907         of ldbl_hidden_def macro.
22909 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22911         Remove malloc hooks from fork handler.  They are no longer needed
22912         because malloc runs right before fork, and no malloc calls from
22913         other fork handlers are not possible anymore.
22914         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22915         declarations.
22916         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22917         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22918         (atfork_recursive_cntr): Remove.
22919         (__malloc_fork_lock_parent): Do not override malloc hooks and
22920         thread_arena.
22921         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22922         thread_arena.
22923         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22924         thread_arena instead of save_arena.
22926 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22928         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22929         (thread_atfork, thread_atfork_static): Remove.
22930         * sysdeps/mach/hurd/malloc-machine.h:
22931         (thread_atfork, thread_atfork_static): Remove.
22933 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22935         [BZ #19431]
22936         Run the malloc fork handler as late as possible to avoid deadlocks.
22937         * malloc/malloc-internal.h: New file.
22938         * malloc/malloc.c: Include it.
22939         * malloc/arena.c (ATFORK_MEM): Remove.
22940         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22941         Update comment.
22942         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22943         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22944         Remove outdated comment.
22945         (ptmalloc_init): Do not call thread_atfork.  Remove
22946         thread_atfork_static.
22947         * malloc/tst-malloc-fork-deadlock.c: New file.
22948         * Makefile (tests): Add tst-malloc-fork-deadlock.
22949         (tst-malloc-fork-deadlock): Link against libpthread.
22950         * manual/memory.texi (Aligned Memory Blocks): Update safety
22951         annotation comments.
22952         * sysdeps/nptl/fork.c (__libc_fork): Call
22953         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22954         __malloc_fork_unlock_child.
22955         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22957 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22959         [BZ #19613]
22960         Remove union wait.
22961         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22962         (w_stopsig, w_stopval): Remove.
22963         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22964         stat_loc argument.
22965         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22966         (__WAIT_STATUS_DEFN): Remove.
22967         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22968         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22969         (wait, wait3, wait4): Use int * for the stat_loc argument.
22970         * posix/wait.c (__wait): Likewise.
22971         * posix/wait3.c (__wait3): Likewise.
22972         * posix/wait4.c (__wait4): Likewise.
22973         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22974         (__WAIT_STATUS_DEFN): Remove.
22975         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22976         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22977         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22978         argument.
22979         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22980         * sysdeps/posix/wait3.c (__wait3): Likewise.
22981         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22982         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22983         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22984         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22985         stat_loc argument.
22986         * manual/process.texi (BSD Wait Functions): Remove union wait.
22988 2016-04-13  Andreas Schwab  <schwab@suse.de>
22990         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22991         (test-extras): Add tst-tlsalign-vars.
22992         * math/Makefile: Wrap long lines.
22993         (libm-vec-test-wrappers): Define.
22994         (test-extras): Add $(libm-vec-test-wrappers).
22995         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22996         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22997         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22998         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22999         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
23000         (extra-test-objs): Add corresponding objects.
23002 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
23004         [BZ #19928]
23005         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
23006         New.
23007         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
23008         times of shared cache size.
23009         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
23010         (VMOVNT): New.
23011         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
23012         (VMOVNT): Likewise.
23013         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23014         (VMOVNT): Likewise.
23015         (VMOVU): Changed to movups for smaller code sizes.
23016         (VMOVA): Changed to movaps for smaller code sizes.
23017         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
23018         comments.
23019         (PREFETCH): New.
23020         (PREFETCH_SIZE): Likewise.
23021         (PREFETCHED_LOAD_SIZE): Likewise.
23022         (PREFETCH_ONE_SET): Likewise.
23023         Rewrite to use forward and backward loops, which move 4 vector
23024         registers at a time, to support overlapping addresses and use
23025         non temporal store if size is above the threshold and there is
23026         no overlap between destination and source.
23028 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
23030         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
23031         Include dl-vdso.
23032         * sysdeps/unix/sysv/linux/mips/Versions: Add
23033         __vdso_clock_gettime.
23034         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
23035         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
23036         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
23037         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
23038         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
23039         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
23040         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23041         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23042         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23044 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23046         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
23047         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
23048         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23050         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23051         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23054         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
23055         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
23056         syscalls generation.
23057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23058         [__NR_pwrite64] (__NR_write): Remove define.
23059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23060         [__NR_pwrite64] (__NR_write): Remove define.
23061         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
23062         Remove define.
23063         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23064         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23065         Remove define.
23066         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23067         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23068         Linux implementation as base.
23069         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23071         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23072         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23074         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23077         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23078         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23079         syscall generation.
23080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23081         [__NR_pread64] (__NR_pread): Remove define.
23082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23083         [__NR_pread64] (__NR_pread): Likewise.
23084         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23085         define.
23086         (__libc_pread): Use SYSCALL_LL macro on offset argument.
23087         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23088         Remove define.
23089         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23090         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23091         Linux implementation as base.
23092         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23093         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23094         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23096         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23097         definition.
23098         (__ALIGNMENT_COUNT): Likewise.
23099         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23100         (__ALIGNMENT_COUNT): Likewise.
23101         (SYSCALL_LL): New define.
23102         (SYSCALL_LL64): Likewise.
23103         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23104         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23105         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23106         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23109         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23110         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23111         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23112         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23113         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23115 2016-04-11  Florian Weimer  <fweimer@redhat.com>
23117         [BZ #19865]
23118         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23119         original buffer before retry.
23121 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23123         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23124         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23125         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23126         GLRO(dl_auxv) list.
23127         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23128         including <ldsodefs.h>.
23129         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23131 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
23133         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23134         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23135         $(CPPFLAGS).
23137 2016-04-09  Khem Raj  <raj.khem@gmail.com>
23139         [BZ #17950]
23140         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23141         Add -mfpmath=387.
23143 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
23145         * sysdeps/i386/configure.ac: Change == to = when calling test.
23146         * sysdeps/x86_64/configure.ac: Likewise.
23147         * sysdeps/i386/configure: Regenerated.
23148         * sysdeps/x86_64/configure: Likewise.
23150 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
23152         [BZ #16137]
23153         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23154         * benchtests/bench-strcoll.c (input_files): Likewise.
23155         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23156         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23157         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23159 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
23161         [BZ #19929]
23162         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23163         [__USE_XOPEN2K8 && !__USE_GNU].
23164         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23165         variable.
23167         [BZ #19925]
23168         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23169         define if [!__USE_MISC && __USE_XOPEN2K].
23170         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23171         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23172         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23173         Likewise.
23174         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23175         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23176         variable.
23177         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23179 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23181         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23182         (sysdep_routines): Add new strspn targets.
23183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23184         (__libc_ifunc_impl_list): Add strspn.
23185         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23186         New file.
23187         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23188         Likewise.
23189         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23190         Likewise.
23191         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23192         Likewise.
23194 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23196         * misc/hsearch_r.c: Include <limits.h>.
23198 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23200         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23202 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23204         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23205         (MEMCPY_SYMBOL): New.
23206         (MEMPCPY_SYMBOL): Likewise.
23207         (MEMMOVE_CHK_SYMBOL): Likewise.
23208         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23209         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23210         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23211         Provide alias for memcpy in libc.a and ld.so.
23213 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23215         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23216         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23217         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23218         Disabled fro now.
23219         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23220         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23222 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23224         * benchtests/Makefile (string-benchset): Add memcpy-large,
23225         memmove-large and memset-large.
23226         * benchtests/bench-memcpy-large.c: New file.
23227         * benchtests/bench-memmove-large.c: Likewise.
23228         * benchtests/bench-memmove-large.c: Likewise.
23229         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23231 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23233         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23234         32-bit displacement to avoid long nop between instructions.
23236 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23238         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23239         a comment on VMOVU and VMOVA.
23241 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23243         [BZ #19633]
23244         Use specified locale for number formatting in strfmon_l.
23245         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23246         (__nl_lookup_word): New inline functions.
23247         * include/printf.h (__print_fp_l): Declare.
23248         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23249         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23250         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23251         (___printf_fp): New function.
23252         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23253         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23254         * stdlib/tst-strfmon_l.c (do_test): New test.
23255         * stdlib/Makefile (tests): Add kt.
23256         (LOCALES): Build additional locales.
23257         (tst-strfmon_l.out): Require locales.
23259 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23261         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23262         if not in libc.
23263         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23264         Likewise.
23265         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23266         Likewise.
23267         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23268         Likewise.
23270 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23272         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23273         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23274         with unaligned_erms.
23275         (__memmove_erms): Skip if source == destination.
23276         (__memmove_unaligned_erms): Don't check source == destination
23277         first.
23279 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23281         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23282         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23284 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23286         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23287         * string/strspn.c (strspn): Likewise.
23289 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23291         * benchtests/bench-memset.c (do_test): Support 64-byte
23292         alignment.
23293         (test_main): Test 64-byte alignment.
23295 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23297         * benchtests/bench-memmove.c (test_main): Test 64-byte
23298         alignment.
23300 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23302         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23304 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23306         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23307         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23308         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23310         * string/strpbrk.c (strpbrk): Rewrite function.
23311         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23312         (__strpbrk_c2): Likewise.
23313         (__strpbrk_c3): Likewise.
23314         * string/string-inlines.c
23315         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23316         Likewise.
23317         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23318         Likewise.
23320         * string/strspn.c (strcspn): Rewrite function.
23321         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23322         (__strspn_c1): Remove inline function.
23323         (__strspn_c2): Likewise.
23324         (__strspn_c3): Likewise.
23325         * string/string-inlines.c
23326         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23327         compatibility symbol.
23328         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23329         Likewise.
23330         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23331         Likewise.
23332         * string/string-inlines.c: Include generic version.
23334 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23335             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23337         * string/Version (libc): Add GLIBC_2.24.
23338         * string/strcspn.c (strcspn): Rewrite function.
23339         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23340         (__strcspn_c1): Remove inline function.
23341         (__strcspn_c2): Likewise.
23342         (__strcspn_c3): Likewise.
23343         * string/string-inline.c
23344         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23345         compatibility symbol.
23346         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23347         Likewise.
23348         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23349         Likewise.
23350         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23352 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23354         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23355         Use ahi instead of aghi to adjust stack pointer.
23357 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23359         [BZ #19853]
23360         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23361         TEST to take significant digits as second parameter.
23362         [TEST]: Redefine in terms of TEST_N taking 30
23363         significant digits.
23364         (do_test): Add test case to demonstrate precision
23365         failure in the ldbl-128ibm printf.
23366         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23367         (__mpn_extract_long_double): Carry 7 extra intermediate
23368         bits of precision to aide computing difference when
23369         signs differ.
23371 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23373         [BZ #19881]
23374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23375         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23376         memset-avx512-unaligned-erms.
23377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23378         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23379         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23380         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23381         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23382         __memset_sse2_unaligned_erms, __memset_erms,
23383         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23384         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23385         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23386         file.
23387         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23388         Likewise.
23389         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23390         Likewise.
23391         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23392         Likewise.
23394 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23396         [BZ #19776]
23397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23398         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23399         memmove-avx512-unaligned-erms.
23400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23401         (__libc_ifunc_impl_list): Test
23402         __memmove_chk_avx512_unaligned_2,
23403         __memmove_chk_avx512_unaligned_erms,
23404         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23405         __memmove_chk_sse2_unaligned_2,
23406         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23407         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23408         __memmove_avx512_unaligned_erms, __memmove_erms,
23409         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23410         __memcpy_chk_avx512_unaligned_2,
23411         __memcpy_chk_avx512_unaligned_erms,
23412         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23413         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23414         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23415         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23416         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23417         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23418         __mempcpy_chk_avx512_unaligned_erms,
23419         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23420         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23421         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23422         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23423         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23424         __mempcpy_erms.
23425         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23426         file.
23427         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23428         Likewise.
23429         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23430         Likewise.
23431         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23432         Likewise.
23434 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23436         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23437         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23438         (La_s390_64_regs): Likewise.
23439         (La_s390_32_retval): Append vector register lrv_v24.
23440         (La_s390_64_retval): Likeweise.
23441         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23442         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23443         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23444         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23446 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23448         [BZ #19916]
23449         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23450         to create a non-vector/vector version for _dl_runtime_resolve and
23451         _dl_runtime_profile. Move implementation to ...
23452         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23453         (_dl_runtime_resolve) Save and restore fpr/vrs.
23454         (_dl_runtime_profile) Save and restore vrs and fix some issues
23455         if _dl_call_pltexit is called.
23456         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23457         Choose the correct resolver function if running on a machine with vx.
23458         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23459         to create a non-vector/vector version for _dl_runtime_resolve and
23460         _dl_runtime_profile. Move implementation to ...
23461         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23462         (_dl_runtime_resolve) Save and restore fpr/vrs.
23463         (_dl_runtime_profile) Save and restore vrs and fix some issues
23464         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23465         Choose the correct resolver function if running on a machine with vx.
23467 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23469         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23471 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23473         [BZ #19509]
23474         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23475         skip_map != NULL.
23476         * elf/tst-dlsym-error.c: New file.
23477         * elf/Makefile (tests): Add tst-dlsym-error.
23478         (tst-dlsym-error): Link against libdl.
23480 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23483         (__ASSUME_FUTIMESAT): Remove macro.
23484         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23486 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23488         [BZ #19879]
23489         CVE-2016-3075
23490         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23491         copy name.
23493 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23495         [BZ #19837]
23496         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23497         error if parse_line fails.
23499 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23501         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23502         (index_cpu_ERMS): Likewise.
23503         (reg_ERMS): Likewise.
23505 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23507         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23508         PER_LINUX_FDPIC): Add.
23510 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23513         memcpy-avx512-no-vzeroupper.
23514         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23515         to ...
23516         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23517         (MEMCPY): Don't define.
23518         (MEMCPY_CHK): Likewise.
23519         (MEMPCPY): Likewise.
23520         (MEMPCPY_CHK): Likewise.
23521         (MEMPCPY_CHK): Renamed to ...
23522         (__mempcpy_chk_avx512_no_vzeroupper): This.
23523         (MEMPCPY_CHK): Renamed to ...
23524         (__mempcpy_chk_avx512_no_vzeroupper): This.
23525         (MEMCPY_CHK): Renamed to ...
23526         (__memmove_chk_avx512_no_vzeroupper): This.
23527         (MEMCPY): Renamed to ...
23528         (__memmove_avx512_no_vzeroupper): This.
23529         (__memcpy_avx512_no_vzeroupper): New alias.
23530         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23532 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23534         [BZ #18858]
23535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23536         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23537         and mempcpy-avx512-no-vzeroupper.
23538         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23539         New.
23540         (MEMPCPY): Likewise.
23541         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23542         (MEMPCPY_CHK): New.
23543         (MEMPCPY): Likewise.
23544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23545         (MEMPCPY): Likewise.
23546         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23547         (MEMPCPY): Likewise.
23548         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23549         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23550         Likewise.
23551         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23552         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23554 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23555              Amit Pawar  <Amit.Pawar@amd.com>
23557         [BZ #19583]
23558         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23559         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23560         processors.  Set Fast_Copy_Backward for AMD Excavator
23561         processors.
23562         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23563         New.
23564         (index_arch_Fast_Unaligned_Copy): Likewise.
23565         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23566         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23568 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23570         [BZ #19791]
23571         * resolv/res_send.c (close_and_return_error): New function.
23572         (send_dg): Initialize *resplen2 after reopen failure.  Call
23573         close_and_return_error for error returns.  On error paths without
23574         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23575         successful return.
23577 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23579         [BZ #19860]
23580         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23581         zero if the compiler does not provide the AVX512F bit.
23583 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23585         [BZ #19848]
23586         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23587         from 8 to 4.
23588         (__ieee754_powl): Compare integer exponent against 4 not 8.
23589         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23590         from 8 to 4.
23591         (__ieee754_powl): Compare integer exponent against 4 not 8.
23592         * math/auto-libm-test-in: Add more tests of pow.
23593         * math/auto-libm-test-out: Regenerated.
23594         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23597 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23599         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23600         Make code unconditional.
23601         [!__NR_utimensat]: Remove conditional code.
23602         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23603         Make code unconditional.
23604         [!__NR_utimensat]: Remove conditional code.
23605         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23606         Make code unconditional.
23607         [!__NR_utimensat]: Remove conditional code.
23609 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23611         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23612         Make code unconditional.
23614 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23616         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23617         call-clobbered %eax on retry path.
23618         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23620 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23622         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23623         Don't set %rcx twice before "rep movsb".
23625 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23627         [BZ #19583]
23628         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23629         inline.  Check family before setting family, model and
23630         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23631         bits here.
23632         (init_cpu_features): Replace HAS_CPU_FEATURE and
23633         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23634         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23635         for Intel processors with usable AVX2.  Call get_common_indeces
23636         for other processors with family == NULL.
23637         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23638         (CPU_FEATURES_ARCH_P): Likewise.
23639         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23640         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23642 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23644         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23645         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23646         $(shared-thread-library) instead of hardcoding the path to libpthread.
23648 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23650         * sysdeps/unix/sysv/linux/kernel-features.h
23651         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23652         * sysdeps/unix/sysv/linux/getdents.c
23653         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23654         [!have_no_getdents64_defined]: Likewise.
23655         (__GETDENTS): Remove __have_no_getdents64 conditional.
23657 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23660         Remove macro.
23661         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23662         <kernel-features.h>.
23663         (signalfd) [__NR_signalfd4]: Make code unconditional.
23664         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23666 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23668         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23669         style.
23671 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23673         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23674         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23675         __pthread_unwind.
23676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23677         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23678         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23679         (__condvar_cleanup1): Likewise.
23681 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23683         [BZ #19822]
23684         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23685         move it to the final $@ location.
23687 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23689         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23690         access where posix_spawn success and pid argument is null.
23691         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23692         success case.
23694 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23696         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23698         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23700         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23701         and __fcntl.
23702         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23703         __fcntl only.
23704         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23705         adding attribute_hidden to __open and __fcntl.
23707         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23708         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23709         depend on libc-modules.h,
23710         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23712 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23714         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23715         Remove macro.
23716         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23717         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23718         entry.
23720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23721         Remove macro.
23722         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23723         include <kernel-features.h>.
23724         [!__ASSUME_FALLOCATE]: Remove conditional code.
23725         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23727 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23730         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23731         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23732         (_ZGVdN4v_cos_avx2): Likewise.
23733         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23734         (_ZGVdN4v_cos): Likewise.
23735         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23736         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23737         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23738         (_ZGVdN4v_exp_avx2): Likewise.
23739         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23740         (_ZGVdN4v_exp): Likewise.
23741         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23742         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23743         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23744         (_ZGVdN4v_log_avx2): Likewise.
23745         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23746         (_ZGVdN4v_log): Likewise.
23747         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23748         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23749         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23750         (_ZGVdN4vv_pow_avx2): Likewise.
23751         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23752         (_ZGVdN4vv_pow): Likewise.
23753         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23754         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23755         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23756         (_ZGVdN4v_sin_avx2): Likewise.
23757         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23758         (_ZGVdN4v_sin): Likewise.
23759         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23760         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23762         (_ZGVdN4vvv_sincos_avx2): Likewise.
23763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23764         (_ZGVdN4vvv_sincos): Likewise.
23765         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23766         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23768         (_ZGVbN4v_cosf_sse4): Likewise.
23769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23770         (_ZGVdN8v_cosf_avx2): Likewise.
23771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23772         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23774         (_ZGVbN4v_expf_sse4): Likewise.
23775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23776         (_ZGVdN8v_expf_avx2): Likewise.
23777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23778         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23780         (_ZGVbN4v_logf_sse4): Likewise.
23781         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23782         (_ZGVdN8v_logf_avx2): Likewise.
23783         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23784         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23785         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23786         (_ZGVbN4vv_powf_sse4): Likewise.
23787         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23788         (_ZGVdN8vv_powf_avx2): Likewise.
23789         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23790         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23792         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23793         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23794         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23795         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23796         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23797         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23798         (_ZGVbN4v_sinf_sse4): Likewise.
23799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23800         (_ZGVdN8v_sinf_avx2): Likewise.
23801         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23802         Use JUMPTARGET to call callee.
23803         (WRAPPER_IMPL_SSE2_ff): Likewise.
23804         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23805         (WRAPPER_IMPL_AVX): Likewise.
23806         (WRAPPER_IMPL_AVX_ff): Likewise.
23807         (WRAPPER_IMPL_AVX_fFF): Likewise.
23808         (WRAPPER_IMPL_AVX512): Likewise.
23809         (WRAPPER_IMPL_AVX512_ff): Likewise.
23810         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23811         Likewise.
23812         (WRAPPER_IMPL_SSE2_ff): Likewise.
23813         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23814         (WRAPPER_IMPL_AVX): Likewise.
23815         (WRAPPER_IMPL_AVX_ff): Likewise.
23816         (WRAPPER_IMPL_AVX_fFF): Likewise.
23817         (WRAPPER_IMPL_AVX512): Likewise.
23818         (WRAPPER_IMPL_AVX512_ff): Likewise.
23819         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23821 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23823         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23824         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23825         qualifier.
23826         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23827         internal_function qualifiers.
23829 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23831         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23832         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23833         * math/atest-exp.c (exp_mpn): Mark chk unused.
23834         * math/atest-exp2.c (exp_mpn): Likewise.
23835         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23836         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23838 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23840         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23841         Remove macro.
23842         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23843         <kernel-features.h>.
23844         [__NR_ppoll]: Make code unconditional.
23845         [!__ASSUME_PPOLL]: Remove conditional code.
23847         * sysdeps/unix/sysv/linux/kernel-features.h
23848         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23849         (__ASSUME_ACCEPT4): Likewise.
23850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23851         Define.
23852         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23853         Likewise.
23854         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23855         Likewise.
23856         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23857         Likewise.
23858         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23859         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23860         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23861         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23862         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23863         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23865         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23866         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23867         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23868         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23869         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23870         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23871         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23872         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23873         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23874         Likewise.
23875         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23876         Likewise.
23877         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23878         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23879         0x040300].
23880         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23881         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23882         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23883         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23884         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23885         0x030300].
23886         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23888         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23889         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23890         0x040300].
23891         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23893         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23894         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23895         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23896         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23897         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23898         0x030300].
23899         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23900         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23901         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23903         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23904         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23905         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23906         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23907         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23908         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23909         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23910         0x040300].
23911         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23912         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23913         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23914         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23915         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23917         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23918         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23922         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23923         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23924         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23925         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23926         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23927         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23928         Likewise.
23929         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23930         Likewise.
23932 2016-03-15  Andreas Schwab  <schwab@suse.de>
23934         [BZ #19257]
23935         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23936         statp->_u._ext.nscount as loop count.
23938 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23940         * math/test-signgam-finite-c99.c: Also #undef
23941         __LIBC_INTERNAL_MATH_INLINES.
23942         * math/test-signgam-main.c: Likewise.
23944 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23946         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23947         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23948         (MADV_FREE): Likewise.
23949         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23950         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23951         EPOLLEXCLUSIVE.
23953 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23955         * timezone/README: Remove mention of checktab.awk. Mention wiki
23956         SharedSourceFiles.
23958 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23960         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23961         WUNTRACED.
23963 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23965         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23966         order to match the type of p when calling atomic_exchange_acq().
23968 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23970         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23971         cfi_offset calls.
23972         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23973         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23974         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23975         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23976         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23978 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23980         * timezone/checktab.awk: Removed.
23982 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23984         * manual/math.texi (Errors in Math Functions): Document relaxed
23985         accuracy goals for IBM long double.
23986         * math/libm-test.inc (test_exceptions): Always allow spurious
23987         "underflow" and "inexact" exceptions for IBM long double.
23989 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23991         [BZ #19762]
23992         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23993         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23994         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23995         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23996         (bit_arch_*): This for feature array.
23997         (bit_*): Renamed to ...
23998         (bit_cpu_*): This for cpu array.
23999         (index_*): Renamed to ...
24000         (index_arch_*): This for feature array.
24001         (index_*): Renamed to ...
24002         (index_cpu_*): This for cpu array.
24003         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
24004         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24005         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
24006         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
24007         bit_##name with index_cpu_##name and bit_cpu_##name.
24008         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
24009         bit_##name with index_arch_##name and bit_arch_##name.
24011 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
24013         [BZ #19792]
24014         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
24015         Terminate FDE before return label.
24017 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
24019         [BZ #19790]
24020         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
24021         (rintl): Define as macro.
24022         [USE_AS_NEARBYINTL] (__rintl): Likewise.
24023         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
24024         of fesetround.  Ensure results are evaluated before end of scope.
24025         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
24026         USE_AS_NEARBYINTL and include s_rintl.c.
24027         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
24028         Disable exception traps in new environment.
24029         (libc_feholdsetround_ppc_ctx): Likewise.
24031 2016-03-08  Roland McGrath  <roland@hack.frob.com>
24033         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
24034         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
24035         (tst_audit10_aux) [__AVX512F__]: ... here.
24037 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
24039         * include/sys/auxv.h: New file.
24041 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
24043         [BZ #19759]
24044         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
24046 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24048         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
24049         operand modifier.
24050         (feclearexcept): Likewise.
24052 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24054         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
24055         to reflect the entire 32-bit HWCAP.
24056         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
24057         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
24059 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
24061         [BZ #19783]
24062         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24063         $(test-via-rtld-prefix).
24064         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24066 2016-03-08  Florian Weimer  <fweimer@redhat.com>
24068         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24069         union wait.  Report any non-zero exit status as error.
24071 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24073         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24074         configured with --enable-hardcoded-path-in-tests.
24076 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
24078         [BZ #19677]
24079         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24080         (__ieee754_remainderl): Put zero low parts in canonical form.
24081         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24082         file.  Based on
24083         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24084         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24085         with wrapper round test-fmodrem-ldbl-128ibm.c.
24086         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24087         file.
24088         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24089         Likewise.
24090         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24091         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24093 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24095         [BZ #19610]
24096         * elf/ldconfig.c (opt_link): Update comment.
24097         (options): Update help string for option -X.
24098         (search_dir): Unlink stale symbolic link only if updating symbolic
24099         links.
24100         * elf/tst-ldconfig-X.sh: New file.
24101         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24102         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24104 2016-03-07  Andreas Schwab  <schwab@suse.de>
24106         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24107         needed arguments.
24109 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
24111         [BZ #15333]
24112         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24113         to lstat64.
24115 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24117         * libio/filedoalloc.c (isatty): Remove.
24118         (local_isatty): Add comment.  Call __isatty directly.
24119         (_IO_file_doallocate): Update comment.  Assume _LIBC.
24120         * libio/wfiledoalloc.c (isatty): Remove.
24121         (_IO_wfile_doallocate): Update comment.
24123 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24125         [BZ #19269]
24126         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24127         tst-audit4-aux.o.
24128         (tst-audit10): Depend on tst-audit10-aux.o.
24129         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24130         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24131         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24132         instead of inline AVX code.
24133         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24134         instead of inline AVX512 code.
24135         * sysdeps/x86_64/tst-audit4-aux.c: New file
24136         * sysdeps/x86_64/tst-audit10-aux.c: New file
24138         [BZ #19648]
24139         * test-skeleton.c (main): Do not set RLIMIT_DATA.
24141 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24143         [BZ #14750]
24144         [BZ #10354]
24145         [BZ #18433]
24146         * include/sched.h (__clone): Add hidden prototype.
24147         (__clone2): Likewise.
24148         * include/unistd.h (__dup): Likewise.
24149         * posix/Makefile (tests): Add tst-spawn2.
24150         * posix/tst-spawn2.c: New file.
24151         * sysdeps/posix/dup.c (__dup): Add hidden definition.
24152         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24153         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24154         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24155         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24156         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24157         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24158         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24159         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24160         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24161         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24163         Likewise.
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24165         Likewise.
24166         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24167         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24168         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24169         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24170         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24171         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24172         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24173         * sysdeps/unix/sysv/linux/nptl-signals.h
24174         (____nptl_is_internal_signal): New function.
24175         * sysdeps/unix/sysv/linux/spawni.c: New file.
24177         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24178         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24179         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24180         * posix/tst-execvp2.c (do_test): Likewise.
24181         * posix/tst-execvp3.c (do_test): Likewise.
24182         * posix/tst-execvp4.c (do_test): Likewise.
24183         * posix/tst-execvpe1.c: New file.
24184         * posix/tst-execvpe2.c: Likewise.
24185         * posix/tst-execvpe3.c: Likewise.
24186         * posix/tst-execvpe4.c: Likewise.
24187         * posix/tst-execvpe5.c: Likewise.
24188         * posix/tst-execvpe6.c: Likewise.
24190         [BZ #19534]
24191         * posix/execl.c (execl): Remove dynamic memory allocation.
24192         * posix/execle.c (execle): Likewise.
24193         * posix/execlp.c (execlp): Likewise.
24195 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24197         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24198         Replace .text with .text.avx512.
24199         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24200         Likewise.
24202 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24204         * sysdeps/generic/libnsl.abilist: New file.
24205         * sysdeps/generic/libutil.abilist: New file.
24207 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24209         [BZ #19762]
24210         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24211         HAS_ARCH_FEATURE with Fast_Rep_String.
24212         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24213         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24214         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24215         Likewise.
24216         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24217         Likewise.
24218         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24220         Likewise.
24221         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24222         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24223         Likewise.
24225 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24227         [BZ #19745]
24228         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24229         with *%rax in call.
24231 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24233         [BZ #19745]
24234         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24235         with *__libc_start_main@GOTPCREL(%rip) in call.
24237 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24239         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24240         inside conditional for nonempty $(CXX).
24242         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24243         nonempty.
24245         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24246         to test for empty $(CXX) rather than $(CXX) of "no".
24248 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24250         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24252 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24253             H.J. Lu  <hongjiu.lu@intel.com>
24255         [BZ #18880]
24256         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24257         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24258         enable __memcpy_ssse3_back.
24260 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24262         [BZ #19758]
24263         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24264         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24266 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24268         [BZ #19490]
24269         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24270         (__fentry__): Likewise.
24272 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24274         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24275         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24277 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24279         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24280         __mcount_internal directly.
24281         (C_LABEL(__fentry__)): Likewise.
24282         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24283         directly.
24285 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24287         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24288         (__start_context): Call __setcontext directly.
24290 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24292         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24293         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24294         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24295         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24296         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24297         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24298         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24299         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24300         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24301         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24302         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24303         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24304         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24305         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24306         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24308         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24310         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24311         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24312         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24313         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24314         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24315         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24316         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24317         Remove conditional code.
24318         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24319         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24320         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24321         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24322         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24323         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24324         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24325         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24326         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24327         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24328         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24329         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24331 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24333         * NEWS (2.23): Fix typo in bug 19048 text.
24335 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24337         [BZ #14259]
24338         * Makeconfig: Rename msgcatdir to localedir.
24339         Rename inst_msgcatdir to inst_localedir.
24340         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24341         * config.make.in: Add localedir.
24342         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24343         (ldd-rewrite): Likewise.
24344         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24345         (install-others): Use inst_localedir.
24346         (CPPFLAGS): Use localedir.
24347         * locale/Makefile (locale-CPPFLAGS): Likewise.
24348         * po/Makefile (mo-installed): Use inst_localedir.
24350         [BZ #19575]
24351         * localedata/charmaps/GB18030: Update comments regarding PAU to
24352         non-PUA mappings.
24354 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24356         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24357         test for header.
24358         * sysdeps/unix/sysv/linux/configure: Regenerated.
24359         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24360         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24361         Remove conditional code.
24362         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24364         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24365         Define to 3.2.0.
24366         (arch_minimum_kernel): Likewise.
24367         * sysdeps/unix/sysv/linux/configure: Regenerated.
24368         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24369         Define to 2.6.32.
24370         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24371         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24372         (arch_minimum_kernel): Define to 2.6.32.
24373         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24374         * README: Document Linux 3.2 requirement.
24375         * manual/install.texi (Linux): Document Linux 3.2 headers
24376         requirement.
24377         * INSTALL: Regenerated.
24379 2016-02-24  Andreas Schwab  <schwab@suse.de>
24381         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24382         if !NO_LONG_DOUBLE.
24384 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24386         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24387         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24389 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24391         [BZ #19512]
24392         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24394 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24396         * posix/tst-dir.c: Include libc-internal.h.
24398 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24400         [BZ #19056]
24401         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24402         * manual/filesys.texi (Reading/Closing Directory): Mention
24403         deprecaion.
24404         * posix/tst-dir.c (main): Disable deprecation warning in test.
24406 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24408         [BZ #19679]
24409         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24410         Renamed to ...
24411         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24412         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24413         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24414         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24415         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24416         * sysdeps/x86_64/dl-trampoline.h
24417         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24418         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24420 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24422         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24424 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24426         * elf/elf.h (R_386_GOT32X): New.
24427         (R_386_NUM): Update.
24428         (R_X86_64_GOTPCRELX: New.
24429         (R_X86_64_REX_GOTPCRELX): New.
24430         (R_X86_64_NUM): Update.
24432 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24434         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24436 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24438         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24439         assign attr->stackaddr to it, and adjust it down when
24440         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24441         [_STACK_GROWS_UP]: Delete assert.
24442         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24443         Implement stack grows up logic.
24444         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24445         stack grows up logic.
24447 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24449         * NEWS: Update with 2.24 template.
24451 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24453         [BZ #19678]
24454         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24455         Ensure +0.0 is returned when taking the next value below the least
24456         positive value.
24458 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24460         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24461         available.  Do not define NO_THREADS.
24462         * malloc/malloc.c: Do not check NO_THREADS.
24463         * malloc/arena.c: Likewise.
24465 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24467         * malloc/malloc.c (__libc_mallinfo): Update comment.
24468         (struct malloc_par): Remove max_total_mem member, it was always 0.
24469         (int_mallinfo): Store 0 into usmblks (no functional change).
24470         * malloc/hooks.c (struct malloc_state): Document that
24471         max_total_mem is always 0.
24472         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24473         always 0.
24474         * manual/memory.texi (Statistics of Malloc): Likewise.
24476 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24478         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24479         * malloc/arena.c (arena_max): Remove.
24480         (heap_trim, _int_new_arena): Do not update arena_max.
24482 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24484         * resolv/res_init.c (res_ninit): Update comment.
24486 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24488         [BZ #19505]
24489         * posix/spawn_int.h: Add headers and include guard.
24490         (__spawn_valid_fd): New function.
24491         * posix/spawn_faction_addopen.c
24492         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24493         * posix/spawn_faction_addclose.c
24494         (posix_spawn_file_actions_addclose): Likewise.
24495         * posix/spawn_faction_adddup2.c
24496         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24497         second file descriptor.
24498         * posix/spawn_valid_fd.c: New file.
24499         * posix/tst-posix_spawn-fd.c: New file.
24500         * posix/Makefile (routines): Add spawn_valid_fd.
24501         (tests): Add tst-posix_spawn-fd.
24503 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24505         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24506         (do_test): Limit the number of arenas, so that we can use fewer
24507         outer threads.  Limit timeout to 3 seconds, in preparation for a
24508         larger TIMEOUT value.
24510 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24512         [BZ #19674]
24513         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24514         sign in overflowing and underflowing results when overflow or
24515         underflow is detected early.  Include sign in result before rather
24516         than after scaling.
24518         [BZ #19603]
24519         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24520         (__ieee754_remainderl): Adjust sign of integer version of low part
24521         when taking absolute value of high part.
24522         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24523         * math/libm-test.inc (remainder_test_data): Add another test.
24524         (remquo_test_data): Likewise.
24526 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24528         [BZ #19602]
24529         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24530         equal high parts and both low parts zero specially.
24531         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24532         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24533         Add test-fmodl-ldbl-128ibm.
24535         [BZ #19595]
24536         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24537         common logic for all cases of shifting subnormal results.  Do not
24538         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24539         exponent to ldbl_insert_mantissa in subnormal case.
24541         [BZ #19594]
24542         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24543         on high and low parts then adjust result and use
24544         ldbl_canonicalize_int if needed.
24546         [BZ #19593]
24547         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24548         on high part and __floor or __ceil on low part then use
24549         ldbl_canonicalize_int if needed.
24551         [BZ #19592]
24552         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24553         high and low parts then use ldbl_canonicalize_int if needed.
24555         [BZ #17899]
24556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24557         New function.
24558         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24559         on high and low parts then use ldbl_canonicalize_int if needed.
24561 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24563         * configure: Regenerated.
24565         * po/libc.pot: Regenerated.
24567         * po/be.po: Updated translation.
24568         * po/bg.po: Likewise.
24569         * po/ca.po: Likewise.
24570         * po/cs.po: Likewise.
24571         * po/da.po: Likewise.
24572         * po/el.po: Likewise.
24573         * po/eo.po: Likewise.
24574         * po/es.po: Likewise.
24575         * po/fi.po: Likewise.
24576         * po/fr.po: Likewise.
24577         * po/gl.po: Likewise.
24578         * po/hr.po: Likewise.
24579         * po/hu.po: Likewise.
24580         * po/ia.po: Likewise.
24581         * po/id.po: Likewise.
24582         * po/it.po: Likewise.
24583         * po/ja.po: Likewise.
24584         * po/lt.po: Likewise.
24585         * po/nb.po: Likewise.
24586         * po/nl.po: Likewise.
24587         * po/pt_BR.po: Likewise.
24588         * po/rw.po: Likewise.
24589         * po/sk.po: Likewise.
24590         * po/sl.po: Likewise.
24591         * po/sv.po: Likewise.
24592         * po/tr.po: Likewise.
24593         * po/zh_CN.po: Likewise.
24594         * po/zh_TW.po: Likewise.
24596         * version.h (RELEAES): Set to "development".
24597         (VERSION): Set to 2.23.90.
24599         * version.h (RELEASE): Set to "stable".
24600         (VERSION): Set to 2.23.
24601         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24603         * NEWS: Updated fixed bugs.
24605 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24606             Wilco Dijkstra  <wdijkstr@arm.com>
24608         [BZ #19462]
24609         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24610         (_STRING_INLINE_unaligned): This.
24611         * include/string.h: Include <string_private.h>.
24612         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24613         _STRING_INLINE_unaligned.
24614         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24615         (_STRING_INLINE_unaligned): New.
24616         * sysdeps/aarch64/string_private.h: New file.
24617         * sysdeps/generic/string_private.h: Likewise.
24618         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24619         * sysdeps/s390/string_private.h: Likewise.
24620         * sysdeps/x86/string_private.h: Likewise.
24621         * sysdeps/m68k/m680x0/m68020/bits/string.h
24622         (_STRING_ARCH_unaligned): Renamed to ...
24623         (_STRING_INLINE_unaligned): This.
24624         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24625         to ...
24626         (_STRING_INLINE_unaligned): This.
24627         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24628         to ...
24629         (_STRING_INLINE_unaligned): This.
24630         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24631         to ...
24632         (_STRING_INLINE_unaligned): This.
24634 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24635             H.J. Lu  <hongjiu.lu@intel.com>
24637         [BZ #19590]
24638         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24639         relocation.
24641 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24643         [BZ #18665]
24644         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24645         *herrno_p.
24646         (gaih_getanswer): Document functional behviour. Return tryagain
24647         if any result is tryagain.
24648         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24649         when freed.
24650         * resolv/res_send.c: Add copyright text.
24651         (__libc_res_nsend): Document that MAXPACKET is expected.
24652         (send_vc): Document. Remove buffer reuse.
24653         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24654         size of the buffer. Add Dprint for truncated UDP buffer.
24656 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24658         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24659         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24660         * INSTALL: Regenerate.
24662 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24663             Jonathan Wakely  <jwakely@redhat.com>
24664             Carlos O'Donell  <carlos@redhat.com>
24666         [BZ 19439]
24667         * math/Makefile (tests): Add test-math-isinff.
24668         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24669         * math/bits/mathcalls.h [__USE_MISC]: Use
24670         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24671         functions not in C++11 and which don't conflict e.g. isinff,
24672         isinfl etc.
24673         * math/test-math-isinff.cc: New file.
24675 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24677         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24679 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24681         [BZ #19529]
24682         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24684 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24686         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24688 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24690         [BZ #19550]
24691         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24692         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24693         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24694         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24695         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24696         New syscall entry.
24697         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24698         New syscall entry.
24699         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24700         syscall entry.
24702 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24704         [BZ #18240]
24705         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24706         unsigned int wraparound.
24708 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24710         [BZ #18240]
24711         * misc/bug18240.c: New test.
24712         * misc/Makefile (tests): Add it.
24714 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24715             Joseph Myers  <joseph@codesourcery.com>
24717         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24718         load in branch delay slot when less than a word of input left.
24720 2016-01-27  Andreas Schwab  <schwab@suse.de>
24722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24723         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24724         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24725         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24727 2016-01-26  David S. Miller  <davem@davemloft.net>
24729         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24731 2016-01-25  David S. Miller  <davem@davemloft.net>
24733         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24734         __sqrtl_finite.
24735         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24736         instead using versioned_symbol.
24737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24738         of entries.
24740         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24741         __sqrtl_finite to GLIBC_2.23
24743 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24745         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24747 2016-01-25  Andreas Schwab  <schwab@suse.de>
24749         [BZ #17514]
24750         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24751         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24752         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24753         * nptl/tst-mutex-errorcheck.c: New file.
24755 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24757         [BZ #18560]
24758         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24759         (IPCOP_semop): Likewise.
24760         (IPCOP_semget): Likewise.
24761         (IPCOP_semctl): Likewise.
24762         (IPCOP_msgsnd): Likewise.
24763         (IPCOP_msgrcv): Likewise.
24764         (IPCOP_msgget): Likewise.
24765         (IPCOP_msgctl): Likewise.
24766         (IPCOP_shmat): Likewise.
24767         (IPCOP_shmdt): Likewise.
24768         (IPCOP_shmget): Likewise.
24769         (IPCOP_shmctl): Likewise.
24771 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24773         * string/tst-endian.c: Include <libc-internal.h>.
24774         (do_test): Ignore tautological-compare warnings around
24775         "htobeXX (beXXtoh (i)) != i" and
24776         "htoleXX (leXXtoh (i)) != i" if-statements.
24778 2016-01-24  David S. Miller  <davem@davemloft.net>
24780         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24781         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24782         alias.
24783         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24784         __sqrtl_finite.
24786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24788 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24790         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24791         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24792         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24794 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24796         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24797         (thread_func): Use new function to simplify barrier check.
24798         (do_test): Use new function to simplify checking barrier exit
24799         code, and actually join the child thread.
24801 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24803         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24804         semicolon.
24805         (__libc_tend): Likewise.
24806         (__libc_tabort): Likewise.
24808 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24810         * sysdeps/nios2/libm-test-ulps: Update.
24811         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24812         (__gtsf2): Likewise.
24813         (__unorddf2): Likewise.
24814         (__unordsf2): Likewise.
24815         (__ledf2): Likewise.
24817 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24819         * nis/nis_table.c (__follow_path): Disable diagnostic for
24820         uninitialized variable that is a false positive for gcc 4.7.
24821         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24823 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24825         * sysdeps/nacl/lowlevellock-futex.h
24826         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24827         Always evaluate PRIVATE argument.
24829 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24831         [BZ #19490]
24832         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24833         (pthread_cond_broadcast): Use ENTRY/END
24834         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24835         (pthread_cond_signal): Likewise.
24836         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24837         Likewise.
24838         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24839         Likewise.
24840         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24841         Likewise.
24843 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24845         * sysdeps/ieee754/dbl-64/s_finite.c
24846         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24847         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24848         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24849         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24850         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24853         (__gtsf2): Add as optional for libc.so.
24854         (__unordsf2): Likewise.
24855         (__signbit): Remove for libc.so.
24856         (__signbitl): Likewise.
24858 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24860         * iconvdata/bug-iconv11.c (test_ibm93x):
24861         Use %zu printf format specifier for size_t argument.
24863 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24865         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24866         already-recorded ulps.
24867         * sysdeps/arm/libm-test-ulps: Regenerated.
24868         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24869         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24870         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24872 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24873             Paul Pluzhnikov  <ppluzhnikov@google.com>
24875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24876         assembler not supporting AVX-512.
24878 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24880         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24882 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24884         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24885         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24887         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24889         * sysdeps/arm/libm-test-ulps: Regenerated.
24891 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24893         [BZ #19451]
24894         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24896 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24898         [BZ #19486]
24899         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24900         * sysdeps/generic/fix-fp-int-convert-overflow.h
24901         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24902         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24903         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24904         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24905         Likewise.
24906         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24907         Avoid conversions to long int where inexact exceptions
24908         could be raised.
24909         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24910         Likewise.
24911         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24912         Avoid conversions to long long int where inexact exceptions
24913         could be raised.
24914         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24915         Likewise.
24917 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24919         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24920         * configure: Regenerated.
24922 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24924         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24926 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24928         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24929         outside of comment.
24931 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24933         * nptl/tst-barrier1.c: Add description on first line.
24934         * nptl/tst-barrier2.c: Likewise.
24935         * nptl/tst-barrier3.c: Likewise.
24936         * nptl/tst-barrier4.c: Likewise.
24937         * nptl/tst-barrier5.c: Likewise.
24939 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24941         [BZ #18868]
24942         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24944 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24948         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24949         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24950         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24951         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24952         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24953         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24954         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24955         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24956         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24958 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24960         [BZ #13065]
24961         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24962         new implementation.
24963         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24964         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24965         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24966         (BARRIER_IN_THRESHOLD): New macro.
24967         * nptl/pthread_barrierattr_setpshared.c
24968         (pthread_barrierattr_setpshared): Clean up.
24969         * nptl/tst-barrier4.c: Correct comment.
24970         * nptl/tst-barrier5.c: New file.
24971         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24972         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24973         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24974         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24975         * nptl/lowlevelbarrier.sym: Remove.
24976         * nptl/DESIGN-barrier.txt: Remove.
24977         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24978         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24979         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24980         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24981         error.
24982         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24983         implementation.
24985 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24987         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24988         (do_child): Mask SIGRTMIN while thr is running.
24990 2016-01-15  Martin Sebor  <msebor@redhat.com>
24992         [BZ #19432]
24993         * iconvdata/Makefile: Add bug-iconv11.
24994         * iconvdata/bug-iconv11.c: New test.
24995         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24996         * iconvdata/ibm933.c: Same.
24997         * iconvdata/ibm935.c: Same.
24998         * iconvdata/ibm937.c: Same.
24999         * iconvdata/ibm939.c: Same.
25001 2016-01-15  Martin Sebor  <msebor@redhat.com>
25003         [BZ #19443]
25004         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
25005         [DEBUG] (_ufc_set_bits): Declare used.
25006         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
25007         [DEBUG] (print_all): Declare used.
25008         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
25009         operands of the ternary ?: expression to target type.
25010         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
25011         calling the undeclared abort.
25012         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
25014 2016-01-15  Martin Sebor  <msebor@redhat.com>
25016         [BZ #18755]
25017         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
25018         warnings.
25019         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
25020         (__gai_create_helper_thread): Same.
25021         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
25022         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
25023         to suppress -Wmaybe-uninitialized warnings.
25025 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
25027         [BZ #19465]
25028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
25029         inside if.
25030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25031         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25034 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
25036         [BZ #19466]
25037         * time/tst-mktime2.c (time_t_max): Removed.
25038         (time_t_min): Likewise.
25039         (TYPE_SIGNED): New.
25040         (TYPE_MINIMUM): Likewise.
25041         (TYPE_MAXIMUM): Likewise.
25042         (TIME_T_MIN): Likewise.
25043         (TIME_T_MAX): Likewise.
25044         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
25045         and TIME_T_MIN.
25046         (do_test): Likewise.
25048 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
25050         [BZ #19467]
25051         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25052         index_Fast_Unaligned_Load flag for Excavator family CPUs.
25054 2016-01-02  Marcin Koƛcielnicki  <koriakin@0x04.net>
25056         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
25058 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
25060         * benchtests/Makefile (PYTHON): Define.
25061         (bench-func): Use $(PYTHON) to run python scripts.
25062         ($(objpfx)bench-%.c): Likewise.
25064 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
25066         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25067         leading slash when `file_name' is "/".
25069 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
25071         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25072         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25073         Likewise.
25074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25075         Likewise.
25076         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25077         Likewise.
25078         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25079         enum constant and macro.
25080         (PTRACE_SETSIGMASK): Likewise.
25081         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25082         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25083         (PTRACE_GETSIGMASK): Likewise.
25084         (PTRACE_SETSIGMASK): Likewise.
25085         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25086         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25087         Likewise.
25088         (PTRACE_SETSIGMASK): Likewise.
25089         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25091         (PTRACE_GETSIGMASK): Likewise.
25092         (PTRACE_SETSIGMASK): Likewise.
25093         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25094         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25095         Likewise.
25096         (PTRACE_SETSIGMASK): Likewise.
25097         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25099         Likewise.
25100         (PTRACE_SETSIGMASK): Likewise.
25101         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25102         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25103         Likewise.
25104         (PTRACE_SETSIGMASK): Likewise.
25105         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25107 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
25108             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25110         [BZ #19439]
25111         * math/bits/mathcalls.h
25112         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25113         prototype.
25114         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25116 2016-01-11  Andreas Schwab  <schwab@suse.de>
25118         [BZ #19253]
25119         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25120         cache when TZDEFRULES was used.
25121         * time/tst-tzname.c: New file.
25122         * time/Makefile (test): Add tst-tzname.
25123         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25124         * timezone/Makefile (test-zones): Add $(posixrules-file).
25125         ($(testdata)/$(posixrules-file)): New rule.
25127 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
25129         Fix doc quoting problems with Texinfo 5
25130         Without this change, in the info file output, Texinfo 5 quotes code
25131         in text with undirected single quotes 'like this' and generates
25132         code examples that with many PDF readers cannot be cut out of PDFs
25133         and pasted into code.
25134         * manual/libc.texinfo: Configure the libc manual like the GNU
25135         Emacs manual, by using @documentencoding and setting
25136         txicodequoteundirected and txicodequotebacktick.  This way,
25137         Texinfo 5 quotes code in text with directed single quotes â€˜like
25138         this’ and produces examples that can be cut out of PDFs.  This
25139         change causes Texinfo 5 to generate info files that contain UTF-8
25140         characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
25141         '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
25143 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25145         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25146         __libc_tabort, __libc_tend): New wrappers that enforce compiler
25147         barriers to their respective compiler built-ins.
25148         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25149         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25150         * sysdeps/powerpc/sysdep.h: Likewise.
25151         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25152         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25153         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25155 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
25157         * scripts/config.guess: Revert previous shebang change.
25158         * scripts/config.sub: Likewise.
25159         * scripts/mkinstalldirs: Likewise.
25161 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25163         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25164         PPC_FEATURE2_HAS_IEEE128.
25165         * sysdeps/powerpc/dl-procinfo.c:
25166         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25168 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25170         [BZ #19415]
25171         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25172         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25173         (_dl_lookup_address): Rewrite using function resolver trampoline.
25174         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25175         two bits in address.
25177 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25179         * longlong.h: Change !__SHMEDIA__ to
25180         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25181         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25183 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25184             Joseph Myers  <joseph@codesourcery.com>
25185             Mark Shinwell  <shinwell@codesourcery.com>
25186             Andrew Stubbs  <ams@codesourcery.com>
25187             Rich Felker <dalias@libc.org>
25189         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25191 2016-01-07  Richard Henderson  <rth@redhat.com>
25193         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25195 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25197         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25198         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25199         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25200         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25201         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25203 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25204             Joseph Myers  <joseph@codesourcery.com>
25206         * timezone/private.h: Update from tzcode 2015g.
25207         * timezone/tzfile.h: Likewise.
25208         * timezone/tzselect.ksh: Likewise.
25209         * timezone/zdump.c: Likewise.
25210         * timezone/zic.c: Likewise.
25211         * timezone/ialloc.c: Remove file.
25212         * timezone/scheck.c: Likewise.
25213         * timezone/Makefile (extra-objs): Remove variable.
25214         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25215         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25216         -Wno-maybe-uninitialized.
25217         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25218         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25219         (CFLAGS-ialloc.c): Remove variable.
25220         (CFLAGS-scheck.c): Likewise.
25221         * timezone/README: Update list of files from tzcode.
25223 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25225         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25226         instead of __fxprintf when _LIBC is undefined.
25228 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25230         * catgets/test-gencat.sh: Remove space after shebang.
25231         * conform/GlibcConform.pm: Likewise.
25232         * conform/check-header-lists.sh: Likewise.
25233         * conform/conformtest.pl: Likewise.
25234         * conform/linknamespace.pl: Likewise.
25235         * conform/list-header-symbols.pl: Likewise.
25236         * debug/catchsegv.sh: Likewise.
25237         * elf/genrtldtbl.awk: Likewise.
25238         * elf/tst-pathopt.sh: Likewise.
25239         * elf/tst-rtld-load-self.sh: Likewise.
25240         * grp/tst_fgetgrent.sh: Likewise.
25241         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25242         * iconvdata/gen-8bit-gap.sh: Likewise.
25243         * iconvdata/gen-8bit.sh: Likewise.
25244         * iconvdata/run-iconv-test.sh: Likewise.
25245         * intl/tst-gettext.sh: Likewise.
25246         * intl/tst-gettext2.sh: Likewise.
25247         * intl/tst-gettext4.sh: Likewise.
25248         * intl/tst-gettext6.sh: Likewise.
25249         * intl/tst-translit.sh: Likewise.
25250         * io/ftwtest-sh: Likewise.
25251         * libio/test-freopen.sh: Likewise.
25252         * locale/gen-translit.pl: Likewise.
25253         * malloc/tst-mtrace.sh: Likewise.
25254         * manual/check-safety.sh: Likewise.
25255         * manual/libc-texinfo.sh: Likewise.
25256         * manual/tsort.awk: Likewise.
25257         * manual/xtract-typefun.awk: Likewise.
25258         * nptl/tst-cancel-wrappers.sh: Likewise.
25259         * nptl/tst-tls6.sh: Likewise.
25260         * posix/globtest.sh: Likewise.
25261         * posix/tst-getconf.sh: Likewise.
25262         * posix/wordexp-tst.sh: Likewise.
25263         * scripts/check-c++-types.sh: Likewise.
25264         * scripts/check-local-headers.sh: Likewise.
25265         * scripts/config.guess: Likewise.
25266         * scripts/config.sub: Likewise.
25267         * scripts/cpp: Likewise.
25268         * scripts/cross-test-ssh.sh: Likewise.
25269         * scripts/documented.sh: Likewise.
25270         * scripts/evaluate-test.sh: Likewise.
25271         * scripts/gen-libc-abis: Likewise.
25272         * scripts/gen-sorted.awk: Likewise.
25273         * scripts/list-fixed-bugs.py: Likewise.
25274         * scripts/merge-test-results.sh: Likewise.
25275         * scripts/mkinstalldirs: Likewise.
25276         * scripts/rellns-sh: Likewise.
25277         * scripts/test-installation.pl: Likewise.
25278         * scripts/update-copyrights: Likewise.
25279         * stdio-common/tst-printf.sh: Likewise.
25280         * stdio-common/tst-unbputc.sh: Likewise.
25281         * stdlib/tst-fmtmsg.sh: Likewise.
25282         * stdlib/tst-setcontext3.sh: Likewise.
25283         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25284         * sysdeps/unix/make-syscalls.sh: Likewise.
25286 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25288         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25289         asm stw with atomic_exchange_rel.  Add explanatory comment.
25290         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25291         Likewise.
25293 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25295         [BZ #19122]
25296         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25297         * sysdeps/generic/dl-unistd.h: New file.
25298         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25300 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25302          [BZ #19122]
25303          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25304          * sysdeps/generic/dl-mman.h: New file.
25305          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25307 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25309         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25310         trailing whitespace removed.
25311         * scripts/config.guess: Update to version 2016-01-01.
25312         * scripts/config.sub: Update to version 2016-01-01.
25313         * scripts/move-if-change: Update from gnulib.
25315 2016-01-04  Anton Blanchard  <anton@samba.org>
25317         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25318         for array indices.
25319         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25321 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25323         * NEWS: Update copyright dates.
25324         * catgets/gencat.c (print_version): Likewise.
25325         * csu/version.c (banner): Likewise.
25326         * debug/catchsegv.sh: Likewise.
25327         * debug/pcprofiledump.c (print_version): Likewise.
25328         * debug/xtrace.sh (do_version): Likewise.
25329         * elf/ldconfig.c (print_version): Likewise.
25330         * elf/ldd.bash.in: Likewise.
25331         * elf/pldd.c (print_version): Likewise.
25332         * elf/sotruss.sh: Likewise.
25333         * elf/sprof.c (print_version): Likewise.
25334         * iconv/iconv_prog.c (print_version): Likewise.
25335         * iconv/iconvconfig.c (print_version): Likewise.
25336         * locale/programs/locale.c (print_version): Likewise.
25337         * locale/programs/localedef.c (print_version): Likewise.
25338         * login/programs/pt_chown.c (print_version): Likewise.
25339         * malloc/memusage.sh (do_version): Likewise.
25340         * malloc/memusagestat.c (print_version): Likewise.
25341         * malloc/mtrace.pl: Likewise.
25342         * manual/libc.texinfo: Likewise.
25343         * nptl/version.c (banner): Likewise.
25344         * nscd/nscd.c (print_version): Likewise.
25345         * nss/getent.c (print_version): Likewise.
25346         * nss/makedb.c (print_version): Likewise.
25347         * posix/getconf.c (main): Likewise.
25348         * scripts/test-installation.pl: Likewise.
25349         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25351         * All files with FSF copyright notices: Update copyright dates
25352         using scripts/update-copyrights.
25353         * intl/plural.c: Regenerated.
25354         * locale/programs/charmap-kw.h: Likewise.
25355         * locale/programs/locfile-kw.h: Likewise.
25357 2016-01-02  Helge Deller  <deller@gmx.de>
25359         [BZ #19285]
25360         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25361         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25362         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25363         (MADV_xxK_PAGES): Remove.
25365 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25367         [BZ #15421]
25368         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25369         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25370         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25371         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25373 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25375         [BZ #19408]
25376         * sysdeps/unix/sysv/linux/personality.c: New file.
25377         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25378         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25379         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25380         (sysdep_routines): Add personality.
25381         (tests): Add tst-personality.
25382         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25383         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25384         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25385         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25386         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25387         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25388         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25389         Likewise.
25390         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25391         Likewise.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25393         Likewise.
25394         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25395         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25396         Likewise.
25398 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25400         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25401         (PATH_ARM_SYSTYPE): Remove.
25402         (PATH_CPUINFO): Likewise.
25403         (IO_BASE_FOOTBRIDGE): Likewise.
25404         (IO_SHIFT_FOOTBRIDGE): Likewise.
25405         (struct platform): Likewise.
25406         (init_iosys): Remove compatibility code for 2.4 kernels.
25407         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25409 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25411         * malloc/tst-malloc-thread-fail.c: New file.
25412         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25413         (tst-malloc-thread-fail): Link against libpthread.
25415 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25417         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25418         (get_parser): New function.
25419         (main): New function.
25421 2015-12-29  Rob Wu  <rob@robwu.nl>
25423         [BZ #19369]
25424         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25426 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25428         [BZ #19270]
25429         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25431 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25433         [BZ #15421]
25434         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25436 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25438         [BZ #13690]
25439         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25440         after releasing it.
25441         (__lll_robust_unlock): Likewise.
25442         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25443         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25444         (lll_robust_unlock): Likewise.
25445         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25446         Prevent warnings in callers.
25448 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25450         * malloc/arena.c (list_lock): Update comment.
25452 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25454         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25455         __parse_hwcap_and_convert_at_platform to libc.a.
25457 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25459         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25460         platform and feature support for POWER9.
25461         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25462         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25463         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25464         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25465         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25466         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25467         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25468         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25470 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25472         Harmonize generic stdio-lock support with nptl
25474         This fixes build when _IO_funlockfile is a macro, fixes build where
25475         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25476         stack unwind.
25478         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25479         _IO_release_lock ): Use cleanup attribute on new
25480         _IO_acquire_lock_file variable instead of assuming that
25481         _IO_release_lock will be called.
25482         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25483         _IO_acquire_lock_needs_exceptions_enabled.
25484         (_IO_acquire_lock_clear_flags2): New macro.
25486 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25488         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25490 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25492         [BZ #19182]
25493         * malloc/arena.c (list_lock): Document lock ordering requirements.
25494         (free_list_lock): New lock.
25495         (ptmalloc_lock_all): Comment on free_list_lock.
25496         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25497         (detach_arena): Update comment.  free_list_lock is now needed.
25498         (_int_new_arena): Use free_list_lock around detach_arena call.
25499         Acquire arena lock after list_lock.  Add comment, including FIXME
25500         about incorrect synchronization.
25501         (get_free_list): Switch to free_list_lock.
25502         (reused_arena): Acquire free_list_lock around detach_arena call
25503         and attached threads counter update.  Add two FIXMEs about
25504         incorrect synchronization.
25505         (arena_thread_freeres): Switch to free_list_lock.
25506         * malloc/malloc.c (struct malloc_state): Update comments to
25507         mention free_list_lock.
25509 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25511         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25512         Remove functions.
25513         (sloww, sloww1): Accept argument to offset quadrant.
25514         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25515         quadrant.
25516         (__sin, __cos): Consolidate common code into new functions.
25517         (reduce_sincos_1, do_sincos_1): New functions.
25518         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25520         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25521         code to new functions.
25522         (reduce_sincos_2, do_sincos_2): New functions.
25523         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25525         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25526         common code for sincos.
25527         (__cos) [!IN_SINCOS]: Likewise.
25528         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25529         New function.
25530         (__sincos): Use it.
25532 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25534         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25535         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25536         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25538 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25540         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25543         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25544         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25545         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25546         index_Prefer_No_VZEROUPPER): New feature.
25547         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25548         Prefer_No_VZEROUPPER for Knights Landing.
25550 015-12-18  Torvald Riegel  <triegel@redhat.com>
25552         * math/atest-exp2.c (mp_exp_m1): Remove.
25554 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25556         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25557         syscalls.
25558         (__SYSCALL0): New macro.
25559         (__SYSCALL1): Likewise.
25560         (__SYSCALL2): Likewise.
25561         (__SYSCALL3): Likewise.
25562         (__SYSCALL4): Likewise.
25563         (__SYSCALL5): Likewise.
25564         (__SYSCALL6): Likewise.
25565         (__SYSCALL_CONCAT_X): Likewise.
25566         (__SYSCALL_CONCAT): Likewise.
25567         (__SYSCALL_DIST): Likewise.
25568         (__SYSCALL_CALL): Likewise.
25570 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25572         [BZ #19363]
25573         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25575 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25577         [BZ #19375]
25578         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25579         negative subnormals.
25581 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25584         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25585         (INTERNAL_SYSCALL_NCS): Use it.
25586         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25588 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25590         [BZ #19243]
25591         * malloc/arena.c (get_free_list): Remove assert and adjust
25592         reference count handling.  Add comment about reused_arena
25593         interaction.
25594         (reused_arena): Add comments abount get_free_list interaction.
25595         * malloc/tst-malloc-thread-exit.c: New file.
25596         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25597         (tst-malloc-thread-exit): Link against libpthread.
25599 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25601         [BZ #19367]
25602         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25603         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25604         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25605         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25606         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25608 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25610         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25611         Silvermont optimizations for Knights Landing.
25613 2015-12-15  Andreas Schwab  <schwab@suse.de>
25615         [BZ #17197]
25616         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25617         immediately after emitting SI.
25618         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25619         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25620         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25621         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25622         * iconvdata/bug-iconv10.c: New file.
25623         * iconvdata/Makefile (tests): Add bug-iconv10.
25624         ($(objpfx)bug-iconv10.out): New rule.
25626 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25628         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25629         aliasing violation.
25631 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25633         [BZ #18472]
25634         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25635         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25636         conditionals for them.
25637         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25638         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25640         sys/kdaemon.h.
25641         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25642         compat-only syscall, obsoleted in glibc 2.23.
25643         (create_module): Likewise.
25644         (get_kernel_syms): Likewise.
25645         (query_module): Likewise.
25646         (uselib): Likewise.
25647         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25649 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25651         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25652         <linux/version.h>.
25653         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25654         conditional code.
25655         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25656         and ioshift_name initialization.
25658 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25660         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25661         Fix indentation.
25663 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25665         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25667 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25669         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25671 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25672             Jakub Wilk  <jwilk@debian.org>
25674         [BZ #19347]
25675         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25676         to change the group of the device to the tty group.
25678 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25680         Split large string section; add truncation advice
25681         * manual/examples/strncat.c: Remove.
25682         This example was misleading, as the code would have undefined
25683         behavior if "hello" was longer than SIZE.  Anyway, the manual
25684         shouldn't encourage strncpy+strncat for this sort of thing.
25685         * manual/string.texi (Copying Strings and Arrays): Split into
25686         three sections Copying Strings and Arrays, Concatenating Strings,
25687         and Truncating Strings, as this section was way too long.  All
25688         cross-referenced changed.  Add advice about string-truncation
25689         functions.  Remove misleading strncat example.
25691 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25693         * manual/nss.texi (NSS Modules Interface): Document
25694         NSS_STATUS_NOTFOUND and SUCCESS.
25696 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25698         [BZ 18568]
25699         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25700         201505L, for Unicode 8.
25702 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25704         * locale/C-translit.h: Regenerate.
25706 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25708         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25709         and U+0153.
25711 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25713         [BZ #19351]
25714         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25715         expanding log(1+z), compare z rather than its square with epsilon
25716         to determine when to avoid evaluating the expansion.
25718         [BZ #19350]
25719         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25720         Increase overflow threshold.
25722         [BZ #19349]
25723         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25724         when small.
25726         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25727         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25728         New macro.
25729         [__LINUX_KERNEL_VERSION >= 0x040300]
25730         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25732         Likewise.
25733         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25734         Likewise.
25735         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25736         Likewise.
25737         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25738         Likewise.
25739         [__LINUX_KERNEL_VERSION >= 0x040300]
25740         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25741         [__LINUX_KERNEL_VERSION >= 0x040300]
25742         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25743         [__LINUX_KERNEL_VERSION >= 0x040300]
25744         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25745         [__LINUX_KERNEL_VERSION >= 0x040300]
25746         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25747         [__LINUX_KERNEL_VERSION >= 0x040300]
25748         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25749         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25750         Likewise.
25751         [__LINUX_KERNEL_VERSION >= 0x040300]
25752         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25754         Likewise.
25755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25756         Likewise.
25757         [__LINUX_KERNEL_VERSION >= 0x040300]
25758         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25760         Likewise.
25761         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25762         Likewise.
25763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25765         Likewise.
25766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25767         Likewise.
25768         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25769         Likewise.
25770         [__LINUX_KERNEL_VERSION >= 0x040300]
25771         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25772         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25773         Likewise.
25774         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25775         Likewise.
25776         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25777         Likewise.
25778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25779         Likewise.
25780         [__LINUX_KERNEL_VERSION >= 0x040300]
25781         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25782         [__LINUX_KERNEL_VERSION >= 0x040300]
25783         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25784         [__LINUX_KERNEL_VERSION >= 0x040300]
25785         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25786         [__LINUX_KERNEL_VERSION >= 0x040300]
25787         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25788         [__LINUX_KERNEL_VERSION >= 0x040300]
25789         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25791         Likewise.
25792         [__LINUX_KERNEL_VERSION >= 0x040300]
25793         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25794         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25795         Likewise.
25796         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25797         Likewise.
25798         [__LINUX_KERNEL_VERSION >= 0x040300]
25799         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25801         Likewise.
25802         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25803         Likewise.
25804         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25805         (__ASSUME_SOCKET_SYSCALL): Likewise.
25806         (__ASSUME_BIND_SYSCALL): Likewise.
25807         (__ASSUME_CONNECT_SYSCALL): Likewise.
25808         (__ASSUME_LISTEN_SYSCALL): Likewise.
25809         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25810         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25811         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25812         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25813         (__ASSUME_SEND_SYSCALL): Likewise.
25814         (__ASSUME_SENDTO_SYSCALL): Likewise.
25815         (__ASSUME_RECV_SYSCALL): Likewise.
25816         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25817         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25818         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25819         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25820         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25821         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25822         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25823         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25824         Likewise.
25825         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25826         Likewise.
25827         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25828         Likewise.
25829         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25830         Likewise.
25831         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25832         Likewise.
25833         [__LINUX_KERNEL_VERSION >= 0x020625]
25834         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25835         [__LINUX_KERNEL_VERSION >= 0x020625]
25836         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25837         [__LINUX_KERNEL_VERSION >= 0x020625]
25838         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25839         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25840         Likewise.
25841         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25842         Likewise.
25843         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25844         Likewise.
25845         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25846         Likewise.
25847         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25848         Likewise.
25849         [__LINUX_KERNEL_VERSION >= 0x020625]
25850         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25851         [__LINUX_KERNEL_VERSION >= 0x020625]
25852         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25853         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25854         Likewise.
25855         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25856         Likewise.
25858 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25860         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25861         record the current if the current ABI and CPU support the FP64
25862         extension.
25863         (has-modd-spreg): Define to record the current if the current ABI and
25864         CPU support 32-bit floating point values in odd FPU registers.
25865         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25866         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25867         $(has-modd-spreg) equals yes.
25868         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25869         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25870         $(has-modd-spreg) equal yes.
25872 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25874         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25875         basename.
25877 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25879         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25880         (bench-string): ... here.
25881         (bench): Add bench-string.
25882         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25883         to *-benchset to reflect what they are.
25884         (benchset): Adjust.
25886         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25887         cos-inputs.
25889 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25891         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25892         __attribute__ ((__simd__)) for vector math function declarations.
25894 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25896         Fix typo in strncat, wcsncat manual entries
25897         * manual/string.texi (Copying and Concatenation): Fix typos in
25898         sample implementations of strncat and wcsncat, by having them use
25899         the old value of the destination length, not the new one.
25901 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25903         [BZ #16961]
25904         [BZ #16962]
25905         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25906         string on the stack for strtod.
25907         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25908         a string on the stack for strtof.
25909         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25910         constructing a string on the stack for strtold.
25911         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25912         __strtold_nan to GLIBC_PRIVATE.
25913         * math/test-nan-overflow.c: New file.
25914         * math/test-nan-payload.c: Likewise.
25915         * math/Makefile (tests): Add test-nan-overflow and
25916         test-nan-payload.
25918 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25920         Consistency about byte vs character in string.texi
25921         * manual/string.texi (String and Array Utilities):
25922         Distinguish more carefully among bytes, multibyte characters,
25923         and wide characters.  Use "byte" when talking about C 'char',
25924         to distinguish it more clearly from multibyte characters.
25925         Say "wide character" or "multibyte character" instead of
25926         "character", when a wide or multibyte character is intended.
25927         Similarly for "multibyte string" versus "string".
25928         Define these terms more carefully.
25930 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25932         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25933         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25934         Likewise.
25935         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25936         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25937         * sysdeps/sh/math_private.h: New file.
25938         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25939         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25940         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25941         long double function name.
25942         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25943         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25944         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25948         Remove __finitel, __isinfl, and __isnanl.
25949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25950         Likewise.
25951         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25953         Remove __finitel.
25954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25955         Likewise.
25956         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25958 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25960         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25961         installed libmvec_nonshared.a.
25963 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25965         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25966         (sysdep_routines): Likewise.
25967         (sysdep-rtld-routines): Likewise.
25968         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25969         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25970         * sysdeps/powerpc/Versions: Added new
25971         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25972         * sysdeps/powerpc/hwcapinfo.c: New file.
25973         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25974         and parse hwcap, hwcap2 and platform number information.
25975         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25976         to store HWCAP+HWCAP2 and platform number.
25977         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25978         for HWCAP+HWCAP2 and platform number in the TCB.
25979         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25980         the HWCAP, HWCAP2 and platform number in the TCB.
25981         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25982         (TLS_INIT_TP): Included calls to add the hwcap and
25983         at_platform values in the TCB in TP initialization.
25984         (TLS_DEFINE_INIT_TP): Likewise.
25985         (THREAD_GET_HWCAP): New macro.
25986         (THREAD_SET_HWCAP): Likewise.
25987         (THREAD_GET_AT_PLATFORM): Likewise.
25988         (THREAD_SET_AT_PLATFORM): Likewise.
25989         * sysdeps/powerpc/powerpc32/dl-machine.h:
25990         (dl_platform_init): New function that calls
25991         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25992         powerpc32.
25993         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25994         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25995         this functionality, static linking case.
25996         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25997         linking case.
25998         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25999         __parse_hwcap_and_convert_at_platform for the static linking case.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
26001         Included the new __parse_hwcap_and_convert_at_platform symbol in the
26002         ABI list for GLIBC 2.23.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
26004         Likewise.
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
26006         Likewise.
26008 2015-12-02  Ludovic CourtĂšs  <ludo@gnu.org>
26010         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
26011         * configure: Regenerate.
26012         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
26013         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
26015 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
26017         * iconvdata/ibm930.c: Add comment explaining encoding uses.
26018         * iconvdata/ibm933.c: Likewise.
26019         * iconvdata/ibm935.c: Likewise.
26020         * iconvdata/ibm937.c: Likewise.
26021         * iconvdata/ibm939.c: Likewise.
26023 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26025         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
26026         pthread_join.
26027         * nptl/tst-cancel21.c (tf): Likewise.
26029 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26031         [BZ #19313]
26032         * bits/typesizes.h (__CPU_MASK_TYPE): New.
26033         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26034         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26035         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
26036         Likewise.
26037         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
26038         Likewise.
26039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
26040         Likewise.
26041         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
26042         Likewise.
26043         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
26044         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
26045         unsigned long int with __CPU_MASK_TYPE.
26047 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26049         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26051 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
26053         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
26054         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
26055         t512.x.
26056         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
26058 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
26060         [BZ #19214]
26061         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
26062         argument to return extended model.  Update family and model
26063         with extended family and model when family == 0x0f.
26064         (init_cpu_features): Updated.
26066 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26068         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26069         signed off_t, so 32bit bigger than 2GiB values are fine actually.
26071         * sysdeps/mach/hurd/mmap64.c: New file.
26073 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
26075         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26076         rights for its main user thread in NEWTASK.
26078 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
26080         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26081         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26083 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
26085         [BZ #14259]
26086         * Makeconfig: Rename localedir to complocaledir.
26087         Rename inst_localedir to inst_complocaledir.
26088         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26089         * config.make.in: Use complocaledir and libc_cv_complocaledir.
26090         * configure.ac: Use libc_cv_complocaledir.
26091         * configure: Regenerate.
26092         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26093         -DCOMPLOCALEDIR.
26094         * locale/findlocale.c: Use COMPLOCALEDIR.
26095         * locale/loadarchive.c: Likewise.
26096         * locale/programs/locale.c: Likewise.
26097         * locale/programs/localedef.c: Likewise.
26098         * locale/programs/locarchive.c: Likewise.
26099         * localedata/Makefile: Use inst_complocaledir.
26100         * sysdeps/gnu/configure: Regenerate.
26101         * sysdeps/hppa/configure: Regenerate.
26102         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26103         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26105         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26106         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26107         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26108         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26110 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
26112         [BZ #19058]
26113         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26114         AS_NEEDED.
26115         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26116         workaround.
26117         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26118         libmvec-static-only-routines): Added new file.
26119         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26121 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26123         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26124         of interrupted RPC instead of restoring it.
26126         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26127         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26128         libc_hidden_def.
26129         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26130         into initialized data instead of common. Define rtld_hidden_data_def.
26131         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26132         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26133         libc_hidden_def.
26134         (if_freenameindex): Add libc_hidden_weak.
26135         (if_nameindex): Add libc_hidden_weak.
26136         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26137         __open64.
26138         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26139         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26140         * sysdeps/mach/nanosleep.c: Include <time.h>
26141         (__nanosleep): Rename to __libc_nanosleep.
26142         (__nanosleep): Add weak_alias.
26143         (nanosleep): Update alias.
26145 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
26147         * stdlib/strtod_nan.c: New file.
26148         * stdlib/strtod_nan_double.h: Likewise.
26149         * stdlib/strtod_nan_float.h: Likewise.
26150         * stdlib/strtod_nan_main.c: Likewise.
26151         * stdlib/strtod_nan_narrow.h: Likewise.
26152         * stdlib/strtod_nan_wide.h: Likewise.
26153         * stdlib/strtof_nan.c: Likewise.
26154         * stdlib/strtold_nan.c: Likewise.
26155         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26156         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26157         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26158         * wcsmbs/wcstod_nan.c: Likewise.
26159         * wcsmbs/wcstof_nan.c: Likewise.
26160         * wcsmbs/wcstold_nan.c: Likewise.
26161         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26162         strtold_nan.
26163         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26164         wcstof_nan.
26165         * include/stdlib.h (__strtof_nan): Declare and use
26166         libc_hidden_proto.
26167         (__strtod_nan): Likewise.
26168         (__strtold_nan): Likewise.
26169         (__wcstof_nan): Likewise.
26170         (__wcstod_nan): Likewise.
26171         (__wcstold_nan): Likewise.
26172         * include/wchar.h (____wcstoull_l_internal): Declare.
26173         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26174         (____strtoull_l_internal): Remove declaration.
26175         (STRTOF_NAN): Define macro.
26176         (SET_MANTISSA): Remove macro.
26177         (STRTOULL): Likewise.
26178         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26179         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26180         (STRTOF_NAN): Define macro.
26181         (SET_MANTISSA): Remove macro.
26182         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26183         (SET_MANTISSA): Remove macro.
26184         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26185         macro.
26186         (SET_MANTISSA): Remove macro.
26187         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26188         macro.
26189         (SET_MANTISSA): Remove macro.
26190         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26191         (SET_MANTISSA): Remove macro.
26192         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26193         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26194         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26196         [BZ #19266]
26197         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26198         upper case and lower case letters inside NAN(), not using TOLOWER.
26199         * stdlib/tst-strtod-nan-locale-main.c: New file.
26200         * stdlib/tst-strtod-nan-locale.c: Likewise.
26201         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26202         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26203         Depend on $(gen-locales).
26204         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26205         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26206         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26207         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26208         Depend on $(gen-locales).
26209         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26211 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26213         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26215         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26217         __finitel, __isinfl, and __isnanl.
26218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26219         Likewise.
26220         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26222         __finitel.
26223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26224         Likewise.
26225         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26227 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26229         * malloc/memusage.c (me): Remove redundant getenv call.
26231 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26233         [BZ #19143]
26234         [BZ #19164]
26235         * nptl/check-cpuset.h: Remove.
26236         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26237         Remove CPU set size check.
26238         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26239         Likewise.
26240         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26241         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26242         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26243         (__pthread_setaffinity_new): Remove CPU set size check.
26244         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26245         (__kernel_cpumask_size): Remove.
26246         (__sched_setaffinity_new): Remove CPU set size check.
26247         * manual/threads.texi (Default Thread Attributes): Remove stale
26248         reference to check_cpuset_attr, determine_cpumask_size in comment.
26249         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26250         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26251         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26252         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26253         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26254         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26255         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26256         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26257         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26258         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26259         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26260         skeleton test file.
26261         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26262         tst-affinity-pid.
26264 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26266         * scripts/update-abilist.sh: New file.
26267         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26268         * Makerules (update-all-abi-%, update-all-abi)
26269         (subdir_update-all-abi): New targets.
26270         * elf/Makefile (update-all-abi): New target.
26272 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26274         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26275         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26276         (__libc_lock_define_initialized): Use it.
26277         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26278         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26279         * malloc/malloc.c (main_arena): Likewise.
26280         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26281         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26283 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26285         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26286         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26287         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26288         (PTRACE_O_MASK): Update value.
26289         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26290         New value in enum __ptrace_setoptions.
26291         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26292         (PTRACE_O_MASK): Update value.
26293         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26294         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26295         (PTRACE_O_MASK): Update value.
26296         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26297         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26298         (PTRACE_O_MASK): Update value.
26299         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26300         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26301         (PTRACE_O_MASK): Update value.
26302         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26303         New value in enum __ptrace_setoptions.
26304         (PTRACE_O_MASK): Update value.
26305         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26306         New value in enum __ptrace_setoptions.
26307         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26308         (PTRACE_O_MASK): Update value.
26310         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26311         New macro.
26312         (PACKET_AUXDATA): Likewise.
26313         (PACKET_ORIGDEV): Likewise.
26314         (PACKET_VERSION): Likewise.
26315         (PACKET_HDRLEN): Likewise.
26316         (PACKET_RESERVE): Likewise.
26317         (PACKET_TX_RING): Likewise.
26318         (PACKET_LOSS): Likewise.
26319         (PACKET_VNET_HDR): Likewise.
26320         (PACKET_TX_TIMESTAMP): Likewise.
26321         (PACKET_TIMESTAMP): Likewise.
26322         (PACKET_FANOUT): Likewise.
26323         (PACKET_TX_HAS_OFF): Likewise.
26324         (PACKET_QDISC_BYPASS): Likewise.
26325         (PACKET_ROLLOVER_STATS): Likewise.
26326         (PACKET_FANOUT_DATA): Likewise.
26327         (PACKET_MR_UNICAST): Likewise.
26329         [BZ #19242]
26330         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26331         (TOUPPER): Likewise.
26332         * stdlib/tst-strtol-locale-main.c: New file.
26333         * stdlib/tst-strtol-locale.c: Likewise.
26334         * stdlib/Makefile (tests): Add tst-strtol-locale.
26335         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26336         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26337         Depend on $(gen-locales).
26338         * wcsmbs/tst-wcstol-locale.c: New file.
26339         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26340         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26341         tr_TR.ISO-8859-9.
26342         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26343         Depend on $(gen-locales).
26345 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26347         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26348         __glibc_likely instead of __builtin_expect.  After falling back to
26349         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26350         system interface to register the code pages as occupied.
26352 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26354         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26355         [!ARM_MATH_PRIVATE_H].
26356         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26357         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26358         [!HPPA_MATH_PRIVATE_H].
26359         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26360         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26361         to [!I386_MATH_PRIVATE_H].
26362         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26363         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26364         Change guard to [!M68K_MATH_PRIVATE_H].
26365         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26366         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26367         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26368         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26369         macro.
26370         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26371         [!MIPS_MATH_PRIVATE_H].
26372         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26373         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26374         [!NIO2_MATH_PRIVATE_H].
26375         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26376         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26377         [!TILE_MATH_PRIVATE_H].
26378         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26380         [BZ #15421]
26381         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26382         initialize with 0 and define as weak alias of __signgam.
26383         * include/math.h [!_ISOMAC] (__signgam): Declare.
26384         * math/Makefile (libm-calls): Add w_lgamma_compat.
26385         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26386         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26387         test-signgam-ullong-init.
26388         (tests-static): Add test-signgam-uchar-static,
26389         test-signgam-uchar-init-static, test-signgam-uint-static,
26390         test-signgam-uint-init-static, test-signgam-ullong-static and
26391         test-signgam-ullong-init-static.
26392         (CFLAGS-test-signgam-uchar.c): New variable.
26393         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26394         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26395         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26396         (CFLAGS-test-signgam-uint.c): Likewise.
26397         (CFLAGS-test-signgam-uint-init.c): Likewise.
26398         (CFLAGS-test-signgam-uint-static.c): Likewise.
26399         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26400         (CFLAGS-test-signgam-ullong.c): Likewise.
26401         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26402         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26403         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26404         * math/Versions (libm): Add GLIBC_2.23.
26405         * math/lgamma-compat.h: New file.
26406         * math/test-signgam-main.c: Likewise.
26407         * math/test-signgam-uchar-init-static.c: Likewise.
26408         * math/test-signgam-uchar-init.c: Likewise.
26409         * math/test-signgam-uchar-static.c: Likewise.
26410         * math/test-signgam-uchar.c: Likewise.
26411         * math/test-signgam-uint-init-static.c: Likewise.
26412         * math/test-signgam-uint-init.c: Likewise.
26413         * math/test-signgam-uint-static.c: Likewise.
26414         * math/test-signgam-uint.c: Likewise.
26415         * math/test-signgam-ullong-init-static.c: Likewise.
26416         * math/test-signgam-ullong-init.c: Likewise.
26417         * math/test-signgam-ullong-static.c: Likewise.
26418         * math/test-signgam-ullong.c: Likewise.
26419         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26420         wrapper of w_lgamma_main.c.
26421         * math/w_lgamma_compat.c: New file.
26422         * math/w_lgamma_compatf.c: Likewise.
26423         * math/w_lgamma_compatl.c: Likewise.
26424         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26425         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26426         defining compatibility symbols.
26427         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26428         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26429         wrapper of w_lgammaf_main.c.
26430         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26431         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26432         defining compatibility symbols.
26433         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26434         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26435         wrapper of w_lgammal_main.c.
26436         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26437         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26438         defining compatibility symbols.
26439         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26440         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26441         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26442         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26443         <lgamma-compat.h>.
26444         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26445         (__ieee754_gamma): Define as alias.
26446         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26447         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26448         <lgamma-compat.h>.
26449         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26450         (__ieee754_gammaf): Define as alias.
26451         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26452         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26453         <lgamma-compat.h>.
26454         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26455         (__ieee754_gammal): Define as alias.
26456         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26457         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26458         <math/w_lgamma_compat.c>.
26459         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26460         Define as alias of __lgamma_compat and use in defining lgammal.
26461         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26462         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26463         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26464         (USE_AS_COMPAT): New macro.
26465         (LGAMMA_OLD_VER): Undefine and redefine.
26466         (lgammal): Do not define here.
26467         (gammal): Only define here if [GAMMA_ALIAS].
26468         * conform/linknamespace.pl (@whitelist): Remove signgam.
26469         * sysdeps/nacl/libm.abilist: Update.
26470         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26471         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26472         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26473         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26474         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26475         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26476         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26477         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26478         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26479         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26480         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26481         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26483         Likewise.
26484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26485         Likewise.
26486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26487         Likewise.
26488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26489         Likewise.
26490         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26491         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26492         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26493         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26494         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26496         Likewise.
26497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26498         Likewise.
26499         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26500         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26501         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26503 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26505         [BZ #16364]
26506         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26507         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26509 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26511         * sysdeps/s390/fpu/bits/mathinline.h:
26512         Use __asm__ [__volatile__] instead of asm [volatile].
26513         * sysdeps/s390/abort-instr.h: Likewise.
26514         * sysdeps/s390/atomic-machine.h: Likewise.
26515         * sysdeps/s390/bits/string.h: Likewise.
26516         * sysdeps/s390/dl-tls.h: Likewise.
26517         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26518         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26519         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26520         * sysdeps/s390/fpu/fesetround.c: Likewise.
26521         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26522         * sysdeps/s390/fpu/s_fma.c: Likewise.
26523         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26524         * sysdeps/s390/memusage.h: Likewise.
26525         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26526         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26527         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26528         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26529         * sysdeps/s390/nptl/tls.h: Likewise.
26530         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26531         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26532         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26533         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26534         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26535         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26536         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26537         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26538         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26539         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26540         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26541         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26542         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26543         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26544         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26545         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26546         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26547         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26548         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26549         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26550         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26552         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26554 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26555             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26557         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26558         Add lwarx hint, and use macro for acquire instruction.
26559         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26560         Likewise.
26561         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26562         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26563         update to use new atomic macros.
26565 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26567         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26568         (__lll_trylock_elision): Fix setting of adapt_count.
26569         * sysdeps/unix/sysv/linux/powerpc/htm.h
26570         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26571         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26572         (_ABORT_SYSCALL): Renumber, and clarify definition.
26573         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26575 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26577         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26578         after system headers to prevent MIN/MAX redefinition.  Define
26579         HAVE_ALLOCA to preserve builtin alloca usage.
26581 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26584         static and don't set or restore rounding.
26585         (__cos)[IN_SINCOS]: Likewise.
26586         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26587         (__sincos): Set and restore rounding mode.  Remove check for infinite
26588         or NaN input.
26590         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26592         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26593         as used.
26595 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26597         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26599 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26601         * config.make.in (have-glob-dat-reloc): New.
26602         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26603         target supports GLOB_DAT relocaton. AC_SUBST.
26604         * configure: Regenerated.
26605         * elf/Makefile (tests): Add tst-prelink.
26606         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26607         (tst-prelink-ENV): New.
26608         ($(objpfx)tst-prelink-conflict.out): Likewise.
26609         ($(objpfx)tst-prelink-cmp.out): Likewise.
26610         * sysdeps/x86/tst-prelink.c: Moved to ...
26611         * elf/tst-prelink.c: Here.
26612         * sysdeps/x86/tst-prelink.exp: Moved to ...
26613         * elf/tst-prelink.exp: Here.
26614         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26615         (tst-prelink-ENV): Removed.
26616         ($(objpfx)tst-prelink-conflict.out): Likewise.
26617         ($(objpfx)tst-prelink-cmp.out): Likewise.
26618         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26620 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26622         [BZ #14551]
26623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26624         (__mpn_construct_long_double): If high part overflows to infinity,
26625         set errno and recompute overflowed result of the correct sign.
26626         * sysdeps/ieee754/ldbl-128ibm/Makefile
26627         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26628         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26629         $(libm).
26630         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26632 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26634         [BZ #15479]
26635         [BZ #19238]
26636         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26637         floating-point state after first operation on input.  Restore full
26638         state rather than just rounding mode.
26639         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26640         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26641         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26643         [BZ #19235]
26644         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26645         add 0.5 to integer arguments.
26646         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26647         Likewise.
26648         (.LC2): New object.
26650 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26652         * scripts/pylintrc (reports): Set to no.
26654 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26656         * elf/dl-load.c (open_verify): Take new argument FD.
26657         Skip __open call if passed FD is not -1.
26658         (_dl_map_object, open_path): Update callers.
26659         * elf/dl-sysdep-open.h: New file.
26660         * elf/dl-load.c: Include it.
26661         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26662         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26663         * sysdeps/nacl/dl-sysdep-open.h: New file.
26664         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26665         from libc to rtld.
26667 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26669         [BZ #19228]
26670         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26671         and restore full floating-point state.
26672         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26673         Likewise.
26674         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26675         Likewise.
26676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26677         Likewise.
26678         * math/test-nearbyint-except-2.c: New file.
26679         * math/Makefile (tests): Add test-nearbyint-except-2.
26681 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26683         [BZ #19178]
26684         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26685         (tst-prelink-ENV): New.
26686         ($(objpfx)tst-prelink-conflict.out): Likewise.
26687         ($(objpfx)tst-prelink-cmp.out): Likewise.
26688         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26689         * sysdeps/x86/tst-prelink.c: New file.
26690         * sysdeps/x86/tst-prelink.exp: Likewise.
26692 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26694         * math/auto-libm-test-in: Add another test of pow.
26695         * math/auto-libm-test-out: Regenerated.
26696         * math/libm-test.inc (pow_test_data): Add another test.
26698 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26700         [BZ #19219]
26701         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26702         weak_alias to nearbyintl.
26704 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26706         * sysdeps/aarch64/bits/string.h: New file.
26707         (_STRING_ARCH_unaligned): Define.
26709 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26711         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26712         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26713         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26714         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26717 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26719         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26720         for original name of the DSO.  Add it to the name list of the DSO
26721         if it is actually given.
26722         (_dl_map_object): Keep track of whether an audit module rewrote
26723         the file name.  If yes, pass the original name to
26724         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26725         debugging is enabled, log the change of the file name.
26726         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26727         _dl_map_object_from_fd.
26728         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26729         * elf/tst-audit11.c: New file
26730         * elf/tst-auditmod11.c: New file.
26731         * elf/tst-audit11mod1.c: New file.
26732         * elf/tst-audit11mod2.c: New file.
26733         * elf/tst-audit11mod2.map: New file.
26734         * elf/tst-audit12.c: New file
26735         * elf/tst-auditmod12.c: New file.
26736         * elf/tst-audit12mod1.c: New file.
26737         * elf/tst-audit12mod2.c: New file.
26738         * elf/tst-audit12mod2.map: New file.
26739         * elf/tst-audit12mod3.c: New file.
26741 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26743         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26744         Don't create weak aliases,
26745         because versioned symbols are created later.
26746         * sysdeps/s390/s390-32/setjmp.S
26747         (setjmp, _setjmp): Remove weak and rename to an unique name
26748         in SHARED case due to existing versioned symbols.
26749         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26750         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26751         (getcontext): Create weak alias only in non SHARED case.
26752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26754 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26756         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26757         (__ASSUME_*_SYSCALL) Define new macros.
26758         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26759         Remove socketcall syscalls.
26760         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26761         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26762         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26763         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26764         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26765         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26767 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26769         [BZ #12926]
26770         Terminate process on invalid netlink response.
26771         * sysdeps/unix/sysv/linux/netlinkaccess.h
26772         (__netlink_assert_response): Declare.
26773         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26775         (sysdep_routines): Add netlink_assert_response.
26776         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26777         __netlink_assert_response.
26778         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26779         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26780         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26781         __netlink_assert_response.
26783 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26785         [BZ #19178]
26786         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26787         (RTYPE_CLASS_PLT): Likewise.
26788         (RTYPE_CLASS_COPY): Likewise.
26789         (RTYPE_CLASS_TLS): Likewise.
26790         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26791         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26792         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26793         DL_DEBUG_PRELINK.
26795 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26797         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26798         calls with argument -0.5.
26799         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26801         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26802         (libc_cv_z_nodlopen): Likewise.
26803         (libc_cv_z_initfirst): Likewise.
26804         * configure: Regenerated.
26806 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26808         Simplify abilist format to be line-based.
26809         * scripts/abilist.awk: Collect descriptors in the descs variable.
26810         (emit): Write descs variable and sort it
26811         externally, with sort.
26812         * sysdeps/**/*.abilist: Convert to new format.
26814 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26816         [BZ #11460]
26817         * io/Makefile (routines): Add fts64.
26818         (tests): Add tst-fts and tst-fts-lfs.
26819         (CFLAGS-fts64.c): New.
26820         * io/Versions (GLIBC_2.23): New.
26821         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26822         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26823         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26824         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26825         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26826         (FTSENT64): Likewise.
26827         (fts64_children): Likewise.
26828         (fts64_close): Likewise.
26829         (fts64_open): Likewise.
26830         (fts64_read): Likewise.
26831         (fts64_set): Likewise.
26832         * io/fts64.c: New file.
26833         * io/tst-fts.c: New test.
26834         * io/tst-fts-lfs.c: Likewise.
26835         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26836         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26837         fts64_set.
26838         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26839         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26840         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26841         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26842         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26844         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26845         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26847         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26848         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26849         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26850         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26852         Likewise.
26853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26854         Likewise.
26855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26857         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26858         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26859         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26860         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26861         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26864         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26865         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26866         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26867         * sysdeps/wordsize-64/fts.c: New file.
26868         * sysdeps/wordsize-64/fts64.c: Likewise.
26869         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26870         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26871         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26872         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26874 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26876         * math/libm-test.inc (NON_FINITE): New macro.
26877         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26878         * math/gen-libm-test.pl (show_exceptions): Add argument
26879         $non_finite.
26880         (parse_args): Update call to show_exceptions.
26881         * math/test-math-finite.h: New file.
26882         * math/test-math-no-finite.h: Likewise.
26883         * math/test-double-finite.c: Likewise.
26884         * math/test-float-finite.c: Likewise.
26885         * math/test-ldouble-finite.c: Likewise.
26886         * math/test-double.c: Include "test-math-no-finite.h".
26887         * math/test-float.c: Include "test-math-no-finite.h".
26888         * math/test-ldouble.c: Include "test-math-no-finite.h".
26889         * math/test-math-inline.h (TEST_FINITE): New macro.
26890         * math/test-math-vector.h (TEST_FINITE): Likewise.
26891         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26892         (libm-tests): Add test-float-finite and test-double-finite.
26893         ($(objpfx)test-float-finite.o): New dependency on
26894         $(objpfx)libm-test.stmp.
26895         ($(objpfx)test-double-finite.o): Likewise.
26896         ($(objpfx)test-ldouble-finite.o): Likewise.
26897         (libm-test-no-inline-cflags): New variable.
26898         (libm-test-finite-cflags): Likewise.
26899         (CFLAGS-test-float-finite.c): Likewise.
26900         (CFLAGS-test-double-finite.c): Likewise.
26901         (CFLAGS-test-ldouble-finite.c): Likewise.
26902         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26903         (CFLAGS-test-double.c): Likewise.
26904         (CFLAGS-test-ldouble.c): Likewise.
26906 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26908         * io/fcntl.c (__fcntl): Add ... to prototype.
26909         * misc/ioctl.c (__ioctl): Likewise.
26910         * misc/syscall.c (syscall): Likewise.
26912 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26914         * scripts/list-fixed-bugs.py: New file.
26916         [BZ #19213]
26917         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26918         returned for argument 1.
26919         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26920         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26921         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26922         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26923         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26924         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26926         [BZ #19211]
26927         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26928         __USE_XOPEN], not if [!__USE_ISOC99].
26929         (lgammaf): Likewise.
26930         (lgammal): Likewise.
26931         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26932         (gammaf): Likewise.
26933         (gammal): Likewise.
26934         * math/test-signgam-finite-c11.c: New file.
26935         * math/test-signgam-finite-c99.c: Likewise.
26936         * math/test-signgam-finite.c: Likewise.
26937         * math/Makefile (tests): Add test-signgam-finite,
26938         test-signgam-finite-c99 and test-signgam-finite-c11.
26939         (CFLAGS-test-signgam-finite.c): New variable.
26940         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26941         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26943         [BZ #19212]
26944         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26945         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26946         500].
26947         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26948         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26949         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26950         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26951         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26952         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26953         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26954         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26955         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26956         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26958         [BZ #19209]
26959         * math/bits/math-finite.h (ldexp): Remove declaration.
26960         (ldexpf): Likewise.
26961         (ldexpl): Likewise.
26963         [BZ #19205]
26964         * math/bits/math-finite.h (acosf): Condition declaration on
26965         [__USE_ISOC99].
26966         (acosl): Likewise.
26967         (acoshf): Likewise.
26968         (acoshl): Likewise.
26969         (asinf): Likewise.
26970         (asinl): Likewise.
26971         (atan2f): Likewise.
26972         (atan2l): Likewise.
26973         (atanhf): Likewise.
26974         (atanhl): Likewise.
26975         (coshf): Likewise.
26976         (coshl): Likewise.
26977         (expf): Likewise.
26978         (expl): Likewise.
26979         (fmodf): Likewise.
26980         (fmodl): Likewise.
26981         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26982         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26983         (j0l): Likewise.
26984         (y0f): Likewise.
26985         (y0l): Likewise.
26986         (j1f): Likewise.
26987         (j1l): Likewise.
26988         (y1f): Likewise.
26989         (y1l): Likewise.
26990         (jnf): Likewise.
26991         (jnl): Likewise.
26992         (ynf): Likewise.
26993         (ynl): Likewise.
26994         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26995         (lgammal_r): Likewise.
26996         (__lgamma_r_finite): New declaration.
26997         (__lgammaf_r_finite): Likewise.
26998         (__lgammal_r_finite): Likewise.
26999         (lgamma): Use __lgamma_r_finite.
27000         (lgammaf): Condition definition on [__USE_ISOC99].  Use
27001         __lgammaf_r_finite.
27002         (lgammal): Condition definition on [__USE_ISOC99].  Use
27003         __lgammal_r_finite.
27004         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
27005         __lgamma_r_finite.
27006         (gammaf): Condition definition on [__USE_ISOC99].  Use
27007         __lgammaf_r_finite.
27008         (gammal): Condition definition on [__USE_ISOC99].  Use
27009         __lgammal_r_finite.
27010         (logf): Condition declaration on [__USE_ISOC99].
27011         (logl): Likewise.
27012         (log10f): Likewise.
27013         (log10l): Likewise.
27014         (ldexpf): Likewise.
27015         (ldexpl): Likewise.
27016         (powf): Likewise.
27017         (powl): Likewise.
27018         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
27019         __USE_ISOC99].
27020         (remainderf): Condition declaration on [__USE_ISOC99].
27021         (remainderl): Likewise.
27022         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
27023         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
27024         (scalbl): Likewise.
27025         (sinhf): Condition declaration on [__USE_ISOC99].
27026         (sinhl): Likewise.
27027         (sqrtf): Likewise.
27028         (sqrtl): Likewise.
27030 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27032         * sysdeps/arm/atomic-machine.h
27033         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27034         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27035         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
27036         Remove conditional code.
27037         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27038         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27039         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
27040         Change conditional to [__ASSEMBLER__].
27041         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27042         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
27043         [!__ASSEMBLER__].
27044         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
27045         code.
27046         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
27047         conditional macro definitions.
27048         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
27049         (__arch_compare_and_exchange_val_16_acq): Likewise.
27050         (__arch_compare_and_exchange_val_32_acq): Likewise.
27051         (atomic_exchange_and_add): Likewise.
27052         (atomic_add): Likewise.
27053         (atomic_add_negative): Likewise.
27054         (atomic_add_zero): Likewise.
27055         (atomic_bit_set): Likewise.
27056         (atomic_bit_test_set): Likewise.
27057         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
27058         code unconditional.
27059         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27061         * math/test-math-errno.h: New file.
27062         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27063         empty.
27064         (TEST_ERRNO): New macro.
27065         (TEST_EXCEPTIONS): Likewise.
27066         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27067         (TEST_EXCEPTIONS): Likewise.
27068         * math/test-math-vector.h (TEST_ERRNO): Likewise.
27069         * math/test-double.c: Include "test-math-errno.h".
27070         * math/test-float.c: Likewise.
27071         * math/test-ldouble.c: Likewise.
27072         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27073         code unconditional.
27074         (test_exceptions): Only run code if TEST_EXCEPTIONS.
27075         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27076         unconditional.
27077         (test_errno): Only run code if TEST_ERRNO.
27078         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27080 2015-11-04  Florian Weimer  <fweimer@redhat.com>
27082         * nptl/tst-once5.cc: Remove attribution.
27084 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27086         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27087         sqrt, tan, tanh, y0, y1 and yn.
27088         * math/auto-libm-test-out: Regenerated.
27089         * math/libm-test.inc (scalb_test_data): Add more tests.
27090         (scalbn_test_data): Likewise.
27091         (scalbln_test_data): Likewise.
27092         (signbit_test_data): Likewise.
27093         (sin_test_data): Likewise.
27094         (sincos_test_data): Likewise.
27095         (sinh_test_data): Likewise.
27096         (sqrt_test_data): Likewise.
27097         (tan_test_data): Likewise.
27098         (tanh_test_data): Likewise.
27099         (tgamma_test_data): Likewise.
27100         (y0_test_data): Likewise.
27101         (y1_test_data): Likewise.
27102         (yn_test_data): Likewise.
27103         (significand_test_data): Likewise.
27104         * sysdeps/i386/fpu/libm-test-ulps: Update.
27106 2015-11-03  David Kastrup  <dak@gnu.org>
27108         [BZ #18604]
27109         * assert/assert.h (assert): Don't macro-expand failed assertion
27110         expression in error message.
27111         * malloc/malloc.c (assert): Likewise.
27113 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
27115         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27116         test.
27117         * configure: Regenerated.
27119 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
27121         * math/libm-test.inc (modf_test_data): Add more tests.
27122         (nearbyint_test_data): Likewise.
27123         (nextafter_test_data): Likewise.
27124         (nexttoward_test_data): Likewise.
27125         (pow_test_data): Likewise.
27126         (remainder_test_data): Likewise.
27127         (remquo_test_data): Likewise.
27128         (rint_test_data): Likewise.
27130         [BZ #19201]
27131         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27132         Check for zero remainder in case of large exponents and ensure
27133         correct sign of result in that case.
27134         * math/libm-test.inc (remainder_test_data): Add more tests.
27136         [BZ #6799]
27137         * math/s_nextafter.c: Include <errno.h>.
27138         (__nextafter): Set errno on overflow and underflow.
27139         * math/s_nexttowardf.c: Include <errno.h>.
27140         (__nexttowardf): Set errno on overflow and underflow.
27141         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27142         (__nextafterl): Set errno on overflow and underflow.
27143         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27144         (__nexttoward): Set errno on overflow and underflow.
27145         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27146         (__nexttowardf): Set errno on overflow and underflow.
27147         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27148         (__nextafterf): Set errno on overflow and underflow.
27149         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27150         (__nextafterl): Set errno on overflow and underflow.
27151         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27152         (__nexttoward): Set errno on overflow and underflow.
27153         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27154         (__nexttowardf): Set errno on overflow and underflow.
27155         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27156         (__nextafterl): Set errno on overflow and underflow.
27157         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27158         (__nexttoward): Set errno on overflow and underflow.
27159         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27160         (__nexttowardf): Set errno on overflow and underflow.
27161         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27162         (__nexttoward): Set errno on overflow and underflow.
27163         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27164         (__nexttowardf): Set errno on overflow and underflow.
27165         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27166         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27167         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27168         (__nextafterl): Set errno on overflow and underflow.
27169         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27170         setting to be missing on overflow.  Add more tests.
27171         (nexttoward_test_data): Likewise.
27173         * configure.ac (libc_cv_initfini_array): Remove configure test.
27174         * configure: Regenerated.
27176 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27178         [BZ #19189]
27179         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27180         non-finite argument handle arguments with negative sign.
27182         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27183         result from infinite argument.
27184         (j1_test_data): Likewise.
27185         (jn_test_data): Likewise.
27186         (y0_test_data): Likewise.
27187         (y1_test_data): Likewise.
27188         (yn_test_data): Likewise.
27190         [BZ #16171]
27191         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27192         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27193         * math/w_remainderf.c (dremf): Define as weak alias of
27194         __remainderf.
27195         * math/w_remainderl.c (dreml): Define as weak alias of
27196         __remainderl.
27197         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27198         __remainder.
27199         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27200         __remainderf.
27201         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27202         __remainderl.
27203         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27204         weak alias of remainderl.
27205         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27206         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27207         alias of __remainder.
27208         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27209         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27210         strong alias of __remainderl.
27211         (dreml): Use long_double_symbol.
27212         * math/Makefile (libm-calls): Remove w_drem.
27213         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27214         (CFLAGS-nldbl-drem.c): Remove variable.
27215         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27216         * math/w_drem.c: Remove file.
27217         * math/w_dremf.c: Likewise.
27218         * math/w_dreml.c: Likewise.
27219         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27220         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27221         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27223         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27224         * sysdeps/i386/configure: Regenerated.
27225         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27226         * sysdeps/x86_64/configure: Regenerated.
27228         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27229         test.
27230         (libc_cv_visibility_attribute): Likewise.
27231         (libc_cv_protected_data): Test unconditionally.
27232         (libc_cv_broken_visibility_attribute): Remove configure test.
27233         (libc_cv_have_sdata_section): Test unconditionally.
27234         * configure: Regenerated.
27236         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27237         * include/scratch_buffer.h: Include <stddef.h> instead of
27238         <libc-internal.h>.
27239         (struct scratch_buffer): Use max_align_t instead of
27240         libc_max_align_t.
27242 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27244         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27245         instead of extend_alloca.  Change control flow to avoid a goto.
27246         Remove assert which is trivially always true.
27248 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27250         [BZ #16068]
27251         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27252         (FE_ALL_EXCEPT_X86): New macro.
27253         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27254         FE_ALL_EXCEPT.  Ensure precision control is included in
27255         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27256         handle "denormal operand exception" and clear FZ and DAZ bits.
27257         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27258         (FE_ALL_EXCEPT_X86): New macro.
27259         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27260         FE_ALL_EXCEPT.  Ensure precision control is included in
27261         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27262         handle "denormal operand exception" and clear FZ and DAZ bits.
27263         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27264         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27265         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27266         test-fenv-x87 and test-fenv-sse-2.
27267         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27269         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27270         * math/test-double.h (BUILD_COMPLEX): New macro.
27271         * math/test-float.h (BUILD_COMPLEX): Likewise.
27272         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27274         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27275         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27276         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27278         instead of DBL_DENORM_MIN in comment.
27279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27280         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27281         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27282         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27284         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27286 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27288         [BZ #19048]
27289         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27290         attached_threads member.
27291         (main_arena): Initialize attached_threads.
27292         * malloc/arena.c (list_lock): Update comment.
27293         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27294         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27295         (deattach_arena): New function.
27296         (_int_new_arena): Initialize arena reference count and deattach
27297         replaced arena.
27298         (get_free_list, reused_arena): Update reference count and deattach
27299         replaced arena.
27300         (arena_thread_freeres): Update arena reference count and only put
27301         unreferenced arenas on the free list.
27303 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27305         [BZ #19181]
27306         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27307         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27308         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27309         * math/test-fenv-clear-main.c: New file.
27310         * math/test-fenv-clear.c: Likewise.
27311         * math/Makefile (tests): Add test-fenv-clear.
27312         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27313         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27314         test-fenv-clear-sse.
27315         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27317         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27318         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27319         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27321 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27323         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27324         static libc.
27326 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27328         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27329         test.
27330         * sysdeps/i386/configure: Regenerated.
27331         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27332         test.
27333         * sysdeps/x86_64/configure: Regenerated.
27334         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27336         memset-avx2 unconditionally instead of conditionally on
27337         [$(config-cflags-avx2) = yes].
27338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27339         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27340         unconditional.
27341         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27342         * sysdeps/x86_64/multiarch/memset_chk.S
27343         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27344         to [IS_IN (libc) && SHARED].
27346 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27348         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27349         configure test.
27350         * sysdeps/arm/configure: Regenerated.
27351         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27352         Define variable if not already defined.
27354         [BZ #17404]
27355         * sysdeps/mips/atomic-machine.h
27356         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27357         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27358         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27360         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27361         unconditional.
27362         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27363         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27364         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27365         unconditional.
27366         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27367         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27368         unconditional.
27369         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27370         * stdlib/setenv.c
27371         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27372         code unconditional.
27373         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27374         Remove conditional code.
27375         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27376         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27377         unconditional.
27378         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27379         code.
27380         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27381         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27382         unconditional.
27383         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27384         code.
27385         * sysdeps/ieee754/ldbl-128/k_tanl.c
27386         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27387         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27388         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27389         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27390         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27391         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27392         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27393         unconditional.
27394         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27395         code.
27396         * sysdeps/ieee754/ldbl-96/k_tanl.c
27397         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27398         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27400         * nptl/tst-initializers1-c11.c: New file.
27401         * nptl/tst-initializers1-gnu11.c: Likewise.
27402         * nptl/Makefile (tests): Add these new tests.
27403         (CFLAGS-tst-initializers1-c11.c): New variable.
27404         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27406         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27407         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27408         instead of -std=gnu99.
27409         * configure.ac (systemtap): Test with -std=gnu11 instead of
27410         -std=gnu99.
27411         * configure: Regenerated.
27412         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27413         in compilation command in comment.
27415         * sysdeps/nptl/configure.ac: Remove file.
27416         * sysdeps/nptl/configure: Remove generated file.
27417         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27418         * configure: Regenerated.
27419         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27420         * config.make.in (have-forced-unwind): Remove variable.
27421         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27422         unconditional.
27423         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27424         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27425         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27426         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27427         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27428         unconditional.
27430 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27432         [BZ #19174]
27433         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27434         .skip_lock_out_of_tbegin_retries.
27435         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27436         (__lll_lock_elision): Likewise, and respect a value of
27437         try_tbegin <= 0.
27439 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27441         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27442         statement.
27444 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27446         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27447         variable.
27448         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27449         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27451         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27452         of -std=c1x -D_ISOC11_SOURCE.
27454         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27455         * configure: Regenerated.
27456         * manual/install.texi (Tools for Compilation): Document
27457         requirement for GCC 4.7 or later.
27458         * INSTALL: Regenerated.
27460 2015-10-27  Ludovic CourtĂšs  <ludo@gnu.org>
27462         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27463         on CNT to a conditional jump to 'puntdata'.
27465 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27467         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27468         (libc_cv_gcc_tls_model_attr): Likewise.
27469         * configure: Regenerated.
27471         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27472         * configure: Regenerated.
27473         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27475 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27477         * configure.ac (old_glibc_headers): Remove configure test.
27478         * configure: Regenerated.
27479         * config.make.in (old-glibc-headers): Remove variable.
27480         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27481         (install): Remove dependency on remove-old-headers.
27482         (headers2_0): Remove variable.
27483         (remove-old-headers): Remove rule.
27485         * configure.ac (libc_cv_dot_text): Remove configure test.
27486         (libc_cv_asm_set_directive): Use .text instead of
27487         ${libc_cv_dot_text} in configure test.
27488         * configure: Regenerated.
27490 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27492         [BZ #19168]
27493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27495 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27497         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27498         not support static linking.
27499         * configure: Regenerate.
27501 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27503         * math/libm-test.inc (check_float_internal): Do not special-case
27504         errors up to 0.5 ulp.
27506         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27507         log2.
27508         * math/auto-libm-test-out: Regenerated.
27509         * math/libm-test.inc (MAX_EXP): New macro.
27510         (ilogb_test_data): Add more tests.
27511         (isfinite_test_data): Likewise.
27512         (isgreater_test_data): Likewise.
27513         (isgreaterequal_test_data): Likewise.
27514         (isinf_test_data): Likewise.
27515         (isless_test_data): Likewise.
27516         (islessequal_test_data): Likewise.
27517         (islessgreater_test_data): Likewise.
27518         (isnan_test_data): Likewise.
27519         (isnormal_test_data): Likewise.
27520         (issignaling_test_data): Likewise.
27521         (isunordered_test_data): Likewise.
27522         (j0_test_data): Likewise.
27523         (j1_test_data): Likewise.
27524         (jn_test_data): Likewise.
27525         (lgamma_test_data): Likewise.
27526         (log_test_data): Likewise.
27527         (log10_test_data): Likewise.
27528         (log1p_test_data): Likewise.
27529         (log2_test_data): Likewise.
27530         (logb_test_data): Likewise.
27531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27533         [BZ #18611]
27534         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27535         avoid excess range and precision on underflow.
27536         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27537         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27538         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27539         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27540         underflow.
27541         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27543         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27544         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27545         * math/auto-libm-test-in: Do not allow missing errno setting for
27546         tests of j1 and jn.
27547         * math/auto-libm-test-out: Regenerated.
27549 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27551         [BZ #15491]
27552         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27553         floating-point environment instead of clearing all exceptions.
27554         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27555         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27556         merging in "invalid" exceptions from frndint.
27557         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27558         * math/test-nearbyint-except.c: New file.
27559         * math/Makefile (tests): Add test-nearbyint-except.
27561 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27563         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27565         * sysdeps/tile/libm-test-ulps: Regenerated.
27567 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27570         (__NR_sync_file_range2): Assume it is always defined.
27571         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27572         (__NR_sync_file_range): Assume it is always defined.
27574 2015-10-22  Andreas Schwab  <schwab@suse.de>
27576         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27577         INTERNAL_SYSCALL_ERRNO.
27578         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27579         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27580         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27581         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27582         Likewise.
27583         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27585 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27587         * io/tst-fcntl.c (fd): New static variable.
27588         (do_prepare): Open temporary file here....
27589         (do_test): ...not here.
27591         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27593 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27595         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27596         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27597         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27598         Moved before "#ifdef __ASSEMBLER__".
27600 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27602         [BZ #19156]
27603         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27604         arguments very close to 0.
27606 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27608         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27609         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27611 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27613         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27614         New.  Defined for GCC 5 and above when not compiling for
27615         profiling.
27616         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27618         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27619         Renamed to ...
27620         (CFLAGS-epoll_pwait.o): This.
27621         (CFLAGS-mmap.c): Renamed to ...
27622         (CFLAGS-mmap.o): This.
27623         (CFLAGS-mmap64.c): Renamed to ...
27624         (CFLAGS-mmap64.o): This.
27625         (CFLAGS-epoll_pwait.os): New.
27626         (CFLAGS-mmap.os): Likewise.
27627         (CFLAGS-mmap64.os): Likewise.
27628         (CFLAGS-semtimedop.os): Likewise.
27629         (CFLAGS-semtimedop.c): Renamed to ...
27630         (CFLAGS-semtimedop.o): This.
27632 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27634         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27635         warning message.
27637 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27639         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27640         * Makefile ($(objpfx)c++-types-check.out): Filter out
27641         $(+gccwarn-c) instead of -Wstrict-prototypes.
27643         * io/fts.c (fts_open): Convert to prototype-style function
27644         definition.
27645         * malloc/mcheck.c (mcheck): Likewise.
27646         (mcheck_pedantic): Likewise.
27647         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27648         internal_function.
27649         (re_search_internal): Likewise.
27650         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27651         prototype-style function definition.
27652         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27653         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27654         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27655         (xdr_utmpptr): Likewise.
27656         (xdr_utmparr): Likewise.
27657         (xdr_utmpidle): Likewise.
27658         (xdr_utmpidleptr): Likewise.
27659         (xdr_utmpidlearr): Likewise.
27661         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27662         log, log10 and log2.
27663         * math/auto-libm-test-out: Regenerated.
27664         * math/libm-test.inc (fmod_test_data): Add more tests.
27665         (fpclassify_test_data): Likewise.
27666         (frexp_test_data): Likewise.
27667         (hypot_test_data): Likewise.
27668         (ilogb_test_data): Likewise.
27670 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27672         * debug/fortify_fail.c (__fortify_fail): Convert to
27673         prototype-style function definition.  Use internal_function.
27674         * libio/genops.c (save_for_backup): Convert to prototype-style
27675         function definition.
27676         * libio/wgenops.c (save_for_wbackup): Likewise.
27677         * login/grantpt.c (grantpt): Likewise.
27678         * login/ptsname.c (ptsname): Likewise.
27679         (__ptsname_r): Likewise.
27680         * login/unlockpt.c (unlockpt): Likewise.
27681         * mach/msgserver.c (__mach_msg_server): Likewise.
27682         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27683         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27684         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27685         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27686         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27687         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27688         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27689         Likewise.
27690         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27691         internal_function.
27692         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27693         prototype-style function definition.
27694         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27695         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27696         (__pthread_create_2_0): Likewise.
27697         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27698         * nptl/register-atfork.c (__register_atfork): Likewise.
27699         * posix/glob.c (glob): Likewise.
27700         * posix/regcomp.c (re_comp): Likewise.
27701         * posix/regexec.c (re_exec): Likewise.
27702         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27703         [!__STDC__]: Remove conditional code.
27704         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27705         [!__STDC__]: Remove conditional code.
27706         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27707         [!__STDC__]: Remove conditional code.
27708         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27709         [!__STDC__]: Remove conditional code.
27710         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27711         [!__STDC__]: Remove conditional code.
27712         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27713         [!__STDC__]: Remove conditional code.
27714         * stdlib/mul.c [__STDC__]: Make code unconditional.
27715         [!__STDC__]: Remove conditional code.
27716         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27717         [!__STDC__]: Remove conditional code.
27718         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27719         [!__STDC__]: Remove conditional code.
27720         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27721         function definition.
27722         (STRTOF): Likewise.
27723         * stdlib/strtod_l.c (__STRTOF): Likewise.
27724         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27725         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27726         (__strtol_l): Likewise.
27727         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27728         [!__STDC__]: Remove conditional code.
27729         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27730         definition.
27731         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27732         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27733         type.
27734         (__strcasecmp): Convert to prototype-style function definition.
27735         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27736         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27737         type.
27738         (__strncasecmp): Convert to prototype-style function definition.
27739         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27740         * sunrpc/xdr.c (xdr_union): Likewise.
27741         * sunrpc/xdr_array.c (xdr_array): Likewise.
27742         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27743         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27744         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27745         Likewise.
27746         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27747         Likewise.
27748         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27749         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27750         Likewise.
27751         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27752         (LOCALE_PARAM_PROTO): Likewise.
27753         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27754         argument type.
27755         (ut_argument_spec): Remove macro.
27756         (ut_argument_spec_iso): Rename to ut_argument_spec.
27757         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27758         prototype-style function definition.
27759         (memcpy_uppcase): Likewise.
27760         (__strftime_internal): Likewise.
27761         (my_strftime): Likewise.
27762         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27763         (LOCALE_PARAM_DECL): Likewise.
27764         [_LIBC] (LOCALE_PARAM): Include argument type.
27765         (__strptime_internal): Convert to prototype-style function
27766         definition.
27767         (strptime): Likewise.
27768         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27769         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27770         type.
27771         (__wcscasecmp): Convert to prototype-style function definition.
27772         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27773         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27774         type.
27775         (__wcsncasecmp): Convert to prototype-style function definition.
27777         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27778         function definition.
27779         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27780         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27781         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27782         * elf/dl-minimal.c (_itoa): Likewise.
27783         * hurd/hurdmalloc.c (malloc): Likewise.
27784         (free): Likewise.
27785         (realloc): Likewise.
27786         * inet/inet6_option.c (inet6_option_space): Likewise.
27787         (inet6_option_init): Likewise.
27788         (inet6_option_append): Likewise.
27789         (inet6_option_alloc): Likewise.
27790         (inet6_option_next): Likewise.
27791         (inet6_option_find): Likewise.
27792         * io/ftw.c (FTW_NAME): Likewise.
27793         (NFTW_NAME): Likewise.
27794         (NFTW_NEW_NAME): Likewise.
27795         (NFTW_OLD_NAME): Likewise.
27796         * libio/iofwide.c (_IO_fwide): Likewise.
27797         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27798         (_IO_str_init_static): Likewise.
27799         (_IO_str_init_readonly): Likewise.
27800         (_IO_str_overflow): Likewise.
27801         (_IO_str_underflow): Likewise.
27802         (_IO_str_count): Likewise.
27803         (_IO_str_seekoff): Likewise.
27804         (_IO_str_pbackfail): Likewise.
27805         (_IO_str_finish): Likewise.
27806         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27807         (_IO_wstr_overflow): Likewise.
27808         (_IO_wstr_underflow): Likewise.
27809         (_IO_wstr_count): Likewise.
27810         (_IO_wstr_seekoff): Likewise.
27811         (_IO_wstr_pbackfail): Likewise.
27812         (_IO_wstr_finish): Likewise.
27813         * locale/programs/localedef.c (normalize_codeset): Likewise.
27814         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27815         (add_locales_to_archive): Likewise.
27816         (delete_locales_from_archive): Likewise.
27817         * malloc/malloc.c (__libc_mallinfo): Likewise.
27818         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27819         * misc/tsearch.c (__tfind): Likewise.
27820         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27821         * nptl/pthread_attr_getdetachstate.c
27822         (__pthread_attr_getdetachstate): Likewise.
27823         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27824         Likewise.
27825         * nptl/pthread_attr_getinheritsched.c
27826         (__pthread_attr_getinheritsched): Likewise.
27827         * nptl/pthread_attr_getschedparam.c
27828         (__pthread_attr_getschedparam): Likewise.
27829         * nptl/pthread_attr_getschedpolicy.c
27830         (__pthread_attr_getschedpolicy): Likewise.
27831         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27832         Likewise.
27833         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27834         Likewise.
27835         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27836         Likewise.
27837         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27838         Likewise.
27839         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27840         (__pthread_attr_init_2_0): Likewise.
27841         * nptl/pthread_attr_setdetachstate.c
27842         (__pthread_attr_setdetachstate): Likewise.
27843         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27844         Likewise.
27845         * nptl/pthread_attr_setinheritsched.c
27846         (__pthread_attr_setinheritsched): Likewise.
27847         * nptl/pthread_attr_setschedparam.c
27848         (__pthread_attr_setschedparam): Likewise.
27849         * nptl/pthread_attr_setschedpolicy.c
27850         (__pthread_attr_setschedpolicy): Likewise.
27851         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27852         Likewise.
27853         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27854         Likewise.
27855         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27856         Likewise.
27857         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27858         Likewise.
27859         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27860         Likewise.
27861         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27862         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27863         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27864         use internal_function.
27865         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27866         prototype-style function definition.
27867         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27868         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27869         internal_function.
27870         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27871         Convert to prototype-style function definition.
27872         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27873         Likewise.
27874         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27875         Likewise.
27876         (__pthread_mutex_unlock): Likewise.
27877         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27878         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27879         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27880         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27881         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27882         * nss/makedb.c (process_input): Likewise.
27883         * posix/fnmatch.c (__strchrnul): Likewise.
27884         (__wcschrnul): Likewise.
27885         (fnmatch): Likewise.
27886         * posix/fnmatch_loop.c (FCT): Likewise.
27887         * posix/glob.c (globfree): Likewise.
27888         (__glob_pattern_type): Likewise.
27889         (__glob_pattern_p): Likewise.
27890         * posix/regcomp.c (re_compile_pattern): Likewise.
27891         (re_set_syntax): Likewise.
27892         (re_compile_fastmap): Likewise.
27893         (regcomp): Likewise.
27894         (regerror): Likewise.
27895         (regfree): Likewise.
27896         * posix/regexec.c (regexec): Likewise.
27897         (re_match): Likewise.
27898         (re_search): Likewise.
27899         (re_match_2): Likewise.
27900         (re_search_2): Likewise.
27901         (re_search_stub): Likewise.  Use internal_function
27902         (re_copy_regs): Likewise.
27903         (re_set_registers): Convert to prototype-style function
27904         definition.
27905         (prune_impossible_nodes): Likewise.  Use internal_function.
27906         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27907         prototype-style function definition.
27908         (inet_net_pton_ipv4): Likewise.
27909         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27910         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27911         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27912         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27913         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27914         Make variadic.
27915         * time/strptime_l.c (localtime_r): Convert to prototype-style
27916         function definition.
27917         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27918         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27919         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27920         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27922         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27923         definition.
27924         (_ufc_doit_r): Likewise.
27925         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27926         (_ufc_output_conversion_r): Likewise.
27927         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27928         * inet/rcmd.c (rcmd_af): Likewise.
27929         (rcmd): Likewise.
27930         (ruserok_af): Likewise.
27931         (ruserok): Likewise.
27932         (ruserok2_sa): Likewise.
27933         (ruserok_sa): Likewise.
27934         (iruserok_af): Likewise.
27935         (iruserok): Likewise.
27936         (__ivaliduser): Likewise.
27937         (__validuser2_sa): Likewise.
27938         * inet/rexec.c (rexec_af): Likewise.
27939         (rexec): Likewise.
27940         * inet/ruserpass.c (ruserpass): Likewise.
27941         * locale/programs/xmalloc.c (xcalloc): Likewise.
27942         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27943         * math/w_drem.c (__drem): Likewise.
27944         * math/w_dremf.c (__dremf): Likewise.
27945         * math/w_dreml.c (__dreml): Likewise.
27946         * misc/daemon.c (daemon): Likewise.
27947         * resolv/res_debug.c (p_fqnname): Likewise.
27948         * stdlib/div.c (div): Likewise.
27949         * string/memcmp.c (memcmp_bytes): Likewise.
27950         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27951         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27953         * crypt/cert.c (main): Convert to prototype-style function
27954         definition.
27955         * io/pipe.c (__pipe): Likewise.
27956         * io/pipe2.c (__pipe2): Likewise.
27957         * misc/futimesat.c (futimesat): Likewise.
27958         * misc/utimes.c (__utimes): Likewise.
27959         * posix/execve.c (__execve): Likewise.
27960         * posix/execvp.c (execvp): Likewise.
27961         * posix/execvpe.c (__execvpe): Likewise.
27962         * posix/fexecve.c (fexecve): Likewise.
27963         * socket/socketpair.c (socketpair): Likewise.
27964         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27965         * stdlib/erand48.c (erand48): Likewise.
27966         * stdlib/erand48_r.c (__erand48_r): Likewise.
27967         * stdlib/jrand48.c (jrand48): Likewise.
27968         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27969         * stdlib/lcong48.c (lcong48): Likewise.
27970         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27971         * stdlib/nrand48.c (nrand48): Likewise.
27972         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27973         * stdlib/seed48.c (seed48): Likewise.
27974         * stdlib/seed48_r.c (__seed48_r): Likewise.
27975         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27976         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27977         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27979 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27981         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27982         * configure: Regenerated.
27983         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27984         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27985         unconditional.
27986         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27987         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27988         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27989         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27990         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27991         unconditional.
27992         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27994         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27995         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27997         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27998         function definition.
27999         * crypt/crypt_util.c (__encrypt_r): Likewise.
28000         * libio/genops.c (_IO_no_init): Likewise.
28001         * libio/iofopncook.c (_IO_fopencookie): Likewise.
28002         (_IO_old_fopencookie): Likewise.
28003         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28004         * libio/iogetline.c (_IO_getline): Likewise.
28005         (_IO_getline_info): Likewise.
28006         * libio/iogetwline.c (_IO_getwline): Likewise.
28007         (_IO_getwline_info): Likewise.
28008         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
28009         * libio/vswprintf.c (_IO_vswprintf): Likewise.
28010         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
28011         (find_entry): Likewise.
28012         (iterate_table): Likewise.
28013         (lookup): Likewise.
28014         * login/forkpty.c (forkpty): Likewise.
28015         * misc/hsearch_r.c (__hsearch_r): Likewise.
28016         * misc/select.c (__select): Likewise.
28017         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
28018         Likewise.
28019         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
28020         Likewise.
28021         * nptl/old_pthread_cond_timedwait.c
28022         (__pthread_cond_timedwait_2_0): Likewise.
28023         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28024         * nptl/pthread_barrierattr_getpshared.c
28025         (pthread_barrierattr_getpshared): Likewise.
28026         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
28027         Likewise.
28028         * nptl/pthread_mutex_setprioceiling.c
28029         (pthread_mutex_setprioceiling): Likewise.
28030         * nptl/pthread_mutexattr_getprioceiling.c
28031         (pthread_mutexattr_getprioceiling): Likewise.
28032         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28033         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28034         Likewise.
28035         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28036         Likewise.
28037         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
28038         Likewise.
28039         * socket/recvfrom.c (__recvfrom): Likewise.
28040         * socket/sendto.c (__sendto): Likewise.
28041         * socket/setsockopt.c (__setsockopt): Likewise.
28042         * stdio-common/_itoa.c (_itoa): Likewise.
28043         * stdio-common/_itowa.c (_itowa): Likewise.
28044         * stdio-common/reg-printf.c (__register_printf_specifier):
28045         Likewise.
28046         (__register_printf_function): Likewise.
28047         * stdio-common/tempname.c (__path_search): Likewise.
28048         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
28049         * stdlib/mul_1.c (mpn_mul_1): Likewise.
28050         * stdlib/random_r.c (__initstate_r): Likewise.
28051         * stdlib/setenv.c (__add_to_environ): Likewise.
28052         * stdlib/submul_1.c (mpn_submul_1): Likewise.
28053         * streams/getpmsg.c (getpmsg): Likewise.
28054         * streams/putmsg.c (putmsg): Likewise.
28055         * streams/putpmsg.c (putpmsg): Likewise.
28056         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
28057         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28058         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
28059         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28060         * sunrpc/pm_getport.c (pmap_getport): Likewise.
28061         * sunrpc/svc_udp.c (cache_get): Likewise.
28062         * sunrpc/xdr_array.c (xdr_vector): Likewise.
28063         * sysdeps/mach/hurd/getcwd.c
28064         (__canonicalize_directory_name_internal): Likewise.
28065         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28066         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28067         * sysdeps/mach/hurd/select.c (__select): Likewise.
28068         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28069         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28070         * sysdeps/sparc/nptl/pthread_barrier_init.c
28071         (__pthread_barrier_init): Likewise.
28072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28073         (__pthread_cond_timedwait): Likewise.
28074         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28075         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28076         Likewise.
28077         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28078         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28079         Likewise.
28080         * sysvipc/semtimedop.c (semtimedop): Likewise.
28081         * time/setitimer.c (__setitimer): Likewise.
28082         * time/strftime_l.c (emacs_strftime): Likewise.
28084 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28086         * config.make.in (have-ssp): Delete.
28087         (stack-protector): New variable.
28088         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
28089         cache test for -fstack-protector-strong.  Export stack_protector to
28090         the best ssp flag.
28091         * configure: Regenerated.
28092         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28093         * nscd/Makefile (CFLAGS-nscd): Likewise.
28094         * resolv/Makefile (CFLAGS-libresolv): Likewise.
28096 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
28098         [BZ #19122]
28099         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28100         attribute_hidden.
28102 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28104         [BZ #18743]
28105         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28106         code to...
28107         (ELIDE_LOCK): ...here.
28108         (__get_new_count): New function with part of the code from
28109         __elide_lock that updates the value of adapt_count after a
28110         transaction abort.
28111         (__elided_trylock): Moved this code to...
28112         (ELIDE_TRYLOCK): ...here.
28114 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28116         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28117         * configure: Regenerate.
28118         * INSTALL: Regenerate.
28119         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28120         and tweak grammar.
28122 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
28124         * login/programs/pt_chown.c: Include signal.h
28125         (main): Clear any signal mask from the parent process.
28127 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28129         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28130         * configure: Regenerated.
28131         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28132         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28133         $(gnu89-inline-CFLAGS).
28135         * configure.ac (libc_cv_asm_weak_directive): Remove configure
28136         test.
28137         (libc_cv_asm_weakext_directive): Likewise.
28138         * configure: Regenerated.
28139         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28140         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28141         * include/libc-symbols.h
28142         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28143         #error.
28144         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28145         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28147         * sysdeps/arm/backtrace.c (__backtrace): Convert to
28148         prototype-style function definition.
28149         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28150         * sysdeps/i386/ffs.c (__ffs): Likewise.
28151         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28152         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28153         Likewise.
28154         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28155         Likewise.
28156         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28157         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28158         Likewise.
28159         * sysdeps/m68k/ffs.c (__ffs): Likewise.
28160         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28161         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28162         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28163         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28164         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28165         * sysdeps/mach/hurd/access.c (__access): Likewise.
28166         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28167         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28168         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28169         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28170         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28171         (cthread_getspecific): Likewise.
28172         (cthread_setspecific): Likewise.
28173         (__libc_getspecific): Likewise.
28174         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28175         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28176         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28177         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28178         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28179         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28180         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28181         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28182         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28183         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28184         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28185         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28186         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28187         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28188         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28189         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28190         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28191         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28192         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28193         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28194         * sysdeps/mach/hurd/link.c (__link): Likewise.
28195         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28196         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28197         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28198         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28199         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28200         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28201         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28202         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28203         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28204         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28205         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28206         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28207         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28208         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28209         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28210         * sysdeps/mach/hurd/send.c (__send): Likewise.
28211         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28212         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28213         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28214         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28215         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28216         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28217         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28218         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28219         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28220         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28221         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28222         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28223         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28224         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28225         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28226         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28227         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28228         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28229         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28230         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28231         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28232         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28233         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28234         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28235         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28236         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28237         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28238         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28239         * sysdeps/posix/alarm.c (alarm): Likewise.
28240         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28241         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28242         * sysdeps/posix/dup.c (__dup): Likewise.
28243         * sysdeps/posix/dup2.c (__dup2): Likewise.
28244         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28245         (main): Likewise.
28246         * sysdeps/posix/flock.c (__flock): Likewise.
28247         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28248         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28249         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28250         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28251         * sysdeps/posix/isatty.c (__isatty): Likewise.
28252         * sysdeps/posix/killpg.c (killpg): Likewise.
28253         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28254         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28255         * sysdeps/posix/raise.c (raise): Likewise.
28256         * sysdeps/posix/remove.c (remove): Likewise.
28257         * sysdeps/posix/rename.c (rename): Likewise.
28258         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28259         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28260         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28261         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28262         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28263         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28264         * sysdeps/posix/sigset.c (sigset): Likewise.
28265         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28266         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28267         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28268         * sysdeps/posix/time.c (time): Likewise.
28269         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28270         (ttyname): Likewise.
28271         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28272         * sysdeps/posix/utime.c (utime): Likewise.
28273         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28274         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28275         Likewise.
28276         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28277         (pthread_spin_trylock): Likewise.
28278         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28279         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28280         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28281         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28282         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28283         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28284         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28285         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28286         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28287         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28288         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28289         * sysdeps/s390/ffs.c (__ffs): Likewise.
28290         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28291         Likewise.
28292         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28293         Likewise.
28294         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28295         Likewise.
28296         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28297         (pthread_barrier_destroy): Likewise.
28298         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28299         (__pthread_barrier_wait): Likewise.
28300         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28301         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28302         (__pthread_barrier_wait): Likewise.
28303         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28304         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28305         (memcmp_not_common_alignment): Likewise.
28306         (MEMCMP): Likewise.
28307         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28308         (_wordcopy_fwd_dest_aligned): Likewise.
28309         (_wordcopy_bwd_aligned): Likewise.
28310         (_wordcopy_bwd_dest_aligned): Likewise.
28311         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28312         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28313         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28314         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28315         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28316         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28317         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28318         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28319         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28320         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28321         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28322         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28323         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28324         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28325         * sysdeps/unix/stime.c (stime): Likewise.
28326         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28327         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28328         Likewise.  Use internal_function.
28329         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28330         Convert to prototype-style function definition.
28331         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28332         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28333         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28334         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28335         Likewise.  Use internal_function.
28336         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28337         prototype-style function definition
28338         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28339         Likewise.
28340         (__getlogin_r): Likewise.
28341         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28342         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28343         (__pthread_cond_broadcast): Likewise.
28344         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28345         (__pthread_cond_destroy): Likewise.
28346         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28347         (__pthread_cond_init): Likewise.
28348         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28349         (__pthread_cond_signal): Likewise.
28350         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28351         (__pthread_cond_wait): Likewise.
28352         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28353         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28354         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28355         Likewise.
28356         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28357         Likewise.
28358         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28359         Likewise.
28360         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28361         Likewise.
28362         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28364         (__ftruncate64): Likewise.
28365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28366         (truncate64): Likewise.
28367         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28368         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28369         (pthread_getcpuclockid): Likewise.
28370         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28371         Likewise.
28372         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28373         Likewise.
28374         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28375         Likewise.
28376         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28377         Likewise.
28378         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28379         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28380         (__libc_sigaction): Likewise.
28381         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28382         Likewise.
28383         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28384         (__sigprocmask): Likewise.
28385         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28386         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28387         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28388         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28389         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28390         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28391         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28392         Likewise.
28393         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28394         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28395         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28396         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28397         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28398         Likewise.
28399         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28400         (__sigprocmask): Likewise.
28401         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28402         (cfgetispeed): Likewise.
28403         (cfsetospeed): Likewise.
28404         (cfsetispeed): Likewise.
28405         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28406         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28407         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28408         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28409         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28410         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28411         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28412         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28413         Likewise.
28414         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28415         Likewise.
28416         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28417         Likewise.
28418         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28419         Likewise.
28420         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28422 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28424         sunrpc: Rewrite with explicit TLS access using __thread.
28425         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28426         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28427         directly.
28428         (__rpc_thread_variables): Access thread_rpc_vars directly.
28429         Eliminate redundant assignment of the tvp variable.
28431 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28433         malloc: Rewrite with explicit TLS access using __thread.
28434         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28435         (tsd_setspecific, tsd_getspecific): Remove.
28436         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28437         (tsd_setspecific, tsd_getspecific): Likewise.
28438         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28439         (tsd_setspecific, tsd_getspecific): Likewise.
28440         * malloc/arena.c (thread_arena): New TLS variable.
28441         (arena_key): Remove variable.
28442         (arena_get): Use thread_arena.
28443         (arena_lookup): Remove macro.
28444         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28445         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28446         (_int_new_arena, get_free_list, reused_arena)
28447         (arena_thread_freeres): Use thread_arena.
28448         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28449         tsd_getspecific, tsd_setspecific from safety annotations.
28450         (Allocating Cleared Space): Remove arena_lookup from safety
28451         annotations.
28453 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28455         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28456         struct scratch_buffer instead of extend_alloca.
28458 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28460         * sysdeps/unix/sysv/linux/kernel-features.h
28461         (__ASSUME_SOCK_CLOEXEC): Remove.
28462         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28463         (__have_paccept): Remove unused macro.
28464         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28465         * misc/syslog.c (openlog_internal): Remove fallback code for
28466         !__ASSUME_SOCK_CLOEXEC.
28467         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28468         missing SOCK_CLOEXEC.
28469         * nscd/connections.c (have_sock_cloexec): Remove definition.
28470         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28471         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28472         !__ASSUME_SOCK_CLOEXEC.
28473         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28474         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28475         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28476         definition.
28477         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28478         code for !__ASSUME_SOCK_CLOEXEC.
28480 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28482         [BZ #18982]
28483         * manual/stdio.texi (Variable Arguments Output): Add portability
28484         note, explaining that vfprintf clobbers the va_list pointer.
28486 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28488         * math/libm-test.inc (fabs_test_data): Add more tests.
28489         (fdim_test_data): Likewise.
28490         (fma_test_data): Likewise.
28491         (fmax_test_data): Likewise.
28492         (fmin_test_data): Likewise.
28493         (fmod_test_data): Likewise.
28495 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28497         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28498         data.
28500 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28502         * math/libm-test.inc (ceil_test_data): Add more tests and more
28503         expectations for "inexact".
28504         (floor_test_data): Add more tests.
28505         (round_test_data): Likewise.
28506         (trunc_test_data): Likewise.
28508         * crypt/cert.c (good_bye): Convert to prototype-style function
28509         definition.
28510         (get8): Likewise.
28511         (put8): Likewise.
28512         * crypt/crypt-entry.c (crypt): Likewise.
28513         (__fcrypt): Likewise.
28514         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28515         (_ufc_set_bits): Likewise.
28516         (_ufc_clearmem): Likewise.
28517         (__init_des_r): Likewise.
28518         (shuffle_sb): Likewise.
28519         (shuffle_sb): Likewise.
28520         (_ufc_setup_salt_r): Likewise.
28521         (_ufc_mk_keytab_r): Likewise.
28522         (_ufc_dofinalperm_r): Likewise.
28523         (encrypt): Likewise.
28524         (__setkey_r): Likewise.
28525         (setkey): Likewise.
28526         * crypt/md5.c (md5_init_ctx): Likewise.
28527         (md5_read_ctx): Likewise.
28528         (md5_finish_ctx): Likewise.
28529         (md5_stream): Likewise.
28530         (md5_buffer): Likewise.
28531         (md5_process_bytes): Likewise.
28532         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28533         (__sha256_finish_ctx): Likewise.
28534         (__sha256_process_bytes): Likewise.
28535         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28536         (__sha512_finish_ctx): Likewise.
28537         (__sha512_process_bytes): Likewise.
28538         * ctype/isctype.c (__isctype): Likewise.
28539         * debug/backtrace.c (__backtrace): Likewise.
28540         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28541         * debug/fgets_chk.c (__fgets_chk): Likewise.
28542         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28543         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28544         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28545         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28546         * debug/memset_chk.c (__memset_chk): Likewise.
28547         * debug/strcat_chk.c (__strcat_chk): Likewise.
28548         * debug/strncat_chk.c (__strncat_chk): Likewise.
28549         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28550         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28551         * dirent/dirfd.c (dirfd): Likewise.
28552         * dirent/getdents.c (__getdirentries): Likewise.
28553         * dirent/getdents64.c (getdirentries64): Likewise.
28554         * dirent/rewinddir.c (__rewinddir): Likewise.
28555         * dirent/seekdir.c (seekdir): Likewise.
28556         * dirent/telldir.c (telldir): Likewise.
28557         * elf/sln.c (makesymlinks): Likewise.
28558         (makesymlink): Likewise.
28559         * gmon/gmon.c (__moncontrol): Likewise.
28560         (__monstartup): Likewise.
28561         (write_hist): Likewise.
28562         (write_call_graph): Likewise.
28563         (write_bb_counts): Likewise.
28564         * grp/setgroups.c (setgroups): Likewise.
28565         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28566         * inet/inet_net.c (inet_network): Likewise.
28567         * inet/inet_netof.c (inet_netof): Likewise.
28568         * inet/rcmd.c (rresvport_af): Likewise.
28569         (rresvport): Likewise.
28570         * io/access.c (__access): Likewise.
28571         * io/chdir.c (__chdir): Likewise.
28572         * io/chmod.c (__chmod): Likewise.
28573         * io/chown.c (__chown): Likewise.
28574         * io/close.c (__close): Likewise.
28575         * io/creat.c (creat): Likewise.
28576         * io/creat64.c (creat64): Likewise.
28577         * io/dup.c (__dup): Likewise.
28578         * io/dup2.c (__dup2): Likewise.
28579         * io/dup3.c (__dup3): Likewise.
28580         * io/euidaccess.c (__euidaccess): Likewise.
28581         * io/faccessat.c (faccessat): Likewise.
28582         * io/fchmod.c (__fchmod): Likewise.
28583         * io/fchmodat.c (fchmodat): Likewise.
28584         * io/fchown.c (__fchown): Likewise.
28585         * io/fchownat.c (fchownat): Likewise.
28586         * io/fcntl.c (__fcntl): Likewise.
28587         * io/flock.c (__flock): Likewise.
28588         * io/fts.c (fts_load): Likewise.
28589         (fts_close): Likewise.
28590         (fts_read): Likewise.
28591         (fts_set): Likewise.
28592         (fts_children): Likewise.
28593         (fts_build): Likewise.
28594         (fts_stat): Likewise.
28595         (fts_sort): Likewise.
28596         (fts_alloc): Likewise.
28597         (fts_lfree): Likewise.
28598         (fts_palloc): Likewise.
28599         (fts_padjust): Likewise.
28600         (fts_maxarglen): Likewise.
28601         (fts_safe_changedir): Likewise.
28602         * io/getwd.c (getwd): Likewise.
28603         * io/isatty.c (__isatty): Likewise.
28604         * io/lchown.c (__lchown): Likewise.
28605         * io/link.c (__link): Likewise.
28606         * io/linkat.c (linkat): Likewise.
28607         * io/lseek.c (__libc_lseek): Likewise.
28608         * io/mkdir.c (__mkdir): Likewise.
28609         * io/mkdirat.c (mkdirat): Likewise.
28610         * io/mkfifo.c (mkfifo): Likewise.
28611         * io/mkfifoat.c (mkfifoat): Likewise.
28612         * io/open.c (__libc_open): Likewise.
28613         * io/open64.c (__libc_open64): Likewise.
28614         * io/readlink.c (__readlink): Likewise.
28615         * io/readlinkat.c (readlinkat): Likewise.
28616         * io/rmdir.c (__rmdir): Likewise.
28617         * io/symlink.c (__symlink): Likewise.
28618         * io/symlinkat.c (symlinkat): Likewise.
28619         * io/ttyname.c (ttyname): Likewise.
28620         * io/ttyname_r.c (__ttyname_r): Likewise.
28621         * io/umask.c (__umask): Likewise.
28622         * io/unlink.c (__unlink): Likewise.
28623         * io/unlinkat.c (unlinkat): Likewise.
28624         * io/utime.c (utime): Likewise.
28625         * libio/clearerr.c (clearerr): Likewise.
28626         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28627         * libio/feof.c (_IO_feof): Likewise.
28628         * libio/feof_u.c (feof_unlocked): Likewise.
28629         * libio/ferror.c (_IO_ferror): Likewise.
28630         * libio/ferror_u.c (ferror_unlocked): Likewise.
28631         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28632         * libio/fileno.c (__fileno): Likewise.
28633         * libio/fputc.c (fputc): Likewise.
28634         * libio/fputc_u.c (fputc_unlocked): Likewise.
28635         * libio/fputwc.c (fputwc): Likewise.
28636         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28637         * libio/freopen.c (freopen): Likewise.
28638         * libio/freopen64.c (freopen64): Likewise.
28639         * libio/fseek.c (fseek): Likewise.
28640         * libio/fseeko.c (fseeko): Likewise.
28641         * libio/fseeko64.c (fseeko64): Likewise.
28642         * libio/ftello.c (__ftello): Likewise.
28643         * libio/ftello64.c (ftello64): Likewise.
28644         * libio/fwide.c (fwide): Likewise.
28645         * libio/genops.c (_IO_un_link): Likewise.
28646         (_IO_link_in): Likewise.
28647         (_IO_least_marker): Likewise.
28648         (_IO_switch_to_main_get_area): Likewise.
28649         (_IO_switch_to_backup_area): Likewise.
28650         (_IO_switch_to_get_mode): Likewise.
28651         (_IO_free_backup_area): Likewise.
28652         (_IO_switch_to_put_mode): Likewise.
28653         (__overflow): Likewise.
28654         (__underflow): Likewise.
28655         (__uflow): Likewise.
28656         (_IO_setb): Likewise.
28657         (_IO_doallocbuf): Likewise.
28658         (_IO_default_underflow): Likewise.
28659         (_IO_default_uflow): Likewise.
28660         (_IO_default_xsputn): Likewise.
28661         (_IO_sgetn): Likewise.
28662         (_IO_default_xsgetn): Likewise.
28663         (_IO_sync): Likewise.
28664         (_IO_default_setbuf): Likewise.
28665         (_IO_default_seekpos): Likewise.
28666         (_IO_default_doallocate): Likewise.
28667         (_IO_init): Likewise.
28668         (_IO_old_init): Likewise.
28669         (_IO_default_sync): Likewise.
28670         (_IO_default_finish): Likewise.
28671         (_IO_default_seekoff): Likewise.
28672         (_IO_sputbackc): Likewise.
28673         (_IO_sungetc): Likewise.
28674         (_IO_set_column): Likewise.
28675         (_IO_set_column): Likewise.
28676         (_IO_adjust_column): Likewise.
28677         (_IO_get_column): Likewise.
28678         (_IO_init_marker): Likewise.
28679         (_IO_remove_marker): Likewise.
28680         (_IO_marker_difference): Likewise.
28681         (_IO_marker_delta): Likewise.
28682         (_IO_seekmark): Likewise.
28683         (_IO_unsave_markers): Likewise.
28684         (_IO_nobackup_pbackfail): Likewise.
28685         (_IO_default_pbackfail): Likewise.
28686         (_IO_default_seek): Likewise.
28687         (_IO_default_stat): Likewise.
28688         (_IO_default_read): Likewise.
28689         (_IO_default_write): Likewise.
28690         (_IO_default_showmanyc): Likewise.
28691         (_IO_default_imbue): Likewise.
28692         (_IO_iter_next): Likewise.
28693         (_IO_iter_file): Likewise.
28694         * libio/getc.c (_IO_getc): Likewise.
28695         * libio/getwc.c (_IO_getwc): Likewise.
28696         * libio/iofclose.c (_IO_new_fclose): Likewise.
28697         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28698         * libio/iofflush.c (_IO_fflush): Likewise.
28699         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28700         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28701         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28702         * libio/iofgets.c (_IO_fgets): Likewise.
28703         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28704         * libio/iofgetws.c (fgetws): Likewise.
28705         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28706         * libio/iofopen64.c (_IO_fopen64): Likewise.
28707         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28708         (_IO_cookie_write): Likewise.
28709         (_IO_cookie_seek): Likewise.
28710         (_IO_cookie_close): Likewise.
28711         (_IO_cookie_seekoff): Likewise.
28712         (_IO_old_cookie_seek): Likewise.
28713         * libio/iofputs.c (_IO_fputs): Likewise.
28714         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28715         * libio/iofputws.c (fputws): Likewise.
28716         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28717         * libio/iofread.c (_IO_fread): Likewise.
28718         * libio/iofread_u.c (__fread_unlocked): Likewise.
28719         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28720         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28721         * libio/ioftell.c (_IO_ftell): Likewise.
28722         * libio/iofwrite.c (_IO_fwrite): Likewise.
28723         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28724         * libio/iogets.c (_IO_gets): Likewise.
28725         * libio/iopadn.c (_IO_padn): Likewise.
28726         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28727         (_IO_new_popen): Likewise.
28728         (_IO_new_proc_close): Likewise.
28729         * libio/ioputs.c (_IO_puts): Likewise.
28730         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28731         (_IO_seekoff): Likewise.
28732         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28733         (_IO_seekpos): Likewise.
28734         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28735         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28736         * libio/ioungetc.c (_IO_ungetc): Likewise.
28737         * libio/ioungetwc.c (ungetwc): Likewise.
28738         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28739         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28740         * libio/iowpadn.c (_IO_wpadn): Likewise.
28741         * libio/libc_fatal.c (__libc_fatal): Likewise.
28742         * libio/memstream.c (__open_memstream): Likewise.
28743         (_IO_mem_sync): Likewise.
28744         (_IO_mem_finish): Likewise.
28745         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28746         (_IO_old_file_close_it): Likewise.
28747         (_IO_old_file_finish): Likewise.
28748         (_IO_old_file_fopen): Likewise.
28749         (_IO_old_file_attach): Likewise.
28750         (_IO_old_file_setbuf): Likewise.
28751         (_IO_old_do_write): Likewise.
28752         (old_do_write): Likewise.
28753         (_IO_old_file_underflow): Likewise.
28754         (_IO_old_file_overflow): Likewise.
28755         (_IO_old_file_sync): Likewise.
28756         (_IO_old_file_seekoff): Likewise.
28757         (_IO_old_file_write): Likewise.
28758         (_IO_old_file_xsputn): Likewise.
28759         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28760         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28761         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28762         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28763         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28764         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28765         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28766         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28767         (_IO_old_popen): Likewise.
28768         (_IO_old_proc_close): Likewise.
28769         * libio/oldpclose.c (__old_pclose): Likewise.
28770         * libio/pclose.c (__new_pclose): Likewise.
28771         * libio/peekc.c (_IO_peekc_locked): Likewise.
28772         * libio/putc.c (_IO_putc): Likewise.
28773         * libio/putc_u.c (putc_unlocked): Likewise.
28774         * libio/putchar.c (putchar): Likewise.
28775         * libio/putchar_u.c (putchar_unlocked): Likewise.
28776         * libio/putwc.c (putwc): Likewise.
28777         * libio/putwc_u.c (putwc_unlocked): Likewise.
28778         * libio/putwchar.c (putwchar): Likewise.
28779         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28780         * libio/rewind.c (rewind): Likewise.
28781         * libio/setbuf.c (setbuf): Likewise.
28782         * libio/setlinebuf.c (setlinebuf): Likewise.
28783         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28784         * libio/vscanf.c (_IO_vscanf): Likewise.
28785         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28786         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28787         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28788         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28789         (_IO_switch_to_main_wget_area): Likewise.
28790         (_IO_switch_to_wbackup_area): Likewise.
28791         (_IO_wsetb): Likewise.
28792         (_IO_wdefault_pbackfail): Likewise.
28793         (_IO_wdefault_finish): Likewise.
28794         (_IO_wdefault_uflow): Likewise.
28795         (__woverflow): Likewise.
28796         (__wuflow): Likewise.
28797         (__wunderflow): Likewise.
28798         (_IO_wdefault_xsputn): Likewise.
28799         (_IO_wdefault_xsgetn): Likewise.
28800         (_IO_wdoallocbuf): Likewise.
28801         (_IO_wdefault_doallocate): Likewise.
28802         (_IO_switch_to_wget_mode): Likewise.
28803         (_IO_free_wbackup_area): Likewise.
28804         (_IO_switch_to_wput_mode): Likewise.
28805         (_IO_sputbackwc): Likewise.
28806         (_IO_sungetwc): Likewise.
28807         (_IO_adjust_wcolumn): Likewise.
28808         (_IO_init_wmarker): Likewise.
28809         (_IO_wmarker_delta): Likewise.
28810         (_IO_seekwmark): Likewise.
28811         (_IO_unsave_wmarkers): Likewise.
28812         * libio/wmemstream.c (open_wmemstream): Likewise.
28813         (_IO_wmem_sync): Likewise.
28814         (_IO_wmem_finish): Likewise.
28815         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28816         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28817         * locale/programs/simple-hash.c (init_hash): Likewise.
28818         (delete_hash): Likewise.
28819         (insert_entry): Likewise.
28820         (set_entry): Likewise.
28821         (next_prime): Likewise.
28822         (is_prime): Likewise.
28823         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28824         (xmalloc): Likewise.
28825         (xrealloc): Likewise.
28826         * locale/programs/xstrdup.c (xstrdup): Likewise.
28827         * localedata/collate-test.c (xstrcoll): Likewise.
28828         * localedata/xfrm-test.c (xstrcmp): Likewise.
28829         * login/getlogin_r.c (__getlogin_r): Likewise.
28830         * login/getpt.c (__posix_openpt): Likewise.
28831         * login/login_tty.c (login_tty): Likewise.
28832         * login/setlogin.c (setlogin): Likewise.
28833         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28834         (mach_msg_destroy_port): Likewise.
28835         (mach_msg_destroy_memory): Likewise.
28836         * malloc/mcheck.c (flood): Likewise.
28837         * misc/acct.c (acct): Likewise.
28838         * misc/brk.c (__brk): Likewise.
28839         * misc/chflags.c (chflags): Likewise.
28840         * misc/chroot.c (chroot): Likewise.
28841         * misc/fchflags.c (fchflags): Likewise.
28842         * misc/fstab.c (getfsspec): Likewise.
28843         (getfsfile): Likewise.
28844         * misc/fsync.c (fsync): Likewise.
28845         * misc/ftruncate.c (__ftruncate): Likewise.
28846         * misc/ftruncate64.c (__ftruncate64): Likewise.
28847         * misc/getdomain.c (getdomainname): Likewise.
28848         (getdomainname): Likewise.
28849         * misc/gethostname.c (__gethostname): Likewise.
28850         * misc/getpass.c (getpass): Likewise.
28851         * misc/getttyent.c (skip): Likewise.
28852         (value): Likewise.
28853         * misc/gtty.c (gtty): Likewise.
28854         * misc/hsearch.c (hsearch): Likewise.
28855         (hcreate): Likewise.
28856         * misc/hsearch_r.c (__hcreate_r): Likewise.
28857         (__hdestroy_r): Likewise.
28858         * misc/ioctl.c (__ioctl): Likewise.
28859         * misc/mkdtemp.c (mkdtemp): Likewise.
28860         * misc/mkostemp.c (mkostemp): Likewise.
28861         * misc/mkostemp64.c (mkostemp64): Likewise.
28862         * misc/mkostemps.c (mkostemps): Likewise.
28863         * misc/mkostemps64.c (mkostemps64): Likewise.
28864         * misc/mkstemp.c (mkstemp): Likewise.
28865         * misc/mkstemp64.c (mkstemp64): Likewise.
28866         * misc/mkstemps.c (mkstemps): Likewise.
28867         * misc/mkstemps64.c (mkstemps64): Likewise.
28868         * misc/mktemp.c (__mktemp): Likewise.
28869         * misc/preadv.c (preadv): Likewise.
28870         * misc/preadv64.c (preadv64): Likewise.
28871         * misc/pwritev.c (pwritev): Likewise.
28872         * misc/pwritev64.c (pwritev64): Likewise.
28873         * misc/readv.c (__readv): Likewise.
28874         * misc/revoke.c (revoke): Likewise.
28875         * misc/setdomain.c (setdomainname): Likewise.
28876         * misc/setegid.c (setegid): Likewise.
28877         * misc/seteuid.c (seteuid): Likewise.
28878         * misc/sethostid.c (sethostid): Likewise.
28879         * misc/sethostname.c (sethostname): Likewise.
28880         * misc/setregid.c (__setregid): Likewise.
28881         * misc/setreuid.c (__setreuid): Likewise.
28882         * misc/sstk.c (sstk): Likewise.
28883         * misc/stty.c (stty): Likewise.
28884         * misc/syscall.c (syscall): Likewise.
28885         * misc/syslog.c (setlogmask): Likewise.
28886         * misc/truncate.c (__truncate): Likewise.
28887         * misc/truncate64.c (truncate64): Likewise.
28888         * misc/ualarm.c (ualarm): Likewise.
28889         * misc/usleep.c (usleep): Likewise.
28890         * misc/ustat.c (ustat): Likewise.
28891         * misc/writev.c (__writev): Likewise.
28892         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28893         * nptl/old_pthread_cond_broadcast.c
28894         (__pthread_cond_broadcast_2_0): Likewise.
28895         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28896         Likewise.
28897         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28898         Likewise.
28899         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28900         Likewise.
28901         * nptl/pt-raise.c (raise): Likewise.
28902         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28903         Likewise.
28904         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28905         * nptl/pthread_barrierattr_destroy.c
28906         (pthread_barrierattr_destroy): Likewise.
28907         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28908         Likewise.
28909         * nptl/pthread_barrierattr_setpshared.c
28910         (pthread_barrierattr_setpshared): Likewise.
28911         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28912         Likewise.
28913         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28914         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28915         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28916         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28917         Likewise.
28918         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28919         Likewise.
28920         * nptl/pthread_condattr_getpshared.c
28921         (pthread_condattr_getpshared): Likewise.
28922         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28923         Likewise.
28924         * nptl/pthread_condattr_setpshared.c
28925         (pthread_condattr_setpshared): Likewise.
28926         * nptl/pthread_detach.c (pthread_detach): Likewise.
28927         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28928         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28929         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28930         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28931         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28932         Likewise.
28933         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28934         Likewise.
28935         * nptl/pthread_mutex_getprioceiling.c
28936         (pthread_mutex_getprioceiling): Likewise.
28937         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28938         Likewise.
28939         * nptl/pthread_mutexattr_getprotocol.c
28940         (pthread_mutexattr_getprotocol): Likewise.
28941         * nptl/pthread_mutexattr_getpshared.c
28942         (pthread_mutexattr_getpshared): Likewise.
28943         * nptl/pthread_mutexattr_getrobust.c
28944         (pthread_mutexattr_getrobust): Likewise.
28945         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28946         Likewise.
28947         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28948         Likewise.
28949         * nptl/pthread_mutexattr_setprioceiling.c
28950         (pthread_mutexattr_setprioceiling): Likewise.
28951         * nptl/pthread_mutexattr_setprotocol.c
28952         (pthread_mutexattr_setprotocol): Likewise.
28953         * nptl/pthread_mutexattr_setpshared.c
28954         (pthread_mutexattr_setpshared): Likewise.
28955         * nptl/pthread_mutexattr_setrobust.c
28956         (pthread_mutexattr_setrobust): Likewise.
28957         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28958         Likewise.
28959         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28960         Likewise.
28961         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28962         Likewise.
28963         * nptl/pthread_rwlockattr_getkind_np.c
28964         (pthread_rwlockattr_getkind_np): Likewise.
28965         * nptl/pthread_rwlockattr_getpshared.c
28966         (pthread_rwlockattr_getpshared): Likewise.
28967         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28968         Likewise.
28969         * nptl/pthread_rwlockattr_setkind_np.c
28970         (pthread_rwlockattr_setkind_np): Likewise.
28971         * nptl/pthread_rwlockattr_setpshared.c
28972         (pthread_rwlockattr_setpshared): Likewise.
28973         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28974         Likewise.
28975         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28976         Likewise.
28977         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28978         Likewise.
28979         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28980         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28981         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28982         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28983         * nptl/sem_close.c (sem_close): Likewise.
28984         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28985         * nptl/sem_init.c (__old_sem_init): Likewise.
28986         * nptl/sigaction.c (__sigaction): Likewise.
28987         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28988         * posix/_exit.c (_exit): Likewise.
28989         * posix/alarm.c (alarm): Likewise.
28990         * posix/confstr.c (confstr): Likewise.
28991         * posix/fpathconf.c (__fpathconf): Likewise.
28992         * posix/getgroups.c (__getgroups): Likewise.
28993         * posix/getpgid.c (__getpgid): Likewise.
28994         * posix/group_member.c (__group_member): Likewise.
28995         * posix/pathconf.c (__pathconf): Likewise.
28996         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28997         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28998         * posix/setgid.c (__setgid): Likewise.
28999         * posix/setpgid.c (__setpgid): Likewise.
29000         * posix/setuid.c (__setuid): Likewise.
29001         * posix/sleep.c (__sleep): Likewise.
29002         * posix/sysconf.c (__sysconf): Likewise.
29003         * posix/times.c (__times): Likewise.
29004         * posix/uname.c (__uname): Likewise.
29005         * posix/waitid.c (__waitid): Likewise.
29006         * pwd/getpw.c (__getpw): Likewise.
29007         * resolv/base64.c (b64_pton): Likewise.
29008         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29009         * resolv/gethnamaddr.c (Dprintf): Likewise.
29010         (gethostbyname): Likewise.
29011         (gethostbyname2): Likewise.
29012         (gethostbyaddr): Likewise.
29013         (_sethtent): Likewise.
29014         (_gethtbyname): Likewise.
29015         (_gethtbyname2): Likewise.
29016         (_gethtbyaddr): Likewise.
29017         (map_v4v6_address): Likewise.
29018         (map_v4v6_hostent): Likewise.
29019         (addrsort): Likewise.
29020         (ht_sethostent): Likewise.
29021         (ht_gethostbyname): Likewise.
29022         (ht_gethostbyaddr): Likewise.
29023         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
29024         (inet_net_ntop_ipv4): Likewise.
29025         * resolv/inet_neta.c (inet_neta): Likewise.
29026         * resolv/inet_ntop.c (inet_ntop): Likewise.
29027         (inet_ntop4): Likewise.
29028         (inet_ntop6): Likewise.
29029         * resolv/inet_pton.c (__inet_pton): Likewise.
29030         (inet_pton4): Likewise.
29031         (inet_pton6): Likewise.
29032         * resolv/res_debug.c (loc_aton): Likewise.
29033         (loc_ntoa): Likewise.
29034         * resource/getpriority.c (__getpriority): Likewise.
29035         * resource/getrusage.c (__getrusage): Likewise.
29036         * resource/nice.c (nice): Likewise.
29037         * resource/setpriority.c (__setpriority): Likewise.
29038         * resource/setrlimit64.c (setrlimit64): Likewise.
29039         * resource/vlimit.c (vlimit): Likewise.
29040         * resource/vtimes.c (vtimes): Likewise.
29041         * rt/aio_error.c (aio_error): Likewise.
29042         * rt/aio_return.c (aio_return): Likewise.
29043         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
29044         * signal/kill.c (__kill): Likewise.
29045         * signal/killpg.c (killpg): Likewise.
29046         * signal/raise.c (raise): Likewise.
29047         * signal/sigaction.c (__sigaction): Likewise.
29048         * signal/sigaddset.c (sigaddset): Likewise.
29049         * signal/sigaltstack.c (sigaltstack): Likewise.
29050         * signal/sigandset.c (sigandset): Likewise.
29051         * signal/sigblock.c (__sigblock): Likewise.
29052         * signal/sigdelset.c (sigdelset): Likewise.
29053         * signal/sigempty.c (sigemptyset): Likewise.
29054         * signal/sigfillset.c (sigfillset): Likewise.
29055         * signal/sighold.c (sighold): Likewise.
29056         * signal/sigignore.c (sigignore): Likewise.
29057         * signal/sigintr.c (siginterrupt): Likewise.
29058         * signal/sigisempty.c (sigisemptyset): Likewise.
29059         * signal/sigismem.c (sigismember): Likewise.
29060         * signal/signal.c (signal): Likewise.
29061         * signal/sigorset.c (sigorset): Likewise.
29062         * signal/sigpause.c (__sigpause): Likewise.
29063         * signal/sigpending.c (sigpending): Likewise.
29064         * signal/sigprocmask.c (__sigprocmask): Likewise.
29065         * signal/sigrelse.c (sigrelse): Likewise.
29066         * signal/sigreturn.c (__sigreturn): Likewise.
29067         * signal/sigset.c (sigset): Likewise.
29068         * signal/sigsetmask.c (__sigsetmask): Likewise.
29069         * signal/sigstack.c (sigstack): Likewise.
29070         * signal/sigsuspend.c (__sigsuspend): Likewise.
29071         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29072         * signal/sysv_signal.c (__sysv_signal): Likewise.
29073         * socket/accept.c (accept): Likewise.
29074         * socket/accept4.c (__libc_accept4): Likewise.
29075         * socket/bind.c (__bind): Likewise.
29076         * socket/connect.c (__connect): Likewise.
29077         * socket/getpeername.c (getpeername): Likewise.
29078         * socket/getsockname.c (__getsockname): Likewise.
29079         * socket/getsockopt.c (getsockopt): Likewise.
29080         * socket/listen.c (__listen): Likewise.
29081         * socket/recv.c (__recv): Likewise.
29082         * socket/recvmsg.c (__recvmsg): Likewise.
29083         * socket/send.c (__send): Likewise.
29084         * socket/sendmsg.c (__sendmsg): Likewise.
29085         * socket/shutdown.c (shutdown): Likewise.
29086         * socket/sockatmark.c (sockatmark): Likewise.
29087         * socket/socket.c (__socket): Likewise.
29088         * stdio-common/ctermid.c (ctermid): Likewise.
29089         * stdio-common/cuserid.c (cuserid): Likewise.
29090         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29091         * stdio-common/remove.c (remove): Likewise.
29092         * stdio-common/rename.c (rename): Likewise.
29093         * stdio-common/renameat.c (renameat): Likewise.
29094         * stdio-common/tempname.c (__gen_tempname): Likewise.
29095         * stdio-common/xbug.c (InitBuffer): Likewise.
29096         (AppendToBuffer): Likewise.
29097         (ReadFile): Likewise.
29098         * stdlib/a64l.c (a64l): Likewise.
29099         * stdlib/drand48_r.c (drand48_r): Likewise.
29100         * stdlib/getcontext.c (getcontext): Likewise.
29101         * stdlib/getenv.c (getenv): Likewise.
29102         * stdlib/l64a.c (l64a): Likewise.
29103         * stdlib/llabs.c (llabs): Likewise.
29104         * stdlib/lldiv.c (lldiv): Likewise.
29105         * stdlib/lrand48_r.c (lrand48_r): Likewise.
29106         * stdlib/mrand48_r.c (mrand48_r): Likewise.
29107         * stdlib/putenv.c (putenv): Likewise.
29108         * stdlib/random.c (__srandom): Likewise.
29109         (__initstate): Likewise.
29110         (__setstate): Likewise.
29111         * stdlib/random_r.c (__srandom_r): Likewise.
29112         (__setstate_r): Likewise.
29113         (__random_r): Likewise.
29114         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29115         * stdlib/setcontext.c (setcontext): Likewise.
29116         * stdlib/setenv.c (setenv): Likewise.
29117         (unsetenv): Likewise.
29118         * stdlib/srand48.c (srand48): Likewise.
29119         * stdlib/srand48_r.c (__srand48_r): Likewise.
29120         * stdlib/swapcontext.c (swapcontext): Likewise.
29121         * stdlib/system.c (__libc_system): Likewise.
29122         * stdlib/tst-strtod.c (expand): Likewise.
29123         * stdlib/tst-strtol.c (expand): Likewise.
29124         * stdlib/tst-strtoll.c (expand): Likewise.
29125         * streams/fattach.c (fattach): Likewise.
29126         * streams/fdetach.c (fdetach): Likewise.
29127         * streams/getmsg.c (getmsg): Likewise.
29128         * streams/isastream.c (isastream): Likewise.
29129         * string/ffs.c (__ffs): Likewise.
29130         * string/ffsll.c (ffsll): Likewise.
29131         * string/memcmp.c (memcmp_common_alignment): Likewise.
29132         (memcmp_not_common_alignment): Likewise.
29133         (MEMCMP): Likewise.
29134         * string/memcpy.c (memcpy): Likewise.
29135         * string/memmove.c (MEMMOVE): Likewise.
29136         * string/memset.c (memset): Likewise.
29137         * string/rawmemchr.c (RAWMEMCHR): Likewise.
29138         * string/strchrnul.c (STRCHRNUL): Likewise.
29139         * string/strerror.c (strerror): Likewise.
29140         * string/strndup.c (__strndup): Likewise.
29141         * string/strverscmp.c (__strverscmp): Likewise.
29142         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29143         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29144         (clnttcp_freeres): Likewise.
29145         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29146         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29147         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29148         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29149         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29150         (xdr_callhdr): Likewise.
29151         * sunrpc/rpcinfo.c (udpping): Likewise.
29152         (tcpping): Likewise.
29153         (pstatus): Likewise.
29154         (pmapdump): Likewise.
29155         (brdcst): Likewise.
29156         (deletereg): Likewise.
29157         (getprognum): Likewise.
29158         (getvers): Likewise.
29159         (get_inet_address): Likewise.
29160         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29161         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29162         (svcudp_stat): Likewise.
29163         (svcudp_recv): Likewise.
29164         (svcudp_reply): Likewise.
29165         (svcudp_getargs): Likewise.
29166         (svcudp_freeargs): Likewise.
29167         (svcudp_destroy): Likewise.
29168         * sunrpc/xdr.c (xdr_bytes): Likewise.
29169         (xdr_netobj): Likewise.
29170         (xdr_string): Likewise.
29171         (xdr_wrapstring): Likewise.
29172         * sunrpc/xdr_float.c (xdr_float): Likewise.
29173         (xdr_double): Likewise.
29174         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29175         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29176         * sysvipc/ftok.c (ftok): Likewise.
29177         * sysvipc/msgctl.c (msgctl): Likewise.
29178         * sysvipc/msgget.c (msgget): Likewise.
29179         * sysvipc/msgrcv.c (msgrcv): Likewise.
29180         * sysvipc/msgsnd.c (msgsnd): Likewise.
29181         * sysvipc/semget.c (semget): Likewise.
29182         * sysvipc/semop.c (semop): Likewise.
29183         * sysvipc/shmat.c (shmat): Likewise.
29184         * sysvipc/shmctl.c (shmctl): Likewise.
29185         * sysvipc/shmdt.c (shmdt): Likewise.
29186         * sysvipc/shmget.c (shmget): Likewise.
29187         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29188         * termios/speed.c (cfgetospeed): Likewise.
29189         (cfgetispeed): Likewise.
29190         (cfsetospeed): Likewise.
29191         (cfsetispeed): Likewise.
29192         * termios/tcflow.c (tcflow): Likewise.
29193         * termios/tcflush.c (tcflush): Likewise.
29194         * termios/tcgetattr.c (__tcgetattr): Likewise.
29195         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29196         * termios/tcgetsid.c (tcgetsid): Likewise.
29197         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29198         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29199         * time/adjtime.c (__adjtime): Likewise.
29200         * time/dysize.c (dysize): Likewise.
29201         * time/ftime.c (ftime): Likewise.
29202         * time/getitimer.c (__getitimer): Likewise.
29203         * time/gettimeofday.c (__gettimeofday): Likewise.
29204         * time/gmtime.c (__gmtime_r): Likewise.
29205         (gmtime): Likewise.
29206         * time/localtime.c (__localtime_r): Likewise.
29207         (localtime): Likewise.
29208         * time/offtime.c (__offtime): Likewise.
29209         * time/settimeofday.c (__settimeofday): Likewise.
29210         * time/stime.c (stime): Likewise.
29211         * time/strftime_l.c (tm_diff): Likewise.
29212         (iso_week_days): Likewise.
29213         * time/strptime.c (strptime): Likewise.
29214         * time/time.c (time): Likewise.
29215         * time/timespec_get.c (timespec_get): Likewise.
29216         * time/tzset.c (tzset_internal): Likewise.
29217         (compute_change): Likewise.
29218         (__tz_compute): Likewise.
29219         * wcsmbs/btowc.c (__btowc): Likewise.
29220         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29221         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29222         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29223         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29224         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29225         * wcsmbs/wcscat.c (__wcscat): Likewise.
29226         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29227         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29228         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29229         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29230         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29231         * wcsmbs/wcslen.c (__wcslen): Likewise.
29232         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29233         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29234         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29235         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29236         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29237         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29238         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29239         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29240         * wcsmbs/wcstok.c (wcstok): Likewise.
29241         * wcsmbs/wctob.c (wctob): Likewise.
29242         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29243         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29244         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29245         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29246         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29247         * wcsmbs/wmemset.c (__wmemset): Likewise.
29248         * wctype/wcfuncs.c (__towlower): Likewise.
29249         (__towupper): Likewise.
29251         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29252         (lll_unlock_elision): Add adapt_count parameter.
29254 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29256         * sysdeps/nptl/configure.ac: Do not give errors based on the
29257         results of top-level configure tests.
29258         * sysdeps/nptl/configure: Regenerated.
29260         * configure.ac (libc_cv_Bgroup): Remove configure test.
29261         * configure: Regenerated.
29262         * config.make.in (have-Bgroup): Remove variable.
29264         * configure.ac (sizeof_long_double): Remove configure test.
29265         * configure: Regenerated.
29266         * config.make.in (sizeof-long-double): Remove variable.
29268         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29269         * configure: Regenerated.
29270         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29271         variable.
29272         (exceptions): Likewise.
29273         * sysdeps/arm/configure: Regenerated.
29274         * config.make.in (exceptions): Remove variable.
29275         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29276         $(exceptions).
29277         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29278         (CFLAGS-vdprintf_chk.c): Likewise.
29279         (CFLAGS-printf_chk.c): Likewise.
29280         (CFLAGS-fprintf_chk.c): Likewise.
29281         (CFLAGS-vprintf_chk.c): Likewise.
29282         (CFLAGS-vfprintf_chk.c): Likewise.
29283         (CFLAGS-gets_chk.c): Likewise.
29284         (CFLAGS-fgets_chk.c): Likewise.
29285         (CFLAGS-fgets_u_chk.c): Likewise.
29286         (CFLAGS-fread_chk.c): Likewise.
29287         (CFLAGS-fread_u_chk.c): Likewise.
29288         (CFLAGS-wprintf_chk.c): Likewise.
29289         (CFLAGS-fwprintf_chk.c): Likewise.
29290         (CFLAGS-vwprintf_chk.c): Likewise.
29291         (CFLAGS-vfwprintf_chk.c): Likewise.
29292         (CFLAGS-fgetws_chk.c): Likewise.
29293         (CFLAGS-fgetws_u_chk.c): Likewise.
29294         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29295         (CFLAGS-fputc.c): Likewise.
29296         (CFLAGS-fputwc.c): Likewise.
29297         (CFLAGS-freopen64.c): Likewise.
29298         (CFLAGS-freopen.c): Likewise.
29299         (CFLAGS-fseek.c): Likewise.
29300         (CFLAGS-fseeko64.c): Likewise.
29301         (CFLAGS-fseeko.c): Likewise.
29302         (CFLAGS-ftello64.c): Likewise.
29303         (CFLAGS-ftello.c): Likewise.
29304         (CFLAGS-fwide.c): Likewise.
29305         (CFLAGS-genops.c): Likewise.
29306         (CFLAGS-getc.c): Likewise.
29307         (CFLAGS-getchar.c): Likewise.
29308         (CFLAGS-getwc.c): Likewise.
29309         (CFLAGS-getwchar.c): Likewise.
29310         (CFLAGS-iofclose.c): Likewise.
29311         (CFLAGS-iofflush.c): Likewise.
29312         (CFLAGS-iofgetpos64.c): Likewise.
29313         (CFLAGS-iofgetpos.c): Likewise.
29314         (CFLAGS-iofgets.c): Likewise.
29315         (CFLAGS-iofgetws.c): Likewise.
29316         (CFLAGS-iofputs.c): Likewise.
29317         (CFLAGS-iofputws.c): Likewise.
29318         (CFLAGS-iofread.c): Likewise.
29319         (CFLAGS-iofsetpos64.c): Likewise.
29320         (CFLAGS-iofsetpos.c): Likewise.
29321         (CFLAGS-ioftell.c): Likewise.
29322         (CFLAGS-iofwrite.c): Likewise.
29323         (CFLAGS-iogetdelim.c): Likewise.
29324         (CFLAGS-iogetline.c): Likewise.
29325         (CFLAGS-iogets.c): Likewise.
29326         (CFLAGS-iogetwline.c): Likewise.
29327         (CFLAGS-ioputs.c): Likewise.
29328         (CFLAGS-ioseekoff.c): Likewise.
29329         (CFLAGS-ioseekpos.c): Likewise.
29330         (CFLAGS-iosetbuffer.c): Likewise.
29331         (CFLAGS-iosetvbuf.c): Likewise.
29332         (CFLAGS-ioungetc.c): Likewise.
29333         (CFLAGS-ioungetwc.c): Likewise.
29334         (CFLAGS-oldfileops.c): Likewise.
29335         (CFLAGS-oldiofclose.c): Likewise.
29336         (CFLAGS-oldiofgetpos64.c): Likewise.
29337         (CFLAGS-oldiofgetpos.c): Likewise.
29338         (CFLAGS-oldiofsetpos64.c): Likewise.
29339         (CFLAGS-oldiofsetpos.c): Likewise.
29340         (CFLAGS-peekc.c): Likewise.
29341         (CFLAGS-putc.c): Likewise.
29342         (CFLAGS-putchar.c): Likewise.
29343         (CFLAGS-putwc.c): Likewise.
29344         (CFLAGS-putwchar.c): Likewise.
29345         (CFLAGS-rewind.c): Likewise.
29346         (CFLAGS-wfileops.c): Likewise.
29347         (CFLAGS-wgenops.c): Likewise.
29348         (CFLAGS-oldiofopen.c): Likewise.
29349         (CFLAGS-iofopen.c): Likewise.
29350         (CFLAGS-iofopen64.c): Likewise.
29351         (CFLAGS-oldtmpfile.c): Likewise.
29352         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29353         (CFLAGS-fprintf.c): Likewise.
29354         (CFLAGS-printf.c): Likewise.
29355         (CFLAGS-vfwprintf.c): Likewise.
29356         (CFLAGS-vfscanf.c): Likewise.
29357         (CFLAGS-vfwscanf.c): Likewise.
29358         (CFLAGS-fscanf.c): Likewise.
29359         (CFLAGS-scanf.c): Likewise.
29360         (CFLAGS-isoc99_vfscanf.c): Likewise.
29361         (CFLAGS-isoc99_vscanf.c): Likewise.
29362         (CFLAGS-isoc99_fscanf.c): Likewise.
29363         (CFLAGS-isoc99_scanf.c): Likewise.
29364         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29365         (CFLAGS-isoc99_fwscanf.c): Likewise.
29366         (CFLAGS-isoc99_vwscanf.c): Likewise.
29367         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29369         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29370         after mkstemp64.
29371         * login/tst-utmp.c (do_prepare): Likewise.
29372         * rt/tst-aio.c (do_prepare): Likewise.
29373         * rt/tst-aio64.c (do_prepare): Likewise.
29375 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29377         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29378         (__lll_lock_elision): Remove adapt_count decrement...
29379         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29380         (__lll_trylock_elision): Likewise.
29381         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29382         (__lll_unlock_elision): ... to here. And utilize
29383         new adapt_count parameter.
29384         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29385         (__lll_unlock_elision): Update to include adapt_count
29386         parameter.
29387         (lll_unlock_elision): Pass pointer to adapt_count
29388         variable.
29390 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29392         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29393         Add elision adapt_count parameter to list of arguments.
29394         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29395         (lll_unlock_elision): Update with new parameter list
29396         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29397         (lll_unlock_elision): Likewise.
29398         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29399         (lll_unlock_elision): Likewise.
29401 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29403         [BZ #19122]
29404         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29405         attribute_hidden.
29407         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29408         attribute_hidden.
29409         [IS_IN (rtld)] (__strdup): Likewise.
29410         [IS_IN (rtld)] (__strerror_r): Likewise.
29411         [IS_IN (rtld)] (__strsep_g): Likewise.
29412         [IS_IN (rtld)] (memchr): Likewise.
29413         [IS_IN (rtld)] (memcmp): Likewise.
29414         [IS_IN (rtld)] (memcpy): Likewise.
29415         [IS_IN (rtld)] (memmove): Likewise.
29416         [IS_IN (rtld)] (memset): Likewise.
29417         [IS_IN (rtld)] (rawmemchr): Likewise.
29418         [IS_IN (rtld)] (stpcpy): Likewise.
29419         [IS_IN (rtld)] (strchr): Likewise.
29420         [IS_IN (rtld)] (strcmp): Likewise.
29421         [IS_IN (rtld)] (strlen): Likewise.
29422         [IS_IN (rtld)] (strnlen): Likewise.
29423         [IS_IN (rtld)] (strsep): Likewise.
29425         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29426         attribute_hidden.
29427         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29429         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29430         attribute_hidden.
29431         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29433         * include/setjmp.h (__longjmp): Add attribute_hidden.
29434         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29436         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29437         Add attribute_hidden.
29439         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29440         [IS_IN (rtld)] (__open): Likewise.
29441         [IS_IN (rtld)] (__fcntl): Likewise.
29443         * include/dirent.h (__opendirat): Add attribute_hidden.
29444         (__getdents): Likewise.
29445         (__getdents64): Likewise.
29446         (__alloc_dir): Likewise.
29447         [IS_IN (rtld)] (__closedir): Likewise.
29448         [IS_IN (rtld)] (__fdopendir): Likewise.
29449         [IS_IN (rtld)] (__readdir): Likewise.
29450         [IS_IN (rtld)] (__readdir64): Likewise.
29451         [IS_IN (rtld)] (__rewinddir): Likewise.
29453         * include/dlfcn.h (_dl_catch_error): Moved to ...
29454         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29455         attribute_hidden.
29457         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29458         (_itoa_word): Likewise.
29460         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29461         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29462         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29463         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29464         (_dl_higher_prime_number): Likewise.
29465         (_dl_debug_printf_c): Likewise.
29466         (_dl_signal_cerror): Likewise.
29467         (_dl_receive_error): Likewise.
29468         (_dl_reloc_bad_type): Likewise.
29469         (_dl_resolve_conflicts): Likewise.
29470         (_dl_check_all_versions): Likewise.
29471         (_dl_check_map_versions): Likewise.
29472         (_dl_sort_fini): Likewise.
29473         (_dl_debug_initialize): Likewise.
29474         (_dl_init_paths): Likewise.
29475         (_dl_show_auxv): Likewise.
29476         (_dl_next_ld_env_entry): Likewise.
29477         (_dl_important_hwcaps): Likewise.
29478         (_dl_load_cache_lookup): Likewise.
29479         (_dl_update_slotinfo): Likewise.
29480         (_dl_show_scope): Likewise.
29482         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29483         attribute_hidden.
29484         (_wordcopy_fwd_dest_aligned): Likewise.
29485         (_wordcopy_bwd_aligned): Likewise.
29486         (_wordcopy_bwd_dest_aligned): Likewise.
29488         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29489         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29490         Likewise.
29491         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29492         Likewise.
29493         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29495 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29498         GCC 5 requirement.
29500 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29502         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29503         test.
29504         * sysdeps/i386/configure: Regenerated.
29505         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29506         code unconditional.
29508         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29509         test.
29510         (libc_cv_asm_popsection_directive): Likewise.
29511         * configure: Regenerated.
29512         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29513         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29514         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29515         (__make_section_unallocated): Make definition unconditional.
29516         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29517         Remove conditional definition.
29518         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29519         (__make_section_unallocated): Likewise.
29521         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29522         * configure: Regenerated.
29523         * config.make.in (static-libgcc): Remove variable.
29524         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29525         $(static-libgcc).
29526         (build-module-helper): Likewise.
29528         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29529         * configure: Regenerated.
29531 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29533         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29534         (struct char_buffer): New type.
29535         (char_buffer_start, char_buffer_size, char_buffer_error)
29536         (char_buffer_rewind, char_buffer_add): New functions.
29537         (ADDW): Remove macro, replaced by the char_buffer_add function.
29538         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29539         of extend_alloca.  Make control flow more explicit.
29541 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29543         [BZ #19137]
29544         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29545         Add -fomit-frame-pointer.
29546         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29548 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29550         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29551         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29552         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29553         only if !__GNUC_PREREQ (5,0).
29554         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29555         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29556         (INTERNAL_SYSCALL_NCS): Likewise.
29557         (LOADREGS_0): New macro for GCC 5.
29558         (ASMARGS_0): Likewise.
29559         (LOADREGS_1): Likewise.
29560         (ASMARGS_1): Likewise.
29561         (LOADREGS_2): Likewise.
29562         (ASMARGS_2): Likewise.
29563         (LOADREGS_3): Likewise.
29564         (ASMARGS_3): Likewise.
29565         (LOADREGS_4): Likewise.
29566         (ASMARGS_4): Likewise.
29567         (LOADREGS_5): Likewise.
29568         (ASMARGS_5): Likewise.
29569         (LOADREGS_6): Likewise.
29570         (ASMARGS_6): Likewise.
29572 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29574         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29575         -fomit-frame-pointer.
29576         (CFLAGS-mmap64.c): Likewise.
29577         (CFLAGS-semtimedop.c): Likewise.
29578         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29579         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29580         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29581         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29583 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29585         [BZ #18928]
29586         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29587         _dl_pointer_guard member.
29588         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29589         initializer.
29590         (security_init): Always set up pointer guard.
29591         (process_envvars): Do not process LD_POINTER_GUARD.
29593 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29595         [BZ #19134]
29596         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29597         (.LC2): Likewise.
29598         (.LC3): Likewise.
29599         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29601 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29603         [BZ #19129]
29604         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29605         r0 and r1.
29607 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29609         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29611 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29613         * include/stap-probe.h: Fix macro definition formatting.
29615 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29617         [BZ #19074]
29618         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29619         load and store num_ifs.
29621 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29623         [BZ #18822]
29624         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29625         (__sched_getaffinity_new): Add libc_hidden_proto and
29626         libc_hidden_def.
29628 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29630         [BZ #19007]
29631         * scripts/localplt.awk: Also allow GOT references.
29632         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29633         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29634         with "+ REL R_386_GLOB_DAT".
29635         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29636         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29638 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29640         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29641         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29642         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29643         Likewise.
29644         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29645         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29646         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29647         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29648         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29649         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29650         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29651         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29652         Likewise.
29653         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29655 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29657         [BZ #19125]
29658         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29659         <math_private.h> and <stdint.h>.
29660         (__llround): Avoid conversions to and from long long int, and
29661         subtractions, where those might raise spurious exceptions.
29662         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29663         <math_private.h> and <stdint.h>.
29664         (__llroundf): Avoid conversions to and from long long int, and
29665         subtractions, where those might raise spurious exceptions.
29667 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29669         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29670         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29671         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29672         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29673         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29674         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29675         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29676         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29677         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29678         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29679         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29680         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29681         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29682         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29683         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29684         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29685         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29686         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29687         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29688         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29689         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29690         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29691         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29692         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29693         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29694         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29695         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29696         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29697         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29698         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29699         (__xstat64_conv): Likewise.
29700         (__xstat32_conv): Likewise.
29702 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29704         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29705         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29706         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29707         <sysdeps/unix/sysv/linux/sysdep.h>.
29708         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29709         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29710         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29711         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29712         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29713         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29714         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29715         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29716         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29721         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29722         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29724         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29725         (sysdep-dl-routines): Add sysdep.
29726         [$(subdir) == nptl] (libpthread-routines): Likewise.
29727         [$(subdir) == rt] (librt-routines): Likewise.
29728         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29729         PIC when branching to SYSCALL_ERROR_LABEL.
29730         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29731         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29732         <sysdeps/unix/sysv/linux/sysdep.h>.
29733         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29734         (SYSCALL_ERROR_ERRNO): Removed.
29735         (SYSCALL_ERROR_HANDLER): Changed to empty.
29736         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29737         (__syscall_error): New prototype.
29738         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29739         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29741 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29743         [BZ #19124]
29744         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29745         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29746         _dl_runtime_resolve_avx.
29747         (_dl_runtime_profile_avx512): Make it a hidden alias of
29748         _dl_runtime_profile_avx.
29750 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29752         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29753         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29754         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29755         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29757         [BZ #16422]
29758         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29759         New configure test.
29760         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29761         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29762         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29763         <math_private.h> and <stdint.h>.
29764         (__llrint): Avoid conversions to long long int where those might
29765         raise spurious exceptions.
29766         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29767         <math_private.h> and <stdint.h>.
29768         (__llrintf): Avoid conversions to long long int where those might
29769         raise spurious exceptions.
29771 2015-10-12  Andreas Schwab  <schwab@suse.de>
29773         [BZ #18969]
29774         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29775         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29776         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29777         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29778         $(gen-locales).
29779         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29780         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29781         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29782         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29783         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29784         $(gen-locales).
29785         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29786         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29787         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29788         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29789         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29790         ($(objpfx)tst-ftell-active-handler.out)
29791         ($(objpfx)tst-ftell-append.out)
29792         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29793         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29794         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29795         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29796         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29797         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29798         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29799         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29800         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29801         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29802         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29803         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29804         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29805         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29806         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29807         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29808         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29809         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29810         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29811         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29812         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29813         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29814         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29815         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29816         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29817         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29818         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29819         $(gen-locales).
29820         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29821         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29822         $(gen-locales).
29823         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29824         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29825         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29826         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29827         $(gen-locales).
29828         * libio/tst_wprintf2.c (main): Use explicit locale.
29829         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29831 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29833         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29834         __msg_sig_post.
29835         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29837 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29839         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29840         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29842         * sysdeps/arm/libm-test-ulps: Regenerated.
29844         [BZ #15470]
29845         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29847         [BZ #16399]
29848         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29849         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29850         and <fix-fp-int-convert-overflow.h>.
29851         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29852         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29853         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29854         and <fix-fp-int-convert-overflow.h>.
29855         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29856         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29857         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29858         <fix-fp-int-convert-overflow.h>.
29859         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29860         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29861         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29862         <fix-fp-int-convert-overflow.h>.
29863         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29864         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29865         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29866         and <fix-fp-int-convert-overflow.h>.
29867         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29868         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29869         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29870         <limits.h> and <fix-fp-int-convert-overflow.h>.
29871         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29872         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29873         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29874         and <fix-fp-int-convert-overflow.h>.
29875         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29876         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29877         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29878         and <fix-fp-int-convert-overflow.h>.
29879         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29880         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29881         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29883 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29885         [BZ #18589]
29886         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29887         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29888         $(gen-locales).
29890 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29891             Phil Blundell <pb@pbcl.net>
29893         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29894         * nptl/tst-cancel26.c: New file.
29895         * nptl/tst-cancel27.c: Likewise.
29897 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29899         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29900         __ILP32__ isn't defined.
29901         (lrint): Likewise.
29902         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29903         (lrintf): Likewise.
29904         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29905         (lrintl): Likewise.
29906         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29907         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29908         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29910 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29912         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29913         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29915         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29916         file.
29917         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29918         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29920 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29922         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29923         configure test.
29924         * sysdeps/i386/configure: Regenerated.
29925         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29926         configure test.
29927         * sysdeps/x86_64/configure: Regenerated.
29928         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29929         Make code unconditional.
29931         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29932         test.
29933         * sysdeps/i386/configure: Regenerated.
29934         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29935         test.
29936         * sysdeps/x86_64/configure: Regenerated.
29937         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29938         Make code unconditional.
29939         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29940         Likewise.
29941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29942         Likewise.
29943         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29944         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29945         code unconditional.
29946         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29947         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29948         code unconditional.
29949         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29950         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29951         code unconditional.
29952         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29953         code unconditional.
29954         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29955         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29956         code unconditional.
29957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29958         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29959         code unconditional.
29960         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29961         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29962         code unconditional.
29963         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29964         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29965         code unconditional.
29966         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29967         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29969         [BZ #19095]
29970         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29971         mantissa to long int before shifting left.
29973 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29975         [BZ #19094]
29976         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29977         <limits.h>.
29978         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29979         when result overflows but exception would not result from cast.
29980         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29981         <limits.h>.
29982         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29983         when result overflows but exception would not result from cast.
29984         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29985         <limits.h>.
29986         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29987         when result overflows but exception would not result from cast.
29988         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29989         <limits.h>.
29990         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29991         when result overflows but exception would not result from cast.
29992         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29993         <limits.h>.
29994         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29995         when result overflows but exception would not result from cast.
29996         * math/libm-test.inc (lrint_test_data): Add more tests.
29997         (llrint_test_data): Likewise.
29999 2015-10-08  Roland McGrath  <roland@hack.frob.com>
30001         [BZ #18872]
30002         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
30003         Move out from under [$(run-built-tests) = yes] conditional.
30004         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
30005         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
30007 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
30009         [BZ #18589]
30010         * string/Makefile (tests): Add bug-strcoll2.
30011         (LOCALES): Add cs_CZ.UTF-8.
30012         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
30014         [BZ #18589]
30015         * string/bug-strcoll2.c: New file.
30016         * locale/categories.def: Revert commit
30017         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
30018         * locale/langinfo.h: Likewise.
30019         * locale/localeinfo.h: Likewise.
30020         * locale/C-collate.c: Likewise.
30021         * locale/programs/ld-collate.c (collate_output): Likewise.
30022         * string/strcoll_l.c (STRDIFF): Likewise.
30023         (STRCOLL): Likewise.
30024         * wcsmbs/wcscoll_l.c: Likewise.
30026 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
30028         * math/libm-test.inc (lround_test_data): Do not expect the absence
30029         of "inexact" for some tests with non-integer arguments.
30030         (llround_test_data): Likewise.
30032         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
30033         test.
30034         (libc_cv_cc_sse2avx): Likewise.
30035         * sysdeps/i386/configure: Regenerated.
30036         * sysdeps/i386/i686/multiarch/Makefile
30037         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
30038         [$(subdir) = math].
30039         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
30040         code unconditional.
30041         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30042         Likewise.
30043         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
30044         Likewise.
30045         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30046         Likewise.
30047         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
30048         test.
30049         (libc_cv_cc_sse2avx): Likewise.
30050         * sysdeps/x86_64/configure: Regenerated.
30051         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
30052         unconditional.
30053         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
30054         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30055         unconditional.
30056         (_dl_runtime_profile)
30057         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
30058         conditional code.
30059         * sysdeps/x86_64/fpu/multiarch/Makefile
30060         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
30061         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30062         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30063         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30064         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30065         * sysdeps/x86_64/fpu/multiarch/e_log.c
30066         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30067         * sysdeps/x86_64/fpu/multiarch/s_atan.c
30068         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30069         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30070         Likewise.
30071         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30072         Likewise.
30073         * sysdeps/x86_64/fpu/multiarch/s_sin.c
30074         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30075         * sysdeps/x86_64/fpu/multiarch/s_tan.c
30076         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30077         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30078         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30079         (HAVE_SSE2AVX_SUPPORT): Likewise.
30081 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
30083         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30084         instead of #pragma optimize.
30086 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30088         [BZ #17195]
30089         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30090         as is similarly done in systrim and _int_free already.
30092 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30094         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30096 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30098         [BZ #19088]
30099         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30100         <limits.h>.
30101         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30102         overflows but exception would not result from cast.
30103         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30104         and <limits.h>.
30105         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30106         overflows but exception would not result from cast.
30107         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30108         <limits.h>.
30109         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30110         overflows but exception would not result from cast.
30111         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30112         <limits.h>.
30113         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30114         overflows but exception would not result from cast.
30115         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30116         <limits.h>.
30117         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30118         overflows but exception would not result from cast.
30119         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30120         <limits.h>.
30121         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30122         overflows but exception would not result from cast.
30123         * math/libm-test.inc (lround_test_data): Add more tests.
30124         (llround_test_data): Likewise.
30126 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
30128         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30129         (CFLAGS-ialloc.c): Ditto.
30130         (CFLAGS-scheck.c): Ditto.
30132 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30134         [BZ #19086]
30135         * manual/filesys.texi (Storage Allocation): Fix argument order for
30136         posix_fallocate64.
30138 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30140         [BZ #19085]
30141         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30142         exponent below 48 inside case for non-overflowing exponent.
30143         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30145 2015-10-07  Florian Weimer  <fweimer@redhat.com>
30147         * iconvdata/cp737.h (from_idx): Add const.
30148         * iconvdata/cp775.h (from_idx): Likewise.
30150 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30152         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30153         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30154         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30156         [BZ #19079]
30157         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30158         file, conditioned on [!_LP64].
30159         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30160         [!_LP64] (__lround): Do not define as function or alias.
30161         [!_LP64] (lround): Likewise.
30162         [!_LP64] (__lroundl): Likewise.
30163         [!_LP64] (lroundl): Likewise.
30164         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30165         macro.
30166         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30167         Likewise.
30169 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30171         * math/libm-test.inc (lrint_test_data): Add more tests.
30172         (llrint_test_data): Likewise.
30173         (lround_test_data): Likewise.
30174         (llround_test_data): Likewise.
30176         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30177         (llrint_test_data): Add tests used for lrint.
30179         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30180         test.
30181         * sysdeps/i386/configure: Regenerated.
30182         * sysdeps/i386/i686/multiarch/Makefile
30183         [$(config-cflags-sse4) = yes]: Make code unconditional.
30184         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30185         Likewise.
30186         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30187         Likewise.
30188         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30189         test.
30190         * sysdeps/x86_64/configure: Regenerated.
30191         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30192         Make code unconditional.
30193         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30194         Likewise.
30195         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30196         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30198         * scripts/rpm2dynsym.sh: Remove file.
30200 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30202         * configure.ac (libc_cv_cxx_thread_local): Define.
30203         * configure: Regenerate.
30204         * config.make.in (have-cxx-thread_local): Define.
30205         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30206         (LDLIBS-tst-thread_local1): Define.
30207         (tests): Add tst-thread_local1.
30208         [have-cxx-thread_local != yes] (tests-unsupported): Add
30209         tst-thread_local1.
30210         * nptl/tst-thread_local1.cc: New file.
30212 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30214         [BZ #19078]
30215         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30216         (u_thres): Likewise.
30217         (__expl): Determine whether to call __kernel_standard_l based on
30218         value of result, not argument.
30220         * math/libm-test.inc (scalb_test_data): Add more expectations for
30221         the "inexact" exception.
30223         [BZ #19077]
30224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30225         0.0L for argument 1.0L.
30227         [BZ #19076]
30228         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30229         constant 0.0L when computing infinite result.
30231 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30233         [BZ #10432]
30234         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30235         malloc_usable_size.
30237 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30239         [BZ #19018]
30240         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30241         Mangle function pointer before storing it.
30242         (__call_tls_dtors): Demangle function pointer before calling it.
30244 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30246         [BZ #19012]
30247         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30248         Clean up on failure.
30250 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30252         [BZ #19071]
30253         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30254         long int variable to store possibly incremented high part of
30255         mantissa.
30256         * math/libm-test.inc (lround_test_data): Add tests used for
30257         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30258         for tests requiring 64-bit long.  Do not condition tests on
30259         [TEST_FLOAT] unnecessarily.
30260         (llround_test_data): Add tests used for lround.  Add another
30261         expectation for the "inexact" exception.  Do not condition tests
30262         on [TEST_FLOAT] unnecessarily.
30264         [BZ #887]
30265         [BZ #19049]
30266         [BZ #19050]
30267         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30268         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30269         <fix-int-fp-convert-zero.h>.
30270         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30271         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30272         <fix-int-fp-convert-zero.h>.
30273         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30274         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30275         <fix-int-fp-convert-zero.h>.
30276         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30277         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30278         <fix-int-fp-convert-zero.h>.
30279         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30280         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30281         <fix-int-fp-convert-zero.h>.
30282         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30283         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30284         <fix-int-fp-convert-zero.h>.
30285         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30286         * sysdeps/ieee754/flt-32/s_erff.c: Include
30287         <fix-int-fp-convert-zero.h>.
30288         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30289         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30290         <fix-int-fp-convert-zero.h>.
30291         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30293         <fix-int-fp-convert-zero.h>.
30294         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30296         <fix-int-fp-convert-zero.h>.
30297         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30298         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30299         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30300         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30301         file.
30302         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30304 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30308 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30310         [BZ #19059]
30311         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30312         overflowing computation.
30313         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30314         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30315         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30316         Likewise.
30317         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30318         Likewise.
30319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30320         Likewise.
30321         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30322         Likewise.
30323         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30324         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30325         Likewise.
30326         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30327         Likewise.
30328         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30330         * nss/rewrite_field.c (__nss_rewrite_field): Use
30331         internal_function.
30332         * nss/valid_field.c (__nss_valid_field): Likewise.
30333         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30335 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30337         [BZ #18724]
30338         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30339         (__nss_invalid_field_characters, __nss_valid_field)
30340         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30341         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30342         tst-field.c: New file.
30343         * nss/Makefile (routines): Add valid_field, rewrite_field.
30344         (tests-static): Define unconditionally.
30345         (tests): Include tests-static.
30346         [build-static-nss] (tests-static): Use append.
30347         [build-static-nss] (tests): Remove modification.
30348         * nss/getent.c (print_group): Call putgrent.  Report error.
30349         (print_gshadow): Call putsgent.  Report error.
30350         (print_passwd): Call putpwent.  Report error.
30351         (print_shadow): Call putspent.  Report error.
30352         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30353         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30354         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30355         name, password, directory, shell fields for valid syntax.  Rewrite
30356         GECOS field to match syntax.
30357         * pwd/Makefile (tests): Add tst-putpwent.
30358         * pwd/tst-putpwent.c: New file.
30359         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30360         Check grName, grpasswd, gr_mem fields for valid syntax.
30361         Change loop variable i to size_t.
30362         * grp/Makefile (tests): Add tst-putgrent.
30363         * grp/tst-putgrent.c: New file.
30364         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30365         valid syntax.
30366         * shadow/Makefile (tests): Add tst-putspent.
30367         * shadow/tst-putspent.c: New file.
30368         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30369         sg_mem fields for valid syntax.
30370         * gshadow/Makefile (tests): Add tst-putsgent.
30371         * gshadow/tst-putsgent.c: New file.
30373 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30375         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30376         assembly instructions.
30378 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30380         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30381         prefix from operands.
30383 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30385         [BZ #16347]
30386         [BZ #19046]
30387         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30388         <libc-internal.h>.
30389         (MAXLGM): Do not use diagnostic control macros.
30390         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30391         threshold for ldbl-128ibm.
30392         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30393         instead of multiplying by log then subtracting.
30394         * math/auto-libm-test-in: Add more tests of lgamma.
30395         * math/auto-libm-test-out: Regenerated.
30397         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30398         (TYPE_HEX_DIG): Likewise.
30399         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30400         precisions when printing floating-point numbers.
30401         (check_float_internal): Likewise.
30403 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #16620]
30406         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30407         of log (10) rounded downward to 48 bits.
30408         (log10_low): Use corresponding low part of log (10).
30410         [BZ #19032]
30411         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30412         compute result as (x - x) / (x - x) not as 0 / 0.
30413         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30414         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30416         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30417         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30418         and expm1.
30419         * math/auto-libm-test-out: Regenerated.
30420         * math/libm-test.inc (acos_test_data): Add more tests.
30421         (asin_test_data): Likewise.
30422         (asinh_test_data): Likewise.
30423         (atan_test_data): Likewise.
30424         (atanh_test_data): Likewise.
30425         (atan2_test_data): Likewise.
30426         (cbrt_test_data): Likewise.
30427         (ceil_test_data): Likewise.
30428         (copysign_test_data): Likewise.
30429         (cos_test_data): Likewise.
30430         (cosh_test_data): Likewise.
30431         (erf_test_data): Likewise.
30432         (erfc_test_data): Likewise.
30433         (exp_test_data): Likewise.
30434         (exp10_test_data): Likewise.
30435         (exp2_test_data): Likewise.
30436         (expm1_test_data): Likewise.
30437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30439 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30441         [BZ #19006]
30442         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30443         to ...
30444         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30445         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30446         to ...
30447         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30448         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30449         to ...
30450         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30451         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30452         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30453         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30454         to ...
30455         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30456         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30457         Moved to ...
30458         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30459         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30460         Moved to ...
30461         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30462         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30463         to ...
30464         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30465         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30466         Moved to ...
30467         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30469         to ...
30470         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30471         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30472         Removed.
30473         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30474         Likewise.
30475         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30476         Likewise.
30477         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30478         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30479         Likewise.
30480         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30481         Likewise.
30482         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30483         Likewise.
30484         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30485         Likewise.
30486         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30487         Likewise.
30488         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30489         Likewise.
30490         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30491         Likewise.
30492         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30493         Likewise.
30494         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30495         Likewise.
30496         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30497         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30498         Likewise.
30499         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30500         Likewise.
30501         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30502         Likewise.
30503         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30504         Likewise.
30505         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30506         Likewise.
30507         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30508         Replace ../i486/pthread_cond_timedwait.S with
30509         ../pthread_cond_timedwait.S.
30511 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30513         * math/libm-test.inc (acos_test_data): Refine expectations for
30514         errno and "inexact" exceptions.
30515         (acosh_test_data): Likewise.
30516         (asin_test_data): Likewise.
30517         (asinh_test_data): Likewise.
30518         (atan_test_data): Likewise.
30519         (atanh_test_data): Likewise.
30520         (atan2_test_data): Likewise.
30521         (cbrt_test_data): Likewise.
30522         (ceil_test_data): Likewise.
30523         (copysign_test_data): Likewise.
30524         (cosh_test_data): Likewise.
30525         (erf_test_data): Likewise.
30526         (erfc_test_data): Likewise.
30527         (exp_test_data): Likewise.
30528         (exp10_test_data): Likewise.
30529         (exp2_test_data): Likewise.
30530         (expm1_test_data): Likewise.
30531         (fabs_test_data): Likewise.
30532         (floor_test_data): Likewise.
30533         (fma_test_data): Likewise.
30534         (fmax_test_data): Likewise.
30535         (fmin_test_data): Likewise.
30536         (fmod_test_data): Likewise.
30537         (fpclassify_test_data): Likewise.
30538         (frexp_test_data): Likewise.
30539         (hypot_test_data): Likewise.
30540         (ilogb_test_data): Likewise.
30541         (isgreater_test_data): Likewise.
30542         (isgreaterequal_test_data): Likewise.
30543         (isinf_test_data): Likewise.
30544         (isless_test_data): Likewise.
30545         (islessequal_test_data): Likewise.
30546         (islessgreater_test_data): Likewise.
30547         (isnan_test_data): Likewise.
30548         (isnormal_test_data): Likewise.
30549         (issignaling_test_data): Likewise.
30550         (isunordered_test_data): Likewise.
30551         (j0_test_data): Likewise.
30552         (j1_test_data): Likewise.
30553         (jn_test_data): Likewise.
30554         (lgamma_test_data): Likewise.
30555         (lrint_test_data): Likewise.
30556         (llrint_test_data): Likewise.
30557         (log_test_data): Likewise.
30558         (log10_test_data): Likewise.
30559         (log1p_test_data): Likewise.
30560         (log2_test_data): Likewise.
30561         (logb_test_data): Likewise.
30562         (lround_test_data): Likewise.
30563         (llround_test_data): Likewise.
30564         (modf_test_data): Likewise.
30565         (nearbyint_test_data): Likewise.
30566         (nextafter_test_data): Likewise.
30567         (nexttoward_test_data): Likewise.
30568         (pow_test_data): Likewise.
30569         (remainder_test_data): Likewise.
30570         (remquo_test_data): Likewise.
30571         (rint_test_data): Likewise.
30572         (round_test_data): Likewise.
30573         (signbit_test_data): Likewise.
30574         (sinh_test_data): Likewise.
30575         (sqrt_test_data): Likewise.
30576         (tanh_test_data): Likewise.
30577         (tgamma_test_data): Likewise.
30578         (trunc_test_data): Likewise.
30579         (y0_test_data): Likewise.
30580         (y1_test_data): Likewise.
30581         (yn_test_data): Likewise.
30582         (significand_test_data): Likewise.
30584 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30586         * manual/filesys.texi (Storage Allocation): Document that
30587         posix_fallocate emulation fails when fd is open with O_WRONLY.
30589 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30591         [BZ #19016]
30592         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30593         allow more cases with X^2 + Y^2 >= 0.5.
30594         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30595         normal element in sum instead of special-casing based on values of
30596         arguments.
30597         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30598         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30599         -1 as normal element in sum instead of special-casing based on
30600         values of arguments.
30601         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30602         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30603         (__x2y2m1): Update comment.
30604         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30605         as normal element in sum instead of special-casing based on values
30606         of arguments.
30607         * math/s_clog.c (__clog): Handle more cases using log1p without
30608         hypot.
30609         * math/s_clog10.c (__clog10): Likewise.
30610         * math/s_clog10f.c (__clog10f): Likewise.
30611         * math/s_clog10l.c (__clog10l): Likewise.
30612         * math/s_clogf.c (__clogf): Likewise.
30613         * math/s_clogl.c (__clogl): Likewise.
30614         * math/auto-libm-test-in: Add more tests of clog and clog10.
30615         * math/auto-libm-test-out: Regenerated.
30616         * sysdeps/i386/fpu/libm-test-ulps: Update.
30617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30619 2015-09-28  Martin Sebor  <msebor@redhat.com>
30621         [BZ #18969]
30622         * string/Makefile (LOCALES): Define.
30623         (gen-locales.mk): Include.
30624         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30625         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30626         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30627         on setlocale failure.
30629 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30631         [BZ #18985]
30632         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30633         (__strftime_internal): Likewise.
30634         * time/tst-strftime.c (do_bz18985): New test.
30635         (do_test): Call it.
30637 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30639         [BZ #18956]
30640         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30641         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30642         extracting high part.
30643         * math/auto-libm-test-in: Add another test of pow.
30644         * math/auto-libm-test-out: Regenerated.
30645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30647 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30649         [BZ #18825]
30650         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30651         New macro.
30652         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30653         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30654         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30655         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30656         DBL_NARROW_EVAL, reloading the PIC register as needed.
30657         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30658         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30659         FLT_NARROW_EVAL.  Use separate return path for case when first
30660         argument is NaN.
30661         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30662         DEFINE_LDBL_MIN.
30663         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30664         PIC register.
30665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30666         math_check_force_underflow_nonneg.
30667         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30668         underflow for subnormal result.
30669         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30671         math_check_force_underflow_nonneg.
30672         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30673         math_check_force_underflow.
30674         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30675         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30676         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30677         DEFINE_LDBL_MIN.
30678         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30679         * math/auto-libm-test-in: Add more tests of pow.
30680         * math/auto-libm-test-out: Regenerated.
30682 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30684         * nss/bug17079.c (init_test_items): Add diagnostic for
30685         inconsistent entries.
30686         (test_buffer_size): Skip inconsistent entries.
30688 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30690         [BZ #13304]
30691         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30692         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30693         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30695         [BZ #13304]
30696         * sysdeps/microblaze/s_fma.c: New file.
30697         * sysdeps/microblaze/s_fmaf.c: Likewise.
30698         * sysdeps/microblaze/sfp-machine.h: Likewise.
30700 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30702         [BZ #17250]
30703         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30704         member.
30706 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30708         [BZ #18803]
30709         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30710         (MO): New macro.
30711         (__ieee754_hypot) [PIC]: Load PIC register.
30712         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30713         DBL_NARROW_EVAL.
30714         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30715         math_check_force_underflow_nonneg in case where result might be
30716         tiny.
30717         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30718         Likewise.
30719         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30720         Likewise.
30721         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30722         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30723         * math/auto-libm-test-in: Add more tests of hypot.
30724         * math/auto-libm-test-out: Regenerated.
30726 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30728         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30730 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30732         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30733         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30734         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30735         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30736         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30737         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30738         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30740         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30741         LOAD_PIC_REG.
30743         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30744         (FLT_CHECK_FORCE_UFLOW): Likewise.
30745         (DBL_CHECK_FORCE_UFLOW): Likewise.
30746         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30747         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30748         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30749         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30750         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30751         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30752         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30753         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30754         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30755         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30756         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30757         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30758         (flt_min): Replace with use of DEFINE_FLT_MIN.
30759         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30760         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30761         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30762         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30763         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30764         (flt_min): Replace with use of DEFINE_FLT_MIN.
30765         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30766         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30767         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30768         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30769         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30770         (flt_min): Replace with use of DEFINE_FLT_MIN.
30771         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30772         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30773         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30774         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30775         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30776         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30777         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30778         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30779         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30780         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30781         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30782         (flt_min): Replace with use of DEFINE_FLT_MIN.
30783         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30784         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30785         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30786         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30787         main computation.
30788         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30789         (flt_min): Replace with use of DEFINE_FLT_MIN.
30790         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30791         main computation.
30792         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30793         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30794         (MO): New macro.
30795         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30796         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30797         (flt_min): Replace with use of DEFINE_FLT_MIN.
30798         (MO): New macro.
30799         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30800         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30801         (__log1pl): Use MO.
30803         [BZ #19003]
30804         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30805         $(config-cflags-nofma).
30807 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30809         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30811 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30813         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30814         (TWO127): Likewise.
30816         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30817         (min_of_type): Likewise.
30818         (math_check_force_underflow): Likewise.
30819         (math_check_force_underflow_nonneg): Likewise.
30820         (math_check_force_underflow_complex): Likewise.
30821         * math/e_exp2l.c (__ieee754_exp2l): Use
30822         math_check_force_underflow_nonneg.
30823         * math/k_casinh.c (__kernel_casinh): Likewise.
30824         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30825         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30826         * math/s_catan.c (__catan): Use
30827         math_check_force_underflow_complex.
30828         * math/s_catanf.c (__catanf): Likewise.
30829         * math/s_catanh.c (__catanh): Likewise.
30830         * math/s_catanhf.c (__catanhf): Likewise.
30831         * math/s_catanhl.c (__catanhl): Likewise.
30832         * math/s_catanl.c (__catanl): Likewise.
30833         * math/s_ccosh.c (__ccosh): Likewise.
30834         * math/s_ccoshf.c (__ccoshf): Likewise.
30835         * math/s_ccoshl.c (__ccoshl): Likewise.
30836         * math/s_cexp.c (__cexp): Likewise.
30837         * math/s_cexpf.c (__cexpf): Likewise.
30838         * math/s_cexpl.c (__cexpl): Likewise.
30839         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30840         * math/s_clog10.c (__clog10): Likewise.
30841         * math/s_clog10f.c (__clog10f): Likewise.
30842         * math/s_clog10l.c (__clog10l): Likewise.
30843         * math/s_clogf.c (__clogf): Likewise.
30844         * math/s_clogl.c (__clogl): Likewise.
30845         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30846         * math/s_csinf.c (__csinf): Likewise.
30847         * math/s_csinh.c (__csinh): Likewise.
30848         * math/s_csinhf.c (__csinhf): Likewise.
30849         * math/s_csinhl.c (__csinhl): Likewise.
30850         * math/s_csinl.c (__csinl): Likewise.
30851         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30852         * math/s_csqrtf.c (__csqrtf): Likewise.
30853         * math/s_csqrtl.c (__csqrtl): Likewise.
30854         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30855         * math/s_ctanf.c (__ctanf): Likewise.
30856         * math/s_ctanh.c (__ctanh): Likewise.
30857         * math/s_ctanhf.c (__ctanhf): Likewise.
30858         * math/s_ctanhl.c (__ctanhl): Likewise.
30859         * math/s_ctanl.c (__ctanl): Likewise.
30860         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30861         instead of volatile.
30862         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30863         math_check_force_underflow.
30864         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30865         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30866         volatile when forcing underflow.
30867         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30868         math_check_force_underflow_nonneg.
30869         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30870         Likewise.
30871         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30872         math_check_force_underflow.
30873         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30874         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30875         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30876         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30877         math_check_force_underflow_nonneg.
30878         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30879         math_check_force_underflow.
30880         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30882         instead of volatile.
30883         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30884         math_check_force_underflow.
30885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30886         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30887         math_check_force_underflow_nonneg.
30888         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30889         math_check_force_underflow.
30890         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30891         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30892         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30893         math_check_force_underflow_nonneg.
30894         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30895         Likewise.
30896         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30897         math_check_force_underflow.
30898         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30899         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30900         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30901         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30902         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30903         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30904         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30905         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30906         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30907         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30908         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30909         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30910         Likewise.
30911         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30912         math_check_force_underflow_nonneg.
30913         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30914         Likewise.
30915         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30916         math_check_force_underflow.
30917         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30918         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30919         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30920         Likewise.
30921         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30922         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30923         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30924         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30925         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30926         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30928         instead of volatile.
30929         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30930         math_check_force_underflow.
30931         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30932         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30933         math_check_force_underflow.
30934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30935         Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30937         Use math_check_force_underflow_nonneg.
30938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30939         math_check_force_underflow.
30940         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30941         Likewise.
30942         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30943         Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30945         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30946         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30947         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30948         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30950         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30951         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30952         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30953         math_check_force_underflow_nonneg.
30954         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30955         math_check_force_underflow.
30956         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30957         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30958         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30959         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30960         math_check_force_underflow_nonneg.
30961         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30962         math_check_force_underflow.
30963         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30965         instead of volatile.
30966         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30967         math_check_force_underflow.
30969         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30970         * stdlib/strtod_l.c: Include <math_private.h>.
30971         (overflow_value): Use math_narrow_eval.
30972         (underflow_value): Likewise.
30973         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30974         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30975         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30976         (__ieee754_gamma_r): Likewise.
30977         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30978         Likewise.
30979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30980         Likewise.
30981         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30982         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30983         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30984         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30985         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30986         (__ieee754_gammaf_r): Likewise.
30987         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30988         Likewise.
30989         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30990         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30991         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30992         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30993         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30994         volatile.
30995         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30996         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30997         math_narrow_eval.
30998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30999         Likewise.
31000         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31001         Likewise.
31002         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
31003         Likewise.
31004         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
31005         volatile.
31006         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31007         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
31008         math_narrow_eval.
31009         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31010         Likewise.
31011         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31012         Likewise.
31014 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
31016         * nptl/Versions: Remove ignored symbols.
31018 2015-09-22  Florian Weimer  <fweimer@redhat.com>
31020         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
31021         * nss/Makefile (tests): Update.
31023 2015-09-22  Florian Weimer  <fweimer@redhat.com>
31025         * nss/bug18287.c: New file.
31026         * nss/Makefile (tests): Add bug18287.
31028 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31030         * mach/Versions (__mach_host_self_): Add symbol.
31032 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31034         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
31035         vm_page_size.
31037 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31039         Really fix sysdeps/i386/fpu/s_scalbn.S build
31041         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
31042         (libc: GLIBC_2_22): Remove unused version set.
31044 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31046         * config.make.in (enable-timezone-tools): New variable.
31047         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
31048         (enable_timezone_tools): Export to generated files.
31049         * configure: Regenerate.
31050         * INSTALL: Regenerate.
31051         * manual/install.texi (--disable-timezone-tools): Document new flag.
31052         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
31053         ifeq ($(enable-timezone-tools),yes) check.
31055 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31057         * timezone/Makefile: Revert previous change.
31059         [BZ #18980]
31060         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
31061         (DEFINE_DBL_MIN): Likewise.
31062         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31063         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31064         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31065         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31066         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31067         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31068         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31069         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31070         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31071         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31072         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31073         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31074         (flt_min): Replace with use of DEFINE_FLT_MIN.
31075         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31076         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31077         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31078         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31079         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31080         (flt_min): Replace with use of DEFINE_FLT_MIN.
31081         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31082         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31083         (flt_min): Replace with use of DEFINE_FLT_MIN.
31084         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31085         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31086         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31087         (__ieee754_hypot): Use DBL_NARROW_EVAL.
31088         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31089         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31090         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31091         (__ieee754_pow): Use DBL_NARROW_EVAL.
31092         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31093         (__ieee754_powf): Use FLT_NARROW_EVAL.
31094         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31095         (__ieee754_expf_sse2): Convert double-precision result to single
31096         precision.
31097         * sysdeps/i386/fpu/libm-test-ulps: Update.
31099 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31101         * timezone/Makefile: Ignore unused variable errors due to private.h
31102         (time_t_min) and (time_t_max).
31103         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
31104         Likewise.
31106 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31108         [BZ #18981]
31109         * sysdeps/i386/fpu/i386-math-asm.h: New file.
31110         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31111         (__ieee754_scalb): Use DBL_NARROW_EVAL.
31112         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31113         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31114         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31115         (__scalbn): Use DBL_NARROW_EVAL.
31116         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31117         (__scalbnf): Use FLT_NARROW_EVAL.
31119 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31121         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31122         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31123         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31124         * stdio-common/printf_fp.c (___printf_fp):
31125         Use signbit to get the sign. Use isinf macro to allow inlining.
31126         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31127         * stdio-common/printf_size.c (__printf_size): Likewise.
31129 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31131         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31133 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31135         [BZ #18980]
31136         * sysdeps/generic/math_private.h: Include <float.h>.
31137         (math_narrow_eval): New macro.
31138         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31139         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31140         math_narrow_eval on overflowing return value.
31141         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31142         Likewise.
31143         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31144         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31145         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31146         Likewise.
31147         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31149 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31151         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31152         * math/Makefile: Remove isinf_ns.c.
31153         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31154         * math/multc3.c (__multc3): Likewise.
31155         * math/s_casin.c (__casin): Likewise.
31156         * math/s_casinf.c (__casinf): Likewise.
31157         * math/s_casinl.c (__casinl): Likewise.
31158         * math/s_cproj.c (__cproj): Likewise.
31159         * math/s_cprojf.c (__cprojf): Likewise.
31160         * math/s_cprojl.c (__cprofl): Likewise.
31161         * math/s_ctan.c (__ctan): Likewise.
31162         * math/s_ctanf.c (__ctanf): Likewise.
31163         * math/s_ctanh.c (__ctanh): Likewise.
31164         * math/s_ctanhf.c (__ctanhf): Likewise.
31165         * math/s_ctanhl.c (__ctanhl): Likewise.
31166         * math/s_ctanl.c (__ctanl): Likewise.
31167         * math/w_fmod.c (__fmod): Likewise.
31168         * math/w_fmodf.c (__fmodf): Likewise.
31169         * math/w_fmodl.c (_fmodl): Likewise.
31170         * math/w_remainder.c (__remainder): Likewise.
31171         * math/w_remainderf.c (__remainderf): Likewise.
31172         * math/w_remainderl.c (__remainderl): Likewise.
31173         * math/w_scalb.c (__scalb): Likewise.
31174         * math/w_scalbf.c (__scalbf): Likewise.
31175         * math/w_scalbl.c (__scalbl): Likewise.
31176         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31177         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31178         with isinf.
31179         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31181         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31182         __isinf_nsf with isinf.
31183         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31184         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31185         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31186         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31187         with isinf.
31188         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31189         __isinf_nsl with isinf.
31190         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31191         with isinf.
31192         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31193         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31194         __isinf_nsl with isinf.
31195         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31196         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31197         with isinf.
31199 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31201         * resolv/base64.c (rcsid): Remove unused static.
31202         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31203         static.  (tqpi1): Likewise.
31204         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31205         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31206         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31207         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31209         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31210         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31211         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31212         Likewise.
31214 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31216         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31217         <nptl/pthreadP.h>.
31218         (_longjmp_unwind): Use __libc_ptf_call.
31219         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31221 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31223         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31224         * sysdeps/arm/__longjmp.S: Likewise.
31226 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31228         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31229         Use __builtin_signbit.
31230         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31231         Use __builtin_signbitf.
31232         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31233         Use __builtin_signbitl.
31234         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31235         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31237 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31239         [BZ #15367]
31240         [BZ #17441]
31242         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31243         * math/math.h (fpclassify): Use __builtin_fpclassify when
31244         available.  (signbit): Use __builtin_signbit(f/l).
31245         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31246         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31247         (isinf): Use __builtin_isinf_sign.
31249 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31251         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31252         * benchtests/bench-math-inlines.c: New benchmark.
31253         * benchtests/bench-util.h: New file.
31254         * benchtests/bench-util.c: New file.
31255         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31257 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31259         * elf/tst-dlmopen1.c: Define TEST_SO.
31260         (do_test): Use TEST_SO.
31262         * elf/dl-load.c: Include libc-internal.h.
31263         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31265 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31267         [BZ #17887]
31268         * time/strptime_l.c (__strptime_internal): Make %z accept
31269         [+-]HH:MM time zones.
31271 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31273         [BZ #17886]
31274         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31275         valid time zone.
31277 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31279         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31280         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31281         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31282         (__ASSUME_FDATASYNC): Delete.
31284 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31286         * conform/linknamespace.pl: Require weak undefined symbols to be
31287         in the standard namespace.
31288         (%strong_syms): Rename to %seen_syms.
31289         (%strong_seen): Rename to %seen_where.
31291 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31293         [BZ #18970]
31294         * misc/error.c (error): Replace pthread_setcancelstate with
31295         __pthread_setcancelstate.
31296         (error_at_line): Likewise.
31297         * posix/wordexp.c (parse_comm): Likewise.
31298         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31299         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31300         (__pthread_setcancelstate): This.
31301         (pthread_setcancelstate): Add an alias.
31302         * nptl/nptl-init.c (pthread_functions): Replace
31303         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31304         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31305         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31306         hidden_proto.
31307         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31308         it with hidden_def.
31309         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31310         (pthread_setcancelstate): Renamed to ...
31311         (__pthread_setcancelstate): This.
31312         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31313         __libc_ptf_call with __pthread_setcancelstate.
31315 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31316             Andreas Schwab  <schwab@suse.de>
31318         [BZ #17118]
31319         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31320         result when imaginary part of argument is infinite using sine and
31321         cosine.
31322         * math/s_ctanf.c (__ctanf): Likewise.
31323         * math/s_ctanl.c (__ctanl): Likewise.
31324         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31325         of result when real part of argument is infinite using sine and
31326         cosine.
31327         * math/s_ctanhf.c (__ctanhf): Likewise.
31328         * math/s_ctanhl.c (__ctanhl): Likewise.
31329         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31330         (ctanh_test_data): Add more tests of ctanh.
31332 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31334         [BZ #15384]
31335         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31336         bit-mask as in subtraction.
31337         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31338         Likewise.
31339         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31340         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31341         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31343         [BZ #18951]
31344         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31345         underflow exception for small results.
31346         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31347         Likewise.
31348         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31349         Likewise.
31350         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31351         Likewise.
31352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31353         Likewise.
31354         * math/auto-libm-test-in: Add more tests of tgamma.
31355         * math/auto-libm-test-out: Regenerated.
31357 2015-09-17  Andreas Schwab  <schwab@suse.de>
31359         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31361 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31363         [BZ #18977]
31364         * math/bits/mathcalls.h
31365         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31366         not declare.
31367         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31368         Likewise.
31369         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31370         Likewise.
31371         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31372         Likewise.
31373         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31374         Likewise.
31375         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31376         Likewise.
31377         * conform/data/math.h-data
31378         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31379         function.
31380         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31381         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31382         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31383         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31384         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31385         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31386         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31387         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31388         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31389         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31390         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31392         [BZ #6803]
31393         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31394         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31395         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31396         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31397         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31398         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31399         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31400         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31401         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31402         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31403         Likewise.
31404         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31405         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31406         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31407         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31408         long_double_symbol calls.
31409         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31410         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31411         strong alias of __ldexpl.
31412         (scalbnl): Define using long_double_symbol.
31413         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31414         Remove alias.
31415         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31416         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31417         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31418         (scalbln_test_data): Add more errno expectations.
31420 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31422         Cache the host port like we cache the task port.  This way we do not
31423         need to call the kernel just to get the port.  Furthermore, we no
31424         longer increase the reference count on every invocation of
31425         `mach_host_self'.
31427         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31428         Protect declarations against the macro expansion.
31429         * mach/mach_init.c (__mach_host_self_): New variable.
31430         (mach_init): Initialize `__mach_host_self_'.
31431         * mach/mach_init.h (__mach_host_self_): New declaration.
31432         (__mach_host_self, mach_host_self): New macros.
31433         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31434         Release reference.
31436 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #4404]
31439         * po/de.po: Update from Translation Project.
31441         [BZ #16415]
31442         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31443         (__expm1l): Remove code to handle positive infinity and overflow.
31444         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31445         variable.
31446         (__expm1l): Remove code to handle positive infinity and overflow.
31448 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31449             Paul Pluzhnikov  <ppluzhnikov@google.com>
31451         [BZ #18872]
31452         * stdio-common/Makefile (tst-printf-bz18872): New test.
31453         (tst-printf-bz18872-mem.out): Likewise.
31454         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31455         * stdio-common/vfprintf.c: Fix memory leaks.
31457 2015-09-16  Andreas Schwab  <schwab@suse.de>
31459         [BZ #17244]
31460         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31461         Remove extra va_start/va_end calls.
31463         [BZ #17243]
31464         * posix/execl.c (execl): Add missing va_end.
31465         * posix/execle.c (execle): Likewise.
31466         * posix/execlp.c (execlp): Likewise.
31468 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31470         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31471         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31473 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31475         [BZ #18967]
31476         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31477         undefine around includes of <bits/mathcalls.h>.
31478         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31479         not declare function.
31480         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31481         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31482         (scalb): Likewise.
31483         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31484         not define macro.
31485         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31486         variable.
31487         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31488         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31489         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31491         [BZ #18857]
31492         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31493         return non-finite argument without doing ordered comparisons on
31494         it.
31496         [BZ #16296]
31497         * math/fenv.h (fegetround): Use __attribute_pure__.
31498         * include/fenv.h (__fegetround): Likewise.
31500         [BZ #18595]
31501         * math/s_ctan.c (__ctan): Force underflow exception for results
31502         whose real or imaginary part has small absolute value.
31503         * math/s_ctanf.c (__ctanf): Likewise.
31504         * math/s_ctanh.c (__ctanh): Likewise.
31505         * math/s_ctanhf.c (__ctanhf): Likewise.
31506         * math/s_ctanhl.c (__ctanhl): Likewise.
31507         * math/s_ctanl.c (__ctanl): Likewise.
31508         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31509         and ctanh.  Add more tests of ctan and ctanh.
31511         [BZ #15918]
31512         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31513         handling of cases where one argument is an infinity.
31515         [BZ #18875]
31516         [BZ #18966]
31517         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31518         (MO): New macro.
31519         (__ieee754_exp10): For small results, force underflow exception
31520         and remove excess range and precision from return value.
31521         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31522         (MO): New macro.
31523         (__ieee754_exp10f): For small results, force underflow exception
31524         and remove excess range and precision from return value.
31525         * math/auto-libm-test-in: Add more tests of exp10.
31526         * math/auto-libm-test-out: Regenerated.
31528 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31530         [BZ #18875]
31531         [BZ #18961]
31532         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31533         (MO): New macro.
31534         (__ieee754_exp): For small results, force underflow exception and
31535         remove excess range and precision from return value.
31536         (__exp_finite): Likewise.
31537         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31538         (MO): New macro.
31539         (__ieee754_expf): For small results, force underflow exception and
31540         remove excess range and precision from return value.
31541         (__expf_finite): Likewise.
31542         * math/auto-libm-test-in: Add more tests of exp.
31543         * math/auto-libm-test-out: Regenerated.
31545         [BZ #16521]
31546         [BZ #18875]
31547         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31548         small results.
31549         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31550         (MO): New macro.
31551         (__ieee754_exp2): For small results, force underflow exception and
31552         remove excess range and precision from return value.
31553         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31554         (MO): New macro.
31555         (__ieee754_exp2f): For small results, force underflow exception
31556         and remove excess range and precision from return value.
31557         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31558         (MO): New macro.
31559         (__ieee754_exp2l): Force underflow exception for small results.
31560         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31561         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31562         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31563         (MO): New macro.
31564         (__ieee754_exp2l): Force underflow exception for small results.
31565         * math/auto-libm-test-in: Add more tests or exp2.
31566         * math/auto-libm-test-out: Regenerated.
31568 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31570         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31572         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31573         /dev/null.
31575 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31577         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31578         io fs process)): Drop spurious backslash.
31580 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31583         Use sysinfo system call instead of parsing /proc/meminfo.
31584         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31585         Likewise.
31587 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31589         [BZ #16985]
31590         * programs/localedef.c (main): Display argv[remaining] when
31591         output_path is NULL.
31593 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31595         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31596         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31597         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31598         tanh.
31599         * math/auto-libm-test-out: Regenerated.
31600         * sysdeps/i386/fpu/libm-test-ulps: Update.
31601         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31602         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31605 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31607         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31608         Use 'override' keyword to freeze the value here, preventing
31609         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31611 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31613         [BZ #14912]
31614         * sysdeps/aarch64/bits/atomic.h: Move to ...
31615         * sysdeps/aarch64/atomic-machine.h: ...here.
31616         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31617         _AARCH64_ATOMIC_MACHINE_H.
31618         * sysdeps/alpha/bits/atomic.h: Move to ...
31619         * sysdeps/alpha/atomic-machine.h: ...here.
31620         * sysdeps/arm/bits/atomic.h: Move to ...
31621         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31622         * bits/atomic.h: Move to ...
31623         * sysdeps/generic/atomic-machine.h: ...here.
31624         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31625         * sysdeps/i386/bits/atomic.h: Move to ...
31626         * sysdeps/i386/atomic-machine.h: ...here.
31627         * sysdeps/ia64/bits/atomic.h: Move to ...
31628         * sysdeps/ia64/atomic-machine.h: ...here.
31629         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31630         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31631         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31632         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31633         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31634         * sysdeps/microblaze/bits/atomic.h: Move to ...
31635         * sysdeps/microblaze/atomic-machine.h: ...here.
31636         * sysdeps/mips/bits/atomic.h: Move to ...
31637         * sysdeps/mips/atomic-machine.h: ...here.
31638         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31639         * sysdeps/powerpc/bits/atomic.h: Move to ...
31640         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31641         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31642         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31643         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31644         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31645         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31646         <atomic-machine.h> instead of <bits/atomic.h>.
31647         * sysdeps/s390/bits/atomic.h: Move to ...
31648         * sysdeps/s390/atomic-machine.h: ...here.
31649         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31650         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31651         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31652         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31653         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31654         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31655         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31656         * sysdeps/tile/bits/atomic.h: Move to ...
31657         * sysdeps/tile/atomic-machine.h: ...here.
31658         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31659         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31660         <sysdeps/tile/atomic-machine.h> instead of
31661         <sysdeps/tile/bits/atomic.h>.
31662         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31663         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31664         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31665         <sysdeps/tile/atomic-machine.h> instead of
31666         <sysdeps/tile/bits/atomic.h>.
31667         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31668         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31669         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31670         <sysdeps/arm/atomic-machine.h> instead of
31671         <sysdeps/arm/bits/atomic.h>.
31672         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31673         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31674         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31675         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31676         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31677         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31678         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31679         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31680         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31681         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31682         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31683         * sysdeps/x86_64/bits/atomic.h: Move to ...
31684         * sysdeps/x86_64/atomic-machine.h: ...here.
31685         * include/atomic.h: Include <atomic-machine.h> instead of
31686         <bits/atomic.h>.
31688         * sysdeps/mips/mips32/libm-test-ulps: Update.
31689         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31691         [BZ #18952]
31692         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31693         not convert non-integer negative arguments to int to determine the
31694         value of signgam.
31695         * math/auto-libm-test-in: Add more tests of lgamma.
31696         * math/auto-libm-test-out: Regenerated.
31698         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31699         cosh, csqrt, erfc, expm1 and lgamma.
31700         * math/auto-libm-test-out: Regenerated.
31701         * sysdeps/i386/fpu/libm-test-ulps: Update.
31702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31704 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31706         [BZ #2542]
31707         [BZ #2543]
31708         [BZ #2558]
31709         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31710         __lgamma_neg for arguments from -28.0 to -2.0.
31711         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31712         __lgamma_negf for arguments from -15.0 to -2.0.
31713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31714         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31715         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31716         Call __lgamma_negl for arguments from -33.0 to -2.0.
31717         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31718         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31719         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31720         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31721         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31722         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31723         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31724         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31725         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31726         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31727         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31728         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31729         (__lgamma_neg): Likewise.
31730         (__lgamma_negl): Likewise.
31731         (__lgamma_product): Likewise.
31732         (__lgamma_productl): Likewise.
31733         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31734         * math/auto-libm-test-in: Add more tests of lgamma.
31735         * math/auto-libm-test-out: Regenerated.
31736         * sysdeps/i386/fpu/libm-test-ulps: Update.
31737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31741         [BZ #18675]
31742         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31744 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31746         [BZ #14912]
31747         * bits/libc-lock.h: Move to ...
31748         * sysdeps/generic/libc-lock.h: ...here.
31749         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31750         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31751         * sysdeps/mach/hurd/libc-lock.h: ...here.
31752         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31753         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31754         * sysdeps/mach/bits/libc-lock.h: Move to ...
31755         * sysdeps/mach/libc-lock.h: ...here.
31756         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31757         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31758         * sysdeps/nptl/libc-lock.h: ...here.
31759         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31760         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31761         * sysdeps/nptl/libc-lockP.h: ...here.
31762         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31763         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31764         <bits/libc-lock.h>.
31765         * dirent/scandir-tail.c: Likewise.
31766         * dlfcn/dlerror.c: Likewise.
31767         * elf/dl-close.c: Likewise.
31768         * elf/dl-iteratephdr.c: Likewise.
31769         * elf/dl-lookup.c: Likewise.
31770         * elf/dl-open.c: Likewise.
31771         * elf/dl-support.c: Likewise.
31772         * elf/dl-writev.h: Likewise.
31773         * elf/rtld.c: Likewise.
31774         * grp/fgetgrent.c: Likewise.
31775         * gshadow/fgetsgent.c: Likewise.
31776         * gshadow/sgetsgent.c: Likewise.
31777         * iconv/gconv_conf.c: Likewise.
31778         * iconv/gconv_db.c: Likewise.
31779         * iconv/gconv_dl.c: Likewise.
31780         * iconv/gconv_int.h: Likewise.
31781         * iconv/gconv_trans.c: Likewise.
31782         * include/link.h: Likewise.
31783         * inet/getnameinfo.c: Likewise.
31784         * inet/getnetgrent.c: Likewise.
31785         * inet/getnetgrent_r.c: Likewise.
31786         * intl/bindtextdom.c: Likewise.
31787         * intl/dcigettext.c: Likewise.
31788         * intl/finddomain.c: Likewise.
31789         * intl/gettextP.h: Likewise.
31790         * intl/loadmsgcat.c: Likewise.
31791         * intl/localealias.c: Likewise.
31792         * intl/textdomain.c: Likewise.
31793         * libidn/idn-stub.c: Likewise.
31794         * libio/libioP.h: Likewise.
31795         * locale/duplocale.c: Likewise.
31796         * locale/freelocale.c: Likewise.
31797         * locale/newlocale.c: Likewise.
31798         * locale/setlocale.c: Likewise.
31799         * login/getutent_r.c: Likewise.
31800         * login/getutid_r.c: Likewise.
31801         * login/getutline_r.c: Likewise.
31802         * login/utmp-private.h: Likewise.
31803         * login/utmpname.c: Likewise.
31804         * malloc/mtrace.c: Likewise.
31805         * misc/efgcvt.c: Likewise.
31806         * misc/error.c: Likewise.
31807         * misc/fstab.c: Likewise.
31808         * misc/getpass.c: Likewise.
31809         * misc/mntent.c: Likewise.
31810         * misc/syslog.c: Likewise.
31811         * nis/nis_call.c: Likewise.
31812         * nis/nis_callback.c: Likewise.
31813         * nis/nss-default.c: Likewise.
31814         * nis/nss_compat/compat-grp.c: Likewise.
31815         * nis/nss_compat/compat-initgroups.c: Likewise.
31816         * nis/nss_compat/compat-pwd.c: Likewise.
31817         * nis/nss_compat/compat-spwd.c: Likewise.
31818         * nis/nss_nis/nis-alias.c: Likewise.
31819         * nis/nss_nis/nis-ethers.c: Likewise.
31820         * nis/nss_nis/nis-grp.c: Likewise.
31821         * nis/nss_nis/nis-hosts.c: Likewise.
31822         * nis/nss_nis/nis-network.c: Likewise.
31823         * nis/nss_nis/nis-proto.c: Likewise.
31824         * nis/nss_nis/nis-pwd.c: Likewise.
31825         * nis/nss_nis/nis-rpc.c: Likewise.
31826         * nis/nss_nis/nis-service.c: Likewise.
31827         * nis/nss_nis/nis-spwd.c: Likewise.
31828         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31829         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31830         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31831         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31832         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31833         * nis/nss_nisplus/nisplus-network.c: Likewise.
31834         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31835         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31836         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31837         * nis/nss_nisplus/nisplus-service.c: Likewise.
31838         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31839         * nis/ypclnt.c: Likewise.
31840         * nptl/libc_pthread_init.c: Likewise.
31841         * nss/getXXbyYY.c: Likewise.
31842         * nss/getXXent.c: Likewise.
31843         * nss/getXXent_r.c: Likewise.
31844         * nss/nss_db/db-XXX.c: Likewise.
31845         * nss/nss_db/db-netgrp.c: Likewise.
31846         * nss/nss_db/nss_db.h: Likewise.
31847         * nss/nss_files/files-XXX.c: Likewise.
31848         * nss/nss_files/files-alias.c: Likewise.
31849         * nss/nsswitch.c: Likewise.
31850         * posix/regex_internal.h: Likewise.
31851         * posix/wordexp.c: Likewise.
31852         * pwd/fgetpwent.c: Likewise.
31853         * resolv/res_hconf.c: Likewise.
31854         * resolv/res_libc.c: Likewise.
31855         * shadow/fgetspent.c: Likewise.
31856         * shadow/lckpwdf.c: Likewise.
31857         * shadow/sgetspent.c: Likewise.
31858         * socket/opensock.c: Likewise.
31859         * stdio-common/reg-modifier.c: Likewise.
31860         * stdio-common/reg-printf.c: Likewise.
31861         * stdio-common/reg-type.c: Likewise.
31862         * stdio-common/vfprintf.c: Likewise.
31863         * stdio-common/vfscanf.c: Likewise.
31864         * stdlib/abort.c: Likewise.
31865         * stdlib/cxa_atexit.c: Likewise.
31866         * stdlib/fmtmsg.c: Likewise.
31867         * stdlib/random.c: Likewise.
31868         * stdlib/setenv.c: Likewise.
31869         * string/strsignal.c: Likewise.
31870         * sunrpc/auth_none.c: Likewise.
31871         * sunrpc/bindrsvprt.c: Likewise.
31872         * sunrpc/create_xid.c: Likewise.
31873         * sunrpc/key_call.c: Likewise.
31874         * sunrpc/rpc_thread.c: Likewise.
31875         * sysdeps/arm/backtrace.c: Likewise.
31876         * sysdeps/generic/ldsodefs.h: Likewise.
31877         * sysdeps/generic/stdio-lock.h: Likewise.
31878         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31879         * sysdeps/i386/backtrace.c: Likewise.
31880         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31881         * sysdeps/m68k/backtrace.c: Likewise.
31882         * sysdeps/mach/hurd/cthreads.c: Likewise.
31883         * sysdeps/mach/hurd/dirstream.h: Likewise.
31884         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31885         * sysdeps/nptl/malloc-machine.h: Likewise.
31886         * sysdeps/nptl/stdio-lock.h: Likewise.
31887         * sysdeps/posix/dirstream.h: Likewise.
31888         * sysdeps/posix/getaddrinfo.c: Likewise.
31889         * sysdeps/posix/system.c: Likewise.
31890         * sysdeps/pthread/aio_suspend.c: Likewise.
31891         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31892         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31893         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31894         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31895         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31896         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31897         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31898         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31899         * sysdeps/unix/sysv/linux/system.c: Likewise.
31900         * sysdeps/x86_64/backtrace.c: Likewise.
31901         * time/alt_digit.c: Likewise.
31902         * time/era.c: Likewise.
31903         * time/tzset.c: Likewise.
31904         * wcsmbs/wcsmbsload.c: Likewise.
31905         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31906         instead of <bits/libc-lock.h> in comment.
31908 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31910         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31911         Only use .set mips2 if the current ISA is below mips2.
31912         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31913         Likewise.
31914         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31915         mips32r2 if the current ISA is below mips32r2.
31916         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31917         (TLS_IE): Updated to use the TLD_RDHWR macro.
31918         (TLS_LE): Likewise.
31919         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31920         __ASSEMBLER__ condition.
31922 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31924         Fix parallel build of before-compile targets.
31926         * sysdeps/mach/Makefile ($(patsubst
31927         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31928         mach-before-compile target.
31929         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31930         io fs process)): Move rule to dedicated hurd-before-compile target.
31932 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31934         Fix rules generating headers in hurd/ and mach/ when initial make call
31935         has subdir= explicitly set.
31937         * sysdeps/mach/Makefile ($(patsubst
31938         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31939         calling $(MAKE).
31940         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31941         io fs process)): Force subdir to hurd when calling $(MAKE).
31942         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31943         subdir to mach when calling $(MAKE).
31945 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31947         Check sysheaders when looking for Mach and Hurd headers
31949         * sysdeps/mach/configure.ac: Add sysheaders check.
31950         * sysdeps/mach/configure: Regenerate.
31951         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31952         * sysdeps/mach/hurd/configure: Regenerate.
31954 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31956         [BZ #18921]
31957         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31958         Fix inverted sense of test of 'o_directory_works' value.
31959         Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31960         Bernhard Voelker <mail@bernhard-voelker.de>.
31962 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31964         [BZ #14912]
31965         * bits/linkmap.h: Move to ...
31966         * sysdeps/generic/linkmap.h: ...here.
31967         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31968         * sysdeps/aarch64/linkmap.h: ...here.
31969         * sysdeps/arm/bits/linkmap.h: Move to ...
31970         * sysdeps/arm/linkmap.h: ...here.
31971         * sysdeps/hppa/bits/linkmap.h: Move to ...
31972         * sysdeps/hppa/linkmap.h: ...here.
31973         * sysdeps/ia64/bits/linkmap.h: Move to ...
31974         * sysdeps/ia64/linkmap.h: ...here.
31975         * sysdeps/mips/bits/linkmap.h: Move to ...
31976         * sysdeps/mips/linkmap.h: ...here.
31977         * sysdeps/s390/bits/linkmap.h: Move to ...
31978         * sysdeps/s390/linkmap.h: ...here.
31979         * sysdeps/sh/bits/linkmap.h: Move to ...
31980         * sysdeps/sh/linkmap.h: ...here.
31981         * sysdeps/x86/bits/linkmap.h: Move to ...
31982         * sysdeps/x86/linkmap.h: ...here.
31983         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31985 2015-09-04  Andreas Schwab  <schwab@suse.de>
31987         [BZ #18635]
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31989         (__makecontext): Terminate FDE before return label.
31990         (__novec_makecontext): Likewise.
31992 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31994         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31995         first member of struct sv in syscall macro.
31997 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31999         [BZ #14912]
32000         * bits/stdio-lock.h: Move to ...
32001         * sysdeps/generic/stdio-lock.h: ...here.
32002         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32003         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
32004         * sysdeps/nptl/stdio-lock.h: ...here.
32005         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32006         * include/libio.h: Include <stdio-lock.h> instead of
32007         <bits/stdio-lock.h>.
32008         * sysdeps/nptl/fork.c: Likewise.
32009         * sysdeps/pthread/flockfile.c: Likewise.
32010         * sysdeps/pthread/ftrylockfile.c: Likewise.
32011         * sysdeps/pthread/funlockfile.c: Likewise.
32013         [BZ #14912]
32014         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
32015         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
32016         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
32017         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
32018         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
32019         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32020         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
32022 2015-09-03  Roland McGrath  <roland@hack.frob.com>
32024         * elf/Makefile (test-xfail-tst-protected1a): New variable.
32025         (test-xfail-tst-protected1b): New variable.
32027 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
32029         [BZ #14912]
32030         * bits/libc-tsd.h: Move to ...
32031         * sysdeps/generic/libc-tsd.h: ...here.
32032         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
32033         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
32034         * sysdeps/mach/hurd/libc-tsd.h: ...here.
32035         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
32036         * include/ctype.h: Include <libc-tsd.h> instead of
32037         <bits/libc-tsd.h>.
32038         * include/rpc/rpc.h: Likewise.
32039         * locale/localeinfo.h: Likewise.
32040         * sunrpc/rpc_thread.c: Likewise.
32041         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
32042         * sysdeps/nptl/malloc-machine.h: Likewise.
32044         * Makefile (headers): Remove bits/libc-lock.h.
32045         * libio/Makefile (headers): Remove bits/stdio-lock.h.
32047         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
32048         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
32049         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
32050         <bits/stdio-lock.h>.
32051         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
32052         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
32054 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
32056         [BZ #18757]
32057         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
32058         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
32059         BZ #18757.
32061 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
32063         * malloc/mtrace.pl: Filter out NULL entries.
32065 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
32067         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32068         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32069         macro.
32071         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32072         (TCP_CC_INFO): Likewise.
32073         (TCP_SAVE_SYN): Likewise.
32074         (TCP_SAVED_SYN): Likewise.
32076 2015-08-31  Brett Neumeier <brett@neumeier.us>
32078         [BZ #18870]
32079         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32081 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
32083         [BZ #18873]
32084         Fix broken overflow check in posix_fallocate
32085         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32086         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32087         Fix parenthesization typo.
32089 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
32091         [BZ #18887]
32092         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32093         tst-mntent-blank-passno.
32094         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32095         * misc/tst-mntent-blank-corrupt.c: New test.
32096         * misc/tst-mntent-blank-passno.c: New test ripped from ...
32097         * misc/tst-mntent.c (do_test): ... here.
32099 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
32101         [BZ #4404]
32102         * po/de.po: Fix SIGALRM typo.
32104 2015-08-28  James Perkins  <james@loowit.net>
32106         * time/tst-strptime2.c (tests): Replace short list of test
32107         strings for strptime %z specifier with code which exhaustively
32108         tests every combination of sign and 0 to 5 digits. Tests for
32109         rejection of invalid strings.
32111 2015-08-28  James Perkins  <james@loowit.net>
32113         [BZ #16141]
32114         * time/strptime_l.c (__strptime_internal): Fix %z minutes
32115         calculation, removing incorrect decimal time rounding, so that
32116         all minute values result in a valid seconds value.
32117         * time/strptime_l.c (__strptime_internal): Extend %z time zone
32118         offset range limits to UTC-99:59 through UTC+99:59 to parse
32119         current and historical use cases.
32120         * time/tst-strptime2.c (tests): Modify and add tests for the
32121         strptime %z input field descriptor, specifically conversion of
32122         minutes to seconds and validating an offset range of -9959 to
32123         +9959.
32125 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32126             Dmitry V. Levin  <ldv@altlinux.org>
32128         [BZ #18877]
32129         * posix/Makefile (tests): Add tst-mmap-offset.
32130         * posix/tst-mmap.c: New file.
32131         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32132         offset calculation for negative values.
32134 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32136         * sysdeps/i386/init-arch.h: New file.
32137         * sysdeps/i386/i586/init-arch.h: Likewise.
32138         * sysdeps/i386/i686/init-arch.h: Likewise.
32139         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32140         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
32141         * sysdeps/x86/cpu-features.h (bit_I586): New.
32142         (bit_I686): Likewise.
32143         (bit_CX8): Likewise.
32144         (bit_CMOV): Likewise.
32145         (index_CX8): Likewise.
32146         (index_CMOV): Likewise.
32147         (index_I586): Likewise.
32148         (index_I686): Likewise.
32149         (reg_CX8): Likewise.
32150         (reg_CMOV): Likewise.
32151         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32152         available at compile-time.
32153         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32154         available at compile-time.
32155         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32156         (USE_I686): Likewise.
32158 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32160         * sysdeps/i386/bcopy.S: New file.
32161         * sysdeps/i386/bzero.S: Likewise.
32162         * sysdeps/i386/memcpy.S: Likewise.
32163         * sysdeps/i386/memmove.S: Likewise.
32164         * sysdeps/i386/mempcpy.S: Likewise.
32165         * sysdeps/i386/memset.S: Likewise.
32166         * sysdeps/i386/bzero.c: Removed.
32167         * sysdeps/i386/memset.c: Likewise.
32168         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32169         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32170         * sysdeps/i386/i586/memset_chk.S: Likewise.
32171         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32172         * sysdeps/i386/memcpy_chk.S: Here.
32173         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32174         * sysdeps/i386/memmove_chk.S: Here.
32175         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32176         * sysdeps/i386/mempcpy_chk.S: Likewise.
32177         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32178         * sysdeps/i386/memset_chk.S: Likewise.
32180 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32182         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32183         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32184         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32185         * soft-fp/fmadf4.c: Ditto.
32186         * soft-fp/fmatf4.c: Ditto.
32188 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32190         * sysdeps/i386/i586/Implies: Removed.
32191         * sysdeps/i386/i686/Implies: Likewise.
32193 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32195         * sysdeps/i386/i486/strlen.S: Moved to ...
32196         * sysdeps/i386/strlen.S: Here.
32198 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32200         * sysdeps/i386/i486/strcat.S: Moved to ...
32201         * sysdeps/i386/strcat.S: Here.
32203 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32205         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32206         * sysdeps/i386/pthread_spin_trylock.S: Here.
32207         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32208         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32210 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32212         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32213         * sysdeps/i386/string-inlines.c: Here.
32215 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32217         * sysdeps/i386/i486/htonl.S: Moved ...
32218         * sysdeps/i386/htonl.S: here.
32220 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32222         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32223         * sysdeps/i386/bits/atomic.h: Here.
32225 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32227         * sysdeps/i386/i486/Versions: Removed.
32229 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32231         [BZ #2898]
32232         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32233         Based on patch by Aurelien Jarno.
32235 2015-08-26  Stan Shebs  <stanshebs@google.com>
32237         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32238         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32240 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32242         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32243         * sysdeps/powerpc/dl-procinfo.c:
32244         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32245         feature so it shows when LD_SHOW_AUXV=1.
32247 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32249         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32250         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32251         definition.  ISA 2.07B no longer requires full sync.
32253 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32255         [BZ #18863]
32256         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32257         (si_call_addr): Define.
32258         (si_syscall): Define.
32259         (si_arch): Define.
32261 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32263         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32264         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32265         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32266         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32267         (__memset_zero_constant_len_parameter): New.
32268         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32269         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32270         (__memset_zero_constant_len_parameter): Don't define if
32271         __memset_chk or USE_AS_BZERO are defined.
32273         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32274         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32275         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32277         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32278         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32279         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32280         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32281         comments.
32282         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32283         -mno-mmx for $(all-rtld-routines).
32284         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32285         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32286         i386.
32288 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32290         * sysdeps/generic/unwind.h
32291         (_Unwind_Word): Use __mode__(__unwind_word__)
32292         instead of __mode__(__word__).
32293         (_Unwind_Sword): Likewise.
32295         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32296         (MAX_NEEDED_INPUT): New define.
32297         (MAX_NEEDED_OUTPUT): New define.
32299         * NEWS: New item for IBM z13 string optimizations.
32301         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32302         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32303         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32304         * sysdeps/s390/multiarch/Makefile
32305         (sysdep_routines): Add memrchr functions.
32306         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32307         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32309         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32310         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32311         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32312         * sysdeps/s390/multiarch/Makefile
32313         (sysdep_routines): Add wmemcmp functions.
32314         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32315         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32316         * benchtests/bench-wmemcmp.c: New File.
32317         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32319         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32320         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32321         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32322         * sysdeps/s390/multiarch/Makefile
32323         (sysdep_routines): Add wmemset functions.
32324         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32325         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32326         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32327         * string/test-memset.c: Add wmemset support.
32328         * wcsmbs/test-wmemset.c: New File.
32329         * wcsmbs/Makefile (strop-tests): Add wmemset.
32330         * benchtests/bench-memset.c: Add wmemset support.
32331         * benchtests/bench-wmemset.c: New File.
32332         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32334         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32335         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32336         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32337         * sysdeps/s390/multiarch/Makefile
32338         (sysdep_routines): Add memccpy functions.
32339         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32340         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32341         * string/memccpy.c: Use MEMCCPY if defined.
32343         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32344         * sysdeps/s390/multiarch/memchr.c: Likewise.
32345         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32346         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32347         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32348         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32349         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32350         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32351         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32352         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32353         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32354         and rawmemchr functions.
32355         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32356         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32357         and wmemchr.
32358         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32359         * string/test-memchr.c: Add wmemchr support.
32360         * wcsmbs/test-wmemchr.c: New File.
32361         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32362         * benchtests/bench-memchr.c: Add wmemchr support.
32363         * benchtests/bench-wmemchr.c: New File.
32364         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32366         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32367         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32368         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32369         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32370         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32371         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32372         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32373         wcscspn functions.
32374         * sysdeps/s390/multiarch/ifunc-impl-list.c
32375         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32376         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32377         * string/test-strcspn.c: Add wcscspn support.
32378         * wcsmbs/test-wcscspn.c: New File.
32379         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32380         * benchtests/bench-strcspn.c: Add wcscspn support.
32381         * benchtests/bench-wcscspn.c: New File.
32382         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32384         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32385         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32386         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32387         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32388         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32389         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32391         wcspbrk functions.
32392         * sysdeps/s390/multiarch/ifunc-impl-list.c
32393         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32394         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32395         * string/test-strpbrk.c: Add wcspbrk support.
32396         * wcsmbs/test-wcspbrk.c: New File.
32397         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32398         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32399         * benchtests/bench-wcspbrk.c: New File.
32400         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32402         * sysdeps/s390/multiarch/strspn-c.c: New File.
32403         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32404         * sysdeps/s390/multiarch/strspn.c: Likewise.
32405         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32406         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32407         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32408         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32409         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32410         wcsspn functions.
32411         * sysdeps/s390/multiarch/ifunc-impl-list.c
32412         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32413         * string/test-strspn.c: Add wcsspn support.
32414         * wcsmbs/test-wcsspn.c: New File.
32415         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32416         * benchtests/bench-strspn.c: Add wcsspn support.
32417         * benchtests/bench-wcsspn.c: New File.
32418         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32420         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32421         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32422         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32423         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32424         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32425         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32426         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32427         wcsrchr functions.
32428         * sysdeps/s390/multiarch/ifunc-impl-list.c
32429         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32430         * benchtests/bench-wcsrchr.c: New File.
32431         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32433         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32434         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32435         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32436         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32437         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32438         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32439         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32440         wcschrnul functions.
32441         * sysdeps/s390/multiarch/ifunc-impl-list.c
32442         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32443         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32444         * string/test-strchr.c: Add wcschrnul support.
32445         * wcsmbs/test-wcschrnul.c: New File.
32446         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32447         * benchtests/bench-strchr.c: Add wcschrnul support.
32448         * benchtests/bench-wcschrnul.c: New File.
32449         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32451         * sysdeps/s390/multiarch/strchr-c.c: New File.
32452         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32453         * sysdeps/s390/multiarch/strchr.c: Likewise.
32454         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32455         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32456         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32457         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32458         wcschr functions.
32459         * sysdeps/s390/multiarch/ifunc-impl-list.c
32460         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32461         * string/strchr.c (STRCHR): Define and use macro.
32462         * benchtests/bench-wcschr.c: New File.
32463         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32465         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32466         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32467         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32468         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32469         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32470         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32472         wcsncmp functions.
32473         * sysdeps/s390/multiarch/ifunc-impl-list.c
32474         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32475         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32476         * benchtests/bench-strncmp.c: Add wcsncmp support.
32477         * benchtests/bench-wcsncmp.c: New File.
32478         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32480         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32481         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32482         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32483         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32484         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32485         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32486         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32487         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32488         wcscmp functions.
32489         * sysdeps/s390/multiarch/ifunc-impl-list.c
32490         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32491         * string/strcmp.c (STRCMP): Define and use macro.
32492         * benchtests/bench-wcscmp.c: New File.
32493         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32494         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32495         instead of _HAVE_STRING_ARCH_memchr.
32497         * sysdeps/s390/multiarch/strncat-c.c: New File.
32498         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32499         * sysdeps/s390/multiarch/strncat.c: Likewise.
32500         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32501         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32502         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32503         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32504         wcsncat functions.
32505         * sysdeps/s390/multiarch/ifunc-impl-list.c
32506         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32507         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32508         * string/test-strncat.c: Add wcsncat support.
32509         * wcsmbs/test-wcsncat.c: New File.
32510         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32511         * benchtests/bench-strncat.c: Add wcsncat support.
32512         * benchtests/bench-wcsncat.c: New File.
32513         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32515         * sysdeps/s390/multiarch/strcat-c.c: New File.
32516         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32517         * sysdeps/s390/multiarch/strcat.c: Likewise.
32518         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32519         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32520         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32522         wcscat functions.
32523         * sysdeps/s390/multiarch/ifunc-impl-list.c
32524         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32525         * string/strcat.c (STRCAT): Define and use macro.
32526         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32527         * string/test-strcat.c: Add wcscat support.
32528         * wcsmbs/test-wcscat.c: New File.
32529         * wcsmbs/Makefile (strop-tests): Add wcscat.
32530         * benchtests/bench-strcat.c: Add wcscat support.
32531         * benchtests/bench-wcscat.c: New File.
32532         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32534         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32535         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32536         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32537         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32538         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32539         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32541         wcpncpy functions.
32542         * sysdeps/s390/multiarch/ifunc-impl-list.c
32543         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32544         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32545         * string/test-stpncpy.c: Add wcpncpy support.
32546         * wcsmbs/test-wcpncpy.c: New File.
32547         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32548         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32549         * benchtests/bench-wcpncpy.c: New File.
32550         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32552         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32553         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32554         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32555         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32556         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32557         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32558         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32559         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32560         wcsncpy functions.
32561         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32562         * sysdeps/s390/multiarch/ifunc-impl-list.c
32563         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32564         * string/test-strncpy.c: Add wcsncpy support.
32565         * wcsmbs/test-wcsncpy.c: New File.
32566         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32567         * benchtests/bench-strncpy.c: Add wcsncpy support.
32568         * benchtests/bench-wcsncpy.c: New File.
32569         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32571         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32572         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32573         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32574         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32575         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32576         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32577         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32578         wcpcpy functions.
32579         * string/stpcpy.c: Use STPCPY if defined.
32580         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32581         * sysdeps/s390/multiarch/ifunc-impl-list.c
32582         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32583         * string/test-stpcpy.c: Add wcpcpy support.
32584         * wcsmbs/test-wcpcpy.c: New File.
32585         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32586         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32587         * benchtests/bench-wcpcpy.c: New File.
32588         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32590         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32591         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32592         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32593         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32594         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32595         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32596         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32598         wcscpy functions.
32599         * sysdeps/s390/multiarch/ifunc-impl-list.c
32600         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32601         * benchtests/bench-wcscpy.c: New File.
32602         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32604         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32605         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32606         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32607         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32608         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32609         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32610         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32611         wcsnlen functions.
32612         * sysdeps/s390/multiarch/ifunc-impl-list.c
32613         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32614         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32615         * string/test-strnlen.c: Add wcsnlen support.
32616         * wcsmbs/test-wcsnlen.c: New File.
32617         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32618         * benchtests/bench-strnlen.c: Add wcsnlen support.
32619         * benchtests/bench-wcsnlen.c: New File.
32620         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32622         * sysdeps/s390/multiarch/Makefile: New File.
32623         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32624         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32625         * sysdeps/s390/multiarch/strlen.c: Likewise.
32626         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32627         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32628         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32629         * string/strlen.c (STRLEN): Define and use macro.
32630         * sysdeps/s390/multiarch/ifunc-impl-list.c
32631         (IFUNC_VX_IMPL): New macro function.
32632         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32633         * benchtests/Makefile (wcsmbs-bench): New variable.
32634         (string-bench-all): Added wcsmbs-bench.
32635         * benchtests/bench-wcslen.c: New File.
32637         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32638         s390_vx_libc_ifunc2): New macro function.
32640         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32641         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32642         assembler support.
32643         * sysdeps/s390/configure: Regenerated.
32645         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32646         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32648         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32649         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32650         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32652         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32653         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32654         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32655         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32656         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32657         (memcmp, bcmp): Use __memcmp_default as alias source.
32658         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32659         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32660         Rename to __memcmp_default.
32661         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32662         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32663         (memcpy): Use __memcpy_default as alias source.
32664         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32665         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32666         Rename to __memcpy_default.
32667         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32668         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32669         (memset): Use __memset_default as alias source.
32670         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32671         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32672         Rename to __memset_default.
32673         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32674         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32675         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32676         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32677         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32678         (memcmp, bcmp): Use __memcmp_default as alias source.
32679         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32680         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32681         Rename to __memcmp_default.
32682         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32683         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32684         (memcpy): Use __memcpy_default as alias source.
32685         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32686         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32687         Rename to __memcpy_default.
32688         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32689         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32690         (memset): Use __memset_default as alias source.
32691         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32692         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32693         Rename to __memset_default.
32694         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32695         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32697         [BZ #18610]
32698         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32699         __ieee_instruction_pointer to __unused.
32700         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32701         __ieee_instruction_pointer.
32702         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32703         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32704         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32705         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32706         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32707         Mark dxc-field as reserved.
32709 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32711         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32712         if the weak reference is not null.
32714 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32716         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32718         [BZ #11214]
32719         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32721 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32723         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32724         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32725         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32726         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32727         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32728         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32729         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32730         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32731         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32732         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32733         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32734         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32735         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32736         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32737         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32738         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32739         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32740         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32742 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32744         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32745         register other than r0 for tabort, it has special meaning.
32746         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32747         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32748         transaction before starting syscall.
32750 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32752         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32754 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32756         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32758         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32759         * sysdeps/x86_64/rtld-memset.S: Likewise.
32760         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32761         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32762         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32763         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32765         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32767 2015-08-25  Ondƙej BĂ­lka  <neleai@seznam.cz>
32769         * debug/strcpy_chk.c: Improve performance.
32770         * debug/stpcpy_chk.c: Likewise.
32771         * sysdeps/x86_64/strcpy_chk.S: Remove.
32772         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32774         [BZ #18240]
32775         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32777 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32779         [BZ #15128]
32780         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32781         ifuncmain8.
32782         (modules-names): Add ifuncmod8.
32783         ($(objpfx)ifuncmain8): New rule.
32784         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32785         <cpuid.h>.
32786         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32787         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32788         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32789         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32790         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32791         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32792         * sysdeps/x86_64/ifuncmain8.c: New file.
32793         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32794         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32795         Removed.
32796         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32797         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32798         Change rtld_savespace_sse to __glibc_unused2.
32799         (RTLD_CHECK_FOREIGN_CALL): Removed.
32800         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32801         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32802         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32804 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32806         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32808 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32810         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32811         Unconditionally set __fpcr to avoid uninialized warning.
32812         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32814 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32816         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32817         is corrupt.
32819         * malloc/arena.c (arena_get2): Drop unused argument.
32820         (arena_lock): Adjust.
32821         (arena_get_retry): Likewise.
32823 2015-08-24  Andreas Schwab  <schwab@suse.de>
32825         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32826         Don't define.
32827         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32828         (__ASSUME_IPC64): Don't undef.
32829         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32830         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32831         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32832         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32833         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32834         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32835         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32836         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32837         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32838         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32839         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32840         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32841         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32842         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32843         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32844         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32845         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32846         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32847         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32848         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32849         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32851 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32853         * manual/Makefile (install): Only build manual when perl is available.
32855 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32857         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32858         '#undef memcpy' by '#undef memchr'.
32860 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32862         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32863         memchr not point to the internal __GI_memchr implementation.
32865 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32867         * timezone/Makefile (CFLAGS-zdump.c): Remove
32868         -Wno-strict-prototypes.
32869         (CFLAGS-zic.c): Likewise.
32870         (CFLAGS-ialloc.c): Likewise.
32871         (CFLAGS-scheck.c): Likewise.
32873         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32874         -Wno-error=undef.
32876 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32878         * i386/i686/multiarch/strcasestr-c.c: Removed.
32879         * x86_64/multiarch/strcasestr.c: Likewise.
32880         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32881         Remove strcasestr.
32883 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32885         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32887         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32888         variables for high and low parts before possibly modifying them.
32890 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32892         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32893         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32894         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32895         of "multiarch/init-arch.h".
32896         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32897         * sysdeps/x86/init-arch.h: This.
32899 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32901         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32902         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32904 2015-08-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
32906         [BZ #17787]
32907         * manual/macros.texi: Add twoexp macro.
32908         * manual/filesys.texi: Fix exponents.
32909         * manual/llio.texi: Likewise.
32910         * manual/stdio.texi: Likewise.
32912 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32914         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32915         incorrect use.
32917 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32919         [BZ #18370]
32920         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32921         whose real or imaginary part has small absolute value.
32922         * math/s_csqrtf.c (__csqrtf): Likewise.
32923         * math/s_csqrtl.c (__csqrtl): Likewise.
32924         * math/auto-libm-test-in: Add more tests of csqrt.
32925         * math/auto-libm-test-out: Regenerated.
32926         * sysdeps/i386/fpu/libm-test-ulps: Update.
32928 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32930         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32931         __ppc_set_ppr_very_low): New functions.
32932         * manual/platform.texi: Add documentation about
32933         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32935 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32937         * string/stpncpy.c (stpncpy): Improve performance using
32938         __strnlen/memcpy/memset.
32940 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32942         [BZ #18796]
32943         * scripts/test-installation.pl: Don't add -lmvec to build options if
32944         libmvec wasn't built.
32946 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32948         [BZ #14341]
32949         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32950         case when there is a gap between DT_REL and DT_JMPREL sections.
32951         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32952         (LDFLAGS-tst-split-dynreloc): New.
32953         (tst-split-dynreloc-ENV): Likewise.
32954         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32955         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32957 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32959         [BZ #18822]
32960         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32961         attribute_hidden.
32962         (__xstat64_conv): Likewise.
32963         (__xstat32_conv): Likewise.
32965 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32967         [BZ #18822]
32968         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32969         Don't load %ebx when calling __setcontext.  Call __setcontext
32970         with HIDDEN_JUMPTARGET.
32971         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32972         libc_hidden_def.
32974 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32976         * sysdeps/i386/i686/Makefile
32977         [$(subdir) == string] (sysdep_routines): Moved to ...
32978         * sysdeps/i386/Makefile: Here.
32979         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32980         * sysdeps/i386/cacheinfo.c: Here.
32981         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32982         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32983         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32984         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32986 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32988         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32989         __i586__ is defined.
32990         (HAS_I686): Defined to 1 if __i686__ is defined.
32992 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32994         * elf/Makefile [$(have-z-execstack) = yes]
32995         (CPPFLAGS-tst-execstack.c): New variable.
32997         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32998         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32999         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
33000         UTMPX || _HAVE_UT_TV].
33001         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
33002         UTMPX || _HAVE_UT_TV - 0].
33004 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
33006         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
33007         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
33008         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
33010 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
33012         * sysdeps/powerpc/dl-procinfo.c:
33013         (_dl_powerpc_cap_flags): Added missing strings for some
33014         hwcap features.
33015         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
33017 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
33019         Port the 0x7efe...feff pattern to GCC 6.
33020         See Steve Ellcey's bug report in:
33021         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
33022         * string/memrchr.c (MEMRCHR):
33023         * string/rawmemchr.c (RAWMEMCHR):
33024         * string/strchr.c (strchr):
33025         * string/strchrnul.c (STRCHRNUL):
33026         Rewrite code to avoid issues with signed shift overflow.
33028 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
33030         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
33031         whether cpuid is available only if HAS_CPUID is 0.
33032         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
33033         (HAS_I586): Likewise.
33034         (HAS_I686): Likewise.
33036 2015-08-18  Zack Weinberg  <zackw@panix.com>
33038         * misc/Versions (libc): Add GLIBC_2.23.
33040 2015-08-18  Alan Modra  <amodra@gmail.com>
33042         [BZ #18421]
33043         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
33044         .Lp__global.
33045         (_start): Load %dp via .Lp__global.
33046         [!SHARED]: Use .section .rodata.
33048 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33050         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
33051         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
33053 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33055         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
33056         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
33058 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33060         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
33061         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
33063 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33065         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33066         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33068 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33070         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33071         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33073 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33075         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33076         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33078 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33080         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33082 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33084         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33085         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
33086         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33087         (__ASSUME_LWS_CAS): Delete.
33089 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33091         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33092         * sysdeps/hppa/configure: Regenerated.
33093         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33094         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33095         * sysdeps/hppa/nptl/tls.h: Likewise.
33097 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
33099         [BZ #18823]
33100         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33101         for scaling up small arguments.
33102         * math/s_csqrtf.c (__csqrtf): Likewise.
33103         * math/s_csqrtl.c (__csqrtl): Likewise.
33104         * math/auto-libm-test-in: Add more tests of csqrt.
33105         * math/auto-libm-test-out: Regenerated.
33107 2015-08-17  Andreas Schwab  <schwab@suse.de>
33109         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33110         version set GLIBC_2.19.
33112 2015-08-16  Zack Weinberg  <zackw@panix.com>
33114         [BZ #18681]
33115         * misc/regexp.h: This interface is no longer supported.
33116         Remove all contents, leaving only an #error directive.
33117         * misc/regexp.c (loc1, loc2, locs, step, advance):
33118         Demote to compatibility symbols.
33120 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
33122         [BZ #18084]
33123         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33124         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33125         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33126         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33127         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33128         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33129         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33130         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33131         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33133 2015-08-15  Zack Weinberg  <zackw@panix.com>
33135         [BZ #18795]
33136         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33137         buffer length is known to be too large, not if it's known to be
33138         small enough.
33139         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33140         overflow at runtime, involving a length parameter, twice: once
33141         with a compile-time constant length parameter, once without.
33143 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #18824]
33146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33147         scaling x * y up instead of down.
33148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33150         * math/auto-libm-test-in: Add more tests of fma.
33151         * math/auto-libm-test-out: Regenerated.
33153 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33155         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33157 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33159         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33160         unnecessary movq.
33161         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33162         Likewise.
33164 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33166         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33167         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33168         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33169         and tgamma.
33170         * math/auto-libm-test-out: Regenerated.
33171         * sysdeps/i386/fpu/libm-test-ulps: Update.
33172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33174         [BZ #16520]
33175         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33176         (__tanh): Force underflow exception for arguments with small
33177         absolute value.
33178         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33179         (__tanhf): Force underflow exception for arguments with small
33180         absolute value.
33181         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33182         (__tanhl): Force underflow exception for arguments with small
33183         absolute value.
33184         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33185         (__tanhl): Force underflow exception for arguments with small
33186         absolute value.
33187         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33188         (__tanhl): Force underflow exception for arguments with small
33189         absolute value.
33190         * math/auto-libm-test-in: Add more tests of tanh.
33191         * math/auto-libm-test-out: Regenerated.
33192         * sysdeps/i386/fpu/libm-test-ulps: Update.
33194 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33196         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33197         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33199 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33201         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33202         <cpuid.h>.
33204 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33206         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33207         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33209 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33211         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33212         Remove $(objpfx)init-arch.o.
33213         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33214         init-arch.
33215         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33216         (INIT_ARCH_EXT): Defined as empty.
33217         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33218         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33219         __init_cpu_features call.  Replace HAS_XXX with
33220         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33222         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33224         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33225         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33226         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33227         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33228         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33229         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33231         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33238         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33239         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33240         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33241         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33242         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33243         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33244         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33245         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33246         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33249         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33250         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33252         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33253         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33254         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33255         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33257 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33259         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33260         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33261         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33262         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33263         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33264         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33265         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33266         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33267         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33268         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33269         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33270         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33271         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33272         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33273         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33274         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33275         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33276         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33277         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33278         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33279         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33280         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33281         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33282         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33283         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33284         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33285         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33286         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33287         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33288         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33289         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33290         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33291         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33292         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33293         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33294         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33295         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33296         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33297         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33298         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33299         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33300         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33301         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33303 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33305         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33306         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33307         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33308         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33309         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33310         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33311         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33312         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33313         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33314         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33315         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33316         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33317         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33318         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33319         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33320         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33321         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33322         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33323         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33324         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33326         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33327         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33328         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33329         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33330         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33331         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33332         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33333         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33334         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33335         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33336         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33337         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33338         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33339         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33340         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33341         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33342         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33343         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33344         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33345         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33346         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33347         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33349 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33351         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33352         (dl_platform_init): Call init_cpu_features.
33353         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33354         * sysdeps/i386/i686/cacheinfo.c
33355         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33356         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33357         * sysdeps/i386/i686/multiarch/Versions: Removed.
33358         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33359         Removed.
33360         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33361         * sysdeps/unix/sysv/linux/x86/Makefile
33362         (libpthread-sysdep_routines): Remove init-arch.
33363         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33364         <sysdeps/x86_64/dl-procinfo.c> instead of
33365         sysdeps/generic/dl-procinfo.c>.
33366         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33367         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33368         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33369         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33370         [$(subdir) == elf] (tests-static): Add
33371         tst-get-cpu-features-static.
33372         * sysdeps/x86/Versions: New file.
33373         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33374         * sysdeps/x86/cpu-features.c: Likewise.
33375         * sysdeps/x86/cpu-features.h: Likewise.
33376         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33377         * sysdeps/x86/libc-start.c: Likewise.
33378         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33379         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33380         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33381         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33382         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33383         Assume USE_MULTIARCH is defined and don't check it.
33384         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33385         (is_amd): Likewise.
33386         (max_cpuid): Likewise.
33387         (intel_check_word): Likewise.
33388         (__cache_sysconf): Don't call __init_cpu_features.
33389         (__x86_preferred_memory_instruction): Removed.
33390         (init_cacheinfo): Don't call __init_cpu_features. Replace
33391         __cpu_features with GLRO(dl_x86_cpu_features).
33392         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33393         (dl_platform_init): Call init_cpu_features.
33394         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33395         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33396         * sysdeps/x86_64/multiarch/Versions: Removed.
33397         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33398         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33399         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33400         Removed.
33401         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33403 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33405         [BZ #18820]
33406         * libio/Makefile (test-fmemopen-mem): New test.
33407         * libio/test-fmemopen.c (do_bz18820): New test.
33408         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33409         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33411 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33413         [BZ #16734]
33414         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33415         (FREE_BUF): Delete.
33416         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33417         * libio/genops.c (_IO_setb): Use malloc and free directly.
33418         (_IO_default_doallocate, _IO_default_finish): Likewise.
33419         ( _IO_unbuffer_all): Likewise.
33420         ( libc_freeres_fn): Likewise.
33421         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33422         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33423         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33424         (_IO_wdefault_doallocate): Likewise.
33426 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33428         [BZ #18086]
33429         * sysdeps/posix/nice.c (nice): Restore old errno.
33430         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33432 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33436 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33438         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33439         __bcopy and add a weak_alias to bcopy.
33440         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33441         for static build.
33443         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33444         cleanup macro usage.
33445         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33447         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33448         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33449         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33450         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33451         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33452         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33453         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33454         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33456         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33457         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33458         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33461         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33462         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33463         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33465         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33466         libc_hidden_def.
33467         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33469         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33470         (sysdep_routines): Add strstr-ppc64.
33471         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33473 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33475         [BZ #18778]
33476         * elf/Makefile (tests): Add Add tst-nodelete2.
33477         (modules-names): Add tst-nodelete2mod.
33478         (tst-nodelete2mod.so-no-z-defs): New.
33479         ($(objpfx)tst-nodelete2): Likewise.
33480         ($(objpfx)tst-nodelete2.out): Likewise.
33481         (LDFLAGS-tst-nodelete2): Likewise.
33482         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33483         out of loop through all loaded libraries.
33484         * elf/tst-nodelete2.c: New file.
33485         * elf/tst-nodelete2mod.c: Likewise.
33486         * elf/tst-znodelete-zlib.cc: Delete.
33488 2015-08-11  Andreas Schwab  <schwab@suse.de>
33490         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33491         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33492         (__openat64_nocancel): Likewise.
33494 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33496         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33497         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33498         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33499         * math/auto-libm-test-out: Regenerated.
33500         * sysdeps/i386/fpu/libm-test-ulps: Update.
33501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33503 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33505         [BZ #18790]
33506         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33507         threshold for returning +/- 1.
33508         * math/auto-libm-test-in: Add more tests of tanh.
33509         * math/auto-libm-test-out: Regenerated.
33510         * sysdeps/i386/fpu/libm-test-ulps: Update.
33512 2015-08-10  Andreas Schwab  <schwab@suse.de>
33514         [BZ #18781]
33515         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33516         MORE_OFLAGS to oflag.
33517         * io/test-lfs.c (do_test): Test openat64.
33519 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33521         [BZ #18789]
33522         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33523         smaller threshold for returning the argument.
33524         * math/auto-libm-test-in: Add more tests of sinh.
33525         * math/auto-libm-test-out: Regenerated.
33526         * sysdeps/i386/fpu/libm-test-ulps: Update.
33528 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33530         [BZ #18674]
33531         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33532         break.
33534 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33536         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33537         (generated): Don't add $(addprefix z.,$(tzfiles)).
33539 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33541         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33542         * scripts/sysd-rules.awk: Likewise.
33544 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33546         * iconvdata/tst-tables.sh: Change echo -n to printf.
33547         * nss/db-Makefile: Likewise.
33548         * posix/tst-getconf.sh: Likewise.
33549         * stdio-common/tst-unbputc.sh: Likewise.
33551 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33553         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33554         MADV_*_PAGES defines behind this feature check.
33556 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33558         [BZ #18480]
33559         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33560         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33561         Define.
33562         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33563         LOAD_REGS_5, LOAD_REGS_6): Update.
33564         (INTERNAL_SYSCALL): Update using new LOAD defines.
33565         (INTERNAL_SYSCALL_NCS): Likewise.
33566         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33568 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33570         [BZ #16734]
33571         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33573 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33575         [BZ #17905]
33576         * catgets/Makefile (tst-catgets-mem): New test.
33577         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33578         * catgets/open_catalog.c (__open_catalog): Likewise.
33579         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33581 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33583         [BZ #18787]
33584         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33585         clobber registers.
33586         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33587         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33588         Cast return to __typeof (oldval).
33590 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33592         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33593         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33594         and delete sys/syscall.h include.
33596 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33598         [BZ #16517]
33599         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33600         (tan): Force underflow exception for arguments with small absolute
33601         value.
33602         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33603         (__kernel_tanf): Force underflow exception for arguments with
33604         small absolute value.
33605         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33606         (__kernel_tanl): Force underflow exception for arguments with
33607         small absolute value.
33608         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33609         (__kernel_tanl): Force underflow exception for arguments with
33610         small absolute value.
33611         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33612         (__kernel_tanl): Force underflow exception for arguments with
33613         small absolute value.
33614         * math/auto-libm-test-in: Add more tests of tan.
33615         * math/auto-libm-test-out: Regenerated.
33617 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33619         Fix sysdeps/i386/fpu/s_scalbn.S build
33621         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33623 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33625         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33627 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33629         Fix gcrt0.o compilation
33631         When static-start-installed-name is different from
33632         start-installed-name, we must not use the shared objects.
33634         * csu/Makefile
33635         (extra-objs): Add gmon-start.o when building shared library and
33636         $(static-start-installed-name) is different from
33637         $(start-installed-name).
33638         $(objpfx)g$(static-start-installed-name): When building shared
33639         library and $(static-start-installed-name) is different from
33640         $(static-start-installed-name), revert to non-shared rule,
33641         i.e. using $(objpfx)% and gmon-start.o.
33643 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33645         [BZ #16519]
33646         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33647         (__ieee754_sinh): Force underflow exception for arguments with
33648         small absolute value.
33649         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33650         (__ieee754_sinhf): Force underflow exception for arguments with
33651         small absolute value.
33652         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33653         (__ieee754_sinhl): Force underflow exception for arguments with
33654         small absolute value.
33655         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33656         (__ieee754_sinhl): Force underflow exception for arguments with
33657         small absolute value.
33658         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33659         (__ieee754_sinhl): Force underflow exception for arguments with
33660         small absolute value.
33661         * math/auto-libm-test-in: Add more tests of sinh.
33662         * math/auto-libm-test-out: Regenerated.
33663         * sysdeps/i386/fpu/libm-test-ulps: Update.
33665 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33667         * libio/oldfileops.c: Include unistd.h.
33669 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33671         * stdlib/isomac.c: Include ctype.h.
33673 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33675         * dirent/tst-seekdir.c (main): Converted to ...
33676         (do_test): ... this.
33677         (TEST_FUNCTION): New macro.
33678         Include test-skeleton.c.
33679         * elf/tst-dlmodcount.c (main): Converted to ...
33680         (do_test): ... this.
33681         (TEST_FUNCTION): New macro.
33682         Include test-skeleton.c.
33683         * elf/tst-order-main.c (main): Converted to ...
33684         (do_test): ... this.
33685         (TEST_FUNCTION): New macro.
33686         Include test-skeleton.c.
33687         * elf/tst-pie2.c (main): Converted to ...
33688         (do_test): ... this.
33689         (TEST_FUNCTION): New macro.
33690         Include test-skeleton.c.
33691         * inet/tst-ether_aton.c (main): Converted to ...
33692         (do_test): ... this.
33693         (TEST_FUNCTION): New macro.
33694         Include test-skeleton.c.
33695         * misc/tst-mntent.c (main): Converted to ...
33696         (do_test): ... this.
33697         (TEST_FUNCTION): New macro.
33698         Include test-skeleton.c.
33699         * misc/tst-tsearch.c (main): Converted to ...
33700         (do_test): ... this.
33701         (TEST_FUNCTION): New macro.
33702         Include test-skeleton.c.
33703         * posix/tst-regexloc.c (main): Converted to ...
33704         (do_test): ... this.
33705         (TEST_FUNCTION): New macro.
33706         Include test-skeleton.c.
33707         * resolv/tst-aton.c (main): Converted to ...
33708         (do_test): ... this.
33709         (TEST_FUNCTION): New macro.
33710         Include test-skeleton.c.
33711         * stdio-common/test-fwrite.c (main): Converted to ...
33712         (do_test): ... this.
33713         (TEST_FUNCTION): New macro.
33714         Include test-skeleton.c.
33715         * stdio-common/tst-ferror.c (main): Converted to ...
33716         (do_test): ... this.
33717         (TEST_FUNCTION): New macro.
33718         Include test-skeleton.c.
33719         * stdio-common/tst-printf.c (main): Converted to ...
33720         (do_test): ... this.
33721         (TEST_FUNCTION): New macro.
33722         Include test-skeleton.c.
33723         * stdio-common/tst-printfsz.c (main): Converted to ...
33724         (do_test): ... this.
33725         (TEST_FUNCTION): New macro.
33726         Include test-skeleton.c.
33727         * stdlib/tst-strtod.c (main): Converted to ...
33728         (do_test): ... this.
33729         (TEST_FUNCTION): New macro.
33730         Include test-skeleton.c.
33731         * string/tst-strlen.c (main): Converted to ...
33732         (do_test): ... this.
33733         (TEST_FUNCTION): New macro.
33734         Include test-skeleton.c.
33735         * string/tst-svc.c (main): Converted to ...
33736         (do_test): ... this.
33737         (TEST_FUNCTION): New macro.
33738         Include test-skeleton.c.
33739         * time/tst-strptime.c (main): Converted to ...
33740         (do_test): ... this.
33741         (TEST_FUNCTION): New macro.
33742         Include test-skeleton.c.
33743         * timezone/tst-timezone.c (main): Converted to ...
33744         (do_test): ... this.
33745         (TEST_FUNCTION): New macro.
33746         Include test-skeleton.c.
33748 2015-08-05  Zack Weinberg  <zackw@panix.com>
33750         * misc/regexp.h: Update comments.
33752 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33754         [BZ #18635]
33755         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33756         before return label.
33758 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33760         [BZ #18661]
33761         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33762         when calling __errno_location.
33763         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33764         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33766 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33768         [BZ #18661]
33769         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33770         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33771         __gettimeofday.
33773 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33775         [BZ #18661]
33776         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33777         (__start_context): Don't use pop to restore %rdi so that stack
33778         is aligned to 16 bytes when calling __setcontext.
33780 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33782         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33783         only for libc.
33784         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33786 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33788         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33789         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33790         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33792 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33794         * string/memccpy.c (memccpy):
33795         Improve performance by using memchr/memcpy/__mempcpy.
33797 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33799         * string/strncpy.c (strncpy):
33800         Improve performance by using __strnlen/memcpy.
33802 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33804         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33805         Optimize to avoid an unnecessary FPCR read.
33807 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33809         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33810         Optimize to reduce FPCR/FPSR accesses.
33812 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33814         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33815         dead->data[category] != NULL.
33817 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33819         [BZ #18647]
33820         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33821         and |x| close to 1, use absolute value of x when computing log.
33822         * math/auto-libm-test-in: Add more tests of pow.
33823         * math/auto-libm-test-out: Regenerated.
33825 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33827         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33828         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33829         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33831 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33833         [BZ #18525]
33834         * locales/km_KH: Remove timezone definition.
33835         * locales/lo_LA: Likewise.
33836         * locales/my_MM: Likewise.
33837         * locales/nan_TW@latin: Likewise.
33838         * locales/th_TH: Likewise.
33839         * locales/uk_UA: Likewise.
33841 2015-08-05  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
33843         [BZ #18265]
33844         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33845         (wcsncat): Likewise.
33846         (wcscmp): Likewise.
33847         (wcsncmp): Likewise.
33849 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33851         * test-skeleton.c (usage): New function.
33852         (main): Call usage when opt is '?'.
33854 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33856         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33857         before first use.
33859 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33861         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33862         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33863         in there too.
33865 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33867         * version.h (RELEASE): Set to "development".
33868         (VERSION): Set to "2.22.90"
33870         * version.h (RELEASE): Set to "stable".
33871         (VERSION): Set to "2.22"
33872         * include/features.h (__GLIBC_MINOR__): Set to 22.
33874 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33876         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33877         Restructure macro to avoid "value computed is not used" warning.
33878         (atomic_compare_and_exchange_val_acq): Likewise.
33880 2015-08-04  Andreas Schwab  <schwab@suse.de>
33882         [BZ #18635]
33883         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33884         ret.
33885         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33887 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33889         * po/pl.po: Updated translation.
33890         * po/uk.po: Likewise.
33891         * po/fi.po: Likewise.
33892         * po/ko.po: Likewise.
33893         * po/ru.po: Likewise.
33894         * po/vi.po: Likewise.
33896 2015-07-31  Zack Weinberg  <zackw@panix.com>
33898         [BZ #18681]
33899         * regexp.h: Add unconditional #warning stating that this header
33900         will be removed soon.  Revise banner comment to match.
33901         (compile): Consistently use ERROR instead of RETURN to report
33902         errors (partial fix for BZ #18681).
33903         * regexp.c: Don't include regexp.h. Remove some unnecessary
33904         declarations.
33906 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33908         * po/libc.pot: Regenerated.
33910 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33912         [BZ #18740]
33913         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33914         float-vlen4-arch-ext-cflags): Removed.
33915         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33916         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33918 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33920         [BZ #14113]
33921         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33922         aligned to __aligned__.
33923         (pthread_cond_t, pthread_rwlock_t): Likewise.
33925 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33927         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33929 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33931         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33932         (struct sigaction): Change sa_flags from a long to an int, and add
33933         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33935 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33937         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33938         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33939         sysdeps/generic/sysdep.h include.
33940         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33941         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33942         sysdeps/hppa/sysdep.h.
33943         (ENTRY, PSEUDO): Undefine before defining.
33945 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33947         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33948         from scratch to use INTERNAL_SYSCALL.
33950 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33952         [BZ #18078]
33953         * scripts/check-localplt.awk: Support alternate relocations.
33954         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33955         sections.
33956         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33957         malloc entries with + REL R_386_GLOB_DAT.
33958         * sysdeps/x86_64/localplt.data: New file.
33960 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33962         [BZ #18731]
33963         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33964         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33965         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33967 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33969         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33971 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33973         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33974         directly in terms of __sync_fetch_and_add and delete (int) cast.
33976 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33978         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33979         the -D_ASM_IA64_CURRENT_H flag.
33981 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33983         [BZ #18641]
33984         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33986 2015-07-27  Andreas Schwab  <schwab@suse.de>
33988         * conform/conformtest.pl (checknamespace): Filter out string
33989         literals while tokenizing.
33991 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33993         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33994         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33995         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33997 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33999         * nptl/tst-join7mod.c: Add #include <string.h>.
34001 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
34003         * sysdeps/nios2/libm-test-ulps: Update.
34005 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
34007         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
34008         Fix order of arguments to the rt_sigprocmask syscall.
34009         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
34010         Likewise.
34012 2015-07-24  Roland McGrath  <roland@hack.frob.com>
34014         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
34016 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34018         [BZ #18457]
34019         * nptl/Makefile (tests): New test case tst-join7.
34020         (modules-names): New test case module tst-join7mod.
34021         * nptl/tst-join7.c: New file.
34022         * nptl/tst-join7mod.c: New file.
34023         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
34024         all translation units in libc.so, libpthread.so and rtld.
34026 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34030 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34032         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
34033         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
34034         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
34035         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
34036         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
34037         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
34038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
34039         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
34040         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
34041         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
34042         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
34043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
34044         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
34045         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34046         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
34047         implementation.
34049 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34051         [BZ #17711]
34052         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34053         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
34054         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34055         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34056         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
34057         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34059 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34061         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
34062         instead of just saying load lock in the comments.
34064 2015-07-23  Roland McGrath  <roland@hack.frob.com>
34066         * sysdeps/unix/Subdirs: Moved ...
34067         * sysdeps/posix/Subdirs: ... here.
34068         * login/pty.h (struct termios, struct winsize): Add forward decls.
34069         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34070         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34071         * sysdeps/arm/nacl/libc.abilist: Updated.
34072         * sysdeps/nacl/libutil.abilist: New file.
34074         * bits/signum.h: Update comments to mention 1003.1-2013 too.
34075         (SIGWINCH): New macro.
34077         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34078         * sysdeps/arm/nacl/libc.abilist: Add it.
34080 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34082         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34084 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34086         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34087         Swap __glibc_reserved0 and sa_flags order.
34089 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34091         [BZ #18657]
34092         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34093         are pending TLS destructor calls.
34094         * include/link.h (struct link_map): Add concurrency note for
34095         L_TLS_DTOR_COUNT.
34096         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34097         Don't touch the link map flag.  Atomically increment
34098         l_tls_dtor_count.
34099         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34100         Avoid taking the load lock and don't touch the link map flag.
34101         * stdlib/tst-tls-atexit-nodelete.c: New test case.
34102         * stdlib/Makefile (tests): Use it.
34103         * stdlib/tst-tls-atexit.c (do_test): dlopen
34104         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
34105         to allow tst-tls-atexit-nodelete test case to use it.
34107 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34109         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34110         to bits/types.h.
34111         (msgqnum_t): New typedef.
34112         (msglen_t): Likewise.
34113         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
34114         and msg_qbytes type to msglen_t.
34116 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34118         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34119         pad0 to __glibc_reserved0.
34120         (struct stat64): Likewise.
34122 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34124         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34125         Change sa_flags from a long to an int and add __glibc_reserved0 before
34126         it for padding.
34128 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34130         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34131         anonymous by deleting "siginfo" name.
34133 2015-07-21  Roland McGrath  <roland@hack.frob.com>
34135         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34136         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34137         rather than __nacl_irt_filename.
34138         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34140         * NEWS: New item for arm-nacl port.
34141         * sysdeps/arm/nacl/libc.abilist: New file.
34142         * sysdeps/nacl/ld.abilist: New file.
34143         * sysdeps/nacl/libBrokenLocale.abilist: New file.
34144         * sysdeps/nacl/libanl.abilist: New file.
34145         * sysdeps/nacl/libcrypt.abilist: New file.
34146         * sysdeps/nacl/libdl.abilist: New file.
34147         * sysdeps/nacl/libm.abilist: New file.
34148         * sysdeps/nacl/libpthread.abilist: New file.
34149         * sysdeps/nacl/libresolv.abilist: New file.
34150         * sysdeps/nacl/librt.abilist: New file.
34152 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
34154         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34155         __startcontext to initialize the new context.
34156         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34157         up CFI directive to forbid further backtracing.
34159 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
34161         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34162         reference.
34163         * charmaps/ANSI_X3.4-1968: Likewise.
34164         * charmaps/BS_4730: Likewise.
34165         * charmaps/BS_VIEWDATA: Likewise.
34166         * charmaps/CP1250: Likewise.
34167         * charmaps/CP1251: Likewise.
34168         * charmaps/CP1252: Likewise.
34169         * charmaps/CP1253: Likewise.
34170         * charmaps/CP1254: Likewise.
34171         * charmaps/CP1255: Likewise.
34172         * charmaps/CP1256: Likewise.
34173         * charmaps/CSN_369103: Likewise.
34174         * charmaps/EBCDIC-DK-NO: Likewise.
34175         * charmaps/GB_1988-80: Likewise.
34176         * charmaps/GREEK-CCITT: Likewise.
34177         * charmaps/GREEK7: Likewise.
34178         * charmaps/INIS-8: Likewise.
34179         * charmaps/ISIRI-3342: Likewise.
34180         * charmaps/ISO_2033-1983: Likewise.
34181         * charmaps/ISO_5427-EXT: Likewise.
34182         * locales/POSIX: Likewise.
34183         * locales/ar_SA: Likewise.
34184         * locales/be_BY: Likewise.
34185         * locales/be_BY@latin: Likewise.
34186         * locales/ca_ES: Likewise.
34187         * locales/cs_CZ: Likewise.
34188         * locales/da_DK: Likewise.
34189         * locales/de_BE: Likewise.
34190         * locales/de_CH: Likewise.
34191         * locales/de_LU: Likewise.
34192         * locales/en_AU: Likewise.
34193         * locales/en_BW: Likewise.
34194         * locales/en_CA: Likewise.
34195         * locales/en_DK: Likewise.
34196         * locales/en_GB: Likewise.
34197         * locales/en_IE: Likewise.
34198         * locales/en_NZ: Likewise.
34199         * locales/en_ZA: Likewise.
34200         * locales/en_ZW: Likewise.
34201         * locales/es_AR: Likewise.
34202         * locales/es_BO: Likewise.
34203         * locales/es_CL: Likewise.
34204         * locales/es_CO: Likewise.
34205         * locales/es_DO: Likewise.
34206         * locales/es_EC: Likewise.
34207         * locales/es_ES: Likewise.
34208         * locales/es_HN: Likewise.
34209         * locales/es_MX: Likewise.
34210         * locales/es_PA: Likewise.
34211         * locales/es_PE: Likewise.
34212         * locales/es_PY: Likewise.
34213         * locales/es_SV: Likewise.
34214         * locales/es_US: Likewise.
34215         * locales/es_UY: Likewise.
34216         * locales/es_VE: Likewise.
34217         * locales/et_EE: Likewise.
34218         * locales/fa_IR: Likewise.
34219         * locales/fo_FO: Likewise.
34220         * locales/fr_CA: Likewise.
34221         * locales/fr_CH: Likewise.
34222         * locales/gv_GB: Likewise.
34223         * locales/he_IL: Likewise.
34224         * locales/hr_HR: Likewise.
34225         * locales/id_ID: Likewise.
34226         * locales/is_IS: Likewise.
34227         * locales/it_CH: Likewise.
34228         * locales/iw_IL: Likewise.
34229         * locales/kl_GL: Likewise.
34230         * locales/ko_KR: Likewise.
34231         * locales/kw_GB: Likewise.
34232         * locales/lg_UG: Likewise.
34233         * locales/lt_LT: Likewise.
34234         * locales/lv_LV: Likewise.
34235         * locales/mi_NZ: Likewise.
34236         * locales/nhn_MX: Likewise.
34237         * locales/nl_BE: Likewise.
34238         * locales/pl_PL: Likewise.
34239         * locales/sk_SK: Likewise.
34240         * locales/sl_SI: Likewise.
34241         * locales/sv_FI: Likewise.
34242         * locales/tl_PH: Likewise.
34243         * locales/tr_TR: Likewise.
34244         * locales/vi_VN: Likewise.
34246 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34248         [BZ #17475]
34249         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34250         of tu_IN and bh_IN.
34252 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34254         [BZ #18694]
34255         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34256         bits/wordsize.h.
34257         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34259 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34261         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34262         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34263         (spawn_thread): New function.
34264         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34265         (do_test): ... here.  Use IS_LOADED to test for its
34266         availability.
34268 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34270         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34272 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34274         [BZ #18696]
34275         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34276         si_addr_bnd.
34277         (si_lower): New.
34278         (si_upper): Likewise.
34280 2015-07-16  David S. Miller  <davem@davemloft.net>
34282         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34284 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34286         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34287         buffer.
34288         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34289         fail output information.
34291 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34294         and strstr-ppc64..
34295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34296         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34297         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34298         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34299         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34301 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34303         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34304         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34305         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34306         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34308 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34310         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34311         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34312         rtld_hidden_proto.
34313         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34315 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34317         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34318         the test can fail.
34320         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34322         [BZ #18676]
34323         * elf/tst-nodelete-opened.c: New test case.
34324         * elf/tst-nodelete-opened-lib.c: New test case module.
34325         * elf/Makefile (tests, modules-names): Use them.
34326         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34327         early.
34329 2015-07-15  David S. Miller  <davem@davemloft.net>
34331         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34332         futex-intenal.h
34333         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34334         * sysdeps/sparc/sparc64/Makefile: Likewise.
34335         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34336         Remove space from macro define.
34337         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34339 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34341         [BZ #17475]
34342         * locale/iso-639.def: Update Bhili and Tulu language codes as
34343         per iso639-3.
34345 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34347         * elf/tst-leaks1.c (main): Converted to ...
34348         (do_test): ... this.
34349         (TEST_FUNCTION): New macro.
34350         Include test-skeleton.c.
34351         * localedata/tst-langinfo.c (main): Converted to ...
34352         (do_test): ... this.
34353         (TEST_FUNCTION): New macro.
34354         Include test-skeleton.c.
34355         * math/test-fpucw.c (main): Converted to ...
34356         (do_test): ... this.
34357         (TEST_FUNCTION): New macro.
34358         Include test-skeleton.c.
34359         * math/test-tgmath.c (main): Converted to ...
34360         (do_test): ... this.
34361         (TEST_FUNCTION): New macro.
34362         Include test-skeleton.c.
34363         * math/test-tgmath2.c (main): Converted to ...
34364         (do_test): ... this.
34365         (TEST_FUNCTION): New macro.
34366         Include test-skeleton.c.
34367         * setjmp/tst-setjmp.c (main): Converted to ...
34368         (do_test): ... this.
34369         (TEST_FUNCTION): New macro.
34370         Include test-skeleton.c.
34371         * stdio-common/tst-sscanf.c (main): Converted to ...
34372         (do_test): ... this.
34373         (TEST_FUNCTION): New macro.
34374         Include test-skeleton.c.
34375         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34376         (do_test): ... this.
34377         (TEST_FUNCTION): New macro.
34378         Include test-skeleton.c.
34380         * elf/tst-audit9.c (main): Converted to ...
34381         (do_test): ... this.
34382         (TEST_FUNCTION): New macro.
34383         Include test-skeleton.c.
34385 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34387         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34389 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34391         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34392         New variable.
34394 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34396         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34398 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34400         * sysdeps/generic/dl-fileid.h: New file.
34401         * sysdeps/posix/dl-fileid.h: New file.
34402         * sysdeps/nacl/dl-fileid.h: New file.
34403         * include/link.h: Include <dl-fileid.h>.
34404         (struct link_map): Replace l_dev and l_ino with l_file_id.
34405         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34406         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34407         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34409 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34411         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34413 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34415         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34416         Add iff $CXX is set.
34417         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34418         Likewise.
34419         (tst-nodelete-zmodiff): Likewise.
34420         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34422 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34424         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34426 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34428         * sysdeps/aarch64/fpu/math_private.h
34429         (define math_opt_barrier): Add AArch64 version.
34430         (math_force_eval): Likewise.
34432 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34434         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34436 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34438         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34439         %ld with %jd and cast to intmax_t.
34440         (do_test_length_zero): Likewise.
34442 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34444         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34446 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34448         * sysdeps/tile/libm-test-ulps: Regenerated.
34450         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34451         Comment out the whole function, not just its body.
34453 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34455         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34456         locks.
34458         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34460 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34462         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34463         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34465 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34467         * sysdeps/nptl/futex-internal.h: New file.
34468         * sysdeps/nacl/futex-internal.h: New file.
34469         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34470         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34471         error checking.
34472         (setxid_unmark_thread): Likewise.
34473         (__nptl_setxid): Likewise.
34474         (__wait_lookup_done): Likewise.
34475         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34476         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34477         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34478         * nptl/pthread_once.c (clear_once_control): Likewise.
34479         (__pthread_once_slow): Likewise.
34480         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34481         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34482         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34483         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34484         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34485         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34486         Likewise.
34487         (__pthread_rwlock_rdlock): Likewise.
34488         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34489         Likewise.
34490         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34491         Likewise.
34492         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34493         Likewise.
34494         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34495         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34496         Likewise.
34497         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34498         __ASSUME_PRIVATE_FUTEX check.
34499         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34500         Check that shared futexes are supported.
34501         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34502         wrappers with error checking.
34503         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34504         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34505         * nptl/pthread_barrierattr_setpshared.c
34506         (pthread_barrierattr_setpshared): Check that shared futexes are
34507         supported.
34508         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34509         Likewise.
34510         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34511         Likewise.
34512         * nptl/sem_init.c (futex_private_if_supported): Remove.
34513         (__new_sem_init): Adapt and check that shared futexes are supported.
34514         * nptl/sem_open.c (sem_open): Likewise.
34515         * nptl/sem_post.c (futex_wake): Remove.
34516         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34517         (do_futex_wait): Use futex wrappers with error checking.
34518         * nptl/sem_wait.c: Include lowlevellock.h.
34519         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34520         Use futex_supports_pshared.
34521         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34522         Use futex wrappers with error checking.
34523         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34524         Likewise.
34525         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34526         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34527         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34528         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34529         (futex_wake): Likewise.
34530         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34531         (do_futex_wait): Use futex wrappers with error checking.
34532         (__new_sem_wait_slow): Update EINTR handling.
34533         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34535 2015-07-09  Martin Sebor  <msebor@redhat.com>
34537         [BZ #18435]
34538         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34539         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34540         * nptl/Makefile (test-xfail-tst-once5): Define.
34542 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34544         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34545         * elf/dl-minimal.c: For readability, reorder some definitions and
34546         introduce more page breaks.  Include <stdio.h>.
34547         (__libc_fatal): New function.
34549         * include/unistd.h: Add rtld_hidden_proto for _exit.
34550         * posix/_exit.c: Add rtld_hidden_def.
34551         * sysdeps/mach/hurd/_exit.c: Likewise.
34552         * sysdeps/nacl/_exit.c: Likewise.
34553         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34554         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34556 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34559         bndmov encoding with zero displacement.
34561 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34562             H.J. Lu  <hongjiu.lu@intel.com>
34564         [BZ #18134]
34565         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34566         * sysdeps/i386/configure: Regenerated.
34567         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34568         (_dl_runtime_profile): Save and restore Intel MPX return bound
34569         registers when calling _dl_call_pltexit.  Add
34570         PRESERVE_BND_REGS_PREFIX before return.
34571         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34572         (LRV_BND1_OFFSET): Likewise.
34573         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34574         lrv_bnd1.
34575         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34576         typo in bndmov encoding.
34577         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34578         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34579         branch instructions to preserve bounds.
34581 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34584         [GLIBC_2.22]: Add fmemopen.
34586 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34588         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34589         returns an error, also try to use host port from __mach_host_self for
34590         the __vm_wire call.
34591         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34593 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34595         [BZ #18400]
34596         [BZ #18648]
34597         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34598         Fix pr_uid and pr_gid members.
34599         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34600         definition to elf_greg_t.
34602 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34604         [BZ #18383]
34605         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34606         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34607         * sysdeps/arm/configure: Regenerated.
34608         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34609         (test-xfail-tst-tlsalign-static): Variable removed.
34611         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34612         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34613         rather than explicit 'ln -s'.
34615         * resolv/rpc/netdb.h: New file.
34616         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34618 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34620         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34621         length buffers.
34622         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34623         test-skeleton.c.
34625         [BZ #6544]
34626         [BZ #11216]
34627         [BZ #12836]
34628         [BZ #13151]
34629         [BZ #13152]
34630         [BZ #14292]
34631         * include/stdio.h (fmemopen): Remove hidden prototype.
34632         (__fmemopen): Add new hidden prototype.
34633         * libio/Makefile: Add oldfmemopen object.
34634         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34635         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34636         compliance.
34637         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34638         symbol compatibility.
34639         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34640         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34641         fmemopen.
34642         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34643         on append and read mode.
34644         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34645         fmemopen.
34646         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34647         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34648         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34649         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34650         Likewise.
34651         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34652         [GLIBC_2.22]: Likewise.
34653         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34654         Likewise.
34655         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34656         Likewise.
34657         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34658         [GLIBC_2.22]: Likewise.
34659         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34660         [GLIBC_2.22]: Likewise.
34661         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34662         [GLIBC_2.22]: Likewise.
34663         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34664         [GLIBC_2.22]: Likewise.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34666         [GLIBC_2.22]: Likewise.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34668         [GLIBC_2.22]: Likewise.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34670         [GLIBC_2.22]: Likewise.
34671         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34672         Likewise.
34673         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34674         Likewise.
34675         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34676         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34677         [GLIBC_2.22]: Likewise.
34678         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34679         [GLIBC_2.22]: Likewise.
34680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34681         [GLIBC_2.22]: Likewise.
34682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34683         [GLIBC_2.22]: Likewise.
34684         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34685         Likewise.
34686         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34687         Likewise.
34688         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34689         Likewise.
34690         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34691         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34693 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34695         [BZ #18643]
34696         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34697         IPV6_PATHMTU, and IPV6_DONTFRAG.
34699 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34701         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34702         and _IO_UNBUFFERED.
34703         * libio/oldfileops.c: Likewise.
34704         * libio/wfileops.c: Likewise.
34706 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34708         * nscd/selinux.c: Delete selinux/flask.h include.
34710 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34712         [BZ #18641]
34713         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34714         (putpwent): Likewise.
34715         (getpwnam): Likewise.
34716         (getpwent_r): Likewise.
34717         (getpwuid_r): Likewise.
34718         (getpwnam_r): Likewise.
34719         (fgetpwent_r): Likewise.
34721 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34723         [BZ #18557]
34724         * inet/rcmd.c (__validuser2_sa): Check user first to
34725         short-circuit host check.
34727 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34728             Mikhail Ilin  <m.ilin@samsung.com>
34730         [BZ #17833]
34731         * elf/Makefile (tests): Add tst-nodelete.
34732         (modules-names): Add tst-nodelete-uniquemod.
34733         (tst-nodelete-uniquemod.so-no-z-defs): New.
34734         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34735         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34736         ($(objpfx)tst-nodelete): Likewise.
34737         ($(objpfx)tst-nodelete.out): Likewise.
34738         (LDFLAGS-tst-nodelete): Likewise.
34739         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34740         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34741         implement forced object deletion.
34742         (_dl_close): Pass false to _dl_close_worker.
34743         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34744         * elf/tst-nodelete.cc: New file.
34745         * elf/tst-nodeletelib.cc: Likewise.
34746         * elf/tst-znodeletelib.cc: Likewise.
34747         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34749 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34751         [BZ #18508]
34752         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34753         Depend on $(libdl).
34754         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34755         is not called infinitely times.
34756         (backtrace_helper): New function.
34757         (trace_arg): New struct.
34758         (st1): Enlarge stack size.
34759         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34760         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34761         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34762         Likewise.
34764 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34766         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34768 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34770         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34771         Include sys/types.h instead of bits/types.h.
34772         Remove inclusion of bits/wordsize.h.
34774 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34776         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34777         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34778         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34779         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34780         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34781         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34783 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34785         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34786         link-defines.sym.
34787         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34788         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34789         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34790         and LR_SIZE.
34791         * sysdeps/i386/link-defines.sym: New file.
34793 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34795         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34796         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34797         ($(objpfx)tst-audit3): New rule.
34798         ($(objpfx)tst-audit3.out): Likewise.
34799         * sysdeps/i386/tst-audit3.c: New file.
34800         * sysdeps/i386/tst-audit3.h: Likewise.
34801         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34802         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34804 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34806         [BZ #18633]
34807         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34808         pointer in C code.
34809         (__strcat_c): Likewise.
34810         (__strcat_g): Likewise.
34812 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34814         [BZ #18592]
34815         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34817 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34819         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34820         New function.  (__ieee754_sqrtf): New function.
34821         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34822         New function.
34823         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34824         New function.
34826 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34828         * sysdeps/ieee754/support.c: Remove unused file.
34830 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34832         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34833         registers instead of d ones so the layout is kernel abi compatible.
34834         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34835         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34836         Likewise.
34838 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34840         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34842 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34844         [BZ #18619]
34845         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34846         and return argument in case of subnormal argument.
34848 2015-07-01  Martin Sebor  <msebor@redhat.com>
34850         [BZ #18435]
34851         * nptl/Makefile: Add tst-once5.cc.
34852         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34853         Remove macro redefinitions.
34854         * nptl/tst-once5.cc: New test.
34856 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34858         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34860         * sysdeps/arm/libm-test-ulps: Regenerated.
34862         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34863         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34865 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34867         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34868         lll_lock_wait_private and lll_futex_wake probes.
34870         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34871         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34872         Likewise.
34873         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34874         atomic_spin_nop.
34875         * sysdeps/x86_64/bits/atomic.h: Likewise.
34876         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34877         to atomic_spin_nop and move ...
34878         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34879         ... here and ...
34880         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34881         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34882         atomic_spin_nop instead of BUSY_WAIT_NOP.
34883         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34884         Likewise.
34885         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34886         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34887         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34888         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34889         instead of atomic_delay.
34891 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34893         [BZ #18613]
34894         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34895         X_ADJ not X when adjusting exponent.
34896         (__ieee754_gamma_r): Do intermediate computations in
34897         round-to-nearest then adjust overflowing and underflowing results
34898         as needed.
34899         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34900         of X_ADJ not X when adjusting exponent.
34901         (__ieee754_gammaf_r): Do intermediate computations in
34902         round-to-nearest then adjust overflowing and underflowing results
34903         as needed.
34904         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34905         log of X_ADJ not X when adjusting exponent.
34906         (__ieee754_gammal_r): Do intermediate computations in
34907         round-to-nearest then adjust overflowing and underflowing results
34908         as needed.  Use 1.0L not 1.0f as numerator of division.
34909         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34910         log of X_ADJ not X when adjusting exponent.
34911         (__ieee754_gammal_r): Do intermediate computations in
34912         round-to-nearest then adjust overflowing and underflowing results
34913         as needed.  Use 1.0L not 1.0f as numerator of division.
34914         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34915         of X_ADJ not X when adjusting exponent.
34916         (__ieee754_gammal_r): Do intermediate computations in
34917         round-to-nearest then adjust overflowing and underflowing results
34918         as needed.  Use 1.0L not 1.0f as numerator of division.
34919         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34920         to auto-libm-test-in.
34921         (tgamma_test): Use ALL_RM_TEST.
34922         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34923         tests of tgamma with spurious-overflow.
34924         * math/auto-libm-test-out: Regenerated.
34925         * math/gen-libm-have-vector-test.sh: Do not check for START.
34926         * sysdeps/i386/fpu/libm-test-ulps: Update.
34927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34929         [BZ #18612]
34930         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34931         arguments, just return 0.5 times the argument, with underflow
34932         forced as needed.
34933         * math/auto-libm-test-in: Add more tests of j1.
34934         * math/auto-libm-test-out: Regenerated.
34936         [BZ #16559]
34937         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34938         (__ieee754_j1): Force underflow exception for small results.
34939         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34940         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34941         (__ieee754_j1f): Force underflow exception for small results.
34942         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34943         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34944         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34945         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34946         (__ieee754_j1l): Force underflow exception for small results.
34947         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34948         * math/auto-libm-test-in: Add more tests of j1 and jn.
34949         * math/auto-libm-test-out: Regenerated.
34951         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34952         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34953         (PF_MPLS): Likewise.
34954         (AF_IB): Likewise.
34955         (AF_MPLS): Likewise.
34956         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34957         value and macro.
34958         (MS_RMT_MASK): Include MS_LAZYTIME.
34960 2015-06-26  Mel Gorman  <mgorman@suse.de>
34962         [BZ #18502]
34963         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34964         already minimal.
34966 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34968         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34969         (DT_MIPS_NUM): Update.
34970         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34971         DT_MIPS_RLD_MAP_REL.
34973 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34975         [BZ #16559]
34976         [BZ #18602]
34977         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34978         round-to-nearest internally then recompute results that
34979         underflowed to zero in the original rounding mode.
34980         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34981         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34983         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34984         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34985         * sysdeps/i386/fpu/libm-test-ulps: Update.
34986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34988 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34990         * NEWS: Fixed description of link with vector math library.
34992 2015-06-25  Andreas Schwab  <schwab@suse.de>
34994         [BZ #18549]
34995         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34996         * libio/test-fmemopen.c (do_test): Add test for it.
34998 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35000         [BZ #17841]
35001         * Makeconfig (no-pie-ldflag): New.
35002         (+link): Set to $(+link-pie) if default to PIE.
35003         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
35004         * config.make.in (build-pie-default): New.
35005         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
35006         is default.  AC_SUBST.
35007         * configure: Regenerated.
35008         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
35010 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35012         * nptl/descr.h (struct pthread): Change type of field setxid_futex
35013         to 'unsigned int'.
35015         * resolv/gai_misc.h (struct waitlist): Change type of field
35016         counterp to 'volatile unsigned int *'.
35017         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
35018         FUTEXADDR and OLDVAL.
35019         * resolv/getaddrinfo_a.c (getaddrinfo_a):
35020         Give local variable TOTAL type 'volatile unsigned int'.
35021         (struct async_waitlist): Change type of field counter to 'unsigned int'.
35022         * resolv/gai_suspend.c (gai_suspend):
35023         Give local variable CNTR type 'unsigned int'.
35025         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
35026         counterp to 'volatile unsigned int *'.
35027         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
35028         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
35029         (aio_suspend): Give local variable CNTR type 'unsigned int'.
35030         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
35031         Give local variable TOTAL type 'volatile unsigned int'.
35032         (struct async_waitlist): Change type of field counter to 'unsigned int'.
35034 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35036         [BZ #18383]
35037         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
35038         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
35039         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
35040         comment for i386/x86-64.
35041         (test-xfail-tst-tlsalign-extern-static): Removed.
35043 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35045         * math/test-double.h: New file.
35046         * math/test-float.h: Likewise.
35047         * math/test-ldouble.h: Likewise.
35048         * math/test-math-inline.h: Likewise.
35049         * math/test-math-no-inline.h: Likewise.
35050         * math/test-math-scalar.h: Likewise.
35051         * math/test-math-vector.h: Likewise.
35052         * math/test-vec-loop.h: Remove file.  Contents moved into
35053         test-math-vector.h.
35054         * math/libm-test.inc (MATHCONST): Do not document macro.
35055         * math/test-double.c: Include test-double.h, test-math-no-inline.h
35056         and test-math-scalar.h.
35057         (FUNC): Remove macro.
35058         (FUNC_TEST): Likewise.
35059         (FLOAT): Likewise.
35060         (MATHCONST): Likewise.
35061         (PRINTF_EXPR): Likewise.
35062         (PRINTF_XEXPR): Likewise.
35063         (PRINTF_NEXPR): Likewise.
35064         (TEST_DOUBLE): Likewise.
35065         (TEST_MATHVEC): Likewise.
35066         (__NO_MATH_INLINES): Likewise.
35067         * math/test-float.c: Include test-float.h, test-math-no-inline.h
35068         and test-math-scalar.h.
35069         (FUNC): Remove macro.
35070         (FUNC_TEST): Likewise.
35071         (FLOAT): Likewise.
35072         (MATHCONST): Likewise.
35073         (PRINTF_EXPR): Likewise.
35074         (PRINTF_XEXPR): Likewise.
35075         (PRINTF_NEXPR): Likewise.
35076         (TEST_FLOAT): Likewise.
35077         (TEST_MATHVEC): Likewise.
35078         (__NO_MATH_INLINES): Likewise.
35079         * math/test-idouble.c: Include test-double.h, test-math-inline.h
35080         and test-math-scalar.h.
35081         (FUNC): Remove macro.
35082         (FUNC_TEST): Likewise.
35083         (FLOAT): Likewise.
35084         (MATHCONST): Likewise.
35085         (PRINTF_EXPR): Likewise.
35086         (PRINTF_XEXPR): Likewise.
35087         (PRINTF_NEXPR): Likewise.
35088         (TEST_DOUBLE): Likewise.
35089         (TEST_MATHVEC): Likewise.
35090         (TEST_INLINE): Likewise.
35091         (__NO_MATH_INLINES): Likewise.
35092         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35093         test-math-scalar.h.
35094         (FUNC): Remove macro.
35095         (FUNC_TEST): Likewise.
35096         (FLOAT): Likewise.
35097         (MATHCONST): Likewise.
35098         (PRINTF_EXPR): Likewise.
35099         (PRINTF_XEXPR): Likewise.
35100         (PRINTF_NEXPR): Likewise.
35101         (TEST_FLOAT): Likewise.
35102         (TEST_MATHVEC): Likewise.
35103         (TEST_INLINE): Likewise.
35104         (__NO_MATH_INLINES): Likewise.
35105         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35106         and test-math-scalar.h.
35107         (FUNC): Remove macro.
35108         (FUNC_TEST): Likewise.
35109         (FLOAT): Likewise.
35110         (MATHCONST): Likewise.
35111         (PRINTF_EXPR): Likewise.
35112         (PRINTF_XEXPR): Likewise.
35113         (PRINTF_NEXPR): Likewise.
35114         (TEST_LDOUBLE): Likewise.
35115         (TEST_MATHVEC): Likewise.
35116         (TEST_INLINE): Likewise.
35117         (__NO_MATH_INLINES): Likewise.
35118         * math/test-ldouble.c: Include test-ldouble.h,
35119         test-math-no-inline.h and test-math-scalar.h.
35120         (FUNC): Remove macro.
35121         (FUNC_TEST): Likewise.
35122         (FLOAT): Likewise.
35123         (MATHCONST): Likewise.
35124         (PRINTF_EXPR): Likewise.
35125         (PRINTF_XEXPR): Likewise.
35126         (PRINTF_NEXPR): Likewise.
35127         (TEST_LDOUBLE): Likewise.
35128         (TEST_MATHVEC): Likewise.
35129         (__NO_MATH_INLINES): Likewise.
35130         * math/test-double-vlen2.h: Include test-double.h,
35131         test-math-no-inline.h and test-math-vector.h.
35132         (FLOAT): Remove macro.
35133         (FUNC): Likewise.
35134         (MATHCONST): Likewise.
35135         (PRINTF_EXPR): Likewise.
35136         (PRINTF_XEXPR): Likewise.
35137         (PRINTF_NEXPR): Likewise.
35138         (TEST_DOUBLE): Likewise.
35139         (TEST_MATHVEC): Likewise.
35140         (__NO_MATH_INLINES): Likewise.
35141         (CNCT): Likewise.
35142         (CONCAT): Likewise.
35143         (WRAPPER_NAME): Likewise.
35144         (WRAPPER_DECL): Likewise.
35145         (WRAPPER_DECL_ff): Likewise.
35146         (WRAPPER_DECL_fFF): Likewise.
35147         (VECTOR_WRAPPER): Likewise.
35148         (VECTOR_WRAPPER_ff): Likewise.
35149         (VECTOR_WRAPPER_fFF): Likewise.
35150         (VEC_LEN): New macro.
35151         * math/test-double-vlen4.h: Include test-double.h,
35152         test-math-no-inline.h and test-math-vector.h.
35153         (FLOAT): Remove macro.
35154         (FUNC): Likewise.
35155         (MATHCONST): Likewise.
35156         (PRINTF_EXPR): Likewise.
35157         (PRINTF_XEXPR): Likewise.
35158         (PRINTF_NEXPR): Likewise.
35159         (TEST_DOUBLE): Likewise.
35160         (TEST_MATHVEC): Likewise.
35161         (__NO_MATH_INLINES): Likewise.
35162         (CNCT): Likewise.
35163         (CONCAT): Likewise.
35164         (WRAPPER_NAME): Likewise.
35165         (WRAPPER_DECL): Likewise.
35166         (WRAPPER_DECL_ff): Likewise.
35167         (WRAPPER_DECL_fFF): Likewise.
35168         (VECTOR_WRAPPER): Likewise.
35169         (VECTOR_WRAPPER_ff): Likewise.
35170         (VECTOR_WRAPPER_fFF): Likewise.
35171         (VEC_LEN): New macro.
35172         * math/test-double-vlen8.h: Include test-double.h,
35173         test-math-no-inline.h and test-math-vector.h.
35174         (FLOAT): Remove macro.
35175         (FUNC): Likewise.
35176         (MATHCONST): Likewise.
35177         (PRINTF_EXPR): Likewise.
35178         (PRINTF_XEXPR): Likewise.
35179         (PRINTF_NEXPR): Likewise.
35180         (TEST_DOUBLE): Likewise.
35181         (TEST_MATHVEC): Likewise.
35182         (__NO_MATH_INLINES): Likewise.
35183         (CNCT): Likewise.
35184         (CONCAT): Likewise.
35185         (WRAPPER_NAME): Likewise.
35186         (WRAPPER_DECL): Likewise.
35187         (WRAPPER_DECL_ff): Likewise.
35188         (WRAPPER_DECL_fFF): Likewise.
35189         (VECTOR_WRAPPER): Likewise.
35190         (VECTOR_WRAPPER_ff): Likewise.
35191         (VECTOR_WRAPPER_fFF): Likewise.
35192         (VEC_LEN): New macro.
35193         * math/test-float-vlen4.h: Include test-float.h,
35194         test-math-no-inline.h and test-math-vector.h.
35195         (FLOAT): Remove macro.
35196         (FUNC): Likewise.
35197         (MATHCONST): Likewise.
35198         (PRINTF_EXPR): Likewise.
35199         (PRINTF_XEXPR): Likewise.
35200         (PRINTF_NEXPR): Likewise.
35201         (TEST_FLOAT): Likewise.
35202         (TEST_MATHVEC): Likewise.
35203         (__NO_MATH_INLINES): Likewise.
35204         (CNCT): Likewise.
35205         (CONCAT): Likewise.
35206         (WRAPPER_NAME): Likewise.
35207         (WRAPPER_DECL): Likewise.
35208         (WRAPPER_DECL_ff): Likewise.
35209         (WRAPPER_DECL_fFF): Likewise.
35210         (VECTOR_WRAPPER): Likewise.
35211         (VECTOR_WRAPPER_ff): Likewise.
35212         (VECTOR_WRAPPER_fFF): Likewise.
35213         (VEC_LEN): New macro.
35214         * math/test-float-vlen8.h: Include test-float.h,
35215         test-math-no-inline.h and test-math-vector.h.
35216         (FLOAT): Remove macro.
35217         (FUNC): Likewise.
35218         (MATHCONST): Likewise.
35219         (PRINTF_EXPR): Likewise.
35220         (PRINTF_XEXPR): Likewise.
35221         (PRINTF_NEXPR): Likewise.
35222         (TEST_FLOAT): Likewise.
35223         (TEST_MATHVEC): Likewise.
35224         (__NO_MATH_INLINES): Likewise.
35225         (CNCT): Likewise.
35226         (CONCAT): Likewise.
35227         (WRAPPER_NAME): Likewise.
35228         (WRAPPER_DECL): Likewise.
35229         (WRAPPER_DECL_ff): Likewise.
35230         (WRAPPER_DECL_fFF): Likewise.
35231         (VECTOR_WRAPPER): Likewise.
35232         (VECTOR_WRAPPER_ff): Likewise.
35233         (VECTOR_WRAPPER_fFF): Likewise.
35234         (VEC_LEN): New macro.
35235         * math/test-float-vlen16.h: Include test-float.h,
35236         test-math-no-inline.h and test-math-vector.h.
35237         (FLOAT): Remove macro.
35238         (FUNC): Likewise.
35239         (MATHCONST): Likewise.
35240         (PRINTF_EXPR): Likewise.
35241         (PRINTF_XEXPR): Likewise.
35242         (PRINTF_NEXPR): Likewise.
35243         (TEST_FLOAT): Likewise.
35244         (TEST_MATHVEC): Likewise.
35245         (__NO_MATH_INLINES): Likewise.
35246         (CNCT): Likewise.
35247         (CONCAT): Likewise.
35248         (WRAPPER_NAME): Likewise.
35249         (WRAPPER_DECL): Likewise.
35250         (WRAPPER_DECL_ff): Likewise.
35251         (WRAPPER_DECL_fFF): Likewise.
35252         (VECTOR_WRAPPER): Likewise.
35253         (VECTOR_WRAPPER_ff): Likewise.
35254         (VECTOR_WRAPPER_fFF): Likewise.
35255         (VEC_LEN): New macro.
35256         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35257         test-vec-loop.h.
35258         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35260         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35261         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35262         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35263         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35264         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35266 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35268         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35269         (__getlogin_r): ... this.
35271 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35273         [BZ #18594]
35274         * math/s_ccosh.c (__ccosh): Compare with least normal value
35275         instead of comparing class with FP_SUBNORMAL.
35276         * math/s_ccoshf.c (__ccoshf): Likewise.
35277         * math/s_ccoshl.c (__ccoshl): Likewise.
35278         * math/s_cexp.c (__cexp): Likewise.
35279         * math/s_cexpf.c (__cexpf): Likewise.
35280         * math/s_cexpl.c (__cexpl): Likewise.
35281         * math/s_csin.c (__csin): Likewise.
35282         * math/s_csinf.c (__csinf): Likewise.
35283         * math/s_csinh.c (__csinh): Likewise.
35284         * math/s_csinhf.c (__csinhf): Likewise.
35285         * math/s_csinhl.c (__csinhl): Likewise.
35286         * math/s_csinl.c (__csinl): Likewise.
35287         * math/s_ctan.c (__ctan): Likewise.
35288         * math/s_ctanf.c (__ctanf): Likewise.
35289         * math/s_ctanh.c (__ctanh): Likewise.
35290         * math/s_ctanhf.c (__ctanhf): Likewise.
35291         * math/s_ctanhl.c (__ctanhl): Likewise.
35292         * math/s_ctanl.c (__ctanl): Likewise.
35293         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35294         csin, csinh, ctan and ctanh.
35295         * math/auto-libm-test-out: Regenerated.
35296         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35297         * sysdeps/i386/fpu/libm-test-ulps: Update.
35298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35300 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35302         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35303         return value is wrong, print the expected value too.
35305 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35307         [BZ #18585]
35308         * elf/readlib.c (is_gdb_python_file): New.
35309         (process_file): Don't issue errors on filenames with -gdb.py
35310         suffix.
35312 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35314         * math/auto-libm-test-in: Add more tests of csin and csinh.
35315         * math/auto-libm-test-out: Regenerated.
35316         * math/libm-test.inc (csin_test_data): Remove tests moved to
35317         auto-libm-test-in.
35318         (csinh_test_data): Likewise.
35320         [BZ #18593]
35321         * math/s_csin.c (__csin): Negate before rather than after possibly
35322         overflowing multiplication.
35323         * math/s_csinf.c (__csinf): Likewise.
35324         * math/s_csinh.c (__csinh): Likewise.
35325         * math/s_csinhf.c (__csinhf): Likewise.
35326         * math/s_csinhl.c (__csinhl): Likewise.
35327         * math/s_csinl.c (__csinl): Likewise.
35328         * math/auto-libm-test-in: Add some tests of csin and csinh.
35329         * math/auto-libm-test-out: Regenerated.
35330         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35331         (csinh_test_data): Likewise.
35332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35334         [BZ #18586]
35335         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35336         underflow exception for small results.
35338 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35340         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35341         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35342         variable and included header.
35343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35344         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35348         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35351         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35352         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35353         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35354         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35355         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35356         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35357         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35358         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35360 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35362         [BZ #16526]
35363         [BZ #16538]
35364         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35365         (__sin): Force underflow exception for arguments with small
35366         absolute value.
35367         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35368         (__kernel_sinf): Force underflow exception for arguments with
35369         small absolute value.
35370         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35371         (__kernel_sincosl): Force underflow exception for arguments with
35372         small absolute value.
35373         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35374         (__kernel_sinl): Force underflow exception for arguments with
35375         small absolute value.
35376         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35377         (__kernel_sincosl): Force underflow exception for arguments with
35378         small absolute value.
35379         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35380         (__kernel_sinl): Force underflow exception for arguments with
35381         small absolute value.
35382         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35383         (__kernel_sinl): Force underflow exception for arguments with
35384         small absolute value.
35385         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35386         (__kernel_sinf): Force underflow exception for arguments with
35387         small absolute value.
35388         * math/auto-libm-test-in: Add more tests of sin and sincos.
35389         * math/auto-libm-test-out: Regenerated.
35391         [BZ #18245]
35392         [BZ #18583]
35393         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35394         (__kernel_standard_l): Use feholdexcept and fesetenv around
35395         conversion to double instead of special-casing overflow and
35396         underflow.
35397         * math/libm-test.inc (fmod_test_data): Add more tests.
35398         (remainder_test_data): Likewise.
35399         (sqrt_test_data): Likewise.
35401 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35403         [BZ #17403]
35404         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35405         atomic_read_barrier, atomic_write_barrier): Define.
35406         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35407         atomic_read_barrier, atomic_write_barrier): Define.
35409 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35411         * math/Makefile [$(PERL) != no]
35412         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35413         dependency on libm-test.stmp below the inclusion of Rules.
35415 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35417         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35419         and included header.
35420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35422         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35423         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35424         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35425         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35426         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35427         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35428         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35429         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35430         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35431         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35432         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35433         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35434         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35435         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35436         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35437         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35438         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35440 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35442         [BZ #18371]
35443         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35444         intermediate but not final result might underflow.
35445         * math/s_csqrtf.c (__csqrtf): Likewise.
35446         * math/s_csqrtl.c (__csqrtl): Likewise.
35447         * math/auto-libm-test-in: Add more tests of csqrt.
35448         * math/auto-libm-test-out: Regenerated.
35449         * sysdeps/i386/fpu/libm-test-ulps: Update.
35451         [BZ #18219]
35452         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35453         threshold on absolute value of exponent for which scaling is used.
35454         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35455         * math/auto-libm-test-in: Add more tests of exp2.
35456         * math/auto-libm-test-out: Regenerated.
35458 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35460         [BZ #17977]
35461         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35462         when initializing interface list, based on the bug analysis
35463         and the patch proposed by Eric Newton.
35464         * resolv/tst-res_hconf_reorder.c: New test.
35465         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35466         tst-res_hconf_reorder.
35467         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35468         and $(shared-thread-library).
35469         (tst-res_hconf_reorder-ENV): New variable.
35471         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35472         in comment.
35474 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35476         [BZ #16353]
35477         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35478         (__expm1): Force underflow exception for arguments with small
35479         absolute value.
35480         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35481         (__expm1f): Force underflow exception for arguments with small
35482         absolute value.
35483         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35484         (__expm1): Force underflow exception for arguments with small
35485         absolute value.
35486         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35487         (__expm1f): Force underflow exception for arguments with small
35488         absolute value.
35489         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35490         Check for small arguments before calling __expm1.
35491         * math/auto-libm-test-in: Do not mark underflow exceptions as
35492         possibly missing for bug 16353.
35493         * math/auto-libm-test-out: Regenerated.
35495 2015-06-22  Andreas Schwab  <schwab@suse.de>
35497         [BZ #18513]
35498         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35499         PTR queries.
35501 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35503         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35505         * string/strcoll_l.c: Remove unused struct element idxnow.
35507 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35509         [BZ #18569]
35510         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35511         underflow and return argument in case of subnormal argument.
35512         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35513         Likewise.
35514         * math/auto-libm-test-in: Add more tests of expm1.
35515         * math/auto-libm-test-out: Regenerated.
35517         [BZ #16361]
35518         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35519         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35520         tiny results.
35521         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35522         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35523         tiny results.
35524         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35525         mark underflow exceptions as possibly missing for bug 16361.
35526         * math/auto-libm-test-out: Regenerated.
35528 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35530         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35531         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35532         Remove variable.
35533         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35534         (test-xfail-XOPEN2K8/utmpx.h/conform).
35536         * conform/conformtest.pl ($xerrors): New variable.
35537         (note_error): New function.
35538         (compiletest): New argument $xfail.  Use not_error.
35539         (runtest): Likewise.
35540         (top level): Handle xfail- lines.  Update calls to compiletest and
35541         runtest.  Handle xfail- and optional- in headers listed with
35542         allow-header.
35543         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35544         (O_EXEC): Likewise.
35545         (O_SEARCH): Likewise.
35546         * conform/data/stropts.h-data (ioctl): Likewise.
35547         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35548         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35549         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35550         (msghdr.msg_controllen): Likewise.
35551         (cmsghdr.cmsg_len): Likewise.
35552         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35553         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35554         variable.
35555         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35556         (test-xfail-XPG4/stropts.h/conform): Likewise.
35557         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35558         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35559         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35560         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35561         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35562         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35563         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35564         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35565         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35566         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35567         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35568         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35569         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35570         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35571         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35572         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35573         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35574         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35575         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35577 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35579         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35580         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35581         definitions for proper unfolding of __MATHDECL_VEC.
35583 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35585         * benchtests/bench-strcoll.c:
35586         Include string.h.
35587         (main): Remove unused variable res.
35589 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35591         * timezone/Makefile (%/UTC %/Universal):
35592         Generate test-result files for UTC and Universal.
35594 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35596         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35598 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35600         [BZ #16350]
35601         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35602         for arguments with small absolute value.
35603         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35604         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35605         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35606         (__asinh): Force underflow exception for arguments with small
35607         absolute value.
35608         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35609         (__asinhf): Force underflow exception for arguments with small
35610         absolute value.
35611         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35612         (__asinhl): Force underflow exception for arguments with small
35613         absolute value.
35614         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35615         (__asinhl): Force underflow exception for arguments with small
35616         absolute value.
35617         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35618         (__asinhl): Force underflow exception for arguments with small
35619         absolute value.
35620         * math/auto-libm-test-in: Do not mark underflow exceptions as
35621         possibly missing for bug 16350.
35622         * math/auto-libm-test-out: Regenerated.
35624         * include/bits/ipc.h: Remove file.
35625         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35626         variable.
35627         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35628         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35629         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35630         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35631         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35632         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35633         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35634         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35635         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35637         * math/auto-libm-test-in: Remove spurious underflow allowance for
35638         tests of cexp.
35639         * math/auto-libm-test-out: Regenerated.
35641         [BZ #18558]
35642         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35643         unconditional definition.
35644         (MCAST_BLOCK_SOURCE): Likewise.
35645         (MCAST_UNBLOCK_SOURCE): Likewise.
35646         (MCAST_LEAVE_GROUP): Likewise.
35647         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35648         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35649         (MCAST_MSFILTER): Likewise.
35650         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35651         Remove variable.
35652         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35653         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35654         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35655         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35656         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35658 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35660         * NEWS: Mention addition of x86_64 vector sincosf.
35661         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35662         * math/test-float-vlen4.h: Likewise.
35663         * math/test-float-vlen8.h: Likewise.
35664         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35665         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35667         * sysdeps/x86_64/fpu/Versions: New versions added.
35668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35669         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35670         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35672         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35673         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35674         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35677         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35678         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35679         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35680         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35681         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35682         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35683         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35684         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35686         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35687         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35688         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35689         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35690         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35691         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35693         * NEWS: Mention addition of x86_64 vector sincos.
35694         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35695         * math/math.h (__MATHDECL_VEC): New macro.
35696         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35697         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35698         declaration under condition.
35699         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35700         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35701         TEST_VEC_LOOP change.
35702         * math/test-double-vlen4.h: Likewise.
35703         * math/test-double-vlen8.h: Likewise.
35704         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35705         * math/test-float-vlen4.h: Likewise.
35706         * math/test-float-vlen8.h: Likewise.
35707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35708         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35710         * sysdeps/x86_64/fpu/Versions: New versions added.
35711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35713         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35714         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35715         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35716         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35717         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35718         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35720         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35721         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35722         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35723         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35724         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35725         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35726         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35727         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35728         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35730         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35731         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35732         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35733         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35734         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35737         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35738         redirections for powf.
35739         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35740         * sysdeps/x86_64/fpu/Versions: New versions added.
35741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35742         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35743         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35744         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35745         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35746         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35747         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35748         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35749         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35751         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35752         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35753         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35754         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35755         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35756         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35757         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35758         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35759         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35760         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35761         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35762         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35763         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35764         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35765         * math/test-float-vlen16.h: Fixed 2 argument macro.
35766         * math/test-float-vlen4.h: Likewise.
35767         * math/test-float-vlen8.h: Likewise.
35768         * NEWS: Mention addition of x86_64 vector powf.
35770 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35772         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35773         and redefine.
35774         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35775         and redefine.
35776         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35777         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35778         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35780         [BZ #18553]
35781         * resource/getpriority.c (getpriority): Rename to __getpriority
35782         and define as weak alias of __getpriority.
35783         * resource/setpriority.c (setpriority): Rename to __setpriority
35784         and define as weak alias of __setpriority.
35785         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35786         __getpriority and define as weak alias of __getpriority.
35787         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35788         __setpriority and define as weak alias of __setpriority.
35789         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35790         strong name.
35791         (setpriority): Use __setpriority as strong name.
35792         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35793         __getpriority and define as weak alias of __getpriority.
35794         * include/sys/resource.h (__getpriority): Declare.  Use
35795         libc_hidden_proto.
35796         (__setpriority): Likewise.
35797         (getpriority): Don't use libc_hidden_proto.
35798         (setpriority): Likewise.
35799         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35800         getpriority.  Call __setpriority instead of setpriority.
35801         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35802         Remove variable.
35804         [BZ #18547]
35805         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35806         as weak alias of __getttynam.  Use prototype function definition.
35807         Call __setttyent, __getttyent and __endttyent instead of
35808         setttyent, getttyent and endttyent.
35809         (getttyent): Rename to __getttyent and define as weak alias of
35810         __getttyent.  Call __setttyent instead of setttyent.  Call
35811         __fgets_unlocked instead of fgets_unlocked.
35812         (setttyent): Rename to __setttyent and define as weak alias of
35813         __setttyent.
35814         (endttyent): Rename to __endttyent and define as weak alias of
35815         __endttyent.
35816         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35817         (__setttyent): Likewise.
35818         (__endttyent): Likewise.
35819         (getttyent): Don't use libc_hidden_proto.
35820         (setttyent): Likewise.
35821         (endttyent): Likewise.
35822         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35823         __endttyent instead of setttyent, getttyent and endttyent.
35824         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35825         Remove variable.
35827         [BZ #18546]
35828         * socket/recv.c (__recv): Use libc_hidden_def.
35829         * socket/socket.c (__socket): Likewise.
35830         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35831         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35832         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35833         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35834         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35835         libc_hidden_def.
35836         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35837         libc_hidden_weak.
35838         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35839         Use libc_hidden_proto.
35840         (__recv): Likewise.
35841         * socket/Versions (libc): Export __recv and __socket at version
35842         GLIBC_PRIVATE.
35843         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35844         instead of recv.
35845         (init_mq_netlink): Call __socket instead of socket.
35846         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35847         Remove variable.
35849         [BZ #18545]
35850         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35851         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35852         hidden_weak.
35853         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35854         define as alias of __mq_timedsend.  Use hidden_weak.
35855         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35856         __mq_timedsend as strong name.
35857         (mq_timedreceive): Use __mq_timedreceive as strong name.
35858         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35859         (__mq_timedreceive): Likewise.
35860         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35861         __mq_timedreceive instead of mq_timedreceive.
35862         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35863         instead of mq_timedsend.
35864         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35865         Remove variable.
35867         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35868         hidden_def and hidden_weak instead of libc_hidden_def and
35869         libc_hidden_weak.
35870         (top level): Refer to hidden_def in comment.
35871         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35872         macro.  Use it instead of libc_hidden_def.
35873         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35874         specify __GI_* name explicitly.
35875         (mq_timedreceive): Likewise.
35876         (mq_setattr): Likewise.
35878         [BZ #18544]
35879         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35880         __pthread_barrier_init and define as weak alias of
35881         __pthread_barrier_init.
35882         * sysdeps/sparc/nptl/pthread_barrier_init.c
35883         (pthread_barrier_init): Likewise.
35884         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35885         __pthread_barrier_wait and define as weak alias of
35886         __pthread_barrier_wait.
35887         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35888         (pthread_barrier_wait): Likewise.
35889         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35890         (pthread_barrier_wait): Likewise.
35891         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35892         (pthread_barrier_wait): Likewise.
35893         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35894         (pthread_barrier_wait): Likewise.
35895         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35896         __pthread_barrier_wait at version GLIBC_PRIVATE.
35897         * include/pthread.h (__pthread_barrier_init): Declare.
35898         (__pthread_barrier_wait): Likewise.
35899         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35900         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35901         (helper_thread): Likewise.
35902         (init_mq_netlink): Call __pthread_barrier_init instead of
35903         pthread_barrier_init.
35905         [BZ #18542]
35906         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35907         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35908         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35909         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35910         vswscanf.
35911         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35912         Remove variable.
35914         [BZ #18540]
35915         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35916         strong alias of _IO_fflush.  Use libc_hidden_def.
35917         * libio/iofflush_u.c (fflush_unlocked): Rename to
35918         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35919         Use libc_hidden_weak.
35920         * include/stdio.h (__fflush_unlocked): Declare.  Use
35921         libc_hidden_proto.
35922         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35923         fflush_unlocked.
35924         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35925         Remove variable.
35927         [BZ #18539]
35928         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35929         define as weak alias of __addseverity.
35930         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35931         Remove variable.
35932         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35933         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35934         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35936         [BZ #18536]
35937         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35938         (__tfind): Likewise.
35939         (__tdelete): Likewise.
35940         (__twalk): Likewise.
35941         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35942         __twalk to GLIBC_PRIVATE.
35943         * include/search.h (__tsearch): Use libc_hidden_proto.
35944         (__tfind): Likewise.
35945         (__tdelete): Likewise.
35946         (__twalk): Likewise.
35947         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35948         Call __tdelete instead of tdelete.
35949         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35950         tfind.  Call __tsearch instead of tsearch.
35951         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35952         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35953         Remove variable.
35954         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35956         [BZ #18534]
35957         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35958         (dprintf): Define as a weak alias of __dprintf, not a strong
35959         alias.
35960         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35961         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35962         dprintf.
35963         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35964         Remove variable.
35965         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35966         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35968         [BZ #18533]
35969         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35970         not a strong alias.
35971         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35972         Remove variable.
35974         [BZ #18532]
35975         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35976         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35977         (in6addr_loopback): Rename to __in6addr_loopback and define as
35978         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35979         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35980         libc_hidden_proto.
35981         (__in6addr_any): Likewise.
35982         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35983         in6addr_any.
35984         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35985         variable.
35986         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35988 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35990         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35991         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35992         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35993         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35994         redirections for pow.
35995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35996         * sysdeps/x86_64/fpu/Versions: New versions added.
35997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35998         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35999         build of SSE, AVX2 and AVX512 IFUNC versions.
36000         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
36002         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
36003         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
36004         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
36005         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
36006         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
36007         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
36008         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
36009         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
36010         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
36011         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
36012         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
36013         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
36014         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36017         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36018         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36019         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36020         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36021         * NEWS: Mention addition of x86_64 vector pow.
36023         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36024         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36025         redirections for expf.
36026         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36027         * sysdeps/x86_64/fpu/Versions: New versions added.
36028         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36029         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36030         build of SSE, AVX2 and AVX512 IFUNC versions.
36031         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
36032         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
36033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
36034         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
36035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
36036         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
36037         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
36038         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
36039         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
36040         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
36041         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
36042         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
36043         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
36044         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36045         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36046         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36049         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36050         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36051         * NEWS: Mention addition of x86_64 vector expf.
36053         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
36054         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
36055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36056         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36057         redirections for exp.
36058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36059         * sysdeps/x86_64/fpu/Versions: New versions added.
36060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36062         build of SSE, AVX2 and AVX512 IFUNC versions.
36063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36064         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36065         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36066         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36067         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36068         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36069         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36070         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36071         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36072         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36073         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36074         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36075         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36076         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36079         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36080         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36081         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36082         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36083         * NEWS: Mention addition of x86_64 vector exp.
36085         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36086         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36087         redirections for logf.
36088         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36089         * sysdeps/x86_64/fpu/Versions: New versions added.
36090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36091         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36092         build of SSE, AVX2 and AVX512 IFUNC versions.
36093         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36094         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36095         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36096         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36099         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36100         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36101         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36102         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36103         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36104         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36105         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36106         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36107         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36108         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36109         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36110         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36111         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36112         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36113         * NEWS: Mention addition of x86_64 vector logf.
36115         * bits/libm-simd-decl-stubs.h: Added stubs for log.
36116         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36117         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36118         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36119         redirections for log.
36120         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36121         * sysdeps/x86_64/fpu/Versions: New versions added.
36122         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36123         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36124         build of SSE, AVX2 and AVX512 IFUNC versions.
36125         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36126         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36127         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36128         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36129         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36130         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36131         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36132         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36133         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36134         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36135         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36136         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36137         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36138         test.
36139         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36142         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36143         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36144         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36145         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36146         * NEWS: Mention addition of x86_64 vector log.
36148 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36150         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36151         cfi_adjust_cfa_offset argument.
36152         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36153         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36155         [BZ #18034]
36156         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36157         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36158         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36159         ordering using ldar.
36160         (_dl_tlsdesc_dynamic): Likewise.
36161         (_dl_tlsdesc_return_lazy): Likewise.
36162         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36163         relaxed atomics instead of volatile and synchronize with release store.
36164         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36165         volatile.
36166         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36168 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36170         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36171         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36172         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36173         * sysdeps/x86_64/fpu/Versions: New versions added.
36174         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36175         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36176         build of SSE, AVX2 and AVX512 IFUNC versions.
36177         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36178         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36179         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36180         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36183         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36184         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36185         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36186         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36187         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36188         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36189         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36190         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36191         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36192         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36193         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36194         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36195         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36196         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36197         * NEWS: Mention addition of x86_64 vector sinf.
36199 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36201         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36202         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36203         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36204         Remove variable.
36205         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36206         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36208 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36210         [BZ #18530]
36211         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36212         strong alias of _IO_fputs.  Use libc_hidden_def.
36213         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36214         and define as weak alias of __fputs_unlocked.  Use
36215         libc_hidden_weak.
36216         * include/stdio.h (__fputs_unlocked): Declare.  Use
36217         libc_hidden_proto.
36218         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36219         fputs_unlocked.
36221         [BZ #18529]
36222         * resolv/netdb.h [__USE_POSIX]: Change condition to
36223         [__USE_XOPEN2K].
36224         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36225         not expect.
36226         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36227         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36228         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36229         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36230         [XPG4 || UNIX98] (AI_ALL): Likewise.
36231         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36232         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36233         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36234         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36235         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36236         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36237         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36238         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36239         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36240         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36241         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36242         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36243         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36244         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36245         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36246         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36247         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36248         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36249         [XPG4 || UNIX98] (gai_strerror): Likewise.
36250         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36251         [XPG4 || UNIX98] (getnameinfo): Likewise.
36253         [BZ #18528]
36254         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36255         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36256         __USE_XOPEN2K8].
36257         (getgrent): Likewise.
36258         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36259         expect.
36260         [XPG3 || POSIX2008] (endgrent): Likewise.
36261         [XPG3] (setgrent): Likewise.
36262         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36263         variable.
36264         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36266         [BZ #18527]
36267         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36268         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36269         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36270         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36271         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36272         * include/unistd.h (__getlogin_r): Declare.  Use
36273         libc_hidden_proto.
36274         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36275         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36276         variable.
36277         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36278         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36279         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36281 2015-06-12  Martin Sebor  <msebor@redhat.com>
36283         [BZ #18512]
36284         * Makerules (check-install-supported): New target.
36285         (install): Add check-install-supported as a dependency.
36286         * manual/install.texi (Installing the C Library): Document
36287         that overriding prefix and exec_prefix is not supported.
36288         Mention DESTDIR.
36289         * INSTALL: Regenerate from the above.
36291 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36293         [BZ #18519]
36294         * posix/Versions (libc): Export __libc_pread at version
36295         GLIBC_PRIVATE.
36296         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36297         instead of pread.
36298         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36299         variable.
36301         [BZ #18522]
36302         * misc/efgcvt_r.c
36303         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36304         (cvt_symbol): Use weak_alias instead of strong_alias.
36305         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36306         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36307         Remove variable.
36308         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36309         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36311         [BZ #18520]
36312         * inet/herrno.c (h_errno): Rename to __h_errno.
36313         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36314         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36315         to __h_errno instead of h_errno.
36316         * nptl/herrno.c (h_errno): Rename to __h_errno.
36317         (__h_errno_location): Refer to __h_errno not h_errno.
36318         * resolv/Versions (h_errno): Rename to __h_errno.
36319         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36320         Remove variable.
36321         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36323 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36325         * configure.ac: More strict check for AVX512 assembler support.
36326         * configure: Regenerated.
36328         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36329         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36331         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36333         * sysdeps/x86_64/fpu/Versions: New versions added.
36334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36336         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36337         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36338         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36339         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36341         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36342         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36343         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36344         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36345         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36346         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36347         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36348         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36350         test.
36351         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36354         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36355         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36356         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36357         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36358         * NEWS: Mention addition of x86_64 vector sin.
36360 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36362         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36363         comment.
36365 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36367         [BZ #18479]
36368         * nptl/pt-interp.c: New file.
36369         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36370         Add pt-interp.
36371         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36372         $(common-objpfx)runtime-linker.h.
36374 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36376         * Makeconfig (+interp): Remove unused variable.
36377         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36378         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36379         $(elf-objpfx)runtime-linker.h.
36380         ($(elf-objpfx)runtime-linker.h): Rename to
36381         $(common-objpfx)runtime-linker.h and move ...
36382         * Makerules [$(build-shared) = yes]: ... here.
36383         * elf/interp.c: Include <runtime-linker.h> instead of
36384         <elf/runtime-linker.h>.
36386 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36388         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36389         (__gettimeofday_syscall): Remove vsyscall fallback.
36390         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36391         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36392         Add syscall fallback function.
36393         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36394         if vDSO is not present.
36395         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36396         fallback function.
36397         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36398         present.
36399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36400         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36402 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36404         [BZ #18497]
36405         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36406         of wcscmp.
36407         (wcscmp): Define as weak alias of WCSCMP.
36408         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36409         wcscoll.
36410         (USE_HIDDEN_DEF): Define.
36411         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36412         __wcscoll.  Don't use libc_hidden_weak.
36413         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36414         wcscmp.
36415         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36416         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36417         __GI_wcscmp.
36418         (weak_alias): Undefine and redefine.
36419         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36420         __wcscmp and define as weak alias of __wcscmp.
36421         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36422         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36423         (__wcscoll): Likewise.
36424         (wcscmp): Don't use libc_hidden_proto.
36425         (wcscoll): Likewise.
36426         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36427         wcscoll.
36428         * posix/regexec.c (check_node_accept_bytes): Likewise.
36429         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36430         variable.
36431         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36432         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36434         [BZ #18507]
36435         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36436         __fstatvfs and define as weak alias of __fstatvfs.  Use
36437         libc_hidden_weak.
36438         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36439         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36440         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36441         Define as alias of __fstatvfs, not fstatvfs.
36442         (fstatvfs64): Likewise.
36443         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36444         Define as alias of __statvfs, not statvfs.
36445         (statvfs64): Likewise.
36446         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36447         Remove variable.
36449 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36452         (HAVE_GETCPU_VSYSCALL): Define.
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36454         (HAVE_GETCPU_VSYSCALL): Likewise.
36455         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36456         * sysdeps/unix/sysv/linux/sched_getcpu.c
36457         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36458         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36459         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36460         prototype.
36461         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36462         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36463         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36465         Define.
36466         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36467         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36468         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36469         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36471 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36473         * sysdeps/x86_64/fpu/Makefile: New file.
36474         * sysdeps/x86_64/fpu/Versions: New file.
36475         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36476         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36477         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36478         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36479         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36480         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36481         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36482         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36485         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36486         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36487         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36489         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36490         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36491         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36492         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36493         * sysdeps/x86_64/configure: Regenerated.
36494         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36495         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36496         * manual/install.texi (Configuring and compiling): Document
36497         --disable-mathvec.
36498         * INSTALL: Regenerated.
36499         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36501         * math/Makefile: Added rules for vector tests.
36502         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36503         declaration under condition.
36504         * math/test-double-vlen2.h: New file.
36505         * math/test-double-vlen4.h: New file.
36506         * math/test-double-vlen8.h: New file.
36507         * math/test-vec-loop.h: Added initialization macro.
36508         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36510         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36512         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36513         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36514         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36515         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36516         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36517         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36518         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36521         * sysdeps/x86_64/fpu/Versions: New versions added.
36522         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36523         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36524         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36525         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36526         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36527         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36528         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36529         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36530         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36531         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36532         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36533         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36534         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36535         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36536         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36537         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36538         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36539         * NEWS: Mention addition of x86_64 vector cosf.
36541         * math/Makefile: Added CFLAGS for new tests.
36542         * math/test-float-vlen16.h: New file.
36543         * math/test-float-vlen4.h: New file.
36544         * math/test-float-vlen8.h: New file.
36545         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36546         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36548         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36549         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36550         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36551         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36552         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36553         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36554         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36555         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36557 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36559         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36560         * locale/programs/ld-ctype.c: Likewise.
36562 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36564         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36565         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36566         bit_ZMM16_31_state): New macro.
36567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36568         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36570 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36572         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36574 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36576         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36578 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36580         [BZ #18498]
36581         * libio/memstream.c (open_memstream): Rename to __open_memstream
36582         and define as weak alias of __open_memstream.
36583         * include/stdio.h (__open_memstream): Declare.  Use
36584         libc_hidden_proto.
36585         (open_memstream): Don't use libc_hidden_proto.
36586         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36587         open_memstream.
36588         * posix/getopt.c (_getopt_internal_r): Likewise.
36589         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36590         variable.
36591         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36592         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36593         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36595         [BZ #18496]
36596         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36597         instead of wcrtomb.
36599         [BZ #18483]
36600         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36601         [__USE_XOPEN2K8].  Remove redundant #endif.
36602         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36603         Remove redundant #if.
36604         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36605         Remove variable.
36606         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36607         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36609         [BZ #18495]
36610         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36611         (__iswlower): Likewise.
36612         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36613         (__iswlower): Likewise.
36614         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36615         instead of towlower.
36616         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36617         instead of iswlower.  Call __towupper instead of towupper.
36618         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36619         instead of iswalnum.
36621 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36623         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36624         errors to stderr.
36626 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36628         [BZ #15661]
36629         [BZ #17322]
36630         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36631         Check for overflow properly.  Check for O_APPEND.  Ignore large
36632         file system block sizes.  Add comments about problems.
36633         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36634         * manual/filesys.texi (Storage Allocation): New node.
36636 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36638         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36639         cancellable syscalls.
36640         (SYS_ify): Add guard to no redefine it.
36641         (INLINE_SYSCALL): Likewise.
36642         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36643         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36644         SYSCALL_CANCEL instead.
36645         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36646         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36647         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36648         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36649         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36650         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36651         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36652         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36653         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36654         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36655         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36656         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36657         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36658         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36659         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36661         Likewise.
36662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36663         (__libc_pread64): Likewise.
36664         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36665         (__libc_preadv): Likewise.
36666         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36667         (__libc_readv64): Likewise.
36668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36669         (__libc_pwrite): Likewise.
36670         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36671         (__libc_pwrite64): Likewise.
36672         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36673         (__libc_pwritev): Likewise.
36674         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36675         (__libc_pwritev64): Likewise.
36676         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36677         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36678         (sync_file_range): Likewise.
36679         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36680         Likewise.
36681         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36682         Likewise.
36683         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36684         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36685         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36686         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36687         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36688         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36689         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36690         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36692         Likewise.
36693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36694         (__libc_read64): Likewise.
36695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36696         Likewise.
36697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36698         Likewise.
36699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36700         Likewise.
36701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36702         Likewise.
36703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36704         (__libc_pread64): Likewise.
36705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36706         Likewise.
36707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36708         (__libc_pwrite64): Likewise.
36709         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36710         (sync_file_range): Likewise.
36711         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36712         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36713         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36714         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36715         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36716         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36717         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36718         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36719         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36720         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36721         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36722         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36723         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36724         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36725         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36726         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36727         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36728         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36729         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36730         Likewise.
36731         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36732         Likewise.
36733         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36734         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36735         Likewise.
36736         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36737         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36738         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36739         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36740         Likewise.
36741         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36742         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36743         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36744         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36745         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36747 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36749         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36750         Include dl-vdso.
36751         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36752         Use VDSO routines for gettimeofday, clock_gettime if
36753         available.
36754         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36755         Declare VDSO symbols.
36756         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36757         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36758         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36759         * sysdeps/unix/sysv/linux/arm/Versions: Add
36760         __vdso_clock_gettime.
36762 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36764         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36765         be an inline implementation regardless of library is built within.
36766         (open_not_cancel_2): Likewise.
36767         (__read_nocancel): Likewise.
36768         (__write_nocancel): Likewise.
36769         (openat_not_cancel): Likewise.
36770         (openat_not_cancel_3): Likewise.
36771         (openat64_not_cancel): Likewise.
36772         (openat64_not_cancel_3): Likewise.
36773         (__close_nocancel): Likewise.
36774         (pause_not_cancel): Likewise.
36775         (nanosleep_not_cancel): Likewise.
36776         (sigsuspend_not_cancel): Likewise.
36778 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36780         [BZ #14958]
36781         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36782         wake-up.
36783         (__pthread_rwlock_rdlock_slow): Likewise.
36784         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36785         Likewise.
36786         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36787         Likewise.
36788         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36789         * nptl/tst-rwlock16.c: New file.
36790         * nptl/Makefile (tests): Add new test.
36792 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36794         [BZ #18324]
36795         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36796         missing wake-up of readers.
36797         * nptl/tst-rwlock15.c: New file.
36798         * nptl/Makefile (tests): Add new test.
36800 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36802         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36803         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36804         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36805         and __nacl_supply_interface_rtld.
36806         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36807         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36808         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36809         Add __nacl_supply_interface_rtld.
36810         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36812 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36814         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36815         isfinite.
36816         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36817         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36819 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36821         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36822         __signbit* with standard C99 macros.
36823         * math/e_exp10l.c: Likewise.
36824         * math/e_exp2l.c: Likewise.
36825         * math/e_scalb.c: Likewise.
36826         * math/e_scalbf.c: Likewise.
36827         * math/e_scalbl.c: Likewise.
36828         * math/s_ldexp.c: Likewise.
36829         * math/s_ldexpf.c: Likewise.
36830         * math/s_ldexpl.c: Likewise.
36831         * math/w_atan2.c: Likewise.
36832         * math/w_atan2f.c: Likewise.
36833         * math/w_atan2l.c: Likewise.
36834         * math/w_cosh.c: Likewise.
36835         * math/w_coshf.c: Likewise.
36836         * math/w_coshl.c: Likewise.
36837         * math/w_exp10.c: Likewise.
36838         * math/w_exp10f.c: Likewise.
36839         * math/w_exp10l.c: Likewise.
36840         * math/w_exp2.c: Likewise.
36841         * math/w_exp2f.c: Likewise.
36842         * math/w_exp2l.c: Likewise.
36843         * math/w_fmod.c: Likewise.
36844         * math/w_fmodf.c: Likewise.
36845         * math/w_fmodl.c: Likewise.
36846         * math/w_hypot.c: Likewise.
36847         * math/w_hypotf.c: Likewise.
36848         * math/w_hypotl.c: Likewise.
36849         * math/w_jnl.c: Likewise.
36850         * math/w_lgamma.c: Likewise.
36851         * math/w_lgamma_r.c: Likewise.
36852         * math/w_lgammaf.c: Likewise.
36853         * math/w_lgammaf_r.c: Likewise.
36854         * math/w_lgammal.c: Likewise.
36855         * math/w_lgammal_r.c: Likewise.
36856         * math/w_pow.c: Likewise.
36857         * math/w_powf.c: Likewise.
36858         * math/w_powl.c: Likewise.
36859         * math/w_remainder.c: Likewise.
36860         * math/w_remainderf.c: Likewise.
36861         * math/w_remainderl.c: Likewise.
36862         * math/w_scalb.c: Likewise.
36863         * math/w_scalbf.c: Likewise.
36864         * math/w_scalbl.c: Likewise.
36865         * math/w_scalbln.c: Likewise.
36866         * math/w_scalblnf.c: Likewise.
36867         * math/w_scalblnl.c: Likewise.
36868         * math/w_sinh.c: Likewise.
36869         * math/w_sinhf.c: Likewise.
36870         * math/w_sinhl.c: Likewise.
36871         * math/w_tgamma.c: Likewise.
36872         * math/w_tgammaf.c: Likewise.
36873         * math/w_tgammal.c: Likewise.
36874         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36875         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36876         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36877         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36878         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36880         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36881         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36882         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36883         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36884         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36905         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36906         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36907         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36908         * stdio-common/printf_fp.c: Likewise.
36909         * stdio-common/printf_fphex.c: Likewise.
36910         * stdio-common/printf_size.c: Likewise.
36912 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36914         [BZ #18470]
36915         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36916         strnlen.
36917         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36918         Remove variable.
36919         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36920         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36921         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36922         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36923         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36924         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36925         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36926         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36927         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36928         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36930         [BZ #18468]
36931         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36932         weak alias of __wmemchr.  Use libc_hidden_weak.
36933         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36934         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36935         instead of wmemchr.
36937 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36939         [BZ #18383]
36940         * elf/tst-tlsalign-extern.c: New file.
36941         * elf/tst-tlsalign-extern-static.c: New file.
36942         * elf/tst-tlsalign-vars.c: New file.
36943         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36944         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36945         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36946         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36947         (test-xfail-tst-tlsalign-extern-static): New variable.
36949 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36951         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36952         Use variable name _sc_err instead of err.
36953         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36954         instead of ret.
36955         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36956         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36957         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36958         (INLINE_SYSCALL): Likewise.
36960         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36961         * include/string.h (__strnlen): Use libc_hidden_proto.
36962         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36963         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36964         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36965         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36966         (libc_hidden_def): Undefine and redefine.
36967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36968         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36969         __GI_strnlen.
36970         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36971         libc_hidden_def.
36972         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36974         [BZ #18469]
36975         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36976         weak alias of __towlower.  Use libc_hidden_weak.
36977         (towupper): Rename to __towupper and define as weak alias of
36978         __towupper.  Use libc_hidden_weak.
36979         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36980         (__towupper): Likewise.
36981         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36982         __towlower instead of towlower.
36984 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36986         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36987         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36989 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36991         * sysdeps/aarch64/libm-test-ulps: Update.
36993 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36995         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36996         Define.
36997         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36999         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37000         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37001         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
37002         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
37003         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
37005 2015-06-01  Martin Sebor  <msebor@redhat.com>
37007         [BZ #18116]
37008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37009         (__setcontext): Use extended four-operand version of mtsf whenever
37010         possible.
37011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37012         (__novec_swapcontext): Likewise.
37014 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37016         * benchtests/scripts/compare_bench.py: New file.
37017         * benchtests/scripts/import_bench.py (mean): New function.
37018         (split_list): Likewise.
37019         (do_for_all_timings): Likewise.
37020         (compress_timings): Likewise.
37022         * benchtests/scripts/import_bench.py: New file.
37023         * benchtests/scripts/validate_benchout.py: Import import_bench
37024         instead of jsonschema.
37025         (validate_bench): Remove function.
37026         (main): Use import_bench.
37028 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
37030         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
37031         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
37033 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37037 2015-05-28  Roland McGrath  <roland@hack.frob.com>
37039         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
37040         set THREAD_SELF->tid to a magic value and futex-wake it.
37041         Pass its address to the thread_exit system call.
37042         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
37043         bit is clear.
37044         * sysdeps/nacl/lowlevellock.h: New file.
37045         * sysdeps/nacl/lll_timedwait_tid.c: New file.
37047         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
37048         Add TIMEOUT to current time, don't subtract it.
37050 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
37052         [BZ #2981]
37053         [BZ #18422]
37054         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
37055         ($(objpfx)tst-audit2.out): Also depend on
37056         $(objpfx)tst-auditmod9b.so.
37057         * elf/tst-audit2.c: Include <dlfcn.h>.
37058         (calloc_called): New.
37059         (calloc): Allow to be called more than once.
37060         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
37062 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
37064         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37065         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37067 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
37069         * stdlib/monetary.h: Fix comment.
37071 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
37073         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37074         Avoid using variables in #defines that might cause shadowing.
37075         (INTERNAL_VSYSCALL_CALL): Likewise.
37077 2015-05-26  Roland McGrath  <roland@hack.frob.com>
37079         * sysdeps/nacl/lll_timedlock_wait.c: New file.
37081         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37082         * nptl/lll_timedlock_wait.c: ... to this new file.
37083         * nptl/Makefile (libpthread-routines): Add it.
37084         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37085         * nptl/lll_timedwait_tid.c: ... to this new file.
37086         * nptl/Makefile (libpthread-routines): Add it.
37087         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37088         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37089         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37090         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37091         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37092         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37093         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37094         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37095         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37096         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37098 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37100         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37101         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37102         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37104         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37106         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37108         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37109         * sysdeps/unix/sysv/linux/tile/sysdep.h
37110         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37111         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37112         using vDSO syscall macro.
37114 2015-05-26  Andriy Rysin  <arysin@gmail.com>
37116         [BZ #17293]
37117         * uk_UA: Fix sorting order for Ukrainian locale
37119 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
37121         * stdlib/monetary.h: Fix comment.
37123 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37125         [BZ #18234]
37126         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37127         st_mtim and st_ctim members.
37128         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37129         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37130         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37131         (struct stat64): Likewise.
37132         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37133         (struct stat64): Likewise.
37134         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37135         (struct stat64): Likewise.
37137 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37139         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37140         Define and include sysdep-vdso.h.
37141         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37142         Likewise.
37143         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37144         Likewise.
37145         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37146         Define with VDSO_SYMBOL and use PTR_MANGLE.
37147         (__vdso_clock_gettime): Likewise.
37148         (__vdso_clock_getres): Likewise.
37149         (_libc_vdso_platform_setup): Likewise.
37150         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37151         Likewise.
37152         (_libc_vdso_platform_setup): Likewise.
37153         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37154         Likewise.
37155         (__vdso_clock_gettime): Likewise.
37156         (__vdso_clock_getres): Likewise.
37157         (__vdso_get_tbfreq): Likewise.
37158         (__vdso_getcpu): Likewise.
37159         (__vdso_time): Likewise.
37160         (__vdso_sigtramp_rt64): Likewise.
37161         (__vdso_signtramp32): Likewise.
37162         (__vdso_sigtramp_rt32): Likewise.
37163         (_libc_vdso_platform_setup): Likewise.
37164         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37165         Likewise.
37166         (__vdso_clock_gettime): Likewise.
37167         (__vdso_clock_getres): Likewise.
37168         (_libc_vdso_platform_setup): Likewise.
37169         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37170         Likewise.
37171         (__vdso_clock_gettime): Likewise.
37172         (_libc_vdso_platform_setup): Likewise.
37173         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37174         Likewise.
37175         (__vdso_getcpu): Likewise.
37176         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37177         Use VDSO_SYMBOL macro to define.
37178         (__vdso_clock_gettime): Likewise.
37179         (__vdso_clock_getres): Likewise.
37180         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37181         Likewise.
37182         (__vdso_clock_gettime): Likewise.
37183         (__vdso_clock_getres): Likewise.
37184         (__vdso_get_tbfreq): Likewise.
37185         (__vdso_getcpu): Likewise.
37186         (__vdso_time): Likewise.
37187         (__vdso_sigtramp_rt64): Likewise.
37188         (__vdso_signtramp32): Likewise.
37189         (__vdso_sigtramp_rt32): Likewise.
37190         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37191         Likewise.
37192         (__vdso_clock_gettime): Likewise.
37193         (__vdso_clock_getres): Likewise.
37194         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37195         Likewise.
37196         (__vdso_clock_gettime): Likewise.
37197         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37198         Likewise.
37199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37200         macro.
37201         (INTERNAL_VSYSCALL): Likewise.
37202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37203         Remove macro.
37204         (INTERNAL_VSYSCALL): Likewise.
37205         (INTERNAL_VSYSCALL_NCS): Likewise.
37206         (INTERNAL_VSYSCALL_CALL): New macro.
37207         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37209         Likewise.
37210         (INTERNAL_VSYSCALL): Likewise.
37211         (INTERNAL_VSYSCALL_NCS): Likewise.
37212         (INTERNAL_VSYSCALL_CALL): New macro.
37213         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37215         (INLINE_VSYSCALL): Remove macro.
37216         (INTERNAL_VSYSCALL): Remove macro.
37217         (INTERNAL_VSYSCALL_NCS): Remove macro.
37218         (INTERNAL_VSYSCALL_CALL): New macro.
37219         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37220         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37221         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37222         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37223         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37225         (INLINE_VSYSCALL): Remove macro.
37226         (INTERNAL_VSYSCALL): Likewise.
37227         (INTERNAL_VSYSCALL_NCS): Likewise.
37228         (INTERNAL_VSYSCALL_CALL): New macro.
37229         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37230         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37231         PTR_DEMANGLE on vDSO pointer.
37232         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37233         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37234         macro.
37235         (INTERNAL_SYSCALL): Likewise.
37236         (INTERNAL_VSYSCALL_NCS): Remove macro.
37237         (INTERNAL_VSYSCALL_CALL): New macro.
37238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37239         Remove macro.
37240         (INTERNAL_VSYSCALL): Likewise.
37241         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37242         sysdep-vdso.h instead of libc-vdso.h.
37243         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37244         definition.
37245         (INLINE_VSYSCALL): Likewise.
37246         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37247         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37248         definition.
37249         (INLINE_VSYSCALL): Likewise.
37250         (INTERNAL_VSYSCALL): Likewise.
37251         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37252         * sysdeps/unix/sysv/linux/timespec_get.c
37253         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37254         (timespec_get): Use ANSI prototype.
37255         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37256         and definition for Linux.
37258 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37260         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37261         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37263 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37265         [BZ #2981]
37266         [BZ #18410]
37267         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37268         for missing DT_PLTRELSZ.
37270 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37272         Remove obsolete aliases that broke 'locale -a'
37273         [BZ #18412]
37274         * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français"
37275         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37276         breaking some applications that use 'locale -a' output.
37277         Change the encoding of this file from Latin-1 to ASCII to avoid
37278         other potential problems with people grepping this file.
37280 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37282         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37283         -fasynchronous-unwind-tables.
37284         (CFLAGS-sendto.c): Likewise.
37285         (CFLAGS-sendmsg.c): Likewise.
37286         (CFLAGS-connect.c): Likewise.
37287         (CFLAGS-recvmsg.c): Likewise.
37288         (CFLAGS-recvfrom.c): Likewise.
37289         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37290         (SOCKETCALL): New macro: non-cancellable socketcall.
37291         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37292         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37293         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37294         * sysdeps/unix/sysv/linux/accept.c: New file.
37295         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37296         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37297         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37298         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37299         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37300         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37301         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37302         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37303         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37304         * sysdeps/unix/sysv/linux/send.c: Likewise.
37305         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37306         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37307         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37308         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37309         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37310         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37311         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37312         prototype.
37313         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37314         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37315         instead of __internal_xxx function.
37316         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37317         prototype.
37318         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37319         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37320         instead of __internal_xxx function.
37321         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37322         prototype.
37323         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37324         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37325         instead of __internal_xxx function.
37326         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37327         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37328         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37329         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37330         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37331         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37332         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37333         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37334         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37335         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37336         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37337         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37338         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37339         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37340         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37341         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37342         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37343         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37344         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37345         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37348         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37349         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37350         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37351         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37352         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37353         * sysdeps/unix/sysv/linux/send.S: Likewise.
37354         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37355         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37356         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37357         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37358         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37359         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37360         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37361         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37362         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37363         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37364         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37365         socketcall is implemented in GLIBC.
37367 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37369         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37370         (__fma): Ignore uninitialized warnings around packing.
37371         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37372         (__fmaf): Ignore uninitialized warnings around packing.
37373         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37374         (__fmal): Ignore uninitialized warnings around packing.
37376         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37377         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37378         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37379         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37381         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37382         switch statement into default case.
37383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37385         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37386         a conditional in forcing "inexact".
37387         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37388         Likewise.
37390 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37392         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37393         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37394         for each INTERNAL_SYSCALL use.
37396 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37398         [BZ #438]
37399         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37400         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37401         variable.
37403         [BZ #18444]
37404         * string/basename.c (basename): Rename to __basename and define as
37405         weak alias of __basename.  Use libc_hidden_weak.
37406         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37407         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37408         __basename instead of basename.
37409         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37410         Remove variable.
37411         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37413 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37415         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37416         (_IO_JUMPS_FILE_plus): New.
37417         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37418         _IO_CAST_FIELD_ACCESS.
37419         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37420         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37421         * libio/freopen.c (freopen): Likewise.
37422         * libio/freopen64.c (freopen64): Likewise.
37423         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37424         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37425         * libio/iofwide.c (_IO_fwide): Likewise.
37426         * libio/memstream.c (open_memstream): Likewise.
37427         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37428         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37429         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37431 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37433         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37434         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37435         NADJ.
37436         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37437         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37438         NADJ.
37439         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37440         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37441         NADJ.
37443         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37444         (p == 4) case.
37446         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37447         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37448         Remove variable.
37449         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37450         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37451         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37453 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37455         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37456         Adjust jump table label generation macros.
37458 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37460         * stdio-common/vfprintf.c (vfprintf): Move local variables
37461         args_malloced, specs, specs_malloced, and the code after
37462         do_positional to the printf_positional function.
37463         (printf_positional): New function.
37465 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37467         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37468         function.
37469         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37470         STEP4_TABLE, process_arg): Move macro definitions
37471         out of the vfprintf function.  (Cosmetic change only.)
37473 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37475         * benchtests/Makefile (stdio-common-bench): Define.
37476         (benchset): Add stdio-common-bench.
37477         * sprintf-inputs: New file.
37478         * sprintf-source.c: New file.
37480 2015-05-21  Andreas Schwab  <schwab@suse.de>
37482         [BZ #13028]
37483         [BZ #17053]
37484         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37485         of struct __res_state.
37486         * resolv/res_send.c (__libc_res_nsend): Likewise.
37487         (get_nsaddr): New function.
37488         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37489         statp directly.
37491 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37493         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37494         -D_POSIX_C_SOURCE=199506L.
37496         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37498         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37499         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37500         Do not mention otherwise.
37501         [POSIX] (_XOPEN_VERSION): Do not expect.
37502         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37503         [POSIX] (_POSIX2_C_BIND): Likewise.
37504         [POSIX] (_POSIX2_VERSION): Likewise.
37505         [POSIX] (_XOPEN_XPG2): Likewise.
37506         [POSIX] (_XOPEN_XPG3): Likewise.
37507         [POSIX] (_XOPEN_XPG4): Likewise.
37508         [POSIX] (_XOPEN_UNIX): Likewise.
37509         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37510         [POSIX] (_POSIX_BARRIERS): Likewise.
37511         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37512         [POSIX] (_POSIX_CPUTIME): Likewise.
37513         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37514         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37515         [POSIX] (_POSIX_SHELL): Likewise.
37516         [POSIX] (_POSIX_SPAWN): Likewise.
37517         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37518         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37519         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37520         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37521         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37522         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37523         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37524         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37525         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37526         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37527         [POSIX] (_POSIX2_PBS): Likewise.
37528         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37529         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37530         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37531         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37532         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37533         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37534         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37535         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37536         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37537         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37538         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37539         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37540         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37541         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37542         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37543         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37544         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37545         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37546         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37547         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37548         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37549         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37550         [POSIX] (_SC_2_C_BIND): Likewise.
37551         [POSIX] (_SC_2_C_VERSION): Likewise.
37552         [POSIX] (_SC_2_PBS): Likewise.
37553         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37554         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37555         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37556         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37557         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37558         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37559         [POSIX] (_SC_BARRIERS): Likewise.
37560         [POSIX] (_SC_BASE): Likewise.
37561         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37562         [POSIX] (_SC_DEVICE_IO): Likewise.
37563         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37564         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37565         [POSIX] (_SC_FD_MGMT): Likewise.
37566         [POSIX] (_SC_FIFO): Likewise.
37567         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37568         [POSIX] (_SC_FILE_LOCKING): Likewise.
37569         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37570         [POSIX] (_SC_IOV_MAX): Likewise.
37571         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37572         [POSIX] (_SC_NETWORKING): Likewise.
37573         [POSIX] (_SC_PAGE_SIZE): Likewise.
37574         [POSIX] (_SC_PASS_MAX): Likewise.
37575         [POSIX] (_SC_PIPE): Likewise.
37576         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37577         [POSIX] (_SC_REGEXP): Likewise.
37578         [POSIX] (_SC_SHELL): Likewise.
37579         [POSIX] (_SC_SIGNALS): Likewise.
37580         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37581         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37582         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37583         [POSIX] (_SC_USER_GROUPS): Likewise.
37584         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37585         [POSIX] (_SC_STREAMS): Likewise.
37586         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37587         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37588         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37589         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37590         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37591         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37592         [POSIX] (_PC_FILESIZEBITS): Likewise.
37593         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37594         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37595         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37596         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37597         [POSIX] (uid_t): Likewise.
37598         [POSIX] (gid_t): Likewise.
37599         [POSIX] (off_t): Likewise.
37600         [POSIX] (pid_t): Likewise.
37601         [POSIX] (cuserid): Allow.
37602         (_SC_2_CHAR_TERM): Require constant.
37603         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37604         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37605         variable.
37607 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37609         * sysdeps/nacl/pthread-pids.h: New file.
37610         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37611         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37613         * nptl/pthread-pids.h: New file.
37614         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37615         * nptl/nptl-init.c: Include <pthread-pids.h>.
37616         (__pthread_initialize_minimal_internal):
37617         Call __pthread_initialize_pids instead of set_tid_address syscall.
37619         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37620         * sysdeps/posix/usleep.c: ... here.
37622 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37624         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37625         call_pselect6 object.
37626         [$(subdir) = io]: Remove call_sync_file_range object.
37627         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37628         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37629         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37630         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37632 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37634         * math/s_cproj.c: Add include "math_private.h".
37635         * math/s_cprojf.c: Likewise.
37636         * math/s_cprojl.c: Likewise.
37638 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37640         [BZ #18244]
37641         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37642         high mantissa bit when testing whether P is a NaN.
37643         * math/libm-test.inc (remainder_test_data): Add more tests.
37644         (remquo_test_data): Likewise.
37646         [BZ #18049]
37647         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37648         below -32, return the argument, with underflow if subnormal.
37649         * math/auto-libm-test-in: Add more tests of atanh.
37650         * math/auto-libm-test-out: Regenerated.
37652 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37654         [BZ #18434]
37655         * nptl/tst-sem15.c: New file.
37656         * nptl/Makefile (tests): Add it.
37657         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37658         s/<</>>/ to fix typo in EOVERFLOW check.
37659         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37661 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37663         * manual/strings.texi (envz_remove): Fix typo in safety
37664         annotations.
37666 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37667             Steve Ellcey  <sellcey@imgtec.com>
37669         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37670         in order to avoid strict alias warnings.
37671         (iruserok_af): Ditto for ra.
37673 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37675         [BZ #17581]
37676         * malloc/hooks.c
37677         (magicbyte): Convert to a function and avoid returning 0x01.
37678         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37679         (mem2chunk_check): Fix unsigned comparisons to zero.
37680         Hoist defs of sz and magic.
37682 2015-05-19  Richard Henderson  <rth@redhat.com>
37684         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37686         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37688 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37690         [BZ #16159]
37691         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37692         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37693         (reused_arena): Find a non-corrupt arena.
37694         (heap_trim): Pass arena to unlink.
37695         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37696         malloc_printerr.
37697         (top_check): Likewise.
37698         (free_check): Likewise.
37699         (realloc_check): Likewise.
37700         * malloc/malloc.c (malloc_printerr): Add arena argument.
37701         (unlink): Likewise.
37702         (munmap_chunk): Adjust.
37703         (ARENA_CORRUPTION_BIT): New macro.
37704         (arena_is_corrupt): Likewise.
37705         (set_arena_corrupt): Likewise.
37706         (sysmalloc): Use mmap if there are no usable arenas.
37707         (_int_malloc): Likewise.
37708         (__libc_malloc): Don't fail if arena_get returns NULL.
37709         (_mid_memalign): Likewise.
37710         (__libc_calloc): Likewise.
37711         (__libc_realloc): Adjust for additional argument to
37712         malloc_printerr.
37713         (_int_free): Likewise.
37714         (malloc_consolidate): Likewise.
37715         (_int_realloc): Likewise.
37716         (_int_memalign): Don't touch corrupt arenas.
37717         * malloc/tst-malloc-backtrace.c: New test case.
37719         * Makefile (summarize-tests): Fix return value on success.
37721         * manual/string.texi (Envz Functions): Add envz_remove.
37723 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37725         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37726         (invalid_name): New function, broken out of ...
37727         (__opendirat): ... here.  Call it.
37728         (need_isdir_precheck): New function, broken out of ...
37729         (__opendirat): ... here.  Call it.
37730         Use __fxstatat64, not __xstatat64.
37731         (opendir_oflags): New function, broken out of ...
37732         (__opendirat): ... here.  Call it.
37733         (opendir_tail): New function, broken out of ...
37734         (__opendirat): ... here.  Call it.
37735         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37736         opendir_tail, rather than punting to __opendirat.
37737         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37739 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37741         * .gitignore: Ignore generated *.pyc.
37743 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37745         * include/stdio.h: Define __need_wint_t.
37746         * test-skeleton.c: Avoid `for' loop initial declaration.
37747         * nptl/tst-initializers1.c: Use test-skeleton.c.
37749 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37751         [BZ #18418]
37752         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37754 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37756         [BZ #16352]
37757         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37758         (__ieee754_atanh): Force underflow exception for results with
37759         small absolute value.
37760         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37761         (__ieee754_atanhf): Force underflow exception for results with
37762         small absolute value.
37763         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37764         (__ieee754_atanh): Force underflow exception for results with
37765         small absolute value.
37766         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37767         (__ieee754_atanhf): Force underflow exception for results with
37768         small absolute value.
37769         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37770         (__ieee754_atanhl): Force underflow exception for results with
37771         small absolute value.
37772         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37773         (__ieee754_atanhl): Force underflow exception for results with
37774         small absolute value.
37775         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37776         (__ieee754_atanhl): Force underflow exception for results with
37777         small absolute value.
37778         * math/auto-libm-test-in: Do not allow missing underflow
37779         exceptions from atanh.
37780         * math/auto-libm-test-out: Regenerated.
37782         [BZ #18221]
37783         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37784         2**-28 as threshold for returning x or +/- 1/x.
37785         * math/auto-libm-test-in: Add more tests of tan.
37786         * math/auto-libm-test-out: Regenerated.
37788         [BZ #18220]
37789         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37790         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37791         * math/auto-libm-test-in: Add another test of lgamma.
37792         * math/auto-libm-test-out: Regenerated.
37794 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37796         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37797         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37798         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37799         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37800         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37801         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37802         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37805         (log1): Use fabs.  (my_log2): Use fabs.
37806         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37807         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37808         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37809         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37811         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37812         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37813         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37814         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37815         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37816         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37818 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37820         [BZ #18217]
37821         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37822         as threshold for returning 1 - x.
37823         * math/auto-libm-test-in: Add more tests of erfc.
37824         * math/auto-libm-test-out: Regenerated.
37826 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37828         [BZ #18196]
37829         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37830         threshold for large arguments.
37831         * math/auto-libm-test-in: Add another test of atan.
37832         * math/auto-libm-test-out: Regenerated.
37834         [BZ #16339]
37835         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37836         (__log1p): Force underflow exception for results with small
37837         absolute value.
37838         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37839         (__log1pf): Force underflow exception for results with small
37840         absolute value.
37841         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37842         (__log1p): Force underflow exception for results with small
37843         absolute value.
37844         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37845         (__log1pf): Force underflow exception for results with small
37846         absolute value.
37847         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37848         (__log1pl): Force underflow exception for results with small
37849         absolute value.
37850         * math/auto-libm-test-in: Do not allow missing underflow
37851         exceptions from log1p.
37852         * math/auto-libm-test-out: Regenerated.
37854 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37855             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37857         [BZ #16704]
37858         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37860 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37862         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37863         (libmvec): New variable.
37864         * configure.ac: Added option for mathvec build.
37865         * configure: Regenerated.
37866         * mathvec/Depend: New file.
37867         * mathvec/Makefile: New file.
37868         * shlib-versions: Added libmvec.
37869         * math/Makefile: Added rule for libm.so installation.
37871         * bits/math-vector.h: New file.
37872         * bits/libm-simd-decl-stubs.h: New header.
37873         * math/Makefile (headers): Added new header
37874         libm-simd-decl-stubs.h.
37875         * math/math.h (__MATHCALL_VEC): New macro.
37877         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37878         for conditions in testing functions.
37879         * math/Makefile: Added call of libm-have-vector-test.sh.
37880         * math/libm-test.inc (HAVE_VECTOR): New macros.
37882         * math/libm-test.inc: START refactored.
37883         * math/test-double.c (TEST_MATHVEC): Add define.
37884         * math/test-float.c: Likewise.
37885         * math/test-idouble.c: Likewise.
37886         * math/test-ifloat.c: Likewise.
37887         * math/test-ildoubl.c: Likewise.
37888         * math/test-ldouble.c: Likewise.
37889         * sysdeps/generic/math-tests-arch.h
37890         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37891         architecture check.
37893         * math/test-double.c (FUNC_TEST): New macro.
37894         * math/test-float.c: Likewise.
37895         * math/test-idouble.c: Likewise.
37896         * math/test-ifloat.c: Likewise.
37897         * math/test-ildoubl.c: Likewise.
37898         * math/test-ldouble.c: Likewise.
37899         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37901 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37903         * sysdeps/nacl/fdopendir.c: New file.
37905         * dirent/scandir-tail.c: New file.
37906         * dirent/scandir64-tail.c: New file.
37907         * dirent/Makefile (routines): Add them.
37908         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37909         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37910         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37911         [!SCANDIR] (SCANDIR_TAIL): New macro.
37912         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37913         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37914         (SCANDIRAT): Macro removed.
37915         (SCANDIR_TAIL): New macro.
37916         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37917         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37918         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37919         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37920         (READDIR): Macro removed.
37921         (SCANDIR_TAIL): New macro.
37922         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37923         (SCANDIR_TAIL): New macro.
37925         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37926         * dirent/scandir-cancel.c: ... to this new file.
37927         * dirent/Makefile (routines): Add it.
37928         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37929         * sysdeps/unix/sysv/linux/i386/scandir64.c
37930         (SKIP_SCANDIR_CANCEL): Macro removed.
37931         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37933         * dirent/tst-scandir.c: New file.
37934         * dirent/tst-scandir64.c: New file.
37935         * dirent/Makefile (tests): Add them.
37937 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37939         [BZ #18409]
37940         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37942 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37944         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37945         list.
37947 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37949         * benchtests/bench-strcoll.c: New benchmark.
37950         * benchtests/Makefile: Generate locales and run benchmark.
37951         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37952         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37953         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37954         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37955         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37956         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37957         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37958         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37959         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37960         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37961         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37962         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37963         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37964         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37965         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37966         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37967         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37968         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37969         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37970         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37971         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37972         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37973         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37974         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37976 2015-05-12  Ondƙej BĂ­lka  <neleai@seznam.cz>
37978         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37979         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37981 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37983         * posix/uname-values.h: New file.
37984         * posix/uname.c: Include that instead of <config-name.h>.
37985         * sysdeps/nacl/uname-values.h: New file.
37986         * sysdeps/arm/nacl/uname-values.h: New file.
37988 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37990         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37991         splitting into fields.
37993 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37995         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37996         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37997         * locale/localeinfo.h: Add enum collation_encoding_type.
37998         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37999         * programs/ld-collate.c (collate_output): Add encoding type info.
38000         * string/strcoll_l.c (STRDIFF): New function.
38001         * (STRCOLL): Use STRDIFF to skip over equal prefix.
38002         * wcsmbs/wcscoll_l.c: Define STRDIFF.
38004 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
38006         [BZ #18397]
38007         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
38008         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
38009         <fpu_control.h> instead of <math/fpu_control.c>.
38010         * sysdeps/mips/mips32/fpu/Makefile: New file.
38012 2015-05-11  Andreas Schwab  <schwab@suse.de>
38014         [BZ #18007]
38015         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
38016         nss_endgrent.
38017         (_nss_compat_endgrent): Call nss_endgrent.
38018         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
38019         nss_endpwent.
38020         (_nss_compat_endpwent): Call nss_endpwent.
38021         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
38022         needent, call nss_setspent only if non-zero.
38023         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
38024         (internal_endspent): Don't call nss_endspent.
38025         (_nss_compat_endspent): Call nss_endspent.
38026         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
38027         Remove.  All uses removed.
38028         (internal_setent): Remove parameter stayopen, add parameter
38029         stream.  Use it instead of global variable.
38030         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
38031         (internal_endent, internal_getent): Add parameter stream.  Use it
38032         instead of global variable.
38033         (CONCAT(_nss_files_end,ENTNAME))
38034         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
38035         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
38036         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
38037         uses removed.
38038         (internal_setent, internal_endent): Add parameter stream.  Use it
38039         instead of global variable.
38040         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
38041         stream.
38042         (get_next_alias): Add parameter stream.
38043         (_nss_files_getaliasent_r): Pass global stream.
38044         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
38045         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
38046         (_nss_files_gethostbyname4_r): Pass local stream to
38047         internal_setent, internal_getent and internal_endent.  Remove
38048         locking.
38050 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38052         * tst-strfmon1.c (tests): Update expected currency symbol.
38054 2015-05-08  Roland McGrath  <roland@hack.frob.com>
38056         * sysdeps/nacl/gethostname.c: New file.
38058 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
38060         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
38061         and sinh.
38062         * math/auto-libm-test-out: Regenerated.
38063         * sysdeps/i386/fpu/libm-test-ulps: Update.
38064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38066 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
38068         [BZ #18125]
38069         * stdlib/tst-setcontext3.c: New file.
38070         * stdlib/tst-setcontext3.sh: New file.
38071         * stdlib/Makefile (tests): Add tst-setcontext3.
38072         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38073         to verify test program created output file.
38074         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38075         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38076         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38077         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38079 2015-05-06  Roland McGrath  <roland@hack.frob.com>
38081         [BZ #18383]
38082         * elf/tst-tlsalign.c: New file.
38083         * elf/tst-tlsalign-static.c: New file.
38084         * elf/tst-tlsalign-lib.c: New file.
38085         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38086         (tests-static): Add tst-tlsalign-static.
38087         (modules-names): Add tst-tlsalign-lib.
38088         (test-xfail-tst-tlsalign): New variable.
38089         (test-xfail-tst-tlsalign-static): New variable.
38091         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38092         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38094 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
38096         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38097         csqrt, erfc, sin and sincos.
38098         * math/auto-libm-test-out: Regenerated.
38099         * sysdeps/i386/fpu/libm-test-ulps: Update.
38100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38102 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38104         * sysdeps/aarch64/libm-test-ulps: Update.
38106 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
38108         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38109         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38110         * math/auto-libm-test-out: Regenerated.
38111         * sysdeps/i386/fpu/libm-test-ulps: Update.
38112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38114 2015-04-30  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
38116         [BZ #18265]
38117         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38118         (wcsncpy): Likewise.
38120 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38122         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38123         Assume __ASSUME_FALLOCATE is always true.
38124         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38125         (__posix_fallocate64_l64): Likewise.
38126         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38127         (posix_fallocate): Likewise.
38128         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38129         (__posix_fallocate64_l64): Likewise.
38130         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38131         [!__ASSUME_FALLOCATE]: Add comment.
38133 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38135         * sysdeps/unix/sysv/linux/i386/Makefile
38136         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38137         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38138         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38139         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38140         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38141         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38142         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38144 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
38146         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38147         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38148         tgamma.
38149         * math/auto-libm-test-out: Regenerated.
38150         * sysdeps/i386/fpu/libm-test-ulps: Update.
38151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38153 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38155         * math/auto-libm-test-in: Add more tests of tgamma.
38156         * math/auto-libm-test-out: Regenerated.
38157         * sysdeps/i386/fpu/libm-test-ulps: Update.
38158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38160         * math/auto-libm-test-in: Add more tests of tanh.
38161         * math/auto-libm-test-out: Regenerated.
38162         * sysdeps/i386/fpu/libm-test-ulps: Update.
38163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38165         * math/auto-libm-test-in: Add more tests of tan.
38166         * math/auto-libm-test-out: Regenerated.
38167         * sysdeps/i386/fpu/libm-test-ulps: Update.
38168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38170         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38171         * math/auto-libm-test-out: Regenerated.
38172         * sysdeps/i386/fpu/libm-test-ulps: Update.
38173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38175         * math/auto-libm-test-in: Add another test of pow.
38176         * math/auto-libm-test-out: Regenerated.
38177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38179         * math/auto-libm-test-in: Add more tests of lgamma.
38180         * math/auto-libm-test-out: Regenerated.
38181         * sysdeps/i386/fpu/libm-test-ulps: Update.
38182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38184         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38185         log1p.
38186         * math/auto-libm-test-out: Regenerated.
38187         * sysdeps/i386/fpu/libm-test-ulps: Update.
38188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38190 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38192         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38193         Elf64_Chdr structs and ELFCOMPRESS constants.
38195 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38197         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38198         expm1.
38199         * math/auto-libm-test-out: Regenerated.
38200         * sysdeps/i386/fpu/libm-test-ulps: Update.
38201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38203         * math/auto-libm-test-in: Add more tests of erf and erfc.
38204         * math/auto-libm-test-out: Regenerated.
38205         * sysdeps/i386/fpu/libm-test-ulps: Update.
38206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38208 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38210         * config.h.in (HAVE_AARCH64_BE): Add.
38212 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38214         * math/auto-libm-test-in: Add more tests of csqrt.
38215         * math/auto-libm-test-out: Regenerated.
38216         * sysdeps/i386/fpu/libm-test-ulps: Update.
38217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38219         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38220         * math/auto-libm-test-out: Regenerated.
38221         * sysdeps/i386/fpu/libm-test-ulps: Update.
38222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38224         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38226 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38228         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38229         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38231         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38232         (euidaccess, eaccess): Define as weak aliases.
38234         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38235         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38236         but __suseconds_t is often 'long int' so some sources assume that
38237         type is being used (e.g. they use %ld to print tv_usec).
38239 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38241         [BZ #18007]
38242         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38243         (CVE-2014-8121)
38244         * nss/tst-nss-getpwent.c: New file.
38245         * nss/Makefile (tests): Add new test.
38247 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38249         [BZ #18346]
38250         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38251         exponents less than 48 as cases where high part of mantissa needs
38252         examining to determine whether argument is integral.
38253         * math/libm-test.inc (round_test_data): Add more tests.
38255 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38257         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38259 2015-04-27  David S. Miller  <davem@davemloft.net>
38261         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38262         __tls_get_addr.
38263         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38265 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38267         [BZ #18333]
38268         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38270 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38272         [BZ #18333]
38273         * time/tzset.c (parse_tzname): Return error on memory allocation
38274         failure.
38275         * test-skeleton.c (struct temp_name_list): Change type of name
38276         member to non-const.
38277         (add_temp_file): Create a copy of the file name.
38278         (delete_temp_files): Deallocate memory.
38279         (create_temp_file): Add comment.
38281 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38283         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38284         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38286 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38288         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38289         * sysdeps/arm/configure: Regenerated.
38291 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38293         [BZ #17715]
38294         * time/tzfile.c (__tzfile_read): Check for large values of
38295         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38296         * time/tzset.c (__tzstring_len): New function, based on the old
38297         __tzstring function.
38298         (__tzstring): Call __tzstring_len.
38299         (parse_tzname): New helper function extracted from
38300         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38301         the input string.
38302         (parse_offset): New helper function extracted from
38303         __tzset_parse_tz.  Replace switch with fallthrough with
38304         initialization before sscanf.
38305         (parse_rule): Likewise.
38306         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38307         new-style function definition.
38308         * timezone/Makefile (tests): Add tst-tzset.
38309         (tst-tzset.out): Dependencies on time zone files.
38310         (tst-tzset-ENV): Set TZDIR.
38311         (testdata/XT%): Copy crafted time zone files.
38312         * timezone/README: Mention crafted time zone files.
38313         * timezone/testdata/XT1, timezone/testdata/XT2,
38314         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38315         files.
38316         * timezone/tst-tzset.c: New test.
38318 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38320         * Makeconfig (+gccwarn): Remove -Winline.
38322 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38324         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38326 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38328         * NEWS: Mention sysconf() cache information support for s390.
38329         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38331 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38333         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38334         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38335         (__nearbyint): Likewise.
38336         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38337         (copysignl): Likewise.
38339 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38341         [BZ #18287]
38342         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38343         based on padding.  (CVE-2015-1781)
38345 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38347         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38348         libc-vdso.h.
38349         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38350         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38351         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38352         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38353         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38354         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38355         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38356         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38357         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38358         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38359         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38360         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38361         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38362         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38363         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38364         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38365         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38367         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38368         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38369         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38370         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38371         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38373 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38375         * stdlib/setenv.c (__add_to_environ):
38376         Dump core quickly if setenv (..., NULL, ...) is called.
38377         This time, do it the right way, and pacify GCC with a pragma.
38379 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38381         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38382         IMAP->l_prev cannot be null, and #if out the code for the contrary
38383         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38384         believe that NS (&_dl_ns[NSID]) could point outside the array.
38386         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38387         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38388         before using NSID as an index.
38390 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38392         [BZ #17825]
38393         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38394         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38395         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38397 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38399         Add preliminary port to Google Native Client on ARM.
38400         * abi-tags (.*-.*-nacl.*): New entry.
38401         * sysdeps/arm/nacl: New directory.
38402         * sysdeps/nacl: New directory.
38404 2015-04-16  David S. Miller  <davem@davemloft.net>
38406         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38407         lowlevellock-futex.h
38409 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38411         * sysdeps/tile/configure.ac: New file.
38412         * sysdeps/tile/configure: Regenerated.
38414 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38416         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38417         conditionals for weak_alias and libc_hidden_weak.
38418         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38419         libc_hidden_weak and weak_alias.
38420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38421         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38422         and weak_alias for static one.
38424 2015-04-15  David S. Miller  <davem@davemloft.net>
38426         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38428 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38430         [BZ #18206]
38431         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38432           Use signed comparision instead of substraction to avoid
38433           overflow bug.
38434         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38435           Take the sign of ret.
38436         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38437           Do not expect precise return values. Only the sign matters.
38438         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38439         * wcsmbs/test-wcsncmp.c: New File.
38440         * string/test-strncmp.c: Add wcsncmp support.
38442 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38444         [BZ #6792]
38445         * math/w_log1p.c: New file.
38446         * math/w_log1pf.c: Likewise.
38447         * math/w_log1pl.c: Likewise.
38448         * math/Makefile (libm-calls): Add w_log1p.
38449         * math/s_log1pl.c (log1pl): Remove weak_alias.
38450         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38451         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38452         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38453         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38454         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38455         [NO_LONG_DOUBLE] (log1pl): Likewise.
38456         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38457         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38458         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38459         (log1p): Remove long_double_symbol.
38460         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38461         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38462         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38463         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38464         remove weak_alias for corresponding log1p function.
38465         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38466         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38467         * sysdeps/ia64/fpu/w_log1p.c: New file.
38468         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38469         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38470         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38472 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38474         [BZ #18247]
38475         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38476         decimal exponent by 1.
38477         * stdlib/tst-strtod-round-data: Add more tests.
38478         * stdlib/tst-strtod-round.c (tests): Regenerated.
38480 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38482         * math/auto-libm-test-in: Add more tests of clog and clog10.
38483         * math/auto-libm-test-out: Regenerated.
38484         * sysdeps/i386/fpu/libm-test-ulps: Update.
38485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38487 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38489         * Makeconfig (module-cppflags): Exclude all .v.i files.
38490         (skip-module-cppflags): Variable removed.
38492         * configure.ac (libc_config_ok): Initialize before reading
38493         preconfigure scripts, not after.
38494         * configure: Regenerated.
38496         * test-skeleton.c (TIMEOUT): Move #define to top level.
38497         (main): Grok environment variable TEST_DIRECT.  If set, print
38498         test expectation details into that file and then behave as if
38499         given --direct.
38501 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38503         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38504         warning on 32-bit.
38506 2015-04-08  David S. Miller  <davem@davemloft.net>
38508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38510 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38512         * math/auto-libm-test-in: Add more tests of atanh.
38513         * math/auto-libm-test-out: Regenerated.
38514         * sysdeps/i386/fpu/libm-test-ulps: Update.
38515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38517         * math/auto-libm-test-in: Add more tests of atan.
38518         * math/auto-libm-test-out: Regenerated.
38519         * sysdeps/i386/fpu/libm-test-ulps: Update.
38520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38522 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38524         * elf/pldd.c (main): Rewrite to use struct
38525         scratch_buffer instead of extend_alloca.
38526         * elf/pldd-xx.c (find_maps): Likewise.
38527         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38528         <alloca.h>.
38529         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38530         scratch_buffer instead of extend_alloca.
38531         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38532         grp/compat-initgroups.c.
38533         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38534         Rewrite to use struct scratch_buffer instead of extend_alloca.
38535         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38536         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38538 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38540         * math/auto-libm-test-in: Add more tests of cbrt.
38541         * math/auto-libm-test-out: Regenerated.
38542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38544         * math/auto-libm-test-in: Add more tests of cabs.
38545         * math/auto-libm-test-out: Regenerated.
38546         * sysdeps/i386/fpu/libm-test-ulps: Update.
38547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38549         [BZ #18210]
38550         [BZ #18211]
38551         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38552         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38553         computations.
38554         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38555         clog10.
38556         * math/auto-libm-test-out: Regenerated.
38557         * sysdeps/i386/fpu/libm-test-ulps: Update.
38558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38560         [BZ #18197]
38561         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38562         (atan): Set FE_TONEAREST mode for internal computations.
38563         * math/auto-libm-test-in: Add more tests of atan.
38564         * math/auto-libm-test-out: Regenerated.
38566 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38568         [BZ #17930]
38569         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38571 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38573         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38575 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38577         * include/scratch_buffer.h: New file.
38578         * malloc/scratch_buffer_grow.c: Likewise.
38579         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38580         * malloc/scratch_buffer_set_array_size.c: Likewise.
38581         * malloc/tst-scratch_buffer.c: Likewise.
38582         * malloc/Makefile (routines): Add scratch_buffer_grow.
38583         (tests): Add test case.
38584         * malloc/Versions (GLIBC_PRIVATE): Export
38585         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38586         __libc_scratch_buffer_set_array_size.
38588 2015-04-06  Richard Henderson  <rth@redhat.com>
38590         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38591         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38593         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38594         unsigned int before printing.
38596 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38598         [BZ #17596]
38599         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38600         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38602 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38604         * include/libc-internal.h (libc_max_align_t): Define.
38606 2015-04-02  Andreas Schwab  <schwab@suse.de>
38608         [BZ #16850]
38609         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38611 2015-04-02  Mel Gorman  <mgorman@suse.de>
38613         [BZ #17195]
38614         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38615         as well as the main arena.
38617 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38619         [BZ #18185]
38620         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38621         sharing L2 cache to 2 for Silvermont/Knights Landing.
38623 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38625         [BZ #17711]
38626         * config.make.in (have-protected-data): New.
38627         * configure.ac: Check linker support for protected data symbol.
38628         * configure: Regenerated.
38629         * elf/Makefile (modules-names): Add tst-protected1moda and
38630         tst-protected1modb if $(have-protected-data) is yes.
38631         (tests): Add tst-protected1a and tst-protected1b if
38632         $(have-protected-data) is yes.
38633         ($(objpfx)tst-protected1a): New.
38634         ($(objpfx)tst-protected1b): Likewise.
38635         (tst-protected1modb.so-no-z-defs): Likewise.
38636         * elf/tst-protected1a.c: New file.
38637         * elf/tst-protected1b.c: Likewise.
38638         * elf/tst-protected1mod.h: Likewise.
38639         * elf/tst-protected1moda.c: Likewise.
38640         * elf/tst-protected1modb.c: Likewise.
38642 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38644         [BZ #17711]
38645         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38646         indicates it is called from do_lookup_x on relocation against
38647         protected data, skip the data definion in the executable from
38648         copy reloc.
38649         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38650         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38651         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38652         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38653         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38654         otherwise to 0.
38655         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38656         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38657         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38658         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38659         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38660         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38662 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38664         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38665         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38667 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38669         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38670         THREAD_SETMEM_NC.
38671         * sysdeps/x86_64/nptl/tls.h: Ditto.
38673 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38675         * dlfcn/tststatic.c (main): Converted to ...
38676         (do_test): ... this.
38677         (TEST_FUNCTION): New macro.
38678         Include test-skeleton.c.
38680 2015-03-26  Alan Modra  <amodra@gmail.com>
38682         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38683         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38684         zero for undefined weak.
38685         (elf_machine_plt_conflict): Similarly.
38687 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38689         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38690         atanh.
38691         * math/auto-libm-test-out: Regenerated.
38692         * sysdeps/i386/fpu/libm-test-ulps: Update.
38693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695         * math/auto-libm-test-in: Add another test of asin.
38696         * math/auto-libm-test-out: Regenerated.
38697         * sysdeps/i386/fpu/libm-test-ulps: Update.
38698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38700         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38701         Remove macro.
38702         (LLL_EBX_REG): Likewise.
38703         (LLL_ENTER_KERNEL): Likewise.
38705         * math/auto-libm-test-in: Add more tests of asin.
38706         * math/auto-libm-test-out: Regenerated.
38707         * sysdeps/i386/fpu/libm-test-ulps: Update.
38708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710         [BZ #18138]
38711         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38712         libc_do_syscall_args): New structure.
38713         (INTERNAL_SYSCALL_MAIN_0): New macro.
38714         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38715         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38716         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38717         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38718         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38719         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38720         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38721         Replace conditional definitions by conditional definitions of ....
38722         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38723         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38724         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38725         (libpthread-sysdep_routines): Add libc-do-syscall.
38726         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38727         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38728         to __NR_futex not 240.
38730 2015-03-25  Alan Modra  <amodra@gmail.com>
38732         * NEWS: Advertise TLS optimization.
38733         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38734         (DT_PPC_NUM): Increment.
38735         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38736         (CHECK_STATIC_TLS): Use here.
38737         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38738         TLS descriptors.
38739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38740         * sysdeps/powerpc/dl-tls.c: New file.
38741         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38742         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38743         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38744         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38749 2015-03-25  Alan Modra  <amodra@gmail.com>
38751         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38752         for overlapping .opd entries" to "support...".
38753         * sysdeps/powerpc/powerpc64/configure: Regenerate
38755 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38757         * math/auto-libm-test-in: Add more tests of acos.
38758         * math/auto-libm-test-out: Regenerated.
38759         * sysdeps/i386/fpu/libm-test-ulps: Update.
38760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38762         * math/auto-libm-test-in: Add more tests of expm1.
38763         * math/auto-libm-test-out: Regenerated.
38764         * sysdeps/i386/fpu/libm-test-ulps: Update.
38765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38767 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38769         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38770         * math/auto-libm-test-out: Regenerated.
38771         * sysdeps/i386/fpu/libm-test-ulps: Update.
38772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38774         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38777         * math/auto-libm-test-in: Add more tests of log2.
38778         * math/auto-libm-test-out: Regenerated.
38779         * sysdeps/i386/fpu/libm-test-ulps: Update.
38780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38782 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38784         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38785         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38786         _IO_IS_APPENDING bit in READ_WRITE instead.
38788 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38790         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38791         (__determine_cpumask_size): Replace extend_alloca with a
38792         variable-length array.  Do not treat res == 0 as an error.
38794 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38796         [BZ #18100]
38797         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38798         and integer overflow.
38799         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38800         (main): Add integer overflow tests.
38801         * manual/pattern.texi (Calling Wordexp): Document additional use
38802         for WRDE_SYNTAX.
38804 2015-03-23  Alan Modra  <amodra@gmail.com>
38806         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38807         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38808         and false branch of conditional.
38809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38810         Likewise.
38812 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38814         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38815         libc-modules.h
38816         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38817         unused declaration of _hurd_intr_rpc_msg_in_trap.
38818         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38819         defined instead of whether it is non-zero.
38820         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38821         input constraint instead of both input and output constraint.  Use ecx
38822         clobber instead of %ecx.
38823         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38824         mutex_unlock): Use a statement expression instead of an expression list.
38825         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38826         type to vm_size_t instead of vm_address_t.
38827         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38828         defined instead of whether it is non-zero.
38829         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38830         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38831         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38832         comparisons with mapaddr.
38833         * nscd/nscd-client.h: Include <time.h>.
38834         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38835         9th parameter to __vm_region instead of int.
38836         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38837         * scripts/check-local-headers.sh (exclude): Add device/,
38838         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38839         cthreads.h.
38841 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38843         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38844         to account for alignment padding.
38845         * sysdeps/arm/memmove.S: Likewise.
38847 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38849         * sysdeps/unix/sysv/linux/generic/README: New file.
38851 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38853         [BZ #18138]
38854         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38855         (futex_abstimed_wait)
38856         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38857         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38858         of lll_futex_timed_wait.
38860 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38862         [BZ #17542]
38863         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38865 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38867         [BZ #17090]
38868         [BZ #17620]
38869         [BZ #17621]
38870         [BZ #17628]
38871         * NEWS: Update.
38872         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38873         entries with Static TLS too.  Skip entries past the end of the
38874         allocated DTV, from Alan Modra.
38875         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38876         Static TLS DTV entry set up from...
38877         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38878         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38879         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38880         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38881         for Static TLS.
38882         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38883         that the slot we find is associated with the given map before
38884         using its generation count.
38885         * nptl_db/db_info.c: Include ldsodefs.h.
38886         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38887         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38888         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38889         (link_map::l_tls_offset): New struct field.
38890         (dtv_t::counter): Likewise.
38891         (rtld_global): New struct.
38892         (_rtld_global): New rtld variable.
38893         (dl_tls_dtv_slotinfo_list): New rtld global field.
38894         (dtv_slotinfo_list): New struct.
38895         (dtv_slotinfo): Likewise.
38896         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38897         (td_lookup): Rename to...
38898         (td_mod_lookup): ... this.  Use new mod parameter instead of
38899         LIBPTHREAD_SO.
38900         * nptl_db/td_thr_tlsbase.c: Include link.h.
38901         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38902         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38903         addresses even if the DTV is out of date or missing them.
38904         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38905         index zero-length arrays.
38906         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38907         (td_lookup): Make it a macro implemented in terms of...
38908         (td_mod_lookup): ... this declaration.
38909         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38910         (DB_MAIN_VARIABLE): Likewise.
38912 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38914         [BZ #18134]
38915         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38917 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38919         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38921 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38923         [BZ #18128]
38924         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38925         (atomic_add, atomic_increment_and_test)
38926         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38928 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38930         * stdlib/setenv.c (__add_to_environ):
38931         Dump core quickly if setenv (..., NULL, ...) is called.
38933 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38935         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38936         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38937         all the necessary asm magic in one place.
38938         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38939         using those.
38941 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38943         [BZ #14906]
38944         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38945         traced file mtime. Use consistent log message.
38946         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38947         (register_traced_file): Call install_watches. Always set mtime.
38948         (invalidate_cache): Iterate over all trace files. Call install_watches.
38949         (inotify_check_files): Don't inline. Handle watching parent
38950         directories and configuration file movement in and out.
38951         (handle_inotify_events): New function.
38952         (main_loop_poll): Call handle_inotify_events.
38953         (main_loop_epoll): Likewise.
38954         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38955         (struct traced_file): Use array of inotify fds. Add parent directory,
38956         and basename.
38957         (struct database_dyn): Remove unused file_mtime.
38958         (init_traced_file): New inline function.
38959         (define_traced_file): New macro.
38960         * nss/nss_db/db-init.c: Use define_traced_file.
38961         (_nss_db_init): Use init_traced_file.
38962         * nss/nss_files/files-init.c: Use define_traced_file.
38963         (_nss_files_init): Use init_traced_file.
38965 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38967         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38968         [_LIBC]: Do not include <stdlib.h>.
38969         [!_LIBC] (abort): Remove declaration.
38970         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38971         _FP_STATIC_ASSERT instead of conditionally calling abort.
38972         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38973         (_FP_EXTEND_CNAN): Likewise.
38974         (FP_TRUNC): Likewise.
38975         (__FP_CLZ): Likewise.
38976         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38978 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38980         * manual/string.texi (XPG basename): Fix prototype.
38982 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38984         [BZ #18080]
38985         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38986         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38987         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38988         (__setcontext): Likewise.
38989         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38990         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38991         Call rt_sigprocmask syscall one time to set new signal mask
38992         and retrieve the current signal mask instead of two calls.
38993         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38994         (__swapcontext): Likewise.
38995         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38996         * stdlib/tst-setcontext2.c: New file.
38998 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39002 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
39004         [BZ #18093]
39005         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
39006         the wrong size.
39008 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39010         [BZ #18043]
39011         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
39013 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39015         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
39016         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
39017         Remove define.
39018         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
39019         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39020         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
39021         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
39022         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
39023         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
39024         define.
39025         * nptl_db/td_symbol_list.c (td_lookup): Remove
39026         HAVE_ASM_GLOBAL_DOT_NAME code.
39027         * sysdeps/powerpc/powerpc64/configure.ac: Remove
39028         HAVE_ASM_GLOBAL_DOT_NAME check.
39029         * sysdeps/powerpc/powerpc64/configure: Regenerate.
39030         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
39031         (DOT_LABEL): Remove define.
39032         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
39033         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
39034         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
39035         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
39036         (__TLS_GET_ADDR): Likewise.
39037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
39038         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
39040 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
39042         [BZ #18111]
39043         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
39044         (_FPU_SETCW): Initialize cw from fpsr before storing.
39045         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39046         (fesetexceptflag): Rewrite using fpu_control.h.
39047         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
39049 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
39051         [BZ #18110]
39052         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
39053         asms.
39054         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39056 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
39058         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
39059         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
39060         abort.
39061         (_FP_FMA): Likewise.
39062         (_FP_DIV): Likewise.
39064 2015-03-10  Roland McGrath  <roland@hack.frob.com>
39066         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39067         with 0 in that case.
39068         * Makefile (summarize-tests): New canned sequence, factored out of
39069         commands for targets tests and xtests.  Display summary lines that
39070         don't start with PASS: or XFAIL: rather than ones that do start with
39071         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
39072         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39073         do start with ERROR: or FAIL:.
39074         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39075         (except for [$(build-shared) = yes]).
39076         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39077         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39078         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39079         * nptl/Makefile: Revert 2015-03-04 changes.
39080         [$(CXX) empty] (tests-unsupported): New variable.
39081         * debug/Makefile: Likewise.
39083         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39084         gnulib file.  Replace __attribute with __attribute__ throughout.
39086 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
39088         * sysdeps/hppa/fpu/libm-test-ulps: Update.
39090 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39092         [BZ #18104]
39093         * math/auto-libm-test-in: Add another test of pow.
39094         * math/auto-libm-test-out: Regenerated.
39096 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39098         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39099         $(config-cflags-nofma).
39101 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39103         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39104         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39105         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39106         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39107         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39108         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39109         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39110         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39111         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39112         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39113         Add comment on closing #endif.
39115 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39117         * posix/wordexp.c (CHAR_IN_SET): New macro.
39118         (parse_param): Use it.
39120 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39122         * sysdeps/powerpc/fpu/libm-test-ulps: update.
39124 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39126         [BZ #18043]
39127         * posix/wordexp.c (parse_param): Fix buffer overflow.
39128         * posix/wordexp-test.c (test_case): Add test case.
39130 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39132         [BZ #18042]
39133         * posix/wordexp.c (parse_backtick): Fix off-by-one.
39134         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39136 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39138         [BZ #18043]
39139         * posix/wordexp-test.c (test_case): Add test for BZ #18043
39140         (do_bz18043): Delete.
39141         (at_page_end): New.
39142         (testit): Refactor to have words at the edge of unreadable page.
39144 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39146         [BZ #16734]
39147         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39148         Cleanup read-only streams as well.
39149         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39151 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39153         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39154         <bits/libc-lockP.h>
39156 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
39158         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
39159         on [__KERNEL__].
39160         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39161         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39162         * soft-fp/op-common.h (_FP_DECL): Likewise.
39164 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39166         * elf/ifuncdep2.c (global): Replace
39167         __attribute__((visibility("protected"))) with
39168         asm (".protected global").
39169         * elf/ifuncmod1.c (global): Likewise.
39170         * elf/ifuncmod5.c (global): Likewise.
39172 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39174         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39175         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39177 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39179         * manual/install.texi (Configuring and compiling):
39180         Document test-wrapper-env-only.
39181         * INSTALL: Regenerated.
39183 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39185         [BZ #18043]
39186         * posix/wordexp.c (parse_param): Fix buffer overflow.
39187         * posix/wordexp-test.c (do_bz18043): Add test case.
39189 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39191         * time/tst-strptime2.c (do_test): Ensure failing tests are
39192         reported correctly.
39193         * time/tst-strptime3.c (do_test): Likewise.
39195 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39197         Fix aio_error thread-safety.
39198         * sysdeps/pthread/aio_error.c: New file
39199         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39200         synchronization.
39202 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39204         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39205         (group_number, vfprintf): Use it.
39206         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39207         (JUMP, REF): Use it.
39208         (WORK_BUFFER_SIZE): New enum constant.
39209         (process_arg, vfprintf): Use it.
39211 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39213         * manual/errno.texi (Error Messages): Complete example function
39214         by adding missing #define.
39215         (program_invocation_name): Add statement indicating GNU
39216         extension and reference which header file declares the variable.
39217         (program_invocation_short_name): Likewise.
39219 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39221         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39222         compatibility note.
39224 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39226         * Makeconfig (test-wrapper-env-only): New variable.
39227         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39228         then use that with $(test-wrapper-env-only) rather than using
39229         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39231 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39233         [BZ #18082]
39234         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39235         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39236         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39237         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39238         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39239         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39240         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39241         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39242         Likewise.
39243         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39244         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39245         Likewise.
39246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39247         Likewise.
39248         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39249         Likewise.
39250         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39251         Likewise.
39252         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39253         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39254         Likewise.
39255         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39256         Likewise.
39257         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39258         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39260 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39262         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39263         (ETH_ALEN): New macro.
39264         (struct ether_addr): Use it for length of ether_addr_octet.
39266         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39267         (setdb): Don't call __nss_configure_lookup for "rpc".
39268         (do_test): Don't call test_rpc.
39269         (output_rpcent, test_rpc): Functions moved ...
39270         * sunrpc/test-rpcent.c: ... to this new file.
39271         * sunrpc/Makefile (tests): Add it.
39273         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39274         __xpg_sigpause.
39275         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39276         * nptl/tst-signal6.c: Likewise.
39277         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39278         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39280         * configure.ac (libc_cv_cxx_link_ok): New check.
39281         Reset CXX to empty if it fails to link.
39282         * configure: Regenerated.
39283         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39284         bug-atexit3-lib only if $(CXX) is nonempty.
39285         * nptl/Makefile (tests): Likewise for tst-cancel24.
39286         (tests, tests-static): Likewise for tst-cancel24-static.
39287         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39288         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39289         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39290         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39292 2015-03-04  Andreas Schwab  <schwab@suse.de>
39294         [BZ #17631]
39295         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39296         for non-GCC compilers.
39297         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39298         Likewise.
39300 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39302         [BZ #17776]
39303         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39304         integer before bitwise and assembly operations.
39305         (feclearexcept): Likewise.
39306         * math/test-fenvinline.c: New file.
39307         * math/Makefile: Add test-fenvinline test.
39309 2015-03-03  Alan Modra  <amodra@gmail.com>
39311         [BZ #16512]
39312         * scripts/localplt.awk: Strip off symbol version.
39313         * NEWS: Mention bug fix.
39315 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39317         * sysdeps/pthread/timer_routines.c
39318         (timer_free_list, thread_free_list, thread_active_list): Make static.
39320 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39322         [BZ #17779]
39323         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39324         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39325         Undefine.
39326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39327         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39328         Likewise.
39329         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39330         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39331         Likewise.
39333 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39335         [BZ #18036]
39336         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39337         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39339 2015-03-02  Andreas Schwab  <schwab@suse.de>
39341         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39342         variable name.
39344 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39346         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39347         Return error status.
39349 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39351         [BZ #15969]
39352         * locale/findlocale.c (_nl_find_locale): Introduce const
39353         version of loc_name and drop unsafe type casts.
39355 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39357         * dlfcn/tststatic2.c (main): Converted to ...
39358         (do_test): ... this.
39359         (TEST_FUNCTION): New macro.
39360         Include test-skeleton.c.
39362 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39364         [BZ #17711]
39365         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39366         (tests-pie): Add vismain.
39367         (CFLAGS-vismain.c): New.
39368         * elf/vismain.c: Add comments for PIE requirement.
39370 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39372         [BZ #18046]
39373         [BZ #18047]
39374         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39375         0x1p-56L as threshold for just returning the argument.
39376         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39377         0x1p-32L as threshold for just returning the argument.
39378         * math/auto-libm-test-in: Add more tests of atanh.
39379         * math/auto-libm-test-out: Regenerated.
39380         * sysdeps/i386/fpu/libm-test-ulps: Update.
39381         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39383 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39385         * string/bcopy.c (bcopy): Call memmove for performance.
39387 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39389         * string/bzero.c (__bzero): Call memset for performance.
39391 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39393         [BZ #18068]
39394         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39395         to 00100000.
39397 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39399         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39401 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39403         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39404         (__kernel_standard): Use CSTR macro when setting exc.name.
39405         * sysdeps/ieee754/Makefile [$(subdir) = math]
39406         (CFLAGS-k_standard.c): Remove variable.
39408         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39409         setting p and q from "else if" to "else".
39410         (qzero): Likewise.
39411         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39412         (qone): Likewise.
39413         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39414         (qzerof): Likewise.
39415         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39416         (qonef): Likewise.
39417         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39418         (qzero): Likewise.
39419         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39420         (qone): Likewise.
39422         [BZ #18038]
39423         [BZ #18039]
39424         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39425         return pi/2 for arguments below 0x1p-113L.
39426         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39427         return pi/2 for arguments below 0x1p-106L.
39428         * math/auto-libm-test-in: Add more tests of acos.
39429         * math/auto-libm-test-out: Regenerated.
39431         [BZ #16351]
39432         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39433         (MO): New macro.
39434         (__ieee754_asin): Force underflow exception for results with small
39435         absolute value.
39436         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39437         (MO): New macro.
39438         (__ieee754_asinf): Force underflow exception for results with
39439         small absolute value.
39440         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39441         (__ieee754_asin): Force underflow exception for results with small
39442         absolute value.
39443         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39444         (__ieee754_asinf): Force underflow exception for results with
39445         small absolute value.
39446         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39447         (__ieee754_asinl): Force underflow exception for results with
39448         small absolute value.
39449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39450         (__ieee754_asinl): Force underflow exception for results with
39451         small absolute value.
39452         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39453         (__ieee754_asinl): Force underflow exception for results with
39454         small absolute value.
39455         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39456         Include <math.h>.
39457         * math/auto-libm-test-in: Do not mark underflow exceptions as
39458         possibly missing for bug 16351.
39459         * math/auto-libm-test-out: Regenerated.
39461         [BZ #18030]
39462         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39463         of power of 2 down when low part has opposite sign.
39464         * math/libm-test.inc (logb_test_data): Add more tests.
39466 2015-02-26  Andreas Schwab  <schwab@suse.de>
39468         [BZ #18032]
39469         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39470         over collating symbol inside a bracket expression.  Minor cleanup.
39471         * posix/tst-fnmatch3.c (do_test): Add test case.
39473 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39475         [BZ #18029]
39476         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39477         Adjust exponent of power of 2 down when low part has opposite
39478         sign.
39479         * math/libm-test.inc (ilogb_test_data): Add more tests.
39481 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39483         [BZ #15969]
39484         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39485         the previous change.
39487         [BZ #15969]
39488         * locale/findlocale.c (_nl_find_locale): Retry archive search
39489         after alias expansion.
39491 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39493         * iconv/tst-iconv3.c (main): Converted to ...
39494         (do_test): ... this.
39495         (TEST_FUNCTION): New macro.
39496         Include test-skeleton.c.
39498         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39499         (convert): Make function static.
39500         (test_unalign): Likewise.  Add const to argument pointee types.
39501         (main): Replace with static function do_test.
39502         Print "Succeeded." only if RET is zero.
39503         (TEST_FUNCTION): New macro.
39504         Include test-skeleton.c.
39506         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39507         returns a null pointer.
39509 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39511         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39512         to __memcpy_ppc only for static builds.
39514 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39516         [BZ #18020]
39517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39518         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39519         * math/auto-libm-test-in: Add more tests of asinh.
39520         * math/auto-libm-test-out: Regenerated.
39521         * sysdeps/i386/fpu/libm-test-ulps: Update.
39522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39524 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39526         [BZ #15850]
39527         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39528         and ip6_mtuinfo definitions here.
39529         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39530         in this define too.  Update comment.
39532 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39534         * elf/sprof.c (load_shobj): Tweak error message to match others.
39536 2015-02-24  Kevin Easton  <kevin@guarana.org>
39538         [BZ #16145] (partial fix)
39539         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39540         to reduce lock contention.
39542 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39544         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39545         (struct timex): Update time comment.
39546         (ADJ_SETOFFSET): Define.
39548 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39550         [BZ #18019]
39551         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39552         2**56 not 2**28 as threshold for log (2x) formula.
39553         * math/auto-libm-test-in: Add more tests of acosh.
39554         * math/auto-libm-test-out: Regenerated.
39555         * sysdeps/i386/fpu/libm-test-ulps: Update.
39556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39558 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39560         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39561         parenthesis around the buf assignment.
39562         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39564 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39566         [BZ #16783]
39567         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39568         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39569         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39570         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39571         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39572         * math/libm-test.inc (scalb_test_data): Add more tests.
39574 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39576         [BZ #17916]
39577         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39578         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39580 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39582         [BZ #17523]
39583         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39584         * io/bits/fcntl2.h (open): Use it.
39585         (openat): Likewise.
39586         * io/open.c (__libc_open): Likewise.
39587         * io/open64.c (__libc_open64): Likewise.
39588         * io/open64_2.c (__open64_2): Likewise.
39589         * io/open_2.c (__open_2): Likewise.
39590         * io/openat.c (__openat): Likewise.
39591         * io/openat64.c (__openat64): Likewise.
39592         * io/openat64_2.c (__openat64_2): Likewise.
39593         * io/openat_2.c (__openat_2): Likewise.
39594         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39595         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39596         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39597         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39598         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39599         (__open_nocancel): Likewise.
39600         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39601         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39602         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39604 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39606         [BZ #14841]
39607         * resolv/gethnamaddr.c (getanswer): Skip logging if
39608         RES_USE_DNSSEC is set.
39609         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39611 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39613         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39615 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39617         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39618         201304L, for Unicode 7.
39620 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39622         [BZ #17836]
39623         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39624         shared library.  Add gmon-start.os otherwise.
39625         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39626         $(objpfx)gmon-start.os if builing shared library.
39627         ($(objpfx)g$(static-start-installed-name)): Likewise.
39629 2015-02-23  Andreas Schwab  <schwab@suse.de>
39631         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39633 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39635         [BZ #17269]
39636         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39637         (enlarge_userbuf): Likewise.
39639 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39641         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39642         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39643         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39644         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39646 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39648         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39649         expression inside statement expression.
39651 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39653         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39654         <sysdeps/nptl/lowlevellock.h> and remove macros and
39655         functions that are now defined there.
39656         (SYS_futex): Remove.
39657         (lll_compare_and_swap): Remove.
39658         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39660 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39662         [BZ #17999]
39663         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39664         instead of scandirat.
39665         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39666         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39667         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39668         __scandirat.
39669         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39670         (__scandirat): Declare.  Use libc_hidden_proto.
39671         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39672         Remove variable.
39673         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39675 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39677         [BZ #15319]
39678         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39679         (MO): New macro.
39680         (__ieee754_atan2): For results with small absolute value, force
39681         underflow exception and remove excess range and precision from
39682         return value.
39683         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39684         (MO): New macro.
39685         (__ieee754_atan2f): For results with small absolute value, force
39686         underflow exception and remove excess range and precision from
39687         return value.
39688         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39689         (MO): New macro.
39690         (__atan): For results with small absolute value, force underflow
39691         exception and remove excess range and precision from return value.
39692         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39693         (MO): New macro.
39694         (__atanf): For results with small absolute value, force underflow
39695         exception and remove excess range and precision from return value.
39696         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39697         <math.h>.
39698         (__ieee754_atan2): Force underflow exception for results with
39699         small absolute value.
39700         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39701         <math_private.h>.
39702         (atan): Force underflow exception for results with small absolute
39703         value.
39704         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39705         (__atanf): Force underflow exception for results with small
39706         absolute value.
39707         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39708         <math.h>.
39709         (__atanl): Force underflow exception for results with small
39710         absolute value.
39711         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39712         (__atanl): Force underflow exception for results with small
39713         absolute value.
39714         * sysdeps/x86/fpu/bits/mathinline.h
39715         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39716         (__ieee754_atan2): Only define inline for long double.
39717         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39718         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39719         * math/auto-libm-test-in: Do not mark underflow exceptions as
39720         possibly missing for bug 15319.  Add more tests of atan2.
39721         * math/auto-libm-test-out: Regenerated.
39722         * math/libm-test.inc (casin_test_data): Do not mark underflow
39723         exceptions as possibly missing for bug 15319.
39724         (casinh_test_data): Likewise.
39725         * sysdeps/i386/fpu/libm-test-ulps: Update.
39727 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39729         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39730         * sysdeps/mips/bits/endian.h: Fix comments.
39732 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39734         [BZ #17996]
39735         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39736         (hdestroy_r): Likewise.
39737         (hsearch_r): Likewise.
39738         (__hcreate_r): Declare and use libc_hidden_proto.
39739         (__hdestroy_r): Likewise.
39740         (__hsearch_r): Likewise.
39741         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39742         (hcreate): Call __hcreate_r instead of hcreate_r.
39743         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39744         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39745         as weak alias of __hcreate_r.
39746         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39747         __hdestroy_r.
39748         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39749         __hsearch_r.
39750         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39751         Remove variable.
39752         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39753         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39754         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39755         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39757 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39759         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39760         arena_lock into a single arena_get.
39762 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39764         * dl-reloc.c: Inlucde libc-internal.h.
39765         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39766         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39767         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39768         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39769         (grow_heap): Likewise.
39770         * malloc/malloc.c: Include libc-internal.h.
39771         (do_check_malloc): Call powerof2.
39772         (sysmalloc): Use pagesize. Call ALIGN_UP.
39773         (systrim): Use pagesize.
39774         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39775         (__libc_valloc): Use pagesize.
39776         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39778 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39780         [BZ #17991]
39781         * include/sys/resource.h (__getrlimit64): Declare.  Use
39782         libc_hidden_proto.
39783         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39784         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39785         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39786         getrlimit64.
39787         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39788         __getrlimit64.
39789         [!getrlimit64] (getrlimit64): Define as weak alias of
39790         __getrlimit64.  Use libc_hidden_weak.
39791         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39792         using __getrlimit64 not __new_getrlimit64.
39793         (__GI_getrlimit64): Likewise.
39794         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39795         Likewise.
39796         (__GI_getrlimit64): Likewise.
39797         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39799         (getrlimit): Add __getrlimit64 alias.
39800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39801         Likewise.
39802         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39803         Remove variable.
39804         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39805         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39807 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39809         * libio/fileops.c: Add missing sys/mman.h
39810         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39812 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39814         * manual/math.texi (Errors in Math Functions): Clarify goals
39815         regarding inexact and underflow exceptions.
39817 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39819         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39820         * sysdeps/mips/memset.S: Ditto.
39822 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39824         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39826 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39828         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39829         (__v1longjmp): Remove versioned symbol.
39830         (__v1siglongjmp): Remove alias and versioned symbol.
39831         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39832         (__v2siglongjmp): Likewise.
39834 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39836         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39838 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39840         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39842 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39844         [BZ #17987]
39845         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39846         zero result does not depend on the sign resulting from
39847         subtraction.
39848         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39849         Likewise.
39850         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39851         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39852         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39853         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39854         * math/libm-test.inc (remquo_test_data): Add more tests.
39856 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39858         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39859         Problem reported by J William Piggott.
39861 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39863         [BZ #17978]
39864         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39865         products 4 * y and 2 * y where those would overflow.
39866         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39867         Likewise.
39868         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39869         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39870         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39871         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39872         * math/libm-test.inc (remquo_test_data): Add more tests.
39874         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39876         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39877         [defined _COMPILING_NEWLIB].
39878         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39879         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39881         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39882         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39884 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39886         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39887         acquired.
39889 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39891         [BZ #17792]
39892         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39893         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39894         HOST_STACK_END_ADDR): Likewise.
39896 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39898         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39899         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39900         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39902 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39904         * sysdeps/generic/c++-types.data: New file.
39905         * sysdeps/generic/ld.abilist: New file.
39906         * sysdeps/generic/libBrokenLocale.abilist: New file.
39907         * sysdeps/generic/libanl.abilist: New file.
39908         * sysdeps/generic/libc.abilist: New file.
39909         * sysdeps/generic/libcrypt.abilist: New file.
39910         * sysdeps/generic/libdl.abilist: New file.
39911         * sysdeps/generic/libm.abilist: New file.
39912         * sysdeps/generic/libpthread.abilist: New file.
39913         * sysdeps/generic/libresolv.abilist: New file.
39914         * sysdeps/generic/librt.abilist: New file.
39916 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39918         [BZ #17569]
39919         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39920         Compute absolute value of x as modified by fmod, not original
39921         value of x.
39922         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39923         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39924         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39925         RUN_TEST_ffI_f1_mod8.
39926         (remquo_test_data): Add more tests.
39928 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39930         * sysdeps/init_array/pt-crti.S: New file.
39932 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39934         [BZ #17967]
39935         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39936         __builtin_fmaf instead of relying on contraction of a * b + c.
39938 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39940         [BZ #17969]
39941         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39942         node.
39944 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39946         [BZ #17964]
39947         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39948         __builtin_fma instead of relying on contraction of a * b + c.
39950 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39952         * Makeconfig (ASFLAGS): Add -Werror=undef.
39953         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39954         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39955         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39957         * Makeconfig (after-link): New variable.
39958         (+link-pie, +link-pie-tests): Use it.
39959         (+link-static, +link-static-tests): Likewise.
39960         (+link, +link-tests): Likewise.
39961         * Makerules (build-module, build-module-asneeded): Likewise.
39962         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39963         Likewise.
39964         * elf/Makefile ($(objpfx)ld.so): Likewise.
39966 2015-02-12  RĂŒdiger Sonderfeld  <ruediger@c-plusplus.net>
39968         [BZ #17965]
39969         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39970         both struct timeval and struct timespec.
39972 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39974         [BZ #16560]
39975         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39976         and redefine.
39977         (__ieee754_exp2l): Do not multiply small fractional parts by
39978         M_LN2l.
39979         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39980         small argument.
39981         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39982         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39983         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39984         * math/auto-libm-test-in: Add more tests of exp2.
39985         * math/auto-libm-test-out: Regenerated.
39987 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39989         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39990         unaligned path.
39992 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39994         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39995         little endian.
39997 2015-02-12  Andreas Schwab  <schwab@suse.de>
39999         [BZ #15790]
40000         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
40001         Filter out elision flags from value returned in kind.
40002         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
40003         * nptl/tst-pthread-mutexattr.c: New file.
40005 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40007         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
40008         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
40009         into gnu-gnu, and update comment to refer to abi-tags.
40011 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
40013         [BZ #15467]
40014         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
40015         (__sincos): Set errno to EDOM for infinite argument.
40016         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
40017         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
40018         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
40019         (__sincosl): Set errno to EDOM for infinite argument.
40020         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
40021         (__sincosl): Set errno to EDOM for infinite argument.
40022         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
40023         (__sincosl): Set errno to EDOM for infinite argument.
40024         * math/libm-test.inc (sincos_test_data): Test errno setting.
40026 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
40028         * string/strxfrm_l.c: Remove #define STRCMP.
40029         * string/strcoll_l.c: Remove #define STRLEN.
40030         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
40031         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
40033 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
40035         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
40036         * sysdeps/mips/mips32/sfp-machine.h: ... here.
40037         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
40038         * sysdeps/mips/mips64/Makefile: ... here.
40039         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
40040         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
40041         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
40042         * sysdeps/mips/mips64/sfp-machine.h: ... here.
40043         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
40044         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
40045         * sysdeps/mips/mips64/n64/Implies: Likewise.
40047 2015-02-10  Roland McGrath  <roland@hack.frob.com>
40049         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40050         <sys/time.h>, <string.h>, and <errno.h>.
40051         (dest_offset, dest_address, value, zero): Remove unused variables.
40052         (ldouble): Remove typedef.
40053         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
40054         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
40055         1).  Fix code style.
40056         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
40057         (check): Function removed.
40058         (CHECK): New macro.
40059         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
40060         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
40061         Don't call set_sigaction_FP and remove_sigaction_FP here.
40062         (ldouble_test): Just use 'long double' as macro argument, no need for
40063         the 'ldouble' typedef.
40064         (do_test): Set up SIGFPE handler at start, using plain signal rather
40065         than sigaction.  Fix code style.
40067 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
40069         [BZ #17949]
40070         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40071         jump label.
40073 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40075         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40076         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40078         * sysdeps/powerpc/configure.ac: Remove file.
40079         * sysdeps/powerpc/configure: Likewise.
40081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40082         [sysdep_routines]: Remove wordcopy-power6 object.
40083         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40084         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40085         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40086         (__memmove_ppc32): Likewise.
40087         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40088         file.
40089         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40090         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40091         Remove preprocessor.
40093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40094         [sysdep_routines]: Remove wide chars objects.
40095         [wcsmbs]: New rule for wide char objects.
40097         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40098         Remove wordcopy-power6 obejct.
40099         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40100         Use local call for wordcopy and memcpy symbols.
40101         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40102         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40103         implementation for loader.
40104         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40107         Remove wordcopy-power7 object.
40108         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40109         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40110         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40111         (_wordcopy_fwd_dest_aligned): Likewise.
40112         (_wordcopy_bwd_aligned): Likewise.
40113         (_wordcopy_bwd_dest_aligned): Likewise.
40115         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40116         Rewrite to call __memmove_ppc instead of include default
40117         implementation.
40119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40120         Remove wide chars objects.
40121         [wcsmbs]: New rule for wide char objects.
40123 2015-02-09  Andreas Schwab  <schwab@suse.de>
40125         [BZ #17912]
40126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40127         in terms of __O_DIRECTORY.
40129 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40131         * time/getdate.c: Include <stdbool.h>.
40132         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40133         call PTR_MANGLE.
40134         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40135         PTR_DEMANGLE.
40137 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
40139         Add ersatz _Static_assert on older C hosts
40140         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40141         pre-C11 C platform that is not known to support _Static_assert.
40143 2015-02-07  Richard Braun  <rbraun@sceen.net>
40145         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40146         sigstate.
40147         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40149 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40151         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40152         priority against unexistent AIO_PRIO_DELTA_MAX.
40153         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40154         instead of int.
40155         * misc/fchflags.c (fchflags): Likewise.
40156         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40157         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40158         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40159         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40160         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40161         Declare macros.
40162         [__USE_MISC] (chflags, fchflags): Declare functions.
40163         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40164         EINVAL when nfds is greater than FD_SETSIZE.
40165         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40166         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40167         45.
40168         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40169         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40170         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40171         MACH_RCV_TIMED_OUT.
40172         * hurd/hurd/signal.h (_hurd_self_sigstate,
40173         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40174         Explicit casts from void *.
40175         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40176         * abi-tags: Rename gnu-gnu os into gnu.
40178         [BZ #4719]
40179         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40180         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40181         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40182         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40183         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40184         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40186         [BZ #17944]
40187         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40188         duplicates ADDR->sun_path with sockaddr LEN limitation.
40189         * sysdeps/mach/hurd/connect.c: Include <string.h>
40190         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40191         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40192         * sysdeps/mach/hurd/sendto.c: Likewise.
40193         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40194         implementing it by hand.
40196 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40198         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40199         Use sfi_breg on ldr.
40200         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40201         Likewise.
40203         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40204         it's defined.
40205         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40206         Test SIGSETXID only if it's defined.
40208         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40210         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40211         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40213         * nptl/tst-align2.c: Moved ...
40214         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40215         * nptl/Makefile (tests): Remove tst-align2.
40216         * sysdeps/unix/sysv/linux/Makefile
40217         [$(subdir) = nptl] (tests): Add tst-align-clone.
40218         * nptl/tst-getpid1.c: Moved ...
40219         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40220         * nptl/tst-getpid2.c: Moved ...
40221         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40222         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40223         * sysdeps/unix/sysv/linux/Makefile
40224         [$(subdir) = nptl] (tests): ... here.
40225         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40226         * sysdeps/unix/sysv/linux/Makefile
40227         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40229         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40230         Drop trailing \n from perror argument.  Use return rather than exit.
40232         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40233         on [SA_SIGINFO].
40234         * nptl/tst-cancel21.c (do_test): Likewise.
40235         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40236         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40237         [!SA_SIGINFO]: Make it a stub test.
40239         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40240         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40242         * posix/tst-getlogin.c: Move to ...
40243         * login/tst-getlogin.c: ... here.
40244         * posix/Makefile (tests): Move tst-getlogin to ...
40245         * login/Makefile (tests): ... here.
40247         * libio/tst-atime.c (do_test): Move local variables SV and E
40248         inside [ST_NOATIME] conditional.
40250         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40252         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40254         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40255         (wait_code): New function replaces macro.
40256         Call nanosleep rather than syscall.
40258         * nptl/pt-system.c: Rewritten.  Put everything under
40259         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40260         Use IFUNC to redirect when possible.
40262         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40263         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40264         Use IFUNC to redirect when possible.
40266         * nptl/pt-fork.c: Rewritten.  Put everything under
40267         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40268         Use IFUNC to redirect when possible.
40269         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40272         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40273         unconditionally nowadays.  This included the only reference to
40274         __vdso_clock_gettime that appears outside libc proper.
40275         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40276         Remove version set (containing only __vdso_clock_gettime).
40277         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40278         Add attribute_hidden.
40279         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40280         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40281         libc_hidden_data_def.
40282         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40283         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40285         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40286         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40287         setrpcent, and getrpcport to ...
40288         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40289         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40290         getrpcbynumber_r, and getrpcent_r to ...
40291         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40292         * inet/getrpcbyname.c: Moved ...
40293         * sunrpc/getrpcbyname.c: ... here.
40294         * inet/getrpcbyname_r.c: Moved ...
40295         * sunrpc/getrpcbyname_r.c: ... here.
40296         * inet/getrpcbynumber.c: Moved ...
40297         * sunrpc/getrpcbynumber.c: ... here.
40298         * inet/getrpcbynumber_r.c: Moved ...
40299         * sunrpc/getrpcbynumber_r.c: ... here.
40300         * inet/getrpcent.c: Moved ...
40301         * sunrpc/getrpcent.c: ... here.
40302         * inet/getrpcent_r.c: Moved ...
40303         * sunrpc/getrpcent_r.c: ... here.
40304         * inet/Makefile (routines): Move those to ...
40305         * sunrpc/Makefile (routines): ... here.
40306         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40307         the $(subdirs) list.
40308         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40309         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40310         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40311         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40313         * elf/Makefile (routines): Include $(all-dl-routines), not just
40314         $(dl-routines).
40315         (rtld-routines): Likewise.  Use = rather than :=.
40316         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40317         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40318         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40319         * sysdeps/arm/Makefile: Likewise.
40320         * sysdeps/i386/Makefile: Likewise.
40321         * sysdeps/x86_64/Makefile: Likewise.
40322         * sysdeps/hppa/Makefile [$(subdir) = elf]
40323         (sysdep_routines, sysdep-rtld-routines): Don't add
40324         $(sysdep-dl-routines) to these.
40325         * sysdeps/ia64/Makefile: Likewise.
40326         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40327         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40328         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40329         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40330         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40331         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40332         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40333         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40334         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40335         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40336         these; sysdep-dl-routines alone is enough.
40338 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40340         [BZ #17932]
40341         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40342         where multiplication results in zero and third argument is finite
40343         and nonzero.
40344         * math/auto-libm-test-in: Add more tests of fma.
40345         * math/auto-libm-test-out: Regenerated.
40347         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40348         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40349         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40350         (_FP_CMP_EQ): Likewise.
40351         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40353         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40354         extra argument CHECK_NAN.  Redefine as wrapper around
40355         _FP_EXTEND_CNAN.
40357 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40359         * version.h (RELEASE): Set to "stable".
40360         (VERSION): Set to "2.21"
40361         * include/features.h (__GLIBC_MINOR__): Set to 21.
40363         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40365 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40366             Paul Eggert  <eggert@cs.ucla.edu>
40368         [BZ #16618]
40369         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40370         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40371         size in bytes. Store needed elements in wpmax. Use needed size
40372         in bytes for extend_alloca.
40374 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40376         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40377         binutls 2.25, and texinfo 5.2.
40378         * INSTALL: Regenerate.
40379         * sysdeps/nios2/configure: Regenerate.
40380         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40381         * manual/contrib.texi: Update.
40382         * po/be.po: Update.
40383         * po/bg.po: Update.
40384         * po/ca.po: Update.
40385         * po/cs.po: Update.
40386         * po/da.po: Update.
40387         * po/de.po: Update.
40388         * po/el.po: Update.
40389         * po/eo.po: Update.
40390         * po/es.po: Update.
40391         * po/fi.po: Update.
40392         * po/fr.po: Update.
40393         * po/gl.po: Update.
40394         * po/hr.po: Update.
40395         * po/hu.po: Update.
40396         * po/ia.po: Update.
40397         * po/id.po: Update.
40398         * po/it.po: Update.
40399         * po/ja.po: Update.
40400         * po/ko.po: Update.
40401         * po/lt.po: Update.
40402         * po/nb.po: Update.
40403         * po/nl.po: Update.
40404         * po/pl.po: Update.
40405         * po/pt_BR.po: Update.
40406         * po/ru.po: Update.
40407         * po/rw.po: Update.
40408         * po/sk.po: Update.
40409         * po/sl.po: Update.
40410         * po/sv.po: Update.
40411         * po/tr.po: Update.
40412         * po/uk.po: Update.
40413         * po/vi.po: Update.
40414         * po/zh_CN.po: Update.
40415         * po/zh_TW.po: Update.
40417         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40418         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40419         * sysdeps/hppa/dl-irel.h: Remove #warning.
40420         * sysdeps/hppa/entry.h: Provide prototype for
40421         __canonicalize_funcptr_for_compare and cast argument.
40422         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40423         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40424         * sysdeps/hppa/sotruss-lib.c: New file.
40425         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40426         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40427         (atomic_compare_and_exchange_bool_acq): Likewise.
40428         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40429         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40431         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40432         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40433         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40435 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40437         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40438         called function in non-PIC case.
40440 2015-01-31  David S. Miller  <davem@davemloft.net>
40442         * sysdeps/sparc/sparc32/bits/atomic.h
40443         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40444         unlock not after it.
40445         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40446         volatile register usage warnings from the compiler.
40448         * sysdeps/sparc/nptl/sem_init.c: Delete.
40449         * sysdeps/sparc/nptl/sem_post.c: Delete.
40450         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40451         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40452         * sysdeps/sparc/sparc32/sem_init.c: New file.
40453         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40454         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40455         padding explicitly initialized.
40456         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40457         padding for in-semaphore spinlock.
40458         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40459         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40460         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40461         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40462         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40463         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40464         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40465         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40466         version.
40467         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40468         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40470 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40472         [BZ #17801]
40473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40474         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40475         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40476         New.
40477         (index_AVX_Fast_Unaligned_Load): Likewise.
40478         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40479         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40480         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40481         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40482         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40483         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40484         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40485         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40486         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40488 2015-01-29  Andreas Schwab  <schwab@suse.de>
40490         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40492 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40494         [BZ #17892]
40495         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40497 2015-01-28  Martin Sebor  <msebor@redhat.com>
40499         * math/README.libm-test: Clarify. Add "How to read the test output."
40501 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40503         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40504         Define to 0.
40506 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40508         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40509         (__HAVE_64B_ATOMICS): Define to 0.
40511 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40513         [BZ #17885]
40514         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40515         value to set as new flag.
40517         [BZ #16576]
40518         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40519         and use _ARCH_PPCSQ instead.
40520         (__ieee754_sqrt): Likewise.
40521         (__ieee754_sqrtf): Likewise.
40522         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40523         _ARCH_PPCSQ is defined.
40524         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40525         fsqrt instruction.
40526         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40527         _ARCH_PPCSQ is defined.
40528         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40529         fsqrts instruction.
40530         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40532 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40534         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40535         bug (GCC BZ #64739).
40537 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40539         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40540         Mark _retval as used.
40541         (lll_futex_wake_unlock): Likewise.
40542         (lll_futex_timed_wait_requeue_pi): Likewise.
40544         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40545         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40546         register variables.
40548         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40549         libm_hidden_def.
40551         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40552         (__bswap_64): Mark as __always_inline.
40554 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40556         [BZ #15378]
40557         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40558         when none of the search directories exist.
40560 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40562         [BZ #17869]
40563         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40564         power8 in .machine directive.
40566         [BZ #17868]
40567         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40568         set dependency from opd value.
40570 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40573         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40574         architecture.
40576 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40578         [BZ #17870]
40579         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40580         with uint64_t.
40581         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40582         (uint64_t) 1.
40583         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40584         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40585         Replace 1UL with (uint64_t) 1.
40586         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40587         int with uint64_t.
40589 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40591         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40592         (if_freenameindex): Likewise.
40594         * resource/getrlimit64.c: Add missing libc_hidden_def.
40596 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40598         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40599         __label__.
40600         (_FP_FMA): Likewise.
40601         (_FP_TO_INT_ROUND): Likewise.
40602         (_FP_FROM_INT): Likewise.
40604 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40606         [BZ #16418]
40607         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40608         Make code racy and cancel safe.
40610 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40612         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40613         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40614         attribution.
40616         * pwd/tst-getpw.c: Rewrite.
40618         [BZ #17702]
40619         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40620         (modules-names): Add moddummy1 and moddummy2.
40621         ($(objpfx)tst-rec-dlopen): Define.
40622         * dlfcn/moddummy1.c: New file.
40623         * dlfcn/moddummy2.c: New file.
40624         * dlfcn/tst-rec-dlopen.c: New file.
40625         * elf/dl-cache.c (_dl_load_cache_lookup):
40626         Return char*. Copy result with alloca/strcpy/strdup.
40627         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40628         returns char*. Free cached. If not saving realname
40629         free cached.
40630         * elf/dl-open.c (dl_open_worker): Do not assert that
40631         _r_debug->r_state is RT_CONSISTENT.
40632         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40633         returns char*.
40635 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40636             Carlos O'Donell  <carlos@redhat.com>
40638         [BZ #12674]
40639         * nptl/sem_waitcommon.c: New file.
40640         * nptl/sem_wait.c: Include sem_waitcommon.c.
40641         (__sem_wait_cleanup, do_futex_wait): Remove.
40642         (__new_sem_wait): Adapt.
40643         (__new_sem_trywait): New function.
40644         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40645         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40646         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40647         (sem_timedwait): Adapt.
40648         * nptl/sem_post.c (__new_sem_post): Adapt.
40649         (futex_wake): New function.
40650         (__old_sem_post): Add release MO fence.
40651         * nptl/sem_open.c (sem_open): Adapt.
40652         * nptl/sem_init.c (__new_sem_init): Adapt.
40653         (futex_private_if_supported): New function.
40654         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40655         (__old_sem_getvalue): Add using previous code.
40656         * sysdeps/nptl/internaltypes.h: Adapt.
40657         * nptl/tst-sem13.c (do_test): Adapt.
40658         * nptl/tst-sem11.c (main): Adapt.
40659         * nptl/sem_trywait.c: Remove.
40660         * nptl/DESIGN-sem.txt: Remove.
40661         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40662         (gen-as-const-headers): Remove structsem.sym.
40663         * nptl/structsem.sym: Remove.
40664         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40665         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40666         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40667         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40668         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40669         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40670         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40671         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40672         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40673         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40674         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40675         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40676         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40677         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40678         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40679         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40680         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40681         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40682         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40683         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40684         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40685         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40687 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40689         * INSTALL: Regenerated.
40691         * po/libc.pot: Regenerated.
40693 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40694             Sandra Loosemore  <sandra@codesourcery.com>
40695             Andrew Jenner  <andrew@codesourcery.com>
40696             Joseph Myers  <joseph@codesourcery.com>
40697             Nathan Sidwell  <nathan@codesourcery.com>
40699         * NEWS: Mention new Nios II port.
40700         * sysdeps/nios2/Implies: New file.
40701         * sysdeps/nios2/Makefile: New file.
40702         * sysdeps/nios2/Subdirs: New file.
40703         * sysdeps/nios2/Versions: New file.
40704         * sysdeps/nios2/__longjmp.S: New file.
40705         * sysdeps/nios2/abort-instr.h: New file.
40706         * sysdeps/nios2/backtrace.c: New file.
40707         * sysdeps/nios2/bits/endian.h: New file.
40708         * sysdeps/nios2/bits/fenv.h: New file.
40709         * sysdeps/nios2/bits/link.h: New file.
40710         * sysdeps/nios2/bits/setjmp.h: New file.
40711         * sysdeps/nios2/bsd-_setjmp.S: New file.
40712         * sysdeps/nios2/bsd-setjmp.S: New file.
40713         * sysdeps/nios2/configure: New generated file.
40714         * sysdeps/nios2/configure.ac: New file.
40715         * sysdeps/nios2/crti.S: New file.
40716         * sysdeps/nios2/crtn.S: New file.
40717         * sysdeps/nios2/dl-init.c: New file.
40718         * sysdeps/nios2/dl-machine.h: New file.
40719         * sysdeps/nios2/dl-sysdep.h: New file.
40720         * sysdeps/nios2/dl-tls.h: New file.
40721         * sysdeps/nios2/dl-trampoline.S: New file.
40722         * sysdeps/nios2/gccframe.h: New file.
40723         * sysdeps/nios2/gmp-mparam.h: New file.
40724         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40725         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40726         * sysdeps/nios2/ldsodefs.h: New file.
40727         * sysdeps/nios2/libc-tls.c: New file.
40728         * sysdeps/nios2/libm-test-ulps: New file.
40729         * sysdeps/nios2/machine-gmon.h: New file.
40730         * sysdeps/nios2/math-tests.h: New file.
40731         * sysdeps/nios2/math_private.h: New file.
40732         * sysdeps/nios2/memusage.h: New file.
40733         * sysdeps/nios2/nptl/Makefile: New file.
40734         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40735         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40736         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40737         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40738         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40739         * sysdeps/nios2/nptl/tls.h: New file.
40740         * sysdeps/nios2/preconfigure: New file.
40741         * sysdeps/nios2/s_fma.c: New file.
40742         * sysdeps/nios2/s_fmaf.c: New file.
40743         * sysdeps/nios2/setjmp.S: New file.
40744         * sysdeps/nios2/sfp-machine.h: New file.
40745         * sysdeps/nios2/sotruss-lib.c: New file.
40746         * sysdeps/nios2/stackguard-macros.h: New file.
40747         * sysdeps/nios2/stackinfo.h: New file.
40748         * sysdeps/nios2/start.S: New file.
40749         * sysdeps/nios2/sysdep.h: New file.
40750         * sysdeps/nios2/tls-macros.h: New file.
40751         * sysdeps/nios2/tst-audit.h: New file.
40752         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40753         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40754         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40755         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40756         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40757         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40758         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40759         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40760         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40761         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40762         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40763         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40764         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40765         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40766         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40767         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40768         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40769         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40770         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40771         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40772         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40773         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40774         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40775         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40776         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40777         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40778         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40779         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40780         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40781         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40782         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40783         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40784         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40785         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40786         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40787         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40788         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40789         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40790         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40791         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40792         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40793         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40794         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40795         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40797 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40799         [BZ #17844]
40800         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40801         (getutent): Use weak_alias in non SHARED case
40802         and default_symbol_version in SHARED case.
40803         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40804         (getutent_r, pututline): Likewise.
40805         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40806         (getutid): Likewise.
40807         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40808         (getutid_r): Likewise.
40809         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40810         (getutline): Likewise.
40811         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40812         (getutline_r): Likewise.
40813         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40814         (updwtmp): Likewise.
40816 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40818         [BZ #17848]
40819         * sysdeps/s390/s390-32/memcmp.S
40820         (memcmp_g5): Rename to __memcmp_g5.
40821         * sysdeps/s390/s390-32/memcpy.S
40822         (memcpy_g5): Rename to __memcpy_g5.
40823         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40824         (memcpy_mvcle) Rename to __memcpy_mvcle.
40825         * sysdeps/s390/s390-32/memset.S
40826         (memset_g5): Rename to __memset_g5.
40827         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40828         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40829         and use prefixed functions.
40830         * sysdeps/s390/s390-32/multiarch/memcmp.S
40831         (memcmp_z196): Rename to __memcmp_z196.
40832         (memcmp_z10): Rename to __memcmp_z10.
40833         (memcmp): Set alias to __memcmp_g5.
40834         (bcmp): Set alias to __memcmp_g5.
40835         * sysdeps/s390/s390-32/multiarch/memcpy.S
40836         (memcpy_z196): Rename to __memcpy_z196.
40837         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40838         (memcpy_z10): Rename to __memcpy_z10.
40839         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40840         (memcpy): Set alias to __memcpy_g5.
40841         * sysdeps/s390/s390-32/multiarch/memset.S
40842         (memset_z196): Rename to __memset_z196.
40843         Jump to __memset_mvcle instead of memset_mvcle.
40844         (memset_z10): Rename to __memset_z10.
40845         Jump to __memset_mvcle instead of memset_mvcle.
40846         (memset_mvcle) Rename to __memset_mvcle.
40847         (memset): Set alias to __memset_g5.
40848         * sysdeps/s390/s390-64/memcmp.S
40849         (memcmp_z900): Rename to __memcmp_z900.
40850         * sysdeps/s390/s390-64/memcpy.S
40851         (memcpy_z900): Rename to __memcpy_z900.
40852         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40853         (memcpy_mvcle) Rename to __memcpy_mvcle.
40854         * sysdeps/s390/s390-64/memset.S
40855         (memset_z900): Rename to __memset_z900.
40856         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40857         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40858         and use prefixed functions.
40859         * sysdeps/s390/s390-64/multiarch/memcmp.S
40860         (memcmp_z196): Rename to __memcmp_z196.
40861         (memcmp_z10): Rename to __memcmp_z10.
40862         (memcmp): Set alias to __memcmp_z900.
40863         (bcmp): Set alias to __memcmp_z900.
40864         * sysdeps/s390/s390-64/multiarch/memcpy.S
40865         (memcpy_z196): Rename to __memcpy_z196.
40866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40867         (memcpy_z10): Rename to __memcpy_z10.
40868         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40869         (memcpy): Set alias to __memcpy_z900.
40870         * sysdeps/s390/s390-64/multiarch/memset.S
40871         (memset_z196): Rename to __memset_z196.
40872         Jump to __memset_mvcle instead of memset_mvcle.
40873         (memset_z10): Rename to __memset_z10.
40874         Jump to __memset_mvcle instead of memset_mvcle.
40875         (memset_mvcle) Rename to __memset_mvcle.
40876         (memset): Set alias to __memset_z900.
40878 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40880         [BZ #17748]
40881         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40882         __fesetenv instead of fesetenv.
40884 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40886         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40887         macro.
40889 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40891         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40892         regression on LE.
40894         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40895         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40896         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40897         strncmp-power8 object.
40898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40899         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40900         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40901         * NEWS: Update.
40903 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40904             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40906         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40907         trailing byte check.
40909 2015-01-13  David S. Miller  <davem@davemloft.net>
40911         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40913 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40915         * login/logout.c (logout): Use memset rather than bzero.
40916         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40917         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40918         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40919         (_gethtbyaddr): Likewise.
40920         * locale/programs/simple-hash.c (bcopy): Macro removed.
40922 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40924         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40925         Add strcmp-power8 object.
40926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40927         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40928         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40929         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40930         __strcmp_power8 implementation.
40931         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40932         * NEWS: Update.
40934         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40935         Add strncpy-power8 and stpncpy-power8 objects.
40936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40937         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40938         implementations.
40939         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40940         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40941         __stpncpy_power8 implementation.
40942         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40943         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40944         __strncpy_power8 implementation.
40945         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40946         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40947         * NEWS: Update.
40949         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40950         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40951         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40954         strncat-power8 object.
40955         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40956         __strcat_power8 implementation.
40957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40958         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40959         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40960         optimized strcat for power8.
40962         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40963         strcpy-power8 and stpcpy-power8 objects.
40964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40965         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40966         implementations.
40967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40968         multiarch stpcpy implementation for POWER8.
40969         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40970         multiarch strcpy implementation for POWER8.
40971         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40972         __strcpy_power8 function.
40973         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40974         stpcpy for POWER8.
40975         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40976         strcpy for POWER8.
40977         * NEWS: Update.
40979 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40981         [BZ #16009]
40982         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40983         weights and rules. Use do_xfrm_cached if data fits in cache,
40984         do_xfrm otherwise.  Moved former main loop to...
40985         * (do_xfrm_cached): New function.
40986         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40987         find_idx, find_position and stack_push.
40988         * (find_idx): New function.
40989         * (find_position): Likewise.
40990         * localedata/sort-test.sh: Added test run for do_xfrm.
40991         * localedata/xfrm-test.c (main): Added command line option
40992         -nocache to run the test with strings that are too large for
40993         the STRXFRM cache.
40995 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40997         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40998         variable to lll_futex_wake call, not the value itself.
41000 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
41002         [BZ #17803]
41003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
41004         twom64.  Adjust value to 0x1p-64L.
41005         (__scalblnl): Only return standard underflowing result for K <=
41006         -64 not K <= -63; adjust exponent for underflowing result by 64
41007         not 63.
41008         * math/libm-test.inc (scalbn_test_data): Add more tests.
41009         (scalbln_test_data): Likewise.
41011         [BZ #17834]
41012         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
41013         0x1p63L.
41014         (__scalblnl): Get new exponent of adjusted subnormal value from ES
41015         not HX.
41016         * math/libm-test.inc (scalbn_test_data): Add more tests.
41017         (scalbln_test_data): Likewise.
41019 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41020             Stefani Seibold  <stefani@seibold.net>
41022         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
41023         (sysdep_routines): Add dl-vdso here, ...
41024         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
41025         (sysdep_routines): ... not here.
41026         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
41027         fallback when vDSO is not presented.
41028         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
41029         Define with libc_hidden_proto/libc_hidden_data_def definitions.
41030         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
41031         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
41032         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
41033         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
41034         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
41035         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
41036         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
41037         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
41038         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
41039         fallback configurable symbol when vDSO is not available.
41040         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
41041         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
41042         be able to redefine fallback symbol when vDSO is not available.
41043         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
41044         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
41046 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41048         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41049         (TLS_INIT_TP): Add tm_capable initialization.
41050         (TLS_DEFINE_INIT_TP): Likewise.
41051         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
41052         TCB.
41053         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
41054         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
41055         calculation.
41056         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
41057         transactoion is lock elision is built and TCB tm_capable is set.
41058         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41060         (INTERNAL_SYSCALL_NCS): Likewise.
41061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41062         (INTERNAL_SYSCALL_NCS): Likewise.
41063         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41065         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41066         for powerpc.
41067         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41068         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41069         and remove it for 32 bits case.
41070         [pthread_rwlock_t] (__rwelision): New field for lock elision.
41071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41072         initialization.
41073         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41074         Disable lock elision with rdlocks if elision is not available.
41076         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41077         (sysdep_routines): Add lock elision objects.
41078         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41079         [pthread_mutex_t] (__spins): Rework to add lock elision field.
41080         [pthread_mutex_t] (__elision): Add field.
41081         [__PTHREAD_SPINS]: Adjust to init lock elision field.
41082         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41083         elision definitions for powerpc.
41084         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41085         implementation of lock elision for powerpc.
41086         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41087         implementation of timed lock elision for powerpc.
41088         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41089         implementation of trylock with lock elision for powerpc.
41090         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41091         implementaion of unlock for lock elision for powerpc.
41092         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41093         automatic enable lock elision for mutexes.
41094         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41095         transaction execution definitions for powerpc.
41096         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41097         definitions.
41098         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41099         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41100         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41101         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41102         * NEWS: Update.
41104 2015-01-09  Roland McGrath  <roland@hack.frob.com>
41106         * sysdeps/posix/shm-directory.c: Use <> rather than ""
41107         for #include of <shm-directory.h>.
41109 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
41111         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41112         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41114 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
41116         [BZ #17791]
41117         * NEWS: Mention bug fix.
41118         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41119         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41120         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41122 2015-01-09  Torvald Riegel <triegel@redhat.com>
41124         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41126 2015-01-09  Torvald Riegel <triegel@redhat.com>
41128         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41130 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41132         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41133         pointer and cast to uintptr_t.
41135 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41137         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41138         removed.
41139         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41141 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41143         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41144         of 0.
41146 2015-01-08  Roland McGrath  <roland@hack.frob.com>
41148         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41149         <nptl/pthreadP.h> instead.
41150         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41152         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41153         already defined.
41154         [__SIGRTMIN] (init): Function removed.
41155         [__SIGRTMIN] (initialized): Variable removed.
41156         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41157         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41158         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41159         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41160         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41161         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41162         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41163         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41164         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41165         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41166         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41167         * sysdeps/nptl/allocrtsig.c: New file.
41168         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41169         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41170         * sysdeps/generic/testrtsig.h: File removed.
41172         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41173         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41175         * nptl/nptl-init.c (pthread_functions): Conditionalize
41176         .ptr__nptl_setxid initialization on [SIGSETXID].
41178         * sysdeps/nptl/sys/procfs.h: New file.
41179         * nptl_db/Makefile (headers): Add it.
41180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41182         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41183         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41184         * nptl/pthread_attr_setaffinity.c: Include it.
41185         * nptl/pthread_setattr_default_np.c: Likewise.
41186         * nptl/check-cpuset.h: New file.
41188 2015-01-08  Richard Henderson  <rth@redhat.com>
41190         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41191         (CFLAGS-tst-execstack-prog.c): Likewise.
41192         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41194 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41195             Sandra Loosemore  <sandra@codesourcery.com>
41196             Andrew Jenner  <andrew@codesourcery.com>
41197             Joseph Myers  <joseph@codesourcery.com>
41198             Nathan Sidwell  <nathan@codesourcery.com>
41200         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41201         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41202         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41203         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41204         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41205         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41206         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41207         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41208         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41209         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41210         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41211         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41212         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41213         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41214         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41215         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41216         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41218 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41220         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41221         timespec struct member in syscall macro.
41222         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41223         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41224         first timeval struct member in syscall macro.
41225         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41227 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41229         [BZ #17748]
41230         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41231         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41232         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41233         __feupdateenv and define as weak alias of __feupdateenv.  Use
41234         libm_hidden_weak.
41235         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41236         libm_hidden_def.
41237         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41238         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41239         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41240         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41241         libm_hidden_def.
41242         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41243         __feupdateenv and define as weak alias of __feupdateenv.  Use
41244         libm_hidden_weak.
41245         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41246         libm_hidden_def.
41247         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41248         __feupdateenv and define as weak alias of __feupdateenv.  Use
41249         libm_hidden_weak.
41250         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41251         libm_hidden_def.
41252         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41253         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41254         (__feupdateenv): Likewise.
41255         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41256         __feupdateenv and define as weak alias of __feupdateenv.  Use
41257         libm_hidden_weak.
41258         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41259         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41260         libm_hidden_def.
41261         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41262         function.
41263         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41264         libm_hidden_def.
41265         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41266         __feupdateenv instead of feupdateenv.
41267         (default_libc_feupdateenv_test): Likewise.
41268         (libc_feresetround_ctx): Likewise.
41270 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41272         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41273         prototype.
41275 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41277         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41278         COLL_SYM in a couple of places to avoid uninitialized variable
41279         wanings on tilegx gcc 4.8.2.
41281 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41283         * sysdeps/aarch64/strcpy.S: New file.
41284         * sysdeps/aarch64/stpcpy.S: New file.
41285         * NEWS: Updated.
41287 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41289         * sysdeps/aarch64/strrchr.S: New file.
41290         * NEWS: Updated.
41292 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41294         [BZ #17658]
41295         * stdlib/setenv.c: Fix memory leak when setting large,
41296         duplicate string.
41298 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41300         [BZ #17273]
41301         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41302         and tabs from buffer before parsing fstab entry.
41303         * misc/tst-mntent.c (main): Add test for mount entry with
41304         trailing spaces and tabs.
41306 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41308         [BZ #17748]
41309         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41310         * math/fesetround.c (fesetround): Rename to __fesetround and
41311         define as weak alias of __fesetround.  Use libm_hidden_weak.
41312         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41313         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41314         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41315         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41316         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41317         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41318         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41319         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41320         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41321         __fesetround_inline.
41322         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41323         __fesetround_inline instead of __fesetround.
41324         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41325         __fesetround and define as weak alias of __fesetround.  Use
41326         libm_hidden_weak.  Call __fesetround_inline instead of
41327         __fesetround.
41328         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41329         __fesetround and define as weak alias of __fesetround.  Use
41330         libm_hidden_weak.
41331         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41332         Likewise.
41333         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41334         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41335         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41336         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41337         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41338         __fesetround and define as weak alias of __fesetround.  Use
41339         libm_hidden_weak.
41340         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41341         __fesetround instead of fesetround.
41342         (default_libc_feholdexcept_setround): Likewise.
41343         (libc_feholdsetround_ctx): Likewise.
41344         (libc_feholdsetround_noex_ctx): Likewise.
41346         [BZ #17748]
41347         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41348         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41349         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41350         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41351         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41352         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41353         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41354         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41355         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41356         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41357         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41358         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41359         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41360         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41361         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41362         libm_hidden_def.
41363         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41364         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41365         Likewise.
41366         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41367         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41368         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41369         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41370         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41371         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41372         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41373         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41374         __fesetenv instead of fesetenv.
41375         (libc_feresetround_noex_ctx): Likewise.
41376         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41377         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41378         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41379         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41380         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41381         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41382         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41383         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41384         (__feupdateenv): Likewise.
41385         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41386         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41387         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41388         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41390 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41392         [BZ #17806]
41393         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41394         addresses have been freed.
41396 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41398         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41399         and nservall.
41401 2015-01-06  Ondƙej BĂ­lka  <neleai@seznam.cz>
41403         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41404         Clean up check_pf allocation pattern. addresses
41406 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41408         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41409         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41410         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41411         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41412         * nptl/pthread_join.c (pthread_join): Likewise.
41413         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41414         * sysdeps/posix/waitid.c (__waitid): Likewise.
41415         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41416         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41417         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41418         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41419         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41420         Likewise.
41421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41422         (__libc_pread64): Likewise.
41423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41424         (__libc_pwrite): Likewise.
41425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41426         (__libc_pwrite64): Likewsie.
41427         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41428         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41429         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41430         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41431         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41432         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41433         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41435         Likewise.
41436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41437         (__libc_pread64): Likewise.
41438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41439         Likewise.
41440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41441         (__libc_pwrite64): Likewise.
41442         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41443         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41444         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41445         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41446         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41447         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41448         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41449         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41450         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41451         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41452         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41453         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41454         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41455         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41456         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41457         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41458         Likewise.
41460 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41462         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41463         (CFLAGS-test-double.c): Likewise.
41464         (CFLAGS-test-ldouble.c): Likewise.
41465         (CPPFLAGS-test-ifloat.c): Likewise.
41466         (CPPFLAGS-test-idouble.c): Likewise.
41467         (CPPFLAGS-test-ildoubl.c): Likewise.
41468         (CFLAGS-test-test-fenv.c): Remove variable.
41469         (CFLAGS-test-misc.c): Likewise.
41471 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41473         [BZ #17797]
41474         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41475         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41476         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41477         CLOCKS_PER_SEC == 1000000.
41478         * time/clocktest.c (main): Replace %ld with %jd and cast to
41479         intmax_t.
41481 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41483         * sysdeps/generic/unwind-resume.h: New file.
41484         * sysdeps/gnu/unwind-resume.c: Include it.
41485         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41486         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41487         argument list.
41488         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41489         global rather than static.
41490         (_Unwind_Resume): Update user.
41491         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41492         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41493         rather than static.  Add __attribute__ ((cold)).
41494         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41495         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41496         * sysdeps/arm/arm-unwind-resume.S: New file.
41497         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41498         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41499         * sysdeps/arm/Makefile [$(subdir) = csu]
41500         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41501         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41502         Add rt-arm-unwind-resume.
41503         [$(subdir) = nptl]
41504         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41505         Add pt-arm-unwind-resume.
41506         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41507         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41509 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41511         [BZ #17748]
41512         * include/fenv.h (__feholdexcept): Declare.  Use
41513         libm_hidden_proto.
41514         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41515         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41516         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41517         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41518         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41519         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41520         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41521         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41522         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41523         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41524         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41525         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41526         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41527         (feholdexcept): Likewise.
41528         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41529         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41530         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41531         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41532         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41533         __feholdexcept instead of feholdexcept.
41534         (default_libc_feholdexcept_setround): Likewise.
41536 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41538         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41539         to avoid using stl/str to align destination.
41541 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41543         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41545 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41547         [BZ #17796]
41548         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41549         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41550         Define as weak alias not strong alias.
41552 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41554         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41555         bltzal with addiupc.
41556         (RTLD_START): Ditto.
41558 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41560         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41561         for __vdso_* functions in declarations.
41562         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41563         definitions.
41564         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41565         INTERNAL_VSYSCALL): Use struct return types to check for error.
41567         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41568         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41569         function with cast from llround().
41570         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41571         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41572         Define.
41574 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41576         [BZ #17793]
41577         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41578         Define as weak alias not strong alias.
41580         [BZ #17635]
41581         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41582         ...
41583         * ctype/ctype-extn.c: ... here.
41584         (__isblank_l): Move to ...
41585         * ctype/ctype-c99_l.c: ... here.  New file.
41586         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41587         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41588         Remove variable.
41589         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41590         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41591         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41592         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41593         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41595         [BZ #17777]
41596         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41597         (posix_fadvise64): Define as weak alias not strong alias.
41598         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41599         (posix_fallocate64): Likewise.
41600         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41601         Remove variable.
41602         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41603         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41604         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41605         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41606         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41608 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41610         [BZ #16191]
41611         * NEWS: Mention bug fix.
41612         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41613         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41614         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41615         (HOST_STACK_END_ADDR): Likewise.
41617 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41619         [BZ #17748]
41620         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41621         * math/fegetround.c (fegetround): Rename to __fegetround and
41622         define as weak alias of __fegetround.  Use libm_hidden_weak.
41623         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41624         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41625         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41626         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41627         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41628         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41629         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41630         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41631         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41632         Undefine after rather than before function definition; use
41633         parentheses around function name in definition.
41634         (__fegetround): Also undefine macro after function definition.
41635         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41636         __fegetround and define as weak alias of __fegetround.  Use
41637         libm_hidden_weak.  Do not undefine as macro.
41638         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41639         Likewise.
41640         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41641         __fegetround and define as weak alias of __fegetround.  Use
41642         libm_hidden_weak.
41643         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41644         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41645         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41646         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41647         __fegetround and define as weak alias of __fegetround.  Use
41648         libm_hidden_weak.
41649         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41650         __fegetround instead of fegetround.
41652         [BZ #17782]
41653         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41654         Condition macro definition on [__USE_MISC].
41656         [BZ #17781]
41657         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41658         (struct sigaction): Change type of sa_flags field to int.
41660         [BZ #17780]
41661         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41662         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41663         __glibc_reserved0.
41665         * nptl/version.c (banner): Use single year in copyright notice.
41667         * NEWS: Update copyright dates.
41668         * catgets/gencat.c (print_version): Likewise.
41669         * csu/version.c (banner): Likewise.
41670         * debug/catchsegv.sh: Likewise.
41671         * debug/pcprofiledump.c (print_version): Likewise.
41672         * debug/xtrace.sh (do_version): Likewise.
41673         * elf/ldconfig.c (print_version): Likewise.
41674         * elf/ldd.bash.in: Likewise.
41675         * elf/pldd.c (print_version): Likewise.
41676         * elf/sotruss.sh: Likewise.
41677         * elf/sprof.c (print_version): Likewise.
41678         * iconv/iconv_prog.c (print_version): Likewise.
41679         * iconv/iconvconfig.c (print_version): Likewise.
41680         * locale/programs/locale.c (print_version): Likewise.
41681         * locale/programs/localedef.c (print_version): Likewise.
41682         * login/programs/pt_chown.c (print_version): Likewise.
41683         * malloc/memusage.sh (do_version): Likewise.
41684         * malloc/memusagestat.c (print_version): Likewise.
41685         * malloc/mtrace.pl: Likewise.
41686         * manual/libc.texinfo: Likewise.
41687         * nptl/version.c (banner): Likewise.
41688         * nscd/nscd.c (print_version): Likewise.
41689         * nss/getent.c (print_version): Likewise.
41690         * nss/makedb.c (print_version): Likewise.
41691         * posix/getconf.c (main): Likewise.
41692         * scripts/test-installation.pl: Likewise.
41693         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41695 2015-01-02  Will Newton  <will.newton@linaro.org>
41697         * sysdeps/arm/armv7/configure: Removed.
41698         * sysdeps/arm/armv7/configure.ac: Likewise.
41700 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41702         * All files with FSF copyright notices: Update copyright dates
41703         using scripts/update-copyrights.
41704         * intl/plural.c: Regenerated.
41705         * locale/programs/charmap-kw.h: Likewise.
41706         * locale/programs/locfile-kw.h: Likewise.
41708 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41710         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41712 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41714         [BZ #17748]
41715         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41716         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41717         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41718         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41719         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41720         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41721         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41722         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41723         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41724         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41725         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41726         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41727         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41728         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41729         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41730         libm_hidden_def.
41731         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41732         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41733         Likewise.
41734         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41735         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41736         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41737         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41738         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41739         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41740         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41741         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41742         __fegetenv instead of fegetenv.
41743         (libc_feholdsetround_noex_ctx): Likewise.
41745 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41747         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41748         (Elf_MIPS_ABIFlags_v0): New structure.
41749         (EF_MIPS_FP64): Define.
41750         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41751         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41752         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41753         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41754         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41755         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41756         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41757         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41758         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41759         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41760         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41761         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41762         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41763         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41764         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41765         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41766         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41767         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41768         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41769         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41770         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41771         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41772         field.
41773         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41774         EF_MIPS_FP64.
41775         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41776         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41777         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41778         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41779         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41780         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41781         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41782         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41783         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41784         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41785         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41786         record the current FP ABI extension.
41787         (mips-mode-switch): Define to show if kernel headers support mode
41788         switching.
41789         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41790         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41791         supported SYSV ABI version to 3.
41792         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41793         feature.
41795 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41798         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41799         path.
41800         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41802 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41804         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41805         __fegetround and redefine to call __fegetround.  Remove condition
41806         on [!__NO_MATH_INLINES].
41807         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41808         function.
41809         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41810         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41811         Remove macro.
41812         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41813         instead of <fenv_libc.h>.
41814         (__llrintl): Call fegetround instead of __fegetround.
41815         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41816         instead of <fenv_libc.h>.
41817         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41818         (__lrintl): Call fegetround instead of __fegetround.
41819         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41820         instead of <fenv_libc.h>.
41821         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41822         (__rintl): Call fegetround instead of __fegetround.
41824 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41826         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41827         arrays.
41829 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41831         [BZ #17775]
41832         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41833         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41834         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41836 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41838         * sysdeps/i386/tls-macros.h: Include <features.h>.
41839         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41840         (TLS_IE): Likewise.
41841         (TLS_LD): Likewise.
41842         (TLS_GD): Likewise.
41843         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41844         define for GCC >= 5.0.
41846 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41848         * math/test-fenv.c (test_single_exception, set_single_exc,
41849         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41850         feexcp_mask_test, feenable_test, fe_single_test): Add
41851         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41852         case where they are not used.
41853         * math/libm-test.inc: Likewise.
41854         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41855         unused in the absence of FP rounding/exception support.
41856         * stdio-common/tst-printf-round.c: Likewise.
41857         * stdlib/tst-strtod-round.c: Likewise.
41858         * stdlib/tst-strtod-underflow.c: Likewise.
41860 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41862         [BZ #17723]
41863         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41864         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41865         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41866         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41867         libm_hidden_weak.
41868         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41869         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41870         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41871         libm_hidden_def.
41872         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41873         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41874         libm_hidden_weak.
41875         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41876         Likewise.
41877         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41878         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41879         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41880         libm_hidden_weak.
41881         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41882         libm_hidden_def.
41883         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41884         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41885         (__feraiseexcept): Likewise.
41886         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41887         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41888         libm_hidden_weak.
41889         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41890         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41891         libm_hidden_def.
41892         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41893         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41894         Use libm_hidden_def.
41895         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41896         libm_hidden_def.
41897         (feraiseexcept): Define as weak not strong alias.  Use
41898         libm_hidden_weak.
41899         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41900         New inline function.  Factored out of ...
41901         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41902         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41903         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41904         feraiseexcept.
41905         * math/w_acos.c (__acos): Likewise.
41906         * math/w_asin.c (__asin): Likewise.
41907         * math/w_ilogb.c (__ilogb): Likewise.
41908         * math/w_j0.c (y0): Likewise.
41909         * math/w_j1.c (y1): Likewise.
41910         * math/w_jn.c (yn): Likewise.
41911         * math/w_log.c (__log): Likewise.
41912         * math/w_log10.c (__log10): Likewise.
41913         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41914         * sysdeps/aarch64/fpu/math_private.h
41915         (libc_feupdateenv_test_aarch64): Likewise.
41916         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41917         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41918         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41919         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41920         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41921         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41922         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41923         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41924         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41925         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41927 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41929         [BZ #17732]
41930         * io/test-utime.c (main): Replace %ld with %jd and cast to
41931         intmax_t.
41932         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41933         * nptl/tst-mutex5.c: Include <stdint.h>.
41934         (do_test): Replace %ld with %jd and cast to intmax_t.
41935         * posix/tst-regex.c (run_test): Likewise.
41936         (run_test_backwards): Likewise.
41937         * rt/tst-clock.c: Include <stdint.h>.
41938         (clock_test): Replace %ld with %jd and cast to intmax_t.
41939         * rt/tst-cpuclock1.c: Include <stdint.h>.
41940         (do_test): Replace %lu with %ju and cast to uintmax_t.
41941         * rt/tst-cpuclock2.c: Include <stdint.h>.
41942         (do_test): Replace %lu with %ju and cast to uintmax_t.
41943         * rt/tst-mqueue1.c: Include <stdint.h>.
41944         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41945         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41946         intmax_t.
41947         * rt/tst-mqueue4.c (do_test): Likewise.
41948         * rt/tst-timer4.c: Include <stdint.h>.
41949         (check_ts): Replace %ld with %jd and cast to intmax_t.
41950         (do_test): Likewise.
41951         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41952         and cast to intmax_t.
41953         * sysdeps/pthread/tst-timer.c (main): Likewise.
41954         * time/clocktest.c (main): Likewise.
41955         * time/tst-posixtz.c (do_test): Likewise.
41956         * timezone/tst-timezone.c (main): Likewise.
41958 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41959             H.J. Lu  <hongjiu.lu@intel.com>
41961         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41962         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41963         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41964         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41965         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41966         version if bit_Fast_Unaligned_Load is set.
41967         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41968         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41969         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41970         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41971         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41972         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41974         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41975         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41976         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41977         to 4.
41978         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41979         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41980         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41981         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41983 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41985         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41986         instead of #if to avoid a Wundef warning.
41987         * stdlib/tst-limits.c (do_test): Likewise.
41989         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41990         parallel other exception macros.
41991         (fegetenv): Convert from macro to extern inline so that it applies
41992         retroactively to inline functions already seen by the compiler.
41993         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41995         * posix/Makefile (before-compile): Use $(objpfx) for
41996         posix-conf-vars-def.h.
41998 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42000         * posix/getconf.c (main): Use size_t for type of I.
42001         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
42002         NSPEC.
42004         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
42005         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
42006         * posix/posix-envs.def: Likewise.
42007         * sysdeps/posix/sysconf.c: Likewise.
42008         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
42009         (specs): Remove array.
42010         * scripts/gen-posix-conf-vars.awk: Support generation of specs
42011         array.
42013         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
42014         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
42015         (__sysconf): Use CONF_IS_* macros.
42017         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
42018         ($(objpfx)posix-conf-vars-def.h): New target.
42019         * posix/posix-conf-vars.list: New file.
42020         * posix/posix-conf-vars.h: New file.
42021         * posix/confstr.c: Include posix-conf-vars.h.
42022         (confstr): Use CONF_IS_* macros.
42023         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
42024         CONF_IS_* macros.
42025         * scripts/gen-posix-conf-vars.awk: New file.
42027 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
42029         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
42030         fegetround): Add no-op macros to avoid linknamespace issues.
42032         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
42033         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
42035         * sysdeps/unix/sysv/linux/tile/sysdep.h
42036         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
42037         assembly-specific section to avoid a redefinition warning.
42039         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
42040         long before casting to pointer to avoid a cast warning.
42042 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
42044         * sysdeps/tile/tilegx/Implies: New file.
42046 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
42048         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
42050 2014-12-23  Florian Weimer  <fweimer@redhat.com>
42052         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
42054 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
42057         not define.
42058         * sysdeps/unix/sysv/linux/utimes.c: Do not include
42059         <kernel-features.h>.
42060         (__utimes) [__NR_utimes]: Make code unconditional.
42061         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
42062         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42063         (__ASSUME_UTIMES): Do not undefine.
42064         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42065         (__ASSUME_UTIMES): Likewise.
42066         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42067         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42068         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42069         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42071 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42073         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42075 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
42077         [BZ #17747]
42078         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42079         alias to weak alias for j0l, y0l.
42080         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42081         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42083         [BZ #17746]
42084         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42085         conversion.
42087 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42089         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42090         to zero if not already defined.
42092 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42094         [BZ #17724]
42095         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42096         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
42097         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
42098         (char *) casts added.
42099         * sysdeps/ieee754/k_standardf.c: New file.
42100         * sysdeps/ieee754/k_standardl.c: Likewise.
42101         * math/Makefile (libm-support): Remove k_standard.
42102         (libm-calls): Add k_standard.
42104 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42106         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42107         Optimize to avoid an unnecessary FPCR read.
42109 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42111         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42112         Optimize to reduce FPCR/FPSR accesses.
42114 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42116         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42117         Call libc_fetestexcept_aarch64.
42119 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42121         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42122         Call libc_fesetround_aarch64.
42124 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42126         [BZ #17733]
42127         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42128         (__bind): Do not define as weak alias.
42129         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42130         define.
42131         (__getsockname): Do not define as weak alias.
42133 2014-12-22  Will Newton  <will.newton@linaro.org>
42135         * manual/install.texi: Document that we require bison 2.7
42136         or above.
42137         * INSTALL: Regenerate.
42138         * configure.ac: Use AC_CHECK_PROG_VER instead of
42139         AC_PATH_PROG when checking for bison and check for
42140         version 2.7 or above.
42141         * configure: Regenerate.
42143 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
42145         [BZ #17745]
42146         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42147         * sysdeps/tile/ffsll.c (ffsll): To here.
42149         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42151 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42153         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42154         if not defined.
42155         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42156         definition.
42157         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42158         hidden ___tls_get_addr.
42159         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42160         hidden __tls_get_addr.
42161         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42162         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42163         Likewise.
42165 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42167         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42168         _dl_init call.
42170 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42172         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42173         from "call _dl_init@PLT".
42174         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42176 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42178         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42179         guarantees.
42181 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42183         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42185 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42187         [BZ #17744]
42188         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42189         strnlen.
42191 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42193         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42194         of multu on MIPSr6.
42195         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42196         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42197         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42198         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42199         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42201 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42203         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42204         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42205         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42206         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42207         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42208         mips32r6/mips64r6.
42209         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42211 2014-12-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
42213         * string/strncat.c (STRNCAT): Simplify implementation.
42215 2014-12-19  David S. Miller  <davem@davemloft.net>
42217         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42218         access the quad as both a long double and as a series of 4 words.
42220         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42221         link_map->l_info array access.
42223 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42225         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42227         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42228         * math/atest-exp2.c (TIMEOUT): Likewise.
42229         * math/atest-sincos.c (TIMEOUT): Likewise.
42231 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42233         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42234         -Wno-error with -fno-builtin-lround.
42236 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42238         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42239         Contains futex constants and functions moved over from ...
42240         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42241         <lowlevellock-futex.h>.
42242         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42243         (lll_timedwait_tid): Add comments and parentheses around macro
42244         arguments.
42246 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42248         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42249         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42250         (__lll_private_flag): Remove.
42251         (lll_futex_wait): Likewise.
42252         (lll_futex_timed_wait): Likewise.
42253         (lll_futex_wake): Likewise.
42254         (lll_futex_requeue): Likewise.
42255         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42256         (__lll_timedwait_tid): Spell out argument names.
42257         (lll_timedwait_tid): Add comments and parentheses around macro
42258         arguments.
42259         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42260         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42262 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42264         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42265         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42266         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42267         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42268         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42269         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42270         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42271         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42272         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42273         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42274         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42275         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42276         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42277         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42278         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42279         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42280         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42281         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42282         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42284 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42286         * sysdeps/x86_64/x32/Makefile: New file.
42288 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42290         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42291         1L with (mp_limb_t) 1.
42293 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42295         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42296         * nptl/libc_pthread_init.c: ... here.
42297         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42298         * nptl/register-atfork.c: ... here.
42300         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42301         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42302         Use assert_perror to check its return value.
42303         (__gai_create_helper_thread): Likewise.
42305         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42307         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42309 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42311         [BZ #17725]
42312         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42313         __profil_counter.
42314         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42315         Likewise.
42316         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42317         Likewise.
42318         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42319         Likewise.
42320         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42321         (profil_counter): Likewise.
42322         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42323         (profil_counter): Likewise.
42324         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42325         Likewise.
42326         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42327         Likewise.
42328         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42329         (profil_counter): Likewise.
42330         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42331         Likewise.
42332         [!__profil_counter] (profil_counter): Define as weak alias of
42333         __profil_counter.
42334         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42335         (profil_counter): Rename to __profil_counter.
42336         [!__profil_counter] (profil_counter): Define as weak alias of
42337         __profil_counter.
42338         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42339         (profil_counter): Rename to __profil_counter.
42340         [!__profil_counter] (profil_counter): Define as weak alias of
42341         __profil_counter.
42342         * sysdeps/posix/profil.c: Update comment referring to
42343         profil_counter.
42344         (__profil): Use __profil_counter instead of profil_counter.
42345         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42346         __profil_counter.  Use __profil_counter_ushort and
42347         __profil_counter_uint in definitions.
42348         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42349         instead of profil_counter_uint and profil_counter_ushort.
42351         [BZ #17722]
42352         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42353         define as weak alias of __inet_makeaddr.
42354         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42355         as weak alias of __inet_addr.
42356         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42357         as weak alias of __inet_pton.  Use libc_hidden_weak.
42358         * include/arpa/inet.h (__inet_pton): Declare.  Use
42359         libc_hidden_proto.
42360         (inet_makeaddr): Don't use libc_hidden_proto.
42361         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42362         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42363         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42364         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42365         Remove variable.
42366         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42367         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42369 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42371         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42373 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42375         * stdio-common/bug-vfprintf-nargs.c (do_test):
42376         Cast value to intptr_t to avoid format warning
42377         for usage with PRIdPTR printing macro.
42379 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42381         * libio/tst-widetext.c (do_test):
42382         Use format type %td instead of %Zd for ptrdiff_t
42383         in order to avoid format warning.
42385 2014-12-17  Andreas Schwab  <schwab@suse.de>
42387         * nscd/mem.c (gc): Add size_t cast to match printf format.
42389 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42391         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42392         (init): Apply PTR_MANGLE to pointers before storing them.
42393         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42394         before using them.
42396 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42398         [BZ #17719]
42399         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42400         define as weak alias of __memrchr.
42401         (__memrchr): Do not define as strong alias of memrchr.
42402         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42403         Remove variable.
42404         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42405         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42406         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42408         [BZ #17717]
42409         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42410         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42411         (if_indextoname): Rename to __if_indextoname and define as weak
42412         alias of __if_indextoname.  Use libc_hidden_weak.
42413         (if_freenameindex): Rename to __if_freenameindex and define as
42414         weak alias of __if_freenameindex.
42415         (if_nameindex): Rename to __if_nameindex and define as weak alias
42416         of __if_nameindex.
42417         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42418         __if_nametoindex and define as weak alias of __if_nametoindex.
42419         Use libc_hidden_weak.
42420         (if_freenameindex): Rename to __if_freenameindex and define as
42421         weak alias of __if_freenameindex.
42422         (if_nameindex): Rename to __if_nameindex and define as weak alias
42423         of __if_nameindex.
42424         (if_indextoname): Rename to __if_indextoname and define as weak
42425         alias of __if_indextoname.  Use libc_hidden_weak.
42426         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42427         __if_nametoindex and define as weak alias of __if_nametoindex.
42428         Use libc_hidden_weak.
42429         (if_freenameindex): Rename to __if_freenameindex and define as
42430         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42431         (if_nameindex_netlink): Use __if_freenameindex instead of
42432         if_freenameindex.
42433         (if_nameindex): Rename to __if_nameindex and define as weak alias
42434         of __if_nameindex.  Use libc_hidden_weak.
42435         (if_indextoname): Rename to __if_indextoname and define as weak
42436         alias of __if_indextoname.  Use libc_hidden_weak.
42437         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42438         libc_hidden_proto.
42439         [!_ISOMAC] (__if_freenameindex): Likewise.
42440         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42441         if_nametoindex.
42442         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42443         variable.
42444         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42445         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42446         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42447         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42448         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42449         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42450         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42452         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42453         Remove variable.
42454         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42455         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42457 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42459         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42460         subscript above bounds'
42462         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42463         bounds.
42465 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42467         * libio/tst-fopenloc.c: Use test-skeleton.c.
42469         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42470         (entry): Rename to ITEM.
42471         (do_test, comp): Adjust.
42473         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42475 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42477         * string/tester.c: Include <libc-internal.h>.
42478         (test_memset): Ignore -Wmemset-transposed-args.
42480 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42482         * misc/tst-mntent2.c (do_test): Fix warning.
42484 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42486         * elf/tst-unique4lib.cc(a): Mark as used.
42488 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42490         [BZ #17630]
42491         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42492         names.
42494 2014-12-16  Allan McRae  <allan@archlinux.org>
42496         * stdio-common/Makefile (tests): Re-add bug26.
42498 2014-12-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
42500         [BZ #17657]
42501         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42502         static array.
42504 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42506         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42507         (__lll_lock_wait): Likewise.
42508         (__lll_timedlock_wait): Likewise.
42509         (__lll_timedwait_tid): Likewise.
42510         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42511         (__lll_robust_timedlock_wait): Likewise.
42512         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42513         (lll_cond_trylock): Likewise.
42514         (__lll_lock): Likewise.
42515         (__lll_robust_lock): Likewise.
42516         (__lll_cond_lock): Likewise.
42517         (lll_robust_cond_lock): Likewise.
42518         (__lll_timedlock): Likewise.
42519         (__lll_robust_timedlock): Likewise.
42520         (__lll_unlock): Likewise.
42521         (__lll_robust_unlock): Likewise.
42522         (lll_wait_tid): Likewise.
42523         (lll_timedwait_tid): Likewise.
42525 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42527         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42529 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42531         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42533 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42535         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42536         * stdio-common/tst-sprintf.c: Likewise.
42538 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42540         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42542 2014-12-15  Jeff Law  <law@redhat.com>
42544         [BZ #16617]
42545         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42546         on the heap.  (CVE-2012-3406)
42547         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42548         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42549         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42551 2014-12-15  Will Newton  <will.newton@linaro.org>
42553         * manual/install.texi: Bump required version of texinfo
42554         to 4.7 from 4.5.
42555         * INSTALL: Regenerated.
42556         * configure.ac: Check for makeinfo version 4.7 and above.
42557         * configure: Regenerated.
42559 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42561         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42562         PREFIX, string constant to insert between directory and name.
42563         * sysdeps/posix/shm_open.c: Update caller.
42564         * sysdeps/posix/shm_unlink.c: Likewise.
42565         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42566         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42567         (SEM_SHM_PREFIX): New macro.
42568         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42569         [$(have-thread-library) = no].
42570         * nptl/Makefile (libpthread-routines): Add shm-directory.
42571         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42572         * sysdeps/nptl/shm-directory.h: New file.
42573         * sysdeps/posix/shm-directory.c
42574         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42575         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42576         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42577         INTERNAL_SYSCALL.
42578         (__where_is_shmfs): Function removed.
42579         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42580         Variables removed.
42581         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42582         Use SHM_GET_NAME.
42583         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42585         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42586         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42587         unconditional for use inside libpthread.
42588         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42590 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42592         * nptl/pthread_getaffinity.c: New file.
42593         * nptl/pthread_setaffinity.c: New file.
42594         * nptl/pthread_getname.c: New file.
42595         * nptl/pthread_setname.c: New file.
42597         * nptl/pthread_create.c (START_THREAD_DEFN)
42598         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42600 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42603         * resolv/res_send.c (send_vc): Disable warning resplen may
42604         be used uninitialized.
42606 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42608         * nptl/tst-mutex6.c
42609         (ATTR_NULL): New define checks ATTR against NULL.
42610         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42611         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42613 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42615         [BZ #17581]
42616         * malloc/hooks.c
42617         (mem2mem_check): Revert my previous change.
42618         (malloc_check_get_size): Revert my previous change.
42619         (mem2chunk_check): Revert my previous change.
42621 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42623         * sysdeps/posix/shm-directory.c: New file.
42624         * sysdeps/posix/shm-directory.h: New file.
42625         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42626         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42627         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42628         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42629         Transmute EPERM to EACCES.
42630         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42631         from ...
42632         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42633         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42635 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42637         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42638         pointer and cast to uintptr_t.
42639         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42640         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42641         Add cast to avoid warning.
42642         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42644 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42646         * nptl/semaphore.h: Move to ...
42647         * sysdeps/pthread/semaphore.h: ... here.
42648         * Makefile (installed-headers): Change nptl/semaphore.h to
42649         sysdeps/pthread/semaphore.h.
42651 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42653         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42654         generated error format strings.
42656         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42657         -Wformat-extra-args warnings for scanf formats.
42658         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42659         test of zero-length format (duh).
42660         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42661         corner-case scanf format test.
42662         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42663         generated fprintf format string.
42664         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42665         corner-case sprintf format tests.
42666         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42667         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42668         -Wformat-extra-args warnings throughout.
42669         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42670         (CFLAGS-scanf4.c): Likewise.
42671         (CFLAGS-scanf7.c): Likewise.
42672         (CFLAGS-tst-sprintf.c): Likewise.
42673         (CFLAGS-tst-printf.c): Likewise.
42674         (CFLAGS-tst-printfsz.c): Likewise.
42676 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42678         * include/cpio.h: New file.
42679         * include/fmtmsg.h: Likewise.
42681         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42682         corresponding format argument to size_t.
42683         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42684         arguments.
42685         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42686         corresponding format argument to size_t.
42687         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42688         arguments.
42689         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42690         corresponding format argument to size_t.
42691         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42692         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42693         (CFLAGS-tst-mbswcs2.c): Likewise.
42694         (CFLAGS-tst-mbswcs3.c): Likewise.
42695         (CFLAGS-tst-mbswcs4.c): Likewise.
42696         (CFLAGS-tst-mbswcs5.c): Likewise.
42697         (CFLAGS-tst-trans.c): Likewise.
42699 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42701         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42702         rather than assuming they won't contain any '%'s.
42704 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42706         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42707         inhibit_loop_to_libcall to avoid recursive calls.
42708         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42709         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42711 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42713         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42714         prototype.
42716 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42718         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42719         integer value instead of boolean.
42721 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42723         * malloc/malloc.c: Fix powerof2 check.
42725 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42727         * locale/programs/locfile.h (maybe_swap_uint32):
42728         Remove inline and add unused attribute.
42730 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42732         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42733         Truncating assembler expression to a .long expression.
42735 2014-12-11  Andreas Schwab  <schwab@suse.de>
42737         * elf/rtld.c (struct map_args): Constify str member.
42738         (do_preload): Constify fname argument.
42740 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42742         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42743         constants definition.
42745 2014-12-11  Andreas Schwab  <schwab@suse.de>
42747         [BZ #16657]
42748         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42749         FORCE_ELISION instead of DO_ELISION.
42750         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42751         Remove.
42752         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42753         Likewise.
42755         * iconvdata/gconv-modules: Remove duplicate entry.
42757 2014-12-11  Will Newton  <will.newton@linaro.org>
42759         Merge gettext 0.19.3 into intl/.
42761         This involves a number of cosmetic changes to comments
42762         and ANSI function definitions and prototypes throughout
42763         all the files. The gettext copyright header is used but
42764         with the date ranges taken from the glibc copy.
42766         * NEWS: Add gettext merge to 2.21.
42767         * intl/bindtextdom.c: Switch to gettext copyright.
42768         Use ANSI definitions and prototypes.
42769         Use gl_* locking primitives rather than __libc_* ones.
42770         Use __builtin_expect rather than __glibc_likely/unlikely.
42771         * intl/dcgettext.c: Switch to gettext copyright.
42772         Use ANSI definitions and prototypes.
42773         * intl/dcigettext.c: Switch to gettext copyright.
42774         Use ANSI definitions and prototypes.
42775         (INTDIV0_RAISES_SIGFPE): New define.
42776         Use gl_* locking primitives rather than __libc_* ones.
42777         Include eval-plural.h instead of plural-eval.c.
42778         Use __builtin_expect rather than __glibc_likely/unlikely.
42779         * intl/dcngettext.c: Switch to gettext copyright.
42780         Use ANSI definitions and prototypes.
42781         * intl/dgettext.c: Likewise.
42782         * intl/dngettext.c: Likewise.
42783         * intl/plural-eval.c: Renamed to...
42784         * intl/eval-plural.h: ...this.
42785         * intl/explodename.c: Switch to gettext copyright.
42786         Use ANSI definitions and prototypes.
42787         (_nl_explode_name): Use strchr instead of __rawmemchr.
42788         * intl/finddomain.c: Switch to gettext copyright.
42789         Use ANSI definitions and prototypes.
42790         Use gl_* locking primitives rather than __libc_* ones.
42791         (_nl_find_domain): Use malloc rather than alloca for
42792         allocation of temporary locale name.
42793         * intl/gettext.c: Switch to gettext copyright.
42794         Use ANSI definitions and prototypes.
42795         * intl/gettextP.h: Switch to gettext copyright.
42796         Use ANSI definitions and prototypes.
42797         Use gl_* locking primitives rather than __libc_* ones.
42798         * intl/gmo.h: Switch to gettext copyright.
42799         (struct sysdep_string): Move struct segment_pair outside of
42800         struct definition.
42801         * intl/hash-string.c: Use ANSI definitions and prototypes.
42802         * intl/hash-string.h: Switch to gettext copyright.
42803         Use ANSI definitions and prototypes.
42804         * intl/l10nflist.c: Switch to gettext copyright.
42805         Use ANSI definitions and prototypes.
42806         (_nl_normalize_codeset): Avoid integer overflow.
42807         * intl/loadinfo.h: Switch to gettext copyright.
42808         Use ANSI definitions and prototypes.
42809         (LIBINTL_DLL_EXPORTED): New define.
42810         (PATH_SEPARATOR): New define.
42811         * intl/loadmsgcat.c: Switch to gettext copyright.
42812         * intl/localealias.c: Switch to gettext copyright.
42813         Use ANSI definitions and prototypes.
42814         (_nl_expand_alias): Use PATH_SEPARATOR.
42815         * intl/ngettext.c: Switch to gettext copyright.
42816         Use ANSI definitions and prototypes.
42817         * intl/plural-exp.c: Likewise.
42818         * intl/plural-exp.h: Switch to gettext copyright.
42819         Use ANSI definitions and prototypes.
42820         (struct expression): Move definition of enum operator outside
42821         of struct definition.
42822         * intl/plural.c: Regenerate.
42823         * intl/plural.y: Switch to gettext copyright.
42824         Use ANSI definitions and prototypes.
42825         Port to bison 3.0.
42826         * intl/textdomain.c: Switch to gettext copyright.
42827         Use ANSI definitions and prototypes.
42828         Use gl_* locking primitives rather than __libc_* ones.
42830 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42832         * debug/warning-nop.c: Add used atrribute.
42834 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42836         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42838         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42839         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42840         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42842 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42843             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42845         [BZ #17634]
42846         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42847         Undefine after defining function.  Define as weak alias of
42848         __wcschr.  Use libc_hidden_weak.
42849         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42850         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42851         (libc_hidden_def): Also define __GI___wcschr alias.
42852         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42853         __wcschr and define as weak alias of __wcschr.
42854         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42855         __wcschr.
42856         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42857         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42858         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42859         libc_hidden_weak.  Do not use libc_hidden_def.
42860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42861         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42862         __GI___wcschr alias.
42863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42864         [IS_IN (libc)] (wcschr): Define as macro expanding to
42865         __redirect_wcschr.
42866         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42867         [IS_IN (libc)] (__wcschr_power6): Likewise.
42868         [IS_IN (libc)] (__wcschr_power7): Likewise.
42869         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42870         instead of wcschr.
42871         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42872         __libc_wcschr.
42873         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42874         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42875         __wcschr and define as weak alias of __wcschr.  Use
42876         libc_hidden_builtin_def.
42877         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42878         as weak alias of __wcschr.  Use libc_hidden_weak.
42879         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42880         wcschr.
42881         * time/era.c (_nl_init_era_entries): Likewise.
42882         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42883         variable.
42884         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42885         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42887 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42889         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42890         format for long int variable.
42892 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42894         [BZ #10672]
42895         * manual/search.texi: (Array Sort Function): Remove claim how to make
42896         qsort stable.
42898 2014-12-10  Andreas Schwab  <schwab@suse.de>
42900         [BZ #12847]
42901         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42902         user-controlled locks.
42904 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42906         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42907         register.
42909 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42911         * configure.ac (--disable-werror): New configure option.
42912         (enable_werror): New AC_SUBST.
42913         * configure: Regenerated.
42914         * config.make.in (enable-werror): New variable.
42915         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42916         -Wno-error=undef.
42917         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42918         * manual/install.texi (Configuring and compiling): Document
42919         --disable-werror.
42920         * INSTALL: Regenerated.
42921         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42922         (CFLAGS-tst-chk2.c): Likewise.
42923         (CFLAGS-tst-chk3.c): Likewise.
42924         (CFLAGS-tst-chk4.cc): Likewise.
42925         (CFLAGS-tst-chk5.cc): Likewise.
42926         (CFLAGS-tst-chk6.cc): Likewise.
42927         (CFLAGS-tst-lfschk1.c): Likewise.
42928         (CFLAGS-tst-lfschk2.c): Likewise.
42929         (CFLAGS-tst-lfschk3.c): Likewise.
42930         (CFLAGS-tst-lfschk4.cc): Likewise.
42931         (CFLAGS-tst-lfschk5.cc): Likewise.
42932         (CFLAGS-tst-lfschk6.cc): Likewise.
42934         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42935         (main): Disable -Wdeprecated-declarations around calls to
42936         register_printf_function.
42938         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42939         (do_test): Disable -Wdiv-by-zero around some calls to
42940         fwrite_unlocked and fread_unlocked.
42942         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42943         (DIAG_POP_NEEDS_COMMENT): Likewise.
42944         (_DIAG_STR1): Likewise.
42945         (_DIAG_STR): Likewise.
42946         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42947         * stdio-common/bug21.c: Include <libc-internal.h>.
42948         (do_test): Disable -Wformat around call to sscanf.
42949         * stdio-common/scanf14.c: Include <libc-internal.h>.
42950         (main): Disable -Wformat around some calls to scanf functions.
42952 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42954         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42956 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42959         stack variable alignment.
42961 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42963         [BZ #17682]
42964         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42965         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42966         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42967         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42968         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42969         __getrlimit instead of getrlimit.
42970         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42971         __gettimeofday instead of gettimeofday.
42972         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42973         Likewise.
42974         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42975         Likewise.
42976         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42977         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42978         Remove variable.
42979         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42980         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42982 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42984         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42985         for wide-character tests.
42987 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42989         * io/openat64.c: #include <libc-internal.h>
42990         (__openat64): Prototypify.  Use ignore_value on MODE.
42991         * io/openat.c: Likewise.
42992         * misc/reboot.c: #include <libc-internal.h>
42993         (reboot): Prototypify.  Use ignore_value on HOWTO.
42994         * misc/ptrace.c: #include <libc-internal.h>
42995         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42997 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42999         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
43000         XPG4, UNIX98 and XOPEN2K.
43001         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
43002         Remove variable.
43003         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43005 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43007         * libio/fileops.c: Use ISO C style for function definitions.
43008         * libio/iofopen.c: Likewise.
43009         * libio/wfileops.c: Likewise.
43011         [BZ #17653]
43012         * libio/fileops.c (_IO_new_file_underflow): Unset cached
43013         offset on EOF.
43014         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
43015         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
43016         (fgets_func): Function pointer to fgets and fgetws.
43017         (do_ftell_test): Add test to verify ftell value after read
43018         EOF.
43019         (do_test): Set fgets_func.
43021         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
43022         O_TRUNC flag for w and w+ modes.
43023         (do_rewind_test): Likewise.
43024         (do_ftell_test): Likewise.
43025         (do_write_test): Likewise.
43027         [BZ #17647]
43028         * libio/fileops.c (do_ftell): Seek only when there are
43029         unflushed writes.
43030         * libio/wfileops.c (do_ftell_wide): Likewise.
43031         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
43032         test case.
43033         (do_one_test): Call it.
43035 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
43037         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
43038         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
43039         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
43040         Remove variable.
43041         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43042         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43043         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43045 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
43047         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
43048         Remove variable.
43049         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43051         [BZ #17668]
43052         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
43053         as weak alias of __getifaddrs.  Use libc_hidden_weak.
43054         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43055         __freeifaddrs.  Use libc_hidden_weak.
43056         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
43057         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
43058         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43059         __freeifaddrs.  Use libc_hidden_weak.
43060         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
43061         __getifaddrs and define as weak alias of __getifaddrs.  Use
43062         libc_hidden_weak.
43063         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43064         __freeifaddrs.  Use libc_hidden_weak.
43065         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43066         Remove variable.
43067         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43068         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43070 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
43072         [BZ #17601]
43073         * sysdeps/mips/start.S (__start): Use indirect jump to call
43074         __libc_start_main.
43076 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
43078         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43080         * nptl/tst-mutex1.c: Include <stdbool.h>.
43081         [!ATTR] (ATTR_NULL): New macro.
43082         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43083         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43084         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43086         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43087         to char *.
43089         [BZ #17665]
43090         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43091         Change conditional to [__USE_MISC].
43093         [BZ #17664]
43094         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43095         fgets_unlocked.
43096         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43097         __fgets_unlocked.
43098         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43099         fgets_unlocked.
43100         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43101         Remove variable.
43102         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43103         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43104         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43105         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43106         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43107         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43108         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43109         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43110         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43112         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43114 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43116         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43117         Remove strpbrk objects.
43118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43119         (__libc_ifunc_impl_list): Remove strpbrk implementation.
43120         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43122         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43123         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43126         Remove strcspn objects.
43127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43128         (__libc_ifunc_impl_list): Remove strcspn implementation.
43129         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43130         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43131         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43132         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43135         Remove strspn objetcs.
43136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43137         (__libc_ifunc_impl_list): Remove strspn implementation.
43138         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43139         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43140         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43141         * sysdeps/powerpc/powerpc64/strspn.S: New file.
43143 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
43145         [BZ #17581]
43146         * malloc/hooks.c
43147         (mem2mem_check): Add a terminator to the chain of checking blocks.
43148         (malloc_check_get_size): Use it here.
43149         (mem2chunk_check): Ditto.
43151 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43153         * sysdeps/powerpc/powerpc64/strtok.S: New file.
43154         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43156 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
43158         * bits/ioctl-types.h: Indent preprocessor directives correctly.
43160         * nptl/nptl-init.c: Include libc-internal.h.
43161         (__pthread_initialize_minimal_internal): Use ROUND_UP.
43163         * elf/ldconfig.c (search_dir): Expand comment.
43165 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43167         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43168         variable.
43169         (linknamespace-symlist-stdlibs-tests): Likewise.
43170         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43171         instead of $(objpfx)symlist-stdlibs.
43172         (linknamespace-libs-isoc): New variable.
43173         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43174         (linknamespace-libs-ISO): New variable.
43175         (linknamespace-libs-ISO99): Likewise.
43176         (linknamespace-libs-ISO11): Likewise.
43177         (linknamespace-libs-XPG3): Likewise.
43178         (linknamespace-libs-XPG4): Likewise.
43179         (linknamespace-libs-POSIX): Likewise.
43180         (linknamespace-libs-UNIX98): Likewise.
43181         (linknamespace-libs-XOPEN2K): Likewise.
43182         (linknamespace-libs-POSIX2008): Likewise.
43183         (linknamespace-libs-XOPEN2K8): Likewise.
43184         ($(objpfx)symlist-stdlibs): Replace by
43185         $(linknamespace-symlist-stdlibs-tests).  Use
43186         $(linknamespace-libs-$*) as set of libraries.
43187         ($(linknamespace-header-tests)): Update dependencies.  Use
43188         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43189         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43190         * conform/linknamespace.pl: Remove comment about considering
43191         definitions of symbols from irrelevant libraries.
43193 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43195         [BZ #13862]
43196         * elf/dl-tls.c: Include <atomic.h>.
43197         (oom): Remove #ifdef SHARED/#endif.
43198         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43199         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43200         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43201         big enough.
43202         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43203         * nptl/Makefile (tests): Add tst-stack4.
43204         (modules-names): Add tst-stack4mod.
43205         ($(objpfx)tst-stack4): New.
43206         (tst-stack4mod.sos): Likewise.
43207         ($(objpfx)tst-stack4.out): Likewise.
43208         ($(tst-stack4mod.sos)): Likewise.
43209         (clean): Likewise.
43210         * nptl/tst-stack4.c: New file.
43211         * nptl/tst-stack4mod.c: Likewise.
43213 2014-11-27  J. Brown  <jb999@gmx.de>
43215         * sysdeps/x86/bits/string.h: Add recent CPUs.
43217 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43219         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43220         sigblock.
43222         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43223         feof.
43225         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43226         variable.
43228 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43230         * nscd/connections.c: Include libc-internal.h because of macro
43231         usage ignore_value.
43233 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43235         * string/bits/string3.h (__warn_memset_zero_len): Don't
43236         declare for gcc newer than 5.0.
43237         (memset): Don't test for zero-length __LEN for gcc newer than
43238         5.0.
43240 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43242         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43243         size_t for %zu format.
43245         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43246         difference, not %ju.
43248 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43250         * include/libc-internal.h (ignore_value): New macro.
43251         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43252         with ignore_value.
43254         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43255         definition.
43257         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43258         pthread_cleanup_push to void *.
43260         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43261         Undefine.
43263         [BZ #16619]
43264         [BZ #16740]
43265         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43266         instead of 1L << 52.
43268         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43269         * libio/bug-rewind2.c (do_test): Likewise.
43271         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43272         * debug/test-strcpy_chk-ifunc.c: Likewise.
43273         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43274         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43275         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43276         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43277         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43278         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43279         * Rules [$(multi-arch) = no] (tests): Do not filter out
43280         $(tests-ifunc).
43281         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43282         * debug/Makefile (tests-ifunc): Remove variable.
43283         (tests): Do not add $(tests-ifunc).
43284         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43285         (tests): Do not add $(tests-ifunc).
43286         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43287         [TEST_IFUNC]: Remove conditionals.
43288         * string/test-string.h (TEST_IFUNC): Remove macro.
43289         [TEST_IFUNC]: Remove conditionals.
43291         * string/test-strchr.c [!WIDE] (L): New macro.
43292         [WIDE] (L): Likewise.
43293         (check1): Use CHAR instead of char.  Use L on string and character
43294         constants.
43296 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43298         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43299         tests.
43300         * sysdeps/powerpc/bits/atomic.h
43301         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43302         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43303         (atomic_exchange_and_add_acq): Likewise.
43304         (atomic_exchange_and_add_rel): Likewise.
43305         * sysdeps/powerpc/powerpc32/bits/atomic.h
43306         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43307         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43308         * sysdeps/powerpc/powerpc64/bits/atomic.h
43309         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43310         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43312 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43314         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43315         Change synchronization of __sched_fifo_min_prio and
43316         __sched_fifo_max_prio.
43317         * nptl/pthread_mutexattr_getprioceiling.c
43318         (pthread_mutexattr_getprioceiling): Likewise.
43319         * nptl/pthread_mutexattr_setprioceiling.c
43320         (pthread_mutexattr_setprioceiling): Likewise.
43321         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43322         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43323         Likewise.
43325 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43327         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43328         void.
43330 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43332         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43333         third argument const.
43335 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43337         fnmatch: work around GCC compiler warning bug with uninit var
43338         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43339         This works around a bug with x86-64 GCC 4.9.2 and earlier
43340         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43341         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43342         used uninitialized in this function [-Wmaybe-uninitialized]".
43344 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43346         * posix/bug-regex31.c (main): Return RES not 0.
43348 2014-11-25  Anton Blanchard <anton@samba.org>
43350         * sysdeps/powerpc/bits/atomic.h
43351         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43353 2014-11-24  Sterling Augustine  <saugustine@google.com>
43355         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43357 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43359         [BZ #17608]
43360         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43362 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43364         [BZ #17633]
43365         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43366         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43367         variable.
43368         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43369         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43371 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43373         * string/strncpy.c (strncpy): Improve performance by using memset.
43375 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43377         * string/strcpy.c (strcpy):
43378         Improve performance by using strlen and memcpy.
43380 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43382         * string/strcoll_l.c (get_next_seq): __always_inline.
43383         * string/strcoll_l.c (do_compare): __always_inline.
43385 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43387         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43388         defined.
43389         * include/mqueue.h: Likewise.
43390         * include/stdlib.h: Likewise.
43392         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43393         (get_null_defines): Adjust.
43394         * sunrpc/Makefile: Adjust comment.
43395         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43396         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43397         (CFLAGS-interp.c): Likewise.
43398         (CFLAGS-ldconfig.c): Likewise.
43399         (CPPFLAGS-.os): Likewise.
43400         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43401         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43402         * extra-modules.mk (extra-modules.mk): Likewise.
43403         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43404         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43405         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43406         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43407         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43408         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43409         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43410         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43411         * iconvdata/Makefile (CPPFLAGS): Likewise.
43412         (cpp-srcs-left): Add libof for all iconvdata routines.
43413         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43414         * include/assert.h: Likewise.
43415         * include/ctype.h: Likewise.
43416         * include/errno.h: Likewise.
43417         * include/libc-symbols.h: Likewise.
43418         * include/math.h: Likewise.
43419         * include/netdb.h: Likewise.
43420         * include/resolv.h: Likewise.
43421         * include/stdio.h: Likewise.
43422         * include/stdlib.h: Likewise.
43423         * include/string.h: Likewise.
43424         * include/sys/stat.h: Likewise.
43425         * include/wctype.h: Likewise.
43426         * intl/l10nflist.c: Likewise.
43427         * libidn/idn-stub.c: Likewise.
43428         * libio/libioP.h: Likewise.
43429         * nptl/libc_multiple_threads.c: Likewise.
43430         * nptl/pthreadP.h: Likewise.
43431         * posix/regex_internal.h: Likewise.
43432         * resolv/res_hconf.c: Likewise.
43433         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43434         * sysdeps/arm/memmove.S: Likewise.
43435         * sysdeps/arm/sysdep.h: Likewise.
43436         * sysdeps/generic/_itoa.h: Likewise.
43437         * sysdeps/generic/symbol-hacks.h: Likewise.
43438         * sysdeps/gnu/errlist.awk: Likewise.
43439         * sysdeps/gnu/errlist.c: Likewise.
43440         * sysdeps/i386/i586/memcpy.S: Likewise.
43441         * sysdeps/i386/i586/memset.S: Likewise.
43442         * sysdeps/i386/i686/memcpy.S: Likewise.
43443         * sysdeps/i386/i686/memmove.S: Likewise.
43444         * sysdeps/i386/i686/mempcpy.S: Likewise.
43445         * sysdeps/i386/i686/memset.S: Likewise.
43446         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43447         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43448         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43449         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43450         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43451         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43452         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43453         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43454         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43455         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43456         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43457         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43458         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43459         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43460         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43461         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43462         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43463         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43464         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43465         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43466         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43467         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43468         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43469         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43470         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43471         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43472         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43473         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43474         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43475         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43476         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43477         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43478         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43479         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43480         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43482         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43483         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43484         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43485         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43486         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43487         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43488         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43489         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43490         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43491         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43492         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43493         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43494         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43495         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43496         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43497         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43498         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43499         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43500         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43501         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43502         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43503         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43504         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43505         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43506         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43507         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43508         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43509         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43510         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43511         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43512         * sysdeps/posix/closedir.c: Likewise.
43513         * sysdeps/posix/opendir.c: Likewise.
43514         * sysdeps/posix/readdir.c: Likewise.
43515         * sysdeps/posix/rewinddir.c: Likewise.
43516         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43517         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43518         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43519         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43520         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43521         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43522         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43524         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43525         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43527         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43528         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43529         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43530         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43531         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43532         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43533         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43535         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43536         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43537         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43538         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43539         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43540         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43541         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43542         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43543         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43544         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43552         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43553         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43554         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43555         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43556         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43557         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43558         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43560         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43562         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43563         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43564         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43565         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43566         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43567         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43568         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43573         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43574         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43575         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43576         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43577         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43579         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43580         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43581         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43582         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43583         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43584         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43585         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43586         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43587         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43588         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43589         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43590         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43591         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43592         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43593         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43594         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43595         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43596         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43597         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43598         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43599         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43600         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43601         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43602         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43603         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43604         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43605         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43606         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43607         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43608         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43610         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43611         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43612         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43614         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43615         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43616         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43617         * sysdeps/unix/alpha/sysdep.S: Likewise.
43618         * sysdeps/unix/alpha/sysdep.h: Likewise.
43619         * sysdeps/unix/make-syscalls.sh: Likewise.
43620         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43621         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43622         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43623         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43624         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43625         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43626         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43627         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43628         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43629         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43630         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43631         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43632         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43633         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43634         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43635         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43636         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43637         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43638         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43639         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43640         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43641         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43642         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43643         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43644         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43645         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43649         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43650         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43654         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43658         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43659         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43660         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43661         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43662         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43663         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43664         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43665         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43667         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43669         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43670         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43671         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43672         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43673         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43674         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43675         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43676         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43678         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43679         * sysdeps/x86_64/memcpy.S: Likewise.
43680         * sysdeps/x86_64/memmove.c: Likewise.
43681         * sysdeps/x86_64/memset.S: Likewise.
43682         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43683         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43684         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43685         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43686         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43687         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43688         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43689         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43690         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43691         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43692         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43693         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43694         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43695         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43696         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43697         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43698         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43699         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43700         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43701         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43702         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43703         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43704         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43706         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43707         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43708         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43709         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43710         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43711         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43712         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43713         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43714         * sysdeps/x86_64/strcmp.S: Likewise.
43716         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43718         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43719         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43720         * elf/rtld-Rules: Likewise.
43721         * elf/setup-vdso.h: Likewise.
43722         * include/assert.h: Likewise.
43723         * include/bits/stdlib-float.h: Likewise.
43724         * include/errno.h: Likewise.
43725         * include/sys/stat.h: Likewise.
43726         * include/unistd.h: Likewise.
43727         * sysdeps/aarch64/setjmp.S: Likewise.
43728         * sysdeps/alpha/setjmp.S: Likewise.
43729         * sysdeps/arm/__longjmp.S: Likewise.
43730         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43731         * sysdeps/arm/setjmp.S: Likewise.
43732         * sysdeps/arm/sysdep.h: Likewise.
43733         * sysdeps/generic/_itoa.h: Likewise.
43734         * sysdeps/generic/dl-sysdep.h: Likewise.
43735         * sysdeps/generic/ldsodefs.h: Likewise.
43736         * sysdeps/i386/dl-tls.h: Likewise.
43737         * sysdeps/i386/setjmp.S: Likewise.
43738         * sysdeps/m68k/setjmp.c: Likewise.
43739         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43740         * sysdeps/mach/hurd/opendir.c: Likewise.
43741         * sysdeps/posix/getcwd.c: Likewise.
43742         * sysdeps/posix/opendir.c: Likewise.
43743         * sysdeps/posix/profil.c: Likewise.
43744         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43745         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43746         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43747         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43748         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43749         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43750         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43751         * sysdeps/s390/dl-tls.h: Likewise.
43752         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43753         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43754         * sysdeps/sh/sh3/setjmp.S: Likewise.
43755         * sysdeps/sh/sh4/setjmp.S: Likewise.
43756         * sysdeps/unix/alpha/sysdep.h: Likewise.
43757         * sysdeps/unix/arm/sysdep.S: Likewise.
43758         * sysdeps/unix/i386/sysdep.S: Likewise.
43759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43760         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43761         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43762         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43763         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43764         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43765         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43766         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43767         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43768         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43769         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43770         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43771         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43774         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43775         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43777         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43778         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43779         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43782         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43783         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43784         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43786         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43787         * sysdeps/x86_64/setjmp.S: Likewise.
43789         * include/math.h: Use IS_IN instead of IS_IN_libm.
43790         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43791         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43795         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43796         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43797         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43799         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43800         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43801         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43802         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43803         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43804         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43805         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43806         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43807         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43808         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43809         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43810         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43811         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43812         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43813         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43814         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43815         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43817         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43818         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43819         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43820         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43821         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43822         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43824         Likewise.
43825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43826         Likewise.
43827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43828         Likewise.
43829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43830         Likewise.
43831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43832         Likewise.
43833         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43834         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43835         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43836         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43837         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43838         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43844         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43845         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43846         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43847         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43848         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43849         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43850         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43851         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43852         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43853         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43854         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43855         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43857         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43859         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43861         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43862         * nptl/pthreadP.h: Likewise.
43863         * nptl_db/structs.def: Likewise.
43864         * sysdeps/arm/sysdep.h: Likewise.
43865         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43866         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43867         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43868         * sysdeps/unix/alpha/sysdep.h: Likewise.
43869         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43870         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43871         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43872         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43873         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43874         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43875         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43876         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43877         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43878         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43879         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43880         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43881         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43882         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43887         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43889         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43890         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43891         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43892         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43893         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43894         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43896         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43897         * nptl/pthreadP.h: Likewise.
43898         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43899         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43900         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43901         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43902         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43903         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43904         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43905         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43906         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43907         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43908         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43909         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43911         Likewise.
43912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43913         Likewise.
43914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43916         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43917         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43919         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43920         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43921         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43923         * dlfcn/dladdr.c: Use IS_IN.
43924         * dlfcn/dladdr1.c: Likewise.
43925         * dlfcn/dlclose.c: Likewise.
43926         * dlfcn/dlerror.c: Likewise.
43927         * dlfcn/dlinfo.c: Likewise.
43928         * dlfcn/dlmopen.c: Likewise.
43929         * dlfcn/dlopen.c: Likewise.
43930         * dlfcn/dlsym.c: Likewise.
43931         * dlfcn/dlvsym.c: Likewise.
43933         * include/ifaddrs.h: Use IS_IN.
43934         * inet/check_pf.c: Likewise.
43935         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43936         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43938         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43939         IS_IN_ldconfig.
43940         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43941         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43943         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43944         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43945         IS_IN (libc).
43947         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43949         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43950         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43951         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43952         * include/libc-symbols.h (IS_IN_LIB): New macro.
43953         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43954         * include/netdb.h: Likewise.
43955         * include/stap-probe.h: Remove all uses of IN_LIB.
43957         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43958         instead of IN_MODULE.
43959         * include/libc-symbols.h (IN_MODULE): Define using
43960         MODULE_NAME.
43961         (PASTE_NAME, PASTE_NAME1): New macros.
43962         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43963         of IN_LIB.
43964         (STAP_PROBE_ASM): Likewise.
43966 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43968         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43969         __mach_init in dlopened libc.
43971 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43973         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43974         * sysdeps/arm/preconfigure: Regenerate.
43976 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43978         * nptl/pthread_create.c (__pthread_create_2_1): Set
43979         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43980         when copying values from IATTR into PD.
43982 2014-11-21  Will Newton  <will.newton@linaro.org>
43983             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43985         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43986         Refactor inline-asm.  Also add comment.
43988         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43989         ElfW macro instead of hardcoded Elf64 types.
43990         (la_aarch64_gnu_pltenter): Likewise.
43991         * sysdeps/aarch64/dl-machine.h
43992         (elf_machine_runtime_setup): Use ElfW(Addr).
43994         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43995         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43996         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43997         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43998         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43999         (R_AARCH64_TLS_DTPMOD64): Rename to ..
44000         (R_AARCH64_TLS_DTPMOD): This.
44001         (R_AARCH64_TLS_DTPREL64): Rename to ...
44002         (R_AARCH64_TLS_DTPREL): This.
44003         (R_AARCH64_TLS_TPREL64): Rename to ...
44004         (R_AARCH64_TLS_TPREL): This.
44005         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
44006         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
44007         R_AARCH64_TLS_TPREL64.
44008         (elf_machine_rela): Likewise.
44010 2014-11-21  Torvald Riegel  <triegel@redhat.com>
44012         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
44013         by setting it to 0.  64b atomics are not supported currently.
44015 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44017         [BZ #16469]
44018         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44019         search domain names.
44021 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44023         [BZ #16469]
44024         * NEWS: Update.
44025         * resolv/res_query.c (__libc_res_nquerydomain): Retain
44026         trailing dot.
44027         * posix/tst-getaddrinfo5.c: New.
44028         * posix/Makefile (tests): Add it.
44030 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44032         [BZ #14498]
44033         * NEWS: Fixed.
44034         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
44035         after parsing line but before break_if_match.
44036         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
44037         if there is a protocol mismatch.
44039 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
44041         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
44042         because the potential race is on the user-supplied stream.
44044 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44046         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
44047         string literal if not passed a buffer.
44048         * manual/job.texi (ctermid): Update reasoning, note deviation
44049         from posix, suggest mtasurace when not passed a buffer, for
44050         future non-preliminary safety notes.
44052 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44054         * manual/users.texi (cuserid): Fix MT-Safety note for the case
44055         of not passing it a buffer.
44056         Reported by Peng Haitao.
44058 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44060         * manual/Makefile ($(objpfx)stamp-summary): Require
44061         check-safety.sh to pass.
44062         * manual/check-safety.sh: Wish for verification that every
44063         @deftypefn and @deftypefun is followed by a @safety remark.
44065 2014-11-20  Roland McGrath  <roland@hack.frob.com>
44067         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44069         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44070         PTHREAD_CANCEL_ASYNCHRONOUS.
44071         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44072         send SIGCANCEL.
44074         * nptl/default-sched.h: New file.
44075         * sysdeps/unix/sysv/linux/default-sched.h: New file.
44076         * nptl/pthread_create.c: Include it.
44077         (__pthread_create_2_1): Use collect_default_sched instead of making
44078         Linux syscalls here directly.
44080 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44082         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44083         __pthread_once): Use C11 atomics.
44085 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44087         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44089 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44091         * include/atomic.h (__atomic_link_error, __atomic_check_size,
44092         atomic_thread_fence_acquire, atomic_thread_fence_release,
44093         atomic_thread_fence_seq_cst, atomic_load_relaxed,
44094         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44095         atomic_compare_exchange_weak_relaxed,
44096         atomic_compare_exchange_weak_acquire,
44097         atomic_compare_exchange_weak_release,
44098         atomic_exchange_acquire, atomic_exchange_release,
44099         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44100         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44101         atomic_fetch_and_acquire,
44102         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44104 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44106         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44107         USE_ATOMIC_COMPILER_BUILTINS): Define.
44108         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44109         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44110         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44111         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44112         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44113         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44114         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44115         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44116         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44117         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44118         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44119         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44120         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44121         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44122         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44124         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44126         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44128         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44130         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44132         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44134         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44136         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44138         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44140         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44142         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44143         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44144         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44145         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44146         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44149 2014-11-19  Roland McGrath  <roland@hack.frob.com>
44151         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44152         the sched_priority value here.  It was already checked when the user
44153         called pthread_attr_setschedparam.
44155         * nptl/tst-bad-schedattr.c: New file.
44156         * nptl/Makefile (tests): Add it.
44158 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
44159             Florian Weimer  <fweimer@redhat.com>
44160             Joseph Myers  <joseph@codesourcery.com>
44161             Adam Conrad  <adconrad@0c3.net>
44162             Andreas Schwab  <schwab@suse.de>
44163             Brooks  <bmoses@google.com>
44165         [BZ #17625]
44166         * wordexp-test.c (__dso_handle): Add prototype.
44167         (__register_atfork): Likewise.
44168         (__app_register_atfork): New function.
44169         (registered_forks): New global.
44170         (register_fork): New function.
44171         (test_case): Add 3 new tests for WRDE_CMDSUB.
44172         (main): Call __app_register_atfork.
44173         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44174         fork count is non-zero fail the test.
44175         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44176         is set.
44177         (parse_dollars): Remove check for WRDE_NOCMD.
44178         (parse_dquote): Likewise.
44180 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44182         * Makeconfig (built-modules): List non-library modules to be
44183         built.
44184         (module-cppflags): Include libc-modules.h for
44185         everything except shlib-versions.v.i.
44186         (CPPFLAGS): Use it.
44187         (before-compile): Add libc-modules.h.
44188         ($(common-objpfx)libc-modules.h,
44189         $(common-objpfx)libc-modules.stmp): New targets.
44190         (common-generated): Add libc-modules.h and libc-modules.stmp.
44191         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44192         * include/libc-symbols.h: Don't include libc-modules.h.
44193         * include/libc-modules.h: Remove file.
44194         * scripts/gen-libc-modules.awk: New script to generate
44195         libc-modules.h.
44196         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44197         Depend on libc-modules.stmp.
44199         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44201         * Makeconfig (in-module): Get value of libof set for the
44202         translation unit.
44203         (CPPFLAGS): Use $(in-module).
44204         * Makerules: Don't suffix routine names for nonlib.
44205         * include/libc-modules.h: New file.
44206         * include/libc-symbols.h: Include libc-modules.h
44207         (IS_IN): New macro to replace IS_IN_* macros.
44208         * elf/Makefile: Set libof-* for each routine.
44209         * elf/rtld-Rules: Likewise.
44210         * extra-modules.mk: Likewise.
44211         * iconv/Makefile: Likewise.
44212         * iconvdata/Makefile: Likewise.
44213         * locale/Makefile: Likewise.
44214         * malloc/Makefile: Likewise.
44215         * nss/Makefile: Likewise.
44216         * sysdeps/gnu/Makefile: Likewise.
44217         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44218         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44219         * sysdeps/s390/s390-64/Makefile: Likewise.
44220         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44221         CPPFLAGS for nscd instead of nonlib.
44223 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44225         * nptl/createthread.c: New file.
44227         * nptl/createthread.c: Moved ...
44228         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44230         * nptl/createthread.c: Add proper top-line comment.
44231         (do_clone): Folded into ...
44232         (create_thread): ... here.  Take new arguments STOPPED_START and
44233         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44234         increment __nptl_threads, do event-reporting logic, do
44235         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44236         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44237         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44238         just send SIGCANCEL.
44239         * nptl/pthread_create.c: Forward-declare create_thread before
44240         including createthread.c.
44241         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44242         declaration, and new macro START_THREAD_SELF to replace argument.
44243         Remove return statement.
44244         (report_thread_creation): New function.
44245         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44246         synchronization logic, and __nptl_nthreads increment here, around
44247         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44248         PD->parent_cancelhandling here, before create_thread.  When
44249         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44250         __deallocate_stack, and ENOMEM translation here.
44252 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44254         [BZ #17616]
44255         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44256         (mptwo): Rename to __mptwo.
44257         (__inv): Use __mptwo instead of mptwo.
44258         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44259         (mptwo): Rename to __mptwo.
44260         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44261         of mpone and __mptwo instead of mptwo.
44262         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44263         instead of mpone.
44264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44265         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44266         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44267         of mpone and __mptwo instead of mptwo.
44268         (__mpranred): Use __mpone instead of mpone.
44269         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44270         variable.
44271         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44272         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44273         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44274         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44275         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44276         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44277         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44278         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44279         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44280         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44281         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44282         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44283         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44284         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44285         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44286         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44287         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44288         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44289         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44291 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44293         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44294         replace BSD Handler xref with BSD Signal Handling.
44296 2014-11-17  Richard Henderson  <rth@redhat.com>
44298         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44299         (_FP_PACK_RAW_2): Remove.
44300         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44301         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44302         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44303         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44304         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44305         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44306         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44307         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44308         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44309         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44310         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44311         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44312         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44313         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44314         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44315         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44317 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44319         * signal/signal.h [__USE_MISC]
44320         (struct sigvec): Remove type.
44321         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44322         (sigvec): Remove declaration.
44323         * sysdeps/posix/sigvec.c: Moved ...
44324         * signal/sigvec.c: ... here, replacing old file.
44325         (struct sigvec): New type, copied from old signal.h definition.
44326         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44327         (__sigvec): Convert definition to prototype.
44328         (sigvec): Replace weak_alias with compat_symbol.
44329         * signal/Versions (libc: GLIBC_2.21): New version set.
44330         * include/signal.h: Remove __sigvec declaration.
44331         * sysdeps/unix/bsd/sigvec.c: Remove file.
44332         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44333         * manual/signal.texi (BSD Handler): Remove subsection.
44334         Move siginterrupt up to ...
44335         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44336         (Blocking in BSD): Fold subsection into its parent.
44337         * NEWS: Mention sigvec removal.
44339 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44341         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44342         (DLA_FMS): Make definition conditional only on [__FMA4__].
44343         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44344         definition.
44346         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44347         Make definition conditional only on [PROF].
44348         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44349         definition.
44350         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44351         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44353         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44354         !__GNUC__].
44355         * include/signal.h (__sigpause): Move declaration above call to
44356         libc_hidden_proto.
44357         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44358         variable.
44359         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44360         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44362 2014-11-14  David S. Miller  <davem@davemloft.net>
44364         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44365         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44367 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44369         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44370         * configure: Regenerated.
44371         * manual/install.texi (Tools for Compilation): Document a
44372         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44373         compiler verified to work.
44374         * INSTALL: Regenerated.
44376         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44377         redeclare with asm name.
44378         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44379         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44380         including <string.h>.
44381         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44382         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44383         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44384         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44385         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44386         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44387         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44389 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44391         * stdlib/strtol.c (__strtol): Use prototype definition.
44393         [BZ #17594]
44394         * stdlib/strtol.c (SYM__): New macro.
44395         (SYM__1): Likewise.
44396         (__strtol): Likewise.
44397         (strtol): Rename to __strtol and define as weak alias of
44398         __strtol.  Use libc_hidden_weak.
44400 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44402         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44403         Use numbered labels in inline assembly.
44405 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44407         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44408         Add setjmp LIBC_PROBE.
44409         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44410         Likewise.
44411         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44412         Add longjmp, longjmp_target LIBC_PROBE.
44413         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44414         Likewise.
44416 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44418         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44419         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44420         to get rid of unused variable warning.
44422 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44424         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44425         Check for unwind_backtrace ==  NULL only in SHARED case.
44426         (__backchain_backtrace): Compile only in SHARED case.
44427         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44428         Likewise.
44429         (__backchain_backtrace): Declare as static.
44431 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44433         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44434         (__libc_multiple_threads_ptr): Variable moved ...
44435         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44437 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44439         * conform/GlibcConform.pm: New file.
44440         * conform/conformtest.pl: Use GlibcConform module.
44441         * conform/linknamespace.pl: New file.
44442         * conform/list-header-symbols.pl: Likewise.
44443         * conform/Makefile (linknamespace-symlists-base): New variable.
44444         (linknamespace-symlists-tests): Likewise.
44445         (linknamespace-header-base): Likewise.
44446         (linknamespace-header-tests): Likewise.
44447         (tests-special): Add new tests.
44448         ($(linknamespace-symlists-tests)): New rule.
44449         (linknamespace-libs): New variable.
44450         ($(objpfx)symlist-stdlibs): New rule.
44451         ($(linknamespace-header-tests)): Likewise.
44452         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44453         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44454         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44455         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44456         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44457         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44458         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44459         (test-xfail-ISO/math.h/linknamespace): Likewise.
44460         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44461         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44462         (test-xfail-ISO/time.h/linknamespace): Likewise.
44463         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44464         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44465         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44466         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44467         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44468         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44469         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44470         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44471         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44472         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44473         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44474         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44475         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44476         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44477         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44478         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44479         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44480         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44481         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44482         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44483         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44484         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44485         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44486         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44487         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44488         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44489         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44490         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44491         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44492         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44493         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44494         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44495         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44496         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44497         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44498         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44499         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44500         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44501         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44502         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44503         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44504         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44505         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44506         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44507         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44508         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44509         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44510         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44511         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44512         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44513         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44514         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44515         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44516         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44517         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44518         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44519         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44520         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44521         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44522         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44523         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44524         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44525         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44526         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44527         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44528         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44529         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44530         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44531         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44532         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44533         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44534         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44535         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44536         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44537         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44538         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44539         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44540         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44541         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44542         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44543         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44544         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44545         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44546         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44547         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44548         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44549         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44550         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44551         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44552         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44553         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44554         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44555         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44556         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44557         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44558         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44559         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44560         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44561         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44562         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44563         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44564         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44565         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44566         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44567         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44568         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44569         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44570         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44571         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44572         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44573         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44574         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44575         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44576         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44577         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44578         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44579         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44580         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44581         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44582         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44583         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44584         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44585         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44586         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44587         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44588         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44589         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44590         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44591         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44592         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44593         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44594         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44595         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44596         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44597         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44598         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44599         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44600         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44601         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44602         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44603         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44604         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44605         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44606         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44607         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44608         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44609         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44610         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44611         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44612         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44614         [BZ #17589]
44615         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44616         of fgets_unlocked.
44618         [BZ #17585]
44619         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44620         (memmem): Rename to __memmem and define as weak alias of
44621         __memmem.  Use libc_hidden_weak.
44622         (__memmem): Use libc_hidden_def.
44623         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44624         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44625         memmem.
44627         [BZ #17582]
44628         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44629         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44630         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44631         and define as weak alias of __fgets_unlocked.  Use
44632         libc_hidden_weak.
44633         (__fgets_unlocked): Use libc_hidden_def.
44634         * include/stdio.h (__fgets_unlocked): Declare.  Use
44635         libc_hidden_proto.
44636         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44637         __fgets_unlocked instead of fgets_unlocked.
44638         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44639         (GET_NPROCS_CONF_PARSER): Likewise.
44640         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44641         (GET_NPROCS_CONF_PARSER): Likewise.
44643         [BZ #17574]
44644         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44645         weak alias of __wmemset.  Use libc_hidden_weak.
44646         (__wmemset): Use libc_hidden_def.
44647         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44648         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44649         of wmemset.
44651         [BZ #17573]
44652         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44653         with asm name __mempcpy.
44654         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44656         [BZ #17572]
44657         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44658         and define as weak alias of __rawmemchr.
44659         (__rawmemchr): Do not define as strong alias of rawmemchr.
44661         [BZ #17571]
44662         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44663         alias of __qsort_r.
44664         (qsort): Call __qsort_r instead of qsort_r.
44665         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44666         (__qsort_r): Declare.  Call libc_hidden_proto.
44667         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44668         instead of qsort_r.
44669         * nscd/gai.c (__qsort_r): Define to qsort_r.
44670         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44671         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44672         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44674         [BZ #17570]
44675         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44676         define as weak alias of __malloc_info.
44678         [BZ #17584]
44679         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44680         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44681         (__rewinddir): Use libc_hidden_def.
44682         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44683         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44684         (__rewinddir): Use libc_hidden_def.
44685         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44686         weak alias of __rewinddir.  Don't use libc_hidden_def.
44687         (__rewinddir): Use libc_hidden_def.
44688         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44689         (__rewinddir): Use libc_hidden_proto.
44690         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44691         rewinddir.
44692         (__getcwd): Use __rewinddir instead of rewinddir.
44694         [BZ #17583]
44695         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44696         alias of __fileno.  Use libc_hidden_weak.
44697         (__fileno): Use libc_hidden_def.
44698         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44699         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44700         alias of __ftello.
44701         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44702         __ftello.
44703         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44704         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44705         libc_hidden_def.
44706         (fread_unlocked): Don't use libc_hidden_ver.
44707         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44708         and define as weak alias of __fread_unlocked.  Don't use
44709         libc_hidden_def.
44710         (__fread_unlocked): Use libc_hidden_def.
44711         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44712         (ftello): Don't use libc_hidden_proto.
44713         (__ftello): Declare.  Use libc_hidden_proto.
44714         (fread_unlocked): Don't use libc_hidden_proto.
44715         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44716         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44717         and __ftello instead of fileno, fread_unlocked and ftello.
44719 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44721         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44722         GOT12.
44723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44724         Likewise.
44725         (_dl_start_user): Likewise.
44726         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44728 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44729             Siddhesh Poyarekar  <siddhesh@redhat.com>
44731         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44732         Move argv and envp down instead of moving argc up.
44733         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44735 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44737         [BZ #17506]
44738         * test-skeleton.c (main): Return successful if one of
44739         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44740         * string/tst-strcoll-overflow.c: Define expected status.
44742 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44744         [BZ #17475]
44745         * locale/iso-639.def: Define Bhili and Tulu language codes.
44747 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44749         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44751 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44753         [BZ #17555]
44754         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44756 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44758         * configure.ac: Updated check of minimal required version to
44759         2.22.
44760         * manual/install.texi (Tools for Compilation): Updated version
44761         number.
44762         * configure: Regenerated.
44763         * INSTALL: Likewise.
44765 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44767         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44768         __tls_get_addr.
44770 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44772         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44773         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44774         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44775         libc_hidden_weak.
44776         (waitpid): Define as alias of __waitpid.
44777         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44778         __waitpid.
44779         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44780         libc_hidden_weak.
44781         (waitpid): Define as alias of __waitpid.
44782         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44783         __libc_waitpid alias.
44784         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44785         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44786         Likewise.
44787         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44788         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44789         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44790         alias.
44791         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44792         __waitpid.
44793         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44794         libc_hidden_weak.
44795         (waitpid): Define as alias of __waitpid.
44797 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44799         * manual/llio.texi: Add comment that write safety has been
44800         fixed in Linux.
44802         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44803         (localplt-build-dso): Add elf/ld.so.
44804         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44805         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44806         and free for ld.so.
44807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44808         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44810         Likewise.
44811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44812         Likewise.
44813         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44814         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44815         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44816         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44817         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44818         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44819         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44820         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44821         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44822         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44823         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44825 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44827         [BZ #14132]
44828         * include/libc-symbols.h (INTUSE): Remove macro.
44829         (INTDEF): Likewise.
44830         (INTVARDEF): Likewise.
44831         (_INTVARDEF): Likewise.
44832         (INTDEF2): Likewise.
44833         (INTVARDEF2): Likewise.
44834         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44835         rtld_hidden_def instead of INTVARDEF.
44836         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44837         (_dl_starting_up_internal): Remove declaration.
44838         (_dl_starting_up): Use rtld_hidden_proto.
44839         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44840         declaration.
44841         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44842         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44843         _dl_starting_up.
44844         * elf/dl-writev.h (_dl_writev): Likewise.
44845         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44846         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44847         _dl_starting_up_internal.
44849 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44851         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44852         test-skeleton.c.
44854 2014-11-05  Will Newton  <will.newton@linaro.org>
44856         * benchtests/Makefile: (bench-malloc): Add malloc thread
44857         scalability benchmark.
44858         * benchtests/bench-malloc-threads.c: New file.
44860 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44862         * sysdeps/aarch64/strchrnul.S: New file.
44864 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44866         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44867         definition.
44868         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44869         Likewise.
44870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44871         Likewise.
44872         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44873         Likewise.
44874         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44875         Likewise.
44876         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44877         Likewise.
44879 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44881         * catgets/test-gencat.c: Use test-skeleton.c.
44882         * catgets/tst-catgets.c: Likewise.
44883         * csu/tst-empty.c: Likewise.
44884         * elf/tst-audit2.c: Likewise.
44885         * elf/tst-global1.c: Likewise.
44886         * elf/tst-pathopt.c: Likewise.
44887         * elf/tst-piemod1.c: Likewise.
44888         * elf/tst-tls10.c: Likewise.
44889         * elf/tst-tls11.c: Likewise.
44890         * elf/tst-tls12.c: Likewise.
44891         * gnulib/tst-gcc.c: Likewise.
44892         * iconvdata/tst-e2big.c: Likewise.
44893         * iconvdata/tst-loading.c: Likewise.
44894         * iconv/tst-iconv1.c: Likewise.
44895         * iconv/tst-iconv2.c: Likewise.
44896         * inet/test-inet6_opt.c: Likewise.
44897         * inet/tst-gethnm.c: Likewise.
44898         * inet/tst-network.c: Likewise.
44899         * inet/tst-ntoa.c: Likewise.
44900         * intl/tst-codeset.c: Likewise.
44901         * intl/tst-gettext2.c: Likewise.
44902         * intl/tst-gettext3.c: Likewise.
44903         * intl/tst-ngettext.c: Likewise.
44904         * intl/tst-translit.c: Likewise.
44905         * io/test-stat.c: Likewise.
44906         * libio/test-fmemopen.c: Likewise.
44907         * libio/tst-freopen.c: Likewise.
44908         * libio/tst-sscanf.c: Likewise.
44909         * libio/tst-ungetwc1.c: Likewise.
44910         * libio/tst-ungetwc2.c: Likewise.
44911         * libio/tst-widetext.c: Likewise.
44912         * localedata/tst-ctype.c: Likewise.
44913         * localedata/tst-digits.c: Likewise.
44914         * localedata/tst-leaks.c: Likewise.
44915         * localedata/tst-mbswcs1.c: Likewise.
44916         * localedata/tst-mbswcs2.c: Likewise.
44917         * localedata/tst-mbswcs3.c: Likewise.
44918         * localedata/tst-mbswcs4.c: Likewise.
44919         * localedata/tst-mbswcs5.c: Likewise.
44920         * localedata/tst-setlocale.c: Likewise.
44921         * localedata/tst-trans.c: Likewise.
44922         * localedata/tst-wctype.c: Likewise.
44923         * localedata/tst-xlocale1.c: Likewise.
44924         * login/tst-grantpt.c: Likewise.
44925         * malloc/tst-calloc.c: Likewise.
44926         * malloc/tst-malloc.c: Likewise.
44927         * malloc/tst-mallocstate.c: Likewise.
44928         * malloc/tst-mcheck.c: Likewise.
44929         * malloc/tst-mtrace.c: Likewise.
44930         * malloc/tst-obstack.c: Likewise.
44931         * math/atest-exp2.c: Likewise.
44932         * math/atest-exp.c: Likewise.
44933         * math/atest-sincos.c: Likewise.
44934         * math/test-matherr.c: Likewise.
44935         * math/test-misc.c: Likewise.
44936         * math/test-powl.c: Likewise.
44937         * math/tst-definitions.c: Likewise.
44938         * misc/tst-dirname.c: Likewise.
44939         * misc/tst-efgcvt.c: Likewise.
44940         * misc/tst-fdset.c: Likewise.
44941         * misc/tst-hsearch.c: Likewise.
44942         * misc/tst-mntent2.c: Likewise.
44943         * nptl/tst-sem7.c: Likewise.
44944         * nptl/tst-sem8.c: Likewise.
44945         * nptl/tst-sem9.c: Likewise.
44946         * nss/test-netdb.c: Likewise.
44947         * posix/tst-fnmatch.c: Likewise.
44948         * posix/tst-getlogin.c: Likewise.
44949         * posix/tst-gnuglob.c: Likewise.
44950         * posix/tst-mmap.c: Likewise.
44951         * pwd/tst-getpw.c: Likewise.
44952         * resolv/tst-inet_ntop.c: Likewise.
44953         * rt/tst-timer.c: Likewise.
44954         * stdio-common/test-fseek.c: Likewise.
44955         * stdio-common/test-popen.c: Likewise.
44956         * stdio-common/test-vfprintf.c: Likewise.
44957         * stdio-common/tst-cookie.c: Likewise.
44958         * stdio-common/tst-fileno.c: Likewise.
44959         * stdio-common/tst-gets.c: Likewise.
44960         * stdio-common/tst-obprintf.c: Likewise.
44961         * stdio-common/tst-perror.c: Likewise.
44962         * stdio-common/tst-sprintf2.c: Likewise.
44963         * stdio-common/tst-sprintf3.c: Likewise.
44964         * stdio-common/tst-sprintf.c: Likewise.
44965         * stdio-common/tst-swprintf.c: Likewise.
44966         * stdio-common/tst-tmpnam.c: Likewise.
44967         * stdio-common/tst-unbputc.c: Likewise.
44968         * stdio-common/tst-wc-printf.c: Likewise.
44969         * stdlib/tst-environ.c: Likewise.
44970         * stdlib/tst-fmtmsg.c: Likewise.
44971         * stdlib/tst-limits.c: Likewise.
44972         * stdlib/tst-rand48-2.c: Likewise.
44973         * stdlib/tst-rand48.c: Likewise.
44974         * stdlib/tst-random2.c: Likewise.
44975         * stdlib/tst-random.c: Likewise.
44976         * stdlib/tst-strtol.c: Likewise.
44977         * stdlib/tst-strtoll.c: Likewise.
44978         * stdlib/tst-tls-atexit.c: Likewise.
44979         * stdlib/tst-xpg-basename.c: Likewise.
44980         * string/test-ffs.c: Likewise.
44981         * string/tst-bswap.c: Likewise.
44982         * string/tst-inlcall.c: Likewise.
44983         * string/tst-strtok.c: Likewise.
44984         * string/tst-strxfrm.c: Likewise.
44985         * sysdeps/x86_64/tst-audit10.c: Likewise.
44986         * sysdeps/x86_64/tst-audit3.c: Likewise.
44987         * sysdeps/x86_64/tst-audit4.c: Likewise.
44988         * sysdeps/x86_64/tst-audit5.c: Likewise.
44989         * time/tst-ftime_l.c: Likewise.
44990         * time/tst-getdate.c: Likewise.
44991         * time/tst-mktime3.c: Likewise.
44992         * time/tst-mktime.c: Likewise.
44993         * time/tst-posixtz.c: Likewise.
44994         * time/tst-strptime2.c: Likewise.
44995         * time/tst-strptime3.c: Likewise.
44996         * wcsmbs/tst-btowc.c: Likewise.
44997         * wcsmbs/tst-mbrtowc.c: Likewise.
44998         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44999         * wcsmbs/tst-wchar-h.c: Likewise.
45000         * wcsmbs/tst-wcpncpy.c: Likewise.
45001         * wcsmbs/tst-wcrtomb.c: Likewise.
45002         * wcsmbs/tst-wcsnlen.c: Likewise.
45003         * wcsmbs/tst-wcstof.c: Likewise.
45005 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
45007         [BZ #14132]
45008         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
45009         INTDEF.
45010         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
45011         declaration.
45012         (_dl_mcount): Use rtld_hidden_proto.
45013         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
45014         _dl_mcount.
45015         * elf/rtld.c (_rtld_global_ro): Likewise.
45017         [BZ #14132]
45018         * elf/dl-init.c (_dl_init): Don't use INTDEF.
45019         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
45020         of _dl_init_internal.
45021         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
45022         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
45023         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
45024         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
45025         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
45026         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
45027         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
45028         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
45029         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
45030         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
45031         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
45032         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
45033         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45034         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45035         * sysdeps/tile/dl-start.S (_start): Likewise.
45036         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
45037         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
45039         [BZ #14132]
45040         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
45041         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
45042         (rtld_progname): Make macro definition unconditional.
45043         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
45044         INTDEF.
45045         (dlmopen_doit): Do not use INTUSE with _dl_argv.
45046         (dl_main): Likewise.
45047         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45048         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45049         instead of _dl_argv_internal.
45050         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45051         __GI__dl_argv instead of INTUSE(_dl_argv).
45052         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
45053         __GI__dl_argv instead of _dl_argv_internal.
45055         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
45056         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
45057         macro.
45058         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
45059         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
45060         New macro.
45061         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
45062         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45063         macro.
45064         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45065         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45067 2014-11-04  Andreas Schwab  <schwab@suse.de>
45069         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45071 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45073         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45074         mtvsrd instruction in binary form.
45076 2014-11-03  Andreas Schwab  <schwab@suse.de>
45078         [BZ #17522]
45079         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45080         for less than MB_LEN_MAX use a local buffer of that size.
45081         * libio/tst-fputws.c: New file.
45082         * libio/Makefile (tests): Add tst-fputws.
45084 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
45086         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45087         the size of the fpu_fr.fpu_dregs[] array.
45089 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
45091         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45092         (__nanosleep): Do not define as alias.
45093         (nanosleep): Define as alias of __nanosleep.
45094         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45095         __libc_nanosleep name.
45097 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45099         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45100         install.texi in comment.
45102 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45104         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45105         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45106         ... add here and use lwsync or sync ...
45107         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45108         ... and add here using lwsync.
45110 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
45112         * elf/dl-machine-reject-phdr.h: New file.
45113         * elf/dl-load.c: #include that.
45114         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45115         if that returned true.
45117 2014-10-31  Roland McGrath  <roland@hack.frob.com>
45119         [BZ #17496]
45120         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45121         gen-as-const-headers chunk.  Add a big scare comment after the last
45122         safe place to touch before-compile.
45124 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45126         * manual/install.texi (Tools for Compilation): Update autoconf
45127         version requirements.
45128         * INSTALL: Regenerated.
45130         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45131         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45132         (__libc_pselect): Likewise.
45134         [BZ #14138]
45135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45140 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45142         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45143         correct barrier instruction.
45144         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45145         Likewise.
45146         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45147         Likewise.
45149 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45151         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45152         after defining inlines.  Instead, just use parens to defeat macro
45153         expansion of __isctype in its declaration.
45155 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45157         * include/sys/uio.h (__libc_readv): Remove declaration.
45158         (__libc_writev): Likewise.
45159         * misc/readv.c (__libc_readv): Rename to __readv.
45160         (__readv): Do not define as alias.
45161         (readv): Define as alias of __readv.
45162         * misc/writev.c (__libc_writev): Rename to __writev.
45163         (__writev): Do not define as alias.
45164         (writev): Define as alias of __writev.
45165         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45166         (__readv): Do not define as alias.
45167         (readv): Define unconditionally as alias of __readv.
45168         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45169         (__writev): Do not define as alias.
45170         (writev): Define unconditionally as alias of __writev.
45171         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45172         name.
45173         (writev): Do not define __libc_writev name.
45175 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45177         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45178         (convert_charseq): New function, broken out of ...
45179         (use_from_charmap): ... here.  Call it.
45180         (use_to_charmap): Use convert_charseq and free instead of duplicating
45181         its code with a variable-length stack struct.
45183 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45185         * include/fcntl.h (__libc_creat): Remove declaration.
45186         * io/creat.c (__libc_creat): Rename to creat.
45187         (creat): Do not define as alias.
45188         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45189         of creat instead of __libc_creat.
45190         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45191         to creat.
45192         (creat): Do not define as alias.
45193         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45194         __libc_creat.
45195         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45196         __libc_creat name.
45197         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45198         Likewise.
45200 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45202         * manual/llio.texi: Add comments discussing why write() may be
45203         considered MT-unsafe on Linux.
45205 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45207         * dl-load.c (local_strdup): Remove.
45208         (expand_dynamic_string_token): Use __strdup.
45209         (decompose_rpath): Likewise.
45210         (_dl_map_object): Likewise.
45212 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45214         [BZ #14132]
45215         * sysdeps/generic/unwind-dw2-fde.c
45216         (__register_frame_info_bases_internal): Do not declare.
45217         (__register_frame_info_table_bases_internal): Likewise.
45218         (__deregister_frame_info_bases_internal): Likewise.
45219         (__register_frame_info_bases): Declare and use hidden_proto before
45220         definition.  Use hidden_def instead of INTDEF.
45221         (__register_frame_info_table_bases): Likewise.
45222         (__deregister_frame_info_bases): Likewise.
45223         (__register_frame_info): Do not use INTUSE.
45224         (__register_frame): Likewise.
45225         (__register_frame_info_table): Likewise.
45226         (__register_frame_table): Likewise.
45227         (__deregister_frame_info): Likewise.
45228         (__deregister_frame): Likewise.
45230 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45232         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45233         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45234         not undefine.
45235         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45236         Likewise.
45237         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45238         Likewise.
45240 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45242         [BZ #14138]
45243         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45244         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45245         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45246         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45247         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45248         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45249         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45250         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45251         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45252         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45253         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45254         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45255         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45256         syscall.
45257         (setfsuid): Likewise.
45258         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45259         (setfsuid): Likewise.
45260         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45261         (setfsuid): Likewise.
45262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45263         Likewise.
45264         (setfsuid): Likewise.
45265         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45266         (setfsuid): Likewise.
45267         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45268         Likewise.
45269         (setfsuid): Likewise.
45271 2014-10-27  Andreas Schwab  <schwab@suse.de>
45273         [BZ #17501]
45274         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45275         check for Slow_SSE4_2 feature bit.
45276         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45277         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45278         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45279         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45281 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45283         * configure.ac: Validate compiler version with a empirical test of
45284         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45285         $CC -v output.
45286         * configure: Regenerated.
45288         * inet/htons.c (htons): Prototypify.
45289         * inet/htonl.c (htonl): Likewise.
45291 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45293         * string/strncat.c (strncat): Improve performance by using strlen.
45295 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45297         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45299 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45301         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45302         Call libc_fetestexcept_aarch64.
45304 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45306         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45307         Call libc_feholdexcept_aarch64.
45309 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45311         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45312         Call get_rounding_mode.
45314 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45316         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45317         Simplify logic.
45319 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45321         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45322         Simplify logic.
45324 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45326         [BZ #14138]
45327         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45328         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45329         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45330         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45331         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45332         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45333         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45334         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45335         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45336         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45337         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45338         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45339         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45340         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45341         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45342         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45343         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45344         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45345         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45346         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45347         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45348         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45349         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45350         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45351         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45352         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45353         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45354         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45355         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45356         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45357         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45358         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45359         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45360         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45361         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45362         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45363         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45364         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45365         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45366         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45367         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45368         syscall.
45369         (geteuid): Likewise.
45370         (getgid): Likewise.
45371         (getuid): Likewise.
45372         (getresgid): Likewise.
45373         (getresuid): Likewise.
45374         (getgroups): Likewise.
45375         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45376         (geteuid): Likewise.
45377         (getgid): Likewise.
45378         (getuid): Likewise.
45379         (getresgid): Likewise.
45380         (getresuid): Likewise.
45381         (getgroups): Likewise.
45382         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45383         (geteuid): Likewise.
45384         (getgid): Likewise.
45385         (getuid): Likewise.
45386         (getresgid): Likewise.
45387         (getresuid): Likewise.
45388         (getgroups): Likewise.
45389         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45390         Likewise.
45391         (geteuid): Likewise.
45392         (getgid): Likewise.
45393         (getuid): Likewise.
45394         (getresgid): Likewise.
45395         (getresuid): Likewise.
45396         (getgroups): Likewise.
45397         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45398         (geteuid): Likewise.
45399         (getgid): Likewise.
45400         (getuid): Likewise.
45401         (getresgid): Likewise.
45402         (getresuid): Likewise.
45403         (getgroups): Likewise.
45404         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45405         Likewise.
45406         (geteuid): Likewise.
45407         (getgid): Likewise.
45408         (getuid): Likewise.
45409         (getgroups): Likewise.
45411         [BZ #14138]
45412         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45413         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45414         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45415         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45416         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45417         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45418         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45419         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45420         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45421         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45422         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45423         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45424         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45425         __chown.
45426         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45427         (lchown): Likewise.
45428         (fchown): Likewise.
45429         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45430         Likewise.
45431         (lchown): Likewise.
45432         (fchown): Likewise.
45433         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45434         (lchown): Likewise.
45435         (fchown): Likewise.
45436         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45437         Likewise.
45438         (lchown): Likewise.
45439         (fchown): Likewise.
45441 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45443         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45444         Simplify logic.
45446 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45448         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45449         Cleanup logic.
45451 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45453         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45454         Remove unused include.
45456 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45458         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45459         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45460         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45461         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45463 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45464             Helge Deller <deller@gmx.de>
45466         [BZ #17508]
45467         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45468         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45469         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45471 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45473         [BZ #14132]
45474         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45475         Remove macro definition.
45476         (__ashrdi3_v_glibc20): Likewise.
45477         (__lshrdi3_v_glibc20): Likewise.
45478         (__cmpdi2_v_glibc20): Likewise.
45479         (__ucmpdi2_v_glibc20): Likewise.
45480         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45481         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45482         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45483         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45484         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45485         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45487 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45489         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45490         old GNU extension [0] syntax.
45491         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45492         alloca rather than an array member with variable length.
45493         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45494         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45495         (parse_opt): ... here.  Likewise use alloca there.
45496         Validate the -i argument before checking for rootness.
45497         (send_shutdown): New function, broken out of ...
45498         (parse_opt): ... here.
45500 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45502         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45503         macro to get at the _rt_local_ro field.
45504         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45505         ([PIC] case) or _dl_hwcap ([!PIC] case).
45506         * sysdeps/arm/setjmp.S: Likewise.
45508         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45509         * sysdeps/arm/configure.ac: New check to define it.
45510         * sysdeps/arm/configure: Regenerated.
45511         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45512         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45513         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45514         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45515         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45516         Use move/movt pair instead of a load.
45517         (LDST_GLOBAL): Macro removed.
45518         (LDR_GLOBAL): New macro replaces it.
45519         (LDR_HIDDEN): New macro.
45520         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45521         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45523         * setjmp/tst-setjmp-static.c: New file.
45524         * setjmp/Makefile (tests): Add it.
45525         (tests-static): New variable.
45527 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45529         [BZ #17485]
45530         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45532 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45534         [BZ #14132]
45535         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45537 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45539         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45541 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45543         * io/fts.c (dirent_not_directory): New function.
45544         (fts_build): Call it.
45546 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45548         * nptl/version.c (__nptl_main): Use normal __write rather than
45549         INTERNAL_SYSCALL.
45550         (banner): Update copyright years.
45552         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45553         gettimeofday.
45554         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45555         * nptl/pthread_cond_timedwait.c: Likewise.
45556         * nptl/pthread_mutex_timedlock.c: Likewise.
45557         * nptl/sem_timedwait.c: Likewise.
45559         * sysdeps/nptl/bits/libc-lock.h
45560         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45561         (__libc_lock_init_recursive): Return void, not 0.
45562         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45563         (__libc_rwlock_init): Likewise.
45564         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45566 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45568         [BZ #15215]
45569         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45570         (__pthread_once_slow): ... here.
45571         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45572         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45574 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45576         [BZ #15215]
45577         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45578         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45579         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45580         * nptl/pthread_once.c (__pthread_once): Likewise.
45581         Update comments.
45583 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45585         [BZ #14138]
45586         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45587         name.
45588         (writev): Use __libc_writev as strong name.
45589         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45590         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45592 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45594         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45596         * sysdeps/i386/nptl/tls.h
45597         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45598         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45599         New macros.
45600         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45601         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45602         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45603         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45604         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45605         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45607         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45608         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45609         on [__NR_futex].
45610         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45611         broken out of ...
45612         (__pthread_mutex_init): ... here.  Call it.
45613         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45614         Conditionalize PI cases on [__NR_futex].
45615         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45616         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45617         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45619         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45620         conditional on [SIGSETXID].
45621         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45622         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45623         is defined.  Likewise for SIGSETXID.
45624         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45625         Conditionalize definitions on [SIGSETXID].
45626         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45627         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45628         unblocking on [SIGCANCEL].
45630         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45631         [__NR_set_robust_list].
45633 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45635         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45636         (do_compare): Likewise.
45638 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45640         [BZ #15884]
45641         * string/strcoll_l.c: Don't include stdio.h.
45642         (coll_seq): Remove members idxarr and rulearr.
45643         (get_next_seq_cached): Remove function.
45644         (get_next_seq): Likewise.
45645         (get_next_seq_nocache): Rename to get_next_seq.
45646         (do_compare): Remove function.
45647         (do_compare_nocache): Rename to do_compare.
45648         (STRCOLL): Remove weight and rules cache.
45650 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45652         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45653         * sysdeps/arm/sfp-machine.h: ... to here.
45654         * sysdeps/arm/Implies: Remove arm/soft-fp.
45656 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45658         * conform/data/sys/utsname.h-data (*_t): Allow.
45659         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45660         [POSIX] (WEXITED): Do not expect constant.
45661         [POSIX] (WSTOPPED): Likewise.
45662         [POSIX] (WNOHANG): Likewise.
45663         [POSIX] (WNOWAIT): Likewise.
45664         [POSIX] (siginfo_t): Do not expect type or elements.
45665         [POSIX] (pid_t): Do not expect type.
45666         [POSIX] (signal.h): Do not allow header.
45667         [POSIX] (sys/resource.h): Likewise.
45668         [POSIX] (si_*): Do not allow pattern.
45669         [POSIX] (W*): Likewise.
45670         [POSIX] (P_*): Likewise.
45671         [POSIX] (BUS_*): Likewise.
45672         [POSIX] (CLD_*): Likewise.
45673         [POSIX] (FPE_*): Likewise.
45674         [POSIX] (ILL_*): Likewise.
45675         [POSIX] (POLL_*): Likewise.
45676         [POSIX] (SEGV_*): Likewise.
45677         [POSIX] (SI_*): Likewise.
45678         [POSIX] (TRAP_*): Likewise.
45679         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45680         variable.
45682 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45684         [BZ #12926]
45685         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45686         infinite loop when __recvmsg returns 0.
45688 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45690         * CANCEL-FCT-WAIVE: Remove file.
45691         * CANCEL-FILE-WAIVE: Likewise.
45693         [BZ #14132]
45694         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45695         instead of INTVARDEF.
45696         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45697         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45698         rtld_hidden_data_def instead of INTVARDEF.
45699         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45700         * elf/dl-deps.c (expand_dst): Likewise.
45701         * elf/dl-load.c (_dl_dst_count): Likewise.
45702         (_dl_dst_substitute): Likewise.
45703         (decompose_rpath): Likewise.
45704         (_dl_init_paths): Likewise.
45705         (open_path): Likewise.
45706         (_dl_map_object): Likewise.
45707         * elf/rtld.c (dl_main): Likewise.
45708         (process_dl_audit): Likewise.
45709         (process_envvars): Likewise.
45710         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45711         Remove declaration.
45712         (__libc_enable_secure): Use rtld_hidden_proto.
45714 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45716         * elf/dl-load.c
45717         (add_path): New function broken out of _dl_rtld_di_serinfo.
45718         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45720 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45722         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45723         parentheses around macro arguments.
45724         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45726         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45728         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45729         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45730         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45731         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45732         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45733         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45735         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45736         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45737         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45738         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45739         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45740         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45741         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45742         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45744         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45746         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45747         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45748         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45749         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45750         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45751         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45753         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45754         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45755         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45756         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45757         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45758         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45759         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45760         Likewise.
45761         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45765         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45768         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45769         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45770         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45772         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45773         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45780         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45782         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45784         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45785         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45786         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45787         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45788         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45789         (_FP_FRAC_SRS_1): Likewise.
45790         (_FP_FRAC_CLZ_1): Likewise.
45791         (_FP_MUL_MEAT_1_imm): Likewise.
45792         (_FP_MUL_MEAT_1_wide): Likewise.
45793         (_FP_MUL_MEAT_1_hard): Likewise.
45794         (_FP_SQRT_MEAT_1): Likewise.
45795         (_FP_FRAC_ASSEMBLE_1): Likewise.
45796         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45797         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45798         (__FP_CLZ_2): Likewise.
45799         (_FP_MUL_MEAT_2_wide): Likewise.
45800         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45801         (_FP_MUL_MEAT_2_gmp): Likewise.
45802         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45803         (_FP_SQRT_MEAT_2): Likewise.
45804         (_FP_FRAC_ASSEMBLE_2): Likewise.
45805         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45806         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45807         (_FP_FRAC_CLZ_4): Likewise.
45808         (_FP_MUL_MEAT_4_wide): Likewise.
45809         (_FP_MUL_MEAT_4_gmp): Likewise.
45810         (_FP_SQRT_MEAT_4): Likewise.
45811         (_FP_FRAC_ASSEMBLE_4): Likewise.
45812         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45813         * soft-fp/op-common.h (_FP_CMP): Likewise.
45814         (_FP_CMP_EQ): Likewise.
45815         (_FP_CMP_UNORD): Likewise.
45816         (_FP_TO_INT): Likewise.
45817         (_FP_FROM_INT): Likewise.
45818         [!__FP_CLZ] (__FP_CLZ): Likewise.
45819         (_FP_DIV_HELP_imm): Likewise.
45820         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45821         Likewise.
45822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45833         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45837         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45838         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45851         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45855         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45856         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45857         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45858         (FP_UNPACK_RAW_SP): Likewise.
45859         (FP_PACK_RAW_S): Likewise.
45860         (FP_PACK_RAW_SP): Likewise.
45861         (FP_UNPACK_S): Likewise.
45862         (FP_UNPACK_SP): Likewise.
45863         (FP_UNPACK_SEMIRAW_S): Likewise.
45864         (FP_UNPACK_SEMIRAW_SP): Likewise.
45865         (FP_PACK_S): Likewise.
45866         (FP_PACK_SP): Likewise.
45867         (FP_PACK_SEMIRAW_S): Likewise.
45868         (FP_PACK_SEMIRAW_SP): Likewise.
45869         (_FP_SQRT_MEAT_S): Likewise.
45870         (FP_CMP_S): Likewise.
45871         (FP_CMP_EQ_S): Likewise.
45872         (FP_CMP_UNORD_S): Likewise.
45873         (FP_TO_INT_S): Likewise.
45874         (FP_FROM_INT_S): Likewise.
45876         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45878         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45879         (FP_EX_INVALID_IMZ): Likewise.
45880         (FP_EX_INVALID_IMZ_FMA): Likewise.
45881         (FP_EX_INVALID_ISI): Likewise.
45882         (FP_EX_INVALID_ZDZ): Likewise.
45883         (FP_EX_INVALID_IDI): Likewise.
45884         (FP_EX_INVALID_SQRT): Likewise.
45885         (FP_EX_INVALID_CVI): Likewise.
45886         (FP_EX_INVALID_VC): Likewise.
45887         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45888         "invalid" exceptions.
45889         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45890         (_FP_ADD_INTERNAL): Likewise.
45891         (_FP_MUL): Likewise.
45892         (_FP_FMA): Likewise.
45893         (_FP_DIV): Likewise.
45894         (_FP_CMP_CHECK_NAN): Likewise.
45895         (_FP_SQRT): Likewise.
45896         (_FP_TO_INT): Likewise.
45897         (FP_EXTEND): Likewise.
45899 2014-10-09  Allan McRae  <allan@archlinux.org>
45901         * po/fr.po: Update French translation from translation project.
45903 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45905         [BZ #14132]
45906         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45907         of INTDEF.
45908         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45909         (__cxa_atexit): Use libc_hidden_proto.
45910         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45912         [BZ #14132]
45913         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45914         declaration.
45915         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45916         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45917         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45918         [!_ISOMAC] (__iswctype_internal): Likewise.
45919         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45920         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45921         alias.
45922         (fcntl): Remove __fcntl_internal alias.
45923         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45924         __connect_internal alias.
45925         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45926         Likewise.
45928         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45929         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45930         FP_DENORM_ZERO.
45931         (_FP_CHECK_FLUSH_ZERO): New macro.
45932         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45933         (_FP_CMP): Likewise.
45934         (_FP_CMP_EQ): Likewise.
45935         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45936         FP_DENORM_ZERO.
45937         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45938         (FP_TRUNC): Likewise.
45940         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45941         treated as invalid conversion, not as normal exponent.
45943         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45944         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45945         (_FP_CMP_EQ): Likewise.
45946         (_FP_CMP_UNORD): Likewise.
45947         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45948         (FP_CMP_EQ_D): Likewise.
45949         (FP_CMP_UNORD_D): Likewise.
45950         * soft-fp/extended.h (FP_CMP_E): Likewise.
45951         (FP_CMP_EQ_E): Likewise.
45952         (FP_CMP_UNORD_E): Likewise.
45953         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45954         (FP_CMP_EQ_Q): Likewise.
45955         (FP_CMP_UNORD_Q): Likewise.
45956         * soft-fp/single.h (FP_CMP_S): Likewise.
45957         (FP_CMP_EQ_S): Likewise.
45958         (FP_CMP_UNORD_S): Likewise.
45959         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45960         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45961         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45962         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45963         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45964         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45965         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45966         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45967         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45968         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45969         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45970         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45971         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45972         to FP_CMP_Q.
45973         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45974         FP_CMP_Q.
45975         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45976         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45977         FP_CMP_EQ_Q.
45978         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45979         FP_CMP_Q.
45980         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45981         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45982         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45983         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45984         FP_CMP_EQ_Q.
45985         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45986         FP_CMP_Q.
45987         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45988         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45989         FP_CMP_EQ_Q.
45990         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45991         FP_CMP_Q.
45992         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45993         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45994         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45995         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45996         FP_CMP_EQ_Q.
45998         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45999         a subnormal result, set the underflow exception if trapping on
46000         underflow is enabled.
46001         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
46002         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
46003         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
46004         redefine to 0.
46005         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
46006         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46007         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46008         * soft-fp/extendxftf2.c (__extendxftf2): Use
46009         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
46011         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
46012         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
46013         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46014         FP_HANDLE_EXCEPTIONS.
46015         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
46016         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46017         FP_HANDLE_EXCEPTIONS.
46018         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
46019         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46020         FP_HANDLE_EXCEPTIONS.
46021         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
46022         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46023         FP_HANDLE_EXCEPTIONS.
46025 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
46027         [BZ #14132]
46028         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
46029         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
46030         use INTUSE.
46031         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
46032         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
46033         Remove alias.
46034         (__adjtimex): Define using libc_hidden_ver.
46035         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
46036         Remove declaration.
46037         (ntp_gettime): Call __adjtimex directly.
46038         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
46039         Remove declaration.
46040         (ntp_gettimex): Call __adjtimex directly.
46041         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
46042         __adjtimex_internal alias.
46044 2014-10-08  Roland McGrath  <roland@hack.frob.com>
46046         [BZ #17460]
46047         * nscd/nscd.c (more_help): Rewrite list of tables collection
46048         using xstrdup and asprintf.
46050         * nscd/nscd_conf.c: Remove local xstrdup declaration.
46052 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46053             Roland McGrath  <roland@hack.frob.com>
46055         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
46056         (do_lookup_unique): ... local function 'enter' here; update callers.
46058 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
46060         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
46061         compat_symbol calls on [SHARED].
46062         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46063         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46064         Remove.
46065         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46066         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46067         (oldsetrlimit): Remove.
46068         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46070         (lchown): New syscall entry.
46071         (oldsetrlimit): Remove.
46072         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46074         (oldsetrlimit): Remove.
46075         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46077         [BZ #14138]
46078         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46079         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46080         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46081         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46082         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46083         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46084         (fchown): Likewise.
46085         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46086         (fchown): Likewise.
46087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46088         Likewise.
46090 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46092         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46093         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46094         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46095         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46096         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46097         Likewise.
46098         (__old_sem_post): Likewise.
46100 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
46102         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46103         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46104         HAVE_CLOCK_GETTIME_VSYSCALL macros.
46105         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46106         Use INLINE_VSYSCALL macro.
46107         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46108         __vdso_clock_gettime.
46109         * sysdeps/unix/sysv/linux/tile/init-first.c
46110         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46111         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46112         __vdso_clock_gettime.
46114         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46115         to set up frame more cleanly.
46117         * sysdeps/tile/memcmp.c: New file.
46119         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46121         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46122         * sysdeps/tile/tilegx/strcasestr.c: New file.
46123         * sysdeps/tile/tilegx/strnlen.c: New file.
46124         * sysdeps/tile/tilegx/strstr.c: New file.
46126         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46128 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
46130         * nptl/tst-setuid3.c: Write errors to stdout.
46132 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46134         * elf/dl-deps.c
46135         (preload): New functions broken out of _dl_map_object_deps.
46136         (_dl_map_object_deps):  Remove a nested function. Update call sites.
46138 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
46140         [BZ #14138]
46141         * sysdeps/unix/sysv/linux/execve.c: Remove file.
46142         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46144 2014-10-01  Steve Ellcey  <sellcey@mips.com>
46146         * sysdeps/mips/strcmp.S: New.
46148 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
46150         [BZ #14138]
46151         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46152         (linkat): Likewise.
46153         (mkdirat): Likewise.
46154         (readlinkat): Likewise.
46155         (renameat): Likewise.
46156         (symlinkat): Likewise.
46157         (unlinkat): Likewise.
46158         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46159         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46160         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46161         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46162         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46163         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46164         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46166 2014-09-30  Will Newton  <will.newton@linaro.org>
46168         * math/math.h: Define long double math functions if
46169         _LIBC_TEST is defined.
46170         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46172         * localedata/Makefile: Move assignment to tests-special
46173         into an ifdef testing run-built-tests.
46174         * timezone/Makefile: Likewise.
46176 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46178         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46179         with $(BASH) not $(SHELL).
46181 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46182             Matthew LeGendre  <legendre1@llnl.gov>
46184         [BZ #17411]
46185         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46186         l_reloc_result.
46188 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46190         * stdio-common/printf_fp.c
46191         (hack_digit): New function, broken out of ...
46192         (__printf_fp): ... local function here.  Update call sites.
46193         hack_digit now takes an additional parameter that is a pointer
46194         to a struct of the referenced locals.  Those locals moved inside
46195         the struct and references updated.
46197 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46199         * aclocal.m4: Require autoconf 2.69.
46200         * configure: Regenerated.
46201         * sysdeps/aarch64/configure: Likewise.
46202         * sysdeps/alpha/configure: Likewise.
46203         * sysdeps/arm/armv7/configure: Likewise.
46204         * sysdeps/arm/configure: Likewise.
46205         * sysdeps/ia64/configure: Likewise.
46206         * sysdeps/mach/configure: Likewise.
46207         * sysdeps/mips/configure: Likewise.
46208         * sysdeps/s390/configure: Likewise.
46209         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46212         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46213         file.
46214         * sysdeps/ia64/configure.ac: Likewise.
46216 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46219         specify symbol version for ld.so.  Do not include entry for
46220         libpthread.
46221         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46222         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46223         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46225         [BZ #14171]
46226         * Makeconfig [$(build-shared) = yes]
46227         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46228         makefiles.
46229         [$(build-shared) = yes && $(soversions.mk-done) = t]
46230         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46231         [$(build-shared) = yes && $(soversions.mk-done) = t]
46232         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46233         to Makerules.
46234         [$(build-shared) = yes && $(soversions.mk-done) = t]
46235         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46236         here.
46237         [$(build-shared) = yes && $(soversions.mk-done) = t]
46238         (common-generated): Don't append gnu/lib-names.h and
46239         gnu/lib-names.stmp here.
46240         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46241         (lib-names-h-abi): New variable.
46242         [$(build-shared) = yes && $(soversions.mk-done) = t]
46243         (lib-names-stmp-abi): Likewise.
46244         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46245         abi-variants] (before-compile): Append
46246         $(common-objpfx)$(lib-names-h-abi).
46247         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46248         abi-variants] (common-generated): Append gnu/lib-names.h.
46249         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46250         abi-variants] (install-others-nosubdir): Depend on
46251         $(inst_includedir)/$(lib-names-h-abi).
46252         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46253         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46254         [$(build-shared) = yes && $(soversions.mk-done) = t]
46255         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46256         [$(build-shared) = yes && $(soversions.mk-done) = t]
46257         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46258         [$(build-shared) = yes && $(soversions.mk-done) = t]
46259         (common-generated): Append $(lib-names-h-abi) and
46260         $(lib-names-stmp-abi).
46261         * scripts/lib-names.awk: Do not handle multi being set.
46262         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46263         Remove variable.
46264         (abi-lp64_be-ld-soname): Likewise.
46265         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46266         Likewise.
46267         (abi-hard-ld-soname): Likewise.
46268         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46269         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46270         Remove variable.
46271         (abi-o32_hard-ld-soname): Likewise.
46272         (abi-o32_soft_2008-ld-soname): Likewise.
46273         (abi-o32_hard_2008-ld-soname): Likewise.
46274         (abi-n32_soft-ld-soname): Likewise.
46275         (abi-n32_hard-ld-soname): Likewise.
46276         (abi-n32_soft_2008-ld-soname): Likewise.
46277         (abi-n32_hard_2008-ld-soname): Likewise.
46278         (abi-n64_soft-ld-soname): Likewise.
46279         (abi-n64_hard-ld-soname): Likewise.
46280         (abi-n64_soft_2008-ld-soname): Likewise.
46281         (abi-n64_hard_2008-ld-soname): Likewise.
46282         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46283         Likewise.
46284         (abi-64-v2-ld-soname): Likewise.
46285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46286         ld.so entries.
46287         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46288         variable.
46289         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46290         entry.
46291         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46292         variable.
46293         (abi-64-ld-soname): Likewise.
46294         (abi-x32-ld-soname): Likewise.
46295         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46296         entry.
46297         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46299 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46301         [BZ #14138]
46302         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46303         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46304         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46305         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46306         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46307         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46308         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46309         syscall entry for GLIBC_2.2 symbol version.
46310         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46311         Likewise.
46312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46313         (setrlimit): Likewise.
46314         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46315         Likewise.
46317 2014-09-23  Will Newton  <will.newton@linaro.org>
46319         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46320         _LINUX_ARM_SYSDEP_H include guard too.
46321         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46322         define.
46324 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46326         * sysdeps/unix/sysv/linux/eventfd.c:
46327         Make first argument unsigned.
46328         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46329         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46331 2014-09-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
46333         [BZ #16852]
46334         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46335         * socket/sys/socket.h: Likewise.
46336         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46338 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46340         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46342 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46344         * time/tst-ftime.c: New test.
46345         * time/Makefile (tests): Add tst-ftime.
46347 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46349         * soft-fp/extended.h: Fix comment formatting.
46350         * soft-fp/op-1.h: Likewise.
46351         * soft-fp/op-2.h: Likewise.
46352         * soft-fp/op-4.h: Likewise.
46353         * soft-fp/op-8.h: Likewise.
46354         * soft-fp/op-common.h: Likewise.
46355         * soft-fp/soft-fp.h: Likewise.
46357         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46359 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46361         [BZ #6652]
46362         * Makeconfig (soversions-default-setname): Remove variable.
46363         ($(common-objpfx)soversions.i): Don't pass default_setname to
46364         soversions.awk.
46365         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46366         oldest_abi to abi-versions.awk.
46367         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46368         * config.make.in (oldest-abi): Remove variable.
46369         * configure.ac (--enable-oldest-abi): Remove configure option.
46370         * configure: Regenerated.
46371         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46372         text.
46373         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46374         * scripts/soversions.awk: Do not handle default_setname variable.
46375         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46376         variable.
46377         * sysdeps/mach/hurd/configure: Regenerated.
46378         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46379         variable.
46380         * sysdeps/unix/sysv/linux/configure: Regenerated.
46382 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46384         * elf/Makefile (CFLAGS-interp.c): Remove.
46385         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46386         path string.
46387         * elf/interp.c: Include generated runtime-linker.h
46389         * Makerules (lib%.so): Don't include $(+interp) in
46390         prerequisites.
46391         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46392         * dlfcn/eval.c: Remove file.
46394         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46395         macros.
46397         [BZ #17266]
46398         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46399         4.2 and newer.
46401         [BZ #17370]
46402         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46404 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46405             Jakub Jelinek  <jakub@redhat.com>
46407         [BZ #17266]
46408         * libio/stdio.h: Check definition of __fortify_function
46409         instead of __extern_always_inline to include bits/stdio2.h.
46410         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46411         check if __extern_always_inline is defined.
46412         [__USE_MISC || __USE_XOPEN]: Likewise.
46413         [__USE_ISOC99] Likewise.
46414         * misc/sys/cdefs.h (__fortify_function): Define only if
46415         __extern_always_inline is defined.
46416         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46417         __extern_always_inline and __extern_inline only for g++-4.3
46418         and newer or a compatible gcc.
46420 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46422         [BZ #17371]
46423         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46424         last change to handle zero prefix length.
46426 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46428         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46429         _SC_REGEX_VERSION.
46431         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46432         _POSIX_RAW_SOCKETS.
46434 2014-09-13  Allan McRae  <allan@archlinux.org>
46436         * po/ru.po: Update Russian translation from translation project.
46438 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46440         * locale/programs/locale.c (show_locale_vars): Inline local function
46441         into its sole call site.  Clean up some style nits.
46442         (print_item): New function, broken out of ...
46443         (show_info): ... local function here.  Clean up style nits.
46445         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46446         out of ...
46447         (set_class_defaults): ... local function set_default here.
46448         Define set_default as a macro locally to pass constant parameters.
46449         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46450         rather than a shared local.
46452         * stdlib/rpmatch.c (try): New function, broken out of ...
46453         (rpmatch): ... local function here.  Also, prototypify definition.
46455 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46457         * scripts/soversions.awk: Do not handle configuration names.
46458         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46459         vendor and os variables to soversions.awk.
46460         * configure.ac: Do not modify gnu-* host_os.
46461         * configure: Regenerated
46462         * shlib-versions: Remove first column with configuration names.
46463         * nptl/shlib-versions: Likewise.
46464         * nptl_db/shlib-versions: Likewise.
46465         * sysdeps/hppa/shlib-versions: Likewise.
46466         * sysdeps/m68k/shlib-versions: Likewise.
46467         * sysdeps/mach/hurd/shlib-versions: Likewise.
46468         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46469         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46470         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46471         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46472         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46473         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46474         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46475         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46477         Likewise.
46478         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46479         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46480         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46481         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46482         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46483         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46484         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46485         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46488         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46490         Regenerated.
46491         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46493         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46495         * shlib-versions: Remove OS-specific entries.  Moved to files in
46496         sysdeps.
46497         * sysdeps/mach/hurd/shlib-versions: New file.
46498         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46500         * nptl/shlib-versions: Remove architecture-specific entries.
46501         Moved to files in sysdeps.
46502         * shlib-versions: Likewise.
46503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46504         file.
46505         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46506         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46507         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46508         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46510         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46511         (UDP_NO_CHECK6_RX): Likewise.
46513 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46515         * sysdeps/posix/sysconf.c (__sysconf): Spell
46516         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46518 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46520         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46521         loading.
46522         * iconv/Versions (__gconv_transliterate): Export for use from
46523         gconv modules.
46524         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46525         (struct __gconv_trans_data, __gconv_trans_fct,
46526         __gconv_trans_context_fct, __gconv_trans_query_fct,
46527         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46528         definitions.
46529         (struct __gconv_step_data): Remove __trans member.
46530         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46531         longer hidden.  Remove unused trans_data argument.
46532         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46533         (__gconv_translit_find): Remove declaration.
46534         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46535         prototype.
46536         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46537         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46538         trans_data argument.  Add hidden definition.
46539         (__gconv_translit_find): Remove.
46540         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46541         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46542         * iconv/skeleton.c: Remove transliteration initialization.
46543         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46544         __gconv_step_data initialization.
46545         * libio/iofwide.c (__libio_translit_): Remove.
46546         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46547         * wcsmbs/btowc.c (__btowc): Likewise.
46548         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46549         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46550         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46551         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46552         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46553         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46554         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46555         * wcsmbs/wctob.c (wctob): Likewise.
46557 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46559         [BZ #16194]
46560         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46561         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46562         register usage.
46563         * sysdeps/x86/Makefile: Adjust.
46565 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46566             Roland McGrath  <roland@hack.frob.com>
46568         * locale/weight.h: Add include guard.
46569         (findidx): Make static rather than auto; take new parameters
46570         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46571         * locale/weightwc.h: Likewise.
46572         * posix/fnmatch_loop.c
46573         (FCT): Change type of EXTRA from int32_t to wint_t.
46574         Don't include either header inside the function.
46575         Call FINDIDX rather than findidx, and pass new arguments.
46576         #undef FINDIDX at the end of the file.
46577         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46578         FINDIDX before including fnmatch_loop.c for the non-wide version.
46579         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46580         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46581         for the wide version.
46582         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46583         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46584         Pass new arguments to findidx.
46585         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46586         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46587         Don't #include it inside the function.  Pass new arguments to findidx.
46588         * posix/regex_internal.h
46589         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46590         (re_string_elem_size_at): Don't #include it inside the function.
46591         Pass new arguments to findidx.
46592         * string/strcoll_l.c: #include WEIGHT_H at top level.
46593         (get_next_seq): Don't #include it inside the function.
46594         Pass new arguments to findidx.
46595         (get_next_seq_nocache): Likewise.
46596         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46597         (STRXFRM): Don't #include it inside the function.
46598         Pass new arguments to findidx.
46600 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46602         [BZ #17344]
46603         * malloc/malloc.c (unlink): Turn asserts into a call to
46604         malloc_printerr.
46606 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46608         [BZ #17370]
46609         * libio/wfileops (do_ftell_wide): Free OUT.
46611 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46615 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46617         [BZ #17363]
46618         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46619         group if the current group is empty.
46621 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46623         * benchtests/bench-memset.c (test_main): Add more test from size
46624         from 32 to 512 bytes.
46625         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46626         Add POWER8 memset object.
46627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46628         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46629         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46630         implementation.
46631         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46632         Likewise.
46633         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46634         multiarch POWER8 memset optimization.
46635         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46636         POWER8 memset optimization.
46638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46639         Remove bzero multiarch objects.
46640         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46641         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46642         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46643         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46644         Remove define.
46645         [__bzero]: Redefine to specific name.
46646         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46647         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46648         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46649         define.
46650         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46651         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46653 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46655         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46656         warnings into errors.
46658         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46659         __cxa_thread_atexit_impl prototype.
46661 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46663         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46664         Fix capitalization of error message.
46666 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46668         * sysdeps/mips/preconfigure: Modify ABI tests.
46670 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46672         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46674 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46675             Carlos O'Donell  <carlos@systemhalted.org>
46677         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46678         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46679         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46680         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46681         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46682         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46683         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46684         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46685         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46686         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46687         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46688         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46689         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46690         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46691         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46692         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46693         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46694         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46695         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46697         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46698         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46699         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46700         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46701         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46702         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46703         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46704         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46705         Deconditionalize the code that was previously under [RESET_PID].
46706         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46707         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46708         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46709         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46710         include sysdep.h.
46712 2014-09-08  Allan McRae  <allan@archlinux.org>
46714         * version.h (RELEASE): Set to "development".
46715         (VERSION): Set to "2.20.90"
46717 2014-09-07  Allan McRae  <allan@archlinux.org
46719         * version.h (RELEASE): Set to "stable".
46720         (VERSION): Set to "2.20"
46721         * include/features.h (__GLIBC_MINOR__): Set to 20.
46723         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46724         Liebler.
46726         * po/ko.po: Update Korean translation from translation project.
46728 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46730         [BZ #17354]
46731         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46732         macro for handling signed relocations.
46734 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46736         [BZ #17325]
46737         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46738         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46739         assert.
46740         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46741         * iconvdata/ibm935.c (BODY): Likewise.
46742         * iconvdata/ibm937.c (BODY): Likewise.
46743         * iconvdata/ibm939.c (BODY): Likewise.
46744         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46745         assert.
46746         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46747         script.
46748         * iconvdata/run-iconv-test.sh: New test loop for checking for
46749         decoder crashers.
46751 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46753         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46754         libm_hidden_ver.
46756 2014-09-01  Allan McRae  <allan@archlinux.org>
46758         * po/eo.po: Update Esperanto translation from translation project.
46760         * po/ca.po: Update Catalan translation from translation project.
46762 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46764         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46765         __proc_dostop call.
46767 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46769         [BZ #17319]
46770         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46771         to call set_thread_area instead of hand written asm.
46772         (__NR_set_thread_area): Removed define.
46773         (TLS_FLAG_WRITABLE): Likewise.
46774         (__ASSUME_SET_THREAD_AREA): Remove check.
46775         (TLS_EBX_ARG): Remove define.
46776         (TLS_LOAD_EBX): Likewise.
46778 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46780         Simplify atomicity of socket creation in bind.
46782         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46783         looking up the name after linking the file.
46785 2014-08-27  Allan McRae  <allan@archlinux.org>
46787         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46789 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46791         [BZ #17187]
46792         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46793         trans_compare, open_translit, __gconv_translit_find):
46794         Remove module loading code.
46796 2014-08-26  Allan McRae  <allan@archlinux.org>
46798         * po/vi.po: Update Vietnamese translation from translation project.
46800         * po/uk.po: Update Ukrainian translation from translation project.
46802         * po/fr.po: Update French translation from translation project.
46804         * po/ru.po: Update Russian translation from translation project.
46806         * po/pl.po: Update Polish translation from translation project.
46808         * po/cs.po: Update Czech translation from translation project.
46810         * po/de.po: Update German translation from translation project.
46812         * po/bg.po: Update Bulgarian translation from translation project.
46814         * po/sv.po: Update Sweedish translation from translation project.
46816         * po/nl.po: Update Dutch translation from translation project.
46818         * po/es.po: Update Spanish translation from translation project.
46820 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46822         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46824         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46825         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46826         (CPPFLAGS-iconvconfig): Likewise.
46827         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46829         * include/libc-symbols.h: Remove unnecessary check for
46830         NOT_IN_libc.
46831         * nptl/pthreadP.h: Likewise.
46832         * sysdeps/aarch64/setjmp.S: Likewise.
46833         * sysdeps/alpha/setjmp.S: Likewise.
46834         * sysdeps/arm/sysdep.h: Likewise.
46835         * sysdeps/i386/setjmp.S: Likewise.
46836         * sysdeps/m68k/setjmp.c: Likewise.
46837         * sysdeps/posix/getcwd.c: Likewise.
46838         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46839         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46840         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46841         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46842         * sysdeps/sh/sh3/setjmp.S: Likewise.
46843         * sysdeps/sh/sh4/setjmp.S: Likewise.
46844         * sysdeps/unix/alpha/sysdep.h: Likewise.
46845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46846         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46847         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46848         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46853         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46856         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46858         * sysdeps/x86_64/setjmp.S: Likewise.
46860 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46862         [BZ #17263]
46863         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46864         <stdint.h>.
46865         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46866         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46868 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46870         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46872         [BZ #17262]
46873         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46874         and __x86_64__ when disabling x87 inline functions.
46876 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46878         [BZ #17259]
46879         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46880         asm statement with __cpuid_count.
46882 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46884         * configure.ac: Change __ehdr_start code to dereference the struct.
46885         Run readelf on the output to look for relocations.
46886         * configure: Regenerated.
46888 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46890         [BZ #17261]
46891         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46892         value to 0.
46893         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46895 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46897         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46899 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46901         [BZ #16892]
46902         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46903         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46905 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46907         * malloc/malloc.c: Fix typo in comment.
46909 2014-08-09  Allan McRae  <allan@archlinux.org>
46911         * Regenerate libc.po.
46913 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46915         * intl/tst-gettext2.sh: Check every lang file for creation.
46917 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46919         * sysdeps/aarch64/fpu/math_private.h
46920         (libc_feholdsetround_noex_aarch64_ctx): New function.
46922 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46924         * sysdeps/arm/armv6/strcpy.S (strcpy):
46925         Fix performance issue in misaligned cases.
46927 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46929         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46930         Move definition from termios.h.
46931         (struct termio): Likewise.
46932         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46933         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46934         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46935         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46936         Likewise.
46937         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46938         Move definition to ioctl-types.h
46939         (struct termio): Likewise.
46940         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46941         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46942         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46943         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46944         Likewise.
46946 2014-08-05  Richard Henderson  <rth@redhat.com>
46948         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46949         exceptions.
46950         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46951         Add fraiseexcpt.
46952         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46953         Use __feraiseexcept.
46954         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46955         Protect libm symbols with IS_IN_libm.
46957         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46959 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46961         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46963 2014-08-04  Will Newton  <will.newton@linaro.org>
46965         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46966         file.
46968 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46970         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46971         variants for each function.
46973 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46975         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46976         appended ...
46977         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46978         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46979         appended ...
46980         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46981         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46982         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46983         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46984         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46985         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46986         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46987         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46988         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46989         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46990         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46991         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46992         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46993         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46994         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46995         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46996         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46997         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46998         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46999         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
47000         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
47001         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
47002         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
47003         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
47004         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47005         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
47006         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
47007         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
47008         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47009         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
47010         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
47011         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
47012         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
47013         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
47014         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
47015         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
47016         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
47017         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
47018         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47019         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
47020         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
47021         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
47022         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
47023         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
47024         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
47025         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
47026         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
47027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
47028         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
47029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
47030         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
47031         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
47032         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
47033         Update #include.
47034         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
47035         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
47037 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47039         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
47040         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
47041         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
47042         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
47043         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
47044         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
47046 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47048         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
47049         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
47050         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47051         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
47053 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47055         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
47056         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
47057         (__libc_vfork): Define function under this name.
47058         (__vfork): Define as an alias.
47059         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
47060         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
47062 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47064         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47065         that was previously under [RESET_PID].
47066         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47068 2014-08-04  Andreas Schwab  <schwab@suse.de>
47070         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47072 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
47074         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47075         (main): Likewise.
47077 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47079         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47081 2014-08-01  Richard Henderon  <rth@redhat.com>
47083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47084         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47085         typo in exact zero test.
47086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47087         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47090 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47092         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47093         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47094         * sysdeps/arm/sysdep.h: ... here.
47095         [!__ASSEMBLER__]: Include <stdint.h>.
47097 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47099         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47100         (HAVE_WCTYPE_H): Likewise.
47101         (HAVE_ISWCTYPE): Likewise.
47102         (ENABLE_NLS): Likewise.
47103         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47104         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47106         * posix/regex_internal.c: Check if DEBUG is defined and is
47107         set.
47109         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47110         (HAVE_MBSRTOWCS): Likewise.
47111         * posix/fnmatch.c: Include string.h unconditionally.
47113 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47115         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47116         reversal.
47118 2014-07-31  Roland McGrath  <roland@hack.frob.com>
47120         * sysdeps/generic/safe-fatal.h: New file.
47121         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47122         * nptl/forward.c: Include it.
47123         (__pthread_unwind): Use __safe_fatal as default action, rather
47124         than a bogus use of INTERNAL_SYSCALL that could never work.
47126         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47127         * configure.ac (libc_cv_builtin_trap): New test.
47128         * configure: Regenerated.
47129         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47130         (ABORT_INSTRUCTION): Define using __builtin_trap.
47132         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47133         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47134         * sysdeps/nptl/nptl-signals.h: New file.
47135         * nptl/pthreadP.h: Include <nptl-signals.h>.
47137 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47139         * sysdeps/s390/s390-64/utf16-utf32-z9.c
47140         (ONE_DIRECTION): Define.
47141         * sysdeps/s390/s390-64/utf8-utf16-z9.c
47142         (ONE_DIRECTION): Define.
47143         * sysdeps/s390/s390-64/utf8-utf32-z9.c
47144         (ONE_DIRECTION): Define.
47146 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47148         * sysdeps/s390/Makefile: Delete file.
47149         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47150         * sysdeps/s390/__longjmp.c: Delete file.
47151         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47152         Remove fields __flags and __reserved.
47153         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47154         and add versioning.
47155         * sysdeps/s390/rtld-__longjmp.c: Delete file.
47156         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47157         * sysdeps/s390/rtld-setjmp.S: Likewise.
47158         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47159         * sysdeps/s390/s390-32/__longjmp.c: ... here.
47160         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47161         * sysdeps/s390/s390-32/setjmp.S: ... here.
47162         Add versioning.
47163         (__sigsetjmp): Remove setting __flags field.
47164         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47165         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47166         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47167         * sysdeps/s390/s390-64/setjmp.S: ... here.
47168         Add versioning.
47169         (__sigsetjmp): Remove setting __flags field.
47170         * sysdeps/s390/setjmp.S: Delete file.
47171         * sysdeps/s390/sigjmp.c: Likewise.
47172         * sysdeps/s390/v1-longjmp.c: Likewise.
47173         * sysdeps/s390/v1-setjmp.h: Likewise.
47174         * sysdeps/s390/v1-sigjmp.c: Likewise.
47175         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47176         Remove v1-longjmp_chk.
47177         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47178         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47179         Include debug/longjmp_chk.c and add versioning.
47180         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47181         Include nptl/pt-longjmp.c and add versioning.
47182         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47183         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47184         Include __longjmp.c.
47185         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47186         Move to ...
47187         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47188         (__getcontext): Remove setting __flags field.
47189         Add versioning.
47190         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47191         Don't restore upper high grps.
47192         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47193         Likewise.
47194         (__swapcontext): Remove setting uc_flags field.
47195         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47196         Delete file.
47197         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47198         Include __longjmp.c.
47199         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47200         Move to ...
47201         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47202         (__getcontext): Remove setting __flags field.
47203         Add versioning.
47204         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47205         (__swapcontext): Remove setting uc_flags field.
47206         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47207         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47208         Remove fields uc_high_gprs and __reserved.
47209         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47210         New file with reverted content.
47211         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47212         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47213         Regenerated.
47214         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47215         Regenerated.
47217 2014-07-31  Andreas Schwab  <schwab@suse.de>
47219         * config.h.in (HAVE_IFUNC): Define to 0.
47220         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47221         definedness.
47223 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47226         memmove-avx-unaligned, memcpy-avx-unaligned and
47227         mempcpy-avx-unaligned.
47228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47229         Add tests for AVX memcpy functions.
47230         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47231         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47232         memcpy_chk.
47233         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47234         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47235         memmove_chk.
47236         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47237         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47238         mempcpy_chk.
47239         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47240         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47241         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47243 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47245         [BZ #17213]
47246         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47247         powerpc64le.
47249 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47251         [BZ #16839]
47252         * manual/llio.texi: Add section about open file description locks.
47253         * manual/examples/ofdlocks.c: Example of open file description
47254         lock usage.
47255         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47256         F_OFD_SETLK, and F_OFD_SETLKW.
47258 2014-07-23  Allan McRae  <allan@archlinux.org>
47260         * po/es.po: Update Spanish translation from translation project.
47262 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47264         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47266 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47268         [BZ #17078]
47269         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47270         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47271         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47273 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47275         [BZ #17088]
47276         * math/fesetenv.c (__fesetenv)
47277         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47278         * math/feupdateenv.c (__feupdateenv)
47279         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47281         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47282         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47283         (__ASSUME_SOCKETCALL): Do not define.
47285         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47286         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47287         (__ASSUME_SOCKETCALL): Do not define.
47288         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47289         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47290         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47291         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47292         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47293         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47294         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47295         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47297         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47298         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47299         (__ASSUME_SOCKETCALL): Do not define.
47300         (__ASSUME_IPC64): Define unconditionally.
47301         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47302         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47303         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47304         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47305         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47306         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47307         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47308         Likewise.
47310         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47311         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47312         (__ASSUME_SOCKETCALL): Do not define.
47313         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47314         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47315         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47316         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47317         (__ASSUME_REQUEUE_PI): Define unconditionally.
47318         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47319         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47320         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47321         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47322         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47323         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47325         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47326         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47327         (__ASSUME_SOCKETCALL): Do not define.
47328         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47329         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47330         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47331         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47333         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47335         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47336         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47337         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47338         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47339         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47340         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47341         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47342         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47343         (__ASSUME_GETCPU_SYSCALL): Likewise.
47345         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47346         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47347         cases for individual architectures.
47348         * sysdeps/gnu/configure: Regenerated.
47349         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47350         LIBC_SLIBDIR_RTLDDIR.
47351         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47352         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47353         LIBC_SLIBDIR_RTLDDIR.
47354         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47356         LIBC_SLIBDIR_RTLDDIR.
47357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47358         Regenerated.
47359         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47360         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47361         file.
47362         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47363         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47364         file.
47365         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47366         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47367         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47368         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47370         * sysdeps/aarch64/shlib-versions: Move to ...
47371         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47372         * sysdeps/alpha/shlib-versions: Move to ...
47373         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47374         * sysdeps/arm/shlib-versions: Move to ...
47375         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47376         * sysdeps/hppa/shlib-versions: Move all contents except for
47377         libgcc_s entry to ...
47378         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47379         entry from ...
47380         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47381         * sysdeps/ia64/shlib-versions: Move to ...
47382         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47383         entry from ...
47384         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47385         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47386         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47387         * sysdeps/microblaze/shlib-versions: Move to ...
47388         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47389         * sysdeps/mips/shlib-versions: Move to ...
47390         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47391         entry from ...
47392         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47393         * sysdeps/tile/shlib-versions: Move to ...
47394         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47395         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47396         from ...
47397         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47398         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47399         entry from ...
47400         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47402 2014-07-17  Will Newton  <will.newton@linaro.org>
47404         * sysdeps/arm/bits/atomic.h
47405         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47406         (__arch_compare_and_exchange_bool_16_int): Likewise.
47407         (__arch_compare_and_exchange_bool_64_int): Likewise.
47409         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47410         into an #else block.
47412 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47414         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47415         just Linux configurations.  Test empirically that the compiler sets
47416         __ARM_EABI__, rather than using the tuple to decide.
47417         * sysdeps/arm/preconfigure: Regenerated.
47418         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47419         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47420         contents appended ...
47421         * sysdeps/arm/configure.ac: ... here.
47422         * sysdeps/arm/configure: Regenerated.
47424 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47426         * nptl/pthread_kill.c: New file.
47427         * nptl/pthread_sigmask.c: New file.
47428         * nptl/pthread_sigqueue.c: New file.
47430         * sysdeps/nptl/lowlevellock.h: New file.
47431         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47432         * sysdeps/nptl/lowlevellock-futex.h: New file.
47434         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47435         Remove dead declarations.
47437 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47439         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47440         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47441         config-cflags-avx2.
47442         * sysdeps/x86_64/configure.ac: Likewise.
47443         * sysdeps/i386/configure: Regenerated.
47444         * sysdeps/x86_64/configure: Likewise.
47445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47446         memset-avx2 only if config-cflags-avx2 is yes.
47447         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47448         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47449         defined.
47450         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47451         only if HAVE_AVX2_SUPPORT is defined.
47452         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47454 2014-07-14  Alan Modra  <amodra@gmail.com>
47456         [BZ #17153]
47457         * elf/elf.h (DT_PPC64_NUM): Correct value.
47458         * NEWS: Add to fixed bug list.
47460 2014-07-13  Jim Meyering  <meyering@fb.com>
47462         [BZ 17150]
47463         regex: don't deref NULL upon heap allocation failure
47464         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47465         failure in one more place.
47466         To trigger the segfault, configure grep -with-included-regex,
47467         build it, and run these commands:
47468         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47470 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47472         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47474 2014-07-11  Richard Henderson  <rth@redhat.com>
47476         * sysdeps/aarch64/libm-test-ulps: Update.
47478 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47480         [BZ #17135]
47481         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47482         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47483         (__nptl_setxid): Initialize error member.  Call
47484         __nptl_setxid_error.
47485         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47486         * nptl/descr.h (struct xid_command): Add error member.
47487         * nptl/tst-setuid3.c: New file.
47488         * nptl/Makefile (tests): Add it.
47490 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47492         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47493         New define.
47494         (__lll_trylock): Use __lll_base_trylock.
47495         (__lll_cond_trylock): Likewise.
47497 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47499         * nptl/pthread_create.c (start_thread): Use atomic_or and
47500         lll_futex_wake directly rather than lll_robust_dead.
47501         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47502         (lll_robust_dead): Macro removed.
47503         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47504         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47505         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47506         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47507         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47508         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47509         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47510         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47511         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47512         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47513         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47514         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47515         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47516         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47517         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47519         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47520         Use atomic_compare_and_exchange_val_acq directly rather than
47521         lll_robust_trylock.
47522         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47523         (__lll_robust_trylock, lll_robust_trylock): Removed.
47524         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47525         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47526         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47527         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47528         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47529         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47530         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47531         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47532         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47533         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47534         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47535         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47536         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47537         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47539 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47541         * manual/locale.texi (Locale Names): New section documenting
47542         locale name syntax.  Adjust menu and node chaining accordingly.
47543         (Choosing Locale): Reference Locale Names, Locale Categories.
47544         Mention setting LC_ALL=C.  Reflect that name syntax is now
47545         documented.
47546         (Locale Categories): New section title.  Reference Locale Names.
47547         LC_ALL is an environment variable, but not a category.
47548         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47549         description, now in Locale Name.  Reference that section.  Locale
47550         name syntax is now documented.
47552 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47554         [BZ #17137]
47555         * locale/findlocale.c (name_present, valid_locale_name): New
47556         functions.
47557         (_nl_find_locale): Use the loc_name variable to store name
47558         candidates.  Call name_present and valid_locale_name to check and
47559         validate locale names.  Return an error if the locale is invalid.
47561 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47563         * locale/setlocale.c (setlocale): Use strdup for allocating
47564         composite name copy.
47566 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47568         Sync up with gnulib.
47569         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47570         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47571         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47572         and _GL_ARG_NONNULL.
47573         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47574         [!_LIBC]: Include code for Windows and Cygwin.
47575         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47576         Include prototype for int strerror_r.
47577         [!_LIBC] (is_open): New function.
47578         (flush_stdout): New function.
47579         (print_errno_message): Use it.
47580         (error): Likewise.
47581         (error_at_line): Likewise.
47582         (error_tail) Add function attribute macros.  Use
47583         __builtin_expect.
47585         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47587         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47589         * io/ftw.c: Include sys/param.h unconditionally.
47591         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47593         [BZ #17125]
47594         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47595         libc_freeres_ptr.
47596         (freecache): New function to free CACHE on exit.
47598         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47599         initialization.
47601 2014-07-09  David S. Miller  <davem@davemloft.net>
47603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47605         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47606         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47607         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47608         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47609         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47610         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47611         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47612         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47613         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47614         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47615         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47616         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47617         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47619 2014-07-09  Andreas Schwab  <schwab@suse.de>
47621         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47622         output.
47623         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47624         (do_test): Likewise.
47626         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47628 2014-07-09  Will Newton  <will.newton@linaro.org>
47630         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47631         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47632         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47633         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47634         * sysdeps/hppa/start.S (_start): Likewise.
47636 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47638         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47640         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47641         defined.
47643 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47645         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47646         after checking that it is non-NULL.
47648         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47650 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47652         * sysdeps/powerpc/memmove.c: Remove file.
47653         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47654         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47655         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47656         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47658         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47659         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47660         string memmove instead of removed powerpc one.
47662         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47663         [weak_alias]: Fix compiler warning due trailing data.
47664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47665         [weak_alias]: Likewise.
47666         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47667         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47670         (__libc_ifunc_impl_list): Add memmove functions.
47672 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47674         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47675         Remove code.
47676         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47677         Likewise.
47678         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47679         Likewise.
47680         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47681         Likewise.
47682         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47683         Likewise.
47684         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47685         Likewise.
47686         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47687         Likewise.
47688         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47689         Likewise.
47690         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47691         Likewise.
47692         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47693         Likewise.
47694         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47695         Likewise.
47696         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47697         Likewise.
47698         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47699         Likewise.
47700         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47701         Likewise.
47702         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47703         Likewise.
47704         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47705         Likewise.
47706         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47707         Likewise.
47709 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47711         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47712         to avoid alignment traps in non-cacheable memory.
47713         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47716         multiarch objects.
47717         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47718         file: multiarch power7 memmove.
47719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47720         multiarch default memmove.
47721         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47722         multiarch memove for powerpc32/power4.
47724         * string/bcopy.c: Use full path to include memmove.c.
47725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47726         multiarch objects.
47727         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47728         bcopy for powerpc64.
47729         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47730         bcopy for powerpc64.
47731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47732         and memmove implementations.
47733         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47734         optimized multiarch memmove for POWER7/powerpc64.
47735         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47736         default multiarch memmove for powerpc64.
47737         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47738         multiarch for powerpc64.
47739         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47740         for POWER7/powerpc64.
47741         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47742         memmove for POWER7/powerpc64.
47744         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47745         glibc default one.
47747         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47748         __ELF_NATIVE_CLASS equal to 64.
47750 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47752         * sysdeps/nptl/lowlevellock.h: File removed.
47754         * NEWS: NPTL is no longer an add-on!
47755         * nptl/internaltypes.h: Moved ...
47756         * sysdeps/nptl/internaltypes.h: ... here.
47757         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47758         * sysdeps/nptl/fork.c: Likewise.
47759         * sysdeps/nptl/gai_misc.h: Likewise.
47760         * sysdeps/nptl/librt-cancellation.c: Likewise.
47761         * sysdeps/nptl/jmp-unwind.c: Likewise.
47762         * sysdeps/nptl/setxid.h: Likewise.
47763         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47764         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47765         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47766         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47767         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47768         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47769         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47770         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47771         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47772         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47773         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47774         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47775         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47776         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47777         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47778         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47779         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47780         * nptl/Makeconfig: Moved ...
47781         * sysdeps/nptl/Makeconfig: ... here.
47782         * nptl/configure: File removed.
47783         * nptl/ANNOUNCE: File removed.
47784         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47785         * sysdeps/unix/sysv/linux/configure: Regenerated.
47787         * nptl/Makefile (routines): Add libc_pthread_init,
47788         libc_multiple_threads, register-atfork and unregister-atfork.
47789         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47790         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47791         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47792         pthread-pi-defines.sym, structsem.sym.
47793         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47794         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47795         [$(subdir) = nptl] (tests): Add tst-setgetname.
47796         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47797         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47798         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47799         [!LIBC_SIGACTION]: Remove aliases.
47800         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47801         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47802         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47803         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47804         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47805         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47806         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47807         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47808         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47809         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47810         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47811         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47812         __libc_allocate_rtsig_private.
47813         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47814         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47815         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47816         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47817         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47818         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47819         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47820         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47821         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47822         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47823         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47824         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47825         * nptl/internaltypes.h: ... here.
47826         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47827         * sysdeps/nptl/jmp-unwind.c: ... here.
47828         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47829         * nptl/libc-lowlevellock.c: ... here.
47830         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47831         * nptl/libc_multiple_threads.c: ... here.
47832         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47833         * nptl/libc_pthread_init.c: ... here.
47834         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47835         * nptl/lowlevelbarrier.sym: ... here.
47836         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47837         * nptl/lowlevelcond.sym: ... here.
47838         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47839         * nptl/lowlevellock.c: ... here.
47840         * nptl/lowlevellock.h: Moved ...
47841         * sysdeps/nptl/lowlevellock.h: ... here.
47842         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47843         * nptl/lowlevelrobustlock.c: ... here.
47844         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47845         * nptl/lowlevelrobustlock.sym: ... here.
47846         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47847         * nptl/lowlevelrwlock.sym: ... here.
47848         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47849         * nptl/pt-fork.c: ... here.
47850         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47851         * nptl/pthread-pi-defines.sym: ... here.
47852         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47853         * nptl/pthread_attr_getaffinity.c: ... here.
47854         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47855         * nptl/pthread_attr_setaffinity.c: ... here.
47856         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47857         * nptl/pthread_mutex_cond_lock.c: ... here.
47858         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47859         Update #include.
47860         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47861         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47862         * nptl/pthread_once.c: ... here, replacing old file.
47863         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47864         * nptl/pthread_yield.c: ... here.
47865         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47866         * nptl/register-atfork.c: ... here.
47867         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47868         * nptl/sem_post.c: ... here.
47869         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47870         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47871         * nptl/sem_timedwait.c: ... here.
47872         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47873         * nptl/sem_trywait.c: ... here.
47874         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47875         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47876         * nptl/sem_wait.c: ... here.
47877         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47878         * nptl/structsem.sym: ... here.
47879         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47880         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47881         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47882         * nptl/unregister-atfork.c: ... here.
47883         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47884         * nptl/unwindbuf.sym: ... here.
47885         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47886         * sysdeps/nptl/fork.c: ... here.
47887         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47888         * sysdeps/nptl/fork.h: ... here.
47889         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47890         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47891         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47892         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47893         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47894         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47895         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47896         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47897         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47898         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47899         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47900         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47901         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47902         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47903         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47904         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47905         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47906         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47907         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47908         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47909         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47910         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47911         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47912         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47913         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47914         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47915         * sysdeps/unix/sysv/linux/raise.c: ... here.
47916         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47917         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47918         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47919         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47920         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47921         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47922         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47923         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47924         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47925         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47926         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47927         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47928         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47929         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47930         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47932 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47934         * sysdeps/generic/memcopy.h: Add comment for
47935         MEMCPY_OK_FOR_FWD_MEMMOVE.
47937 2014-07-04  Will Newton  <will.newton@linaro.org>
47939         * string/memchr.c: Merge from gnulib.
47940         [_LIBC]: Remove conditionals.
47941         (__ptr_t): Remove define.
47942         (LONG_MAX_32_BITS): Likewise.
47943         (LONG_MAX): Likewise.
47944         (MEMCHR): Use ANSI prototype and optimize algorithm.
47946         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47948 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47950         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47951         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47953         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47954         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47955         in a bare environment with no <stdlib.h> installed.
47956         * sysdeps/nptl/configure: Regenerated.
47958         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47960         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47961         AC_EGREP_CPP for kernel header checks, so they only succeed if
47962         including <linux/version.h> actually works right.
47963         * sysdeps/unix/sysv/linux/configure: Regenerated.
47965         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47966         value so it's not diagnosed as unused.
47968         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47969         thing) with "ifeq ($(subdir),rt)".
47971 2014-07-03  Richard Henderson  <rth@redhat.com>
47973         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47974         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47975         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47977         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47978         (math_force_eval): New.
47980         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47981         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47983         * sysdeps/alpha/fpu/s_round.c: Remove file.
47984         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47986         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47987         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47988         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47989         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47990         (_dl_start, print_statistics): Likewise.
47991         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47992         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47994         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47995         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47996         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47997         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47998         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47999         (HP_SMALL_TIMING_AVAIL): Define.
48000         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48001         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48002         (HP_SMALL_TIMING_AVAIL): Define.
48003         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48004         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48006         * sysdeps/aarch64/hp-timing.h: New file.
48008         * sysdeps/generic/hp-timing.h: Remove dead comment.
48009         * sysdeps/generic/hp-timing-common.h: New file.
48010         * sysdeps/alpha/hp-timing.h: Include it.
48011         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
48012         * sysdeps/i386/i686/hp-timing.h: Likewise.
48013         * sysdeps/ia64/hp-timing.h: Likewise.
48014         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48015         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48016         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48017         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48018         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
48019         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
48020         (hp_timing_t): New.
48022         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
48023         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
48024         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
48025         * elf/rtld.c (_dl_start_final): Likewise.
48026         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
48027         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48028         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48029         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48030         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48031         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48032         (HP_TIMING_DIFF_INIT): Remove.
48033         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48034         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48035         (HP_TIMING_DIFF_INIT): Remove.
48036         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48037         * sysdeps/i386/i686/hp-timing.c: Remove file.
48038         * sysdeps/x86_64/hp-timing.c: Remove file.
48039         * sysdeps/ia64/hp-timing.c: Remove file.
48040         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
48041         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
48042         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
48043         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
48045         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
48046         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
48047         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
48048         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48049         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48050         (HP_TIMING_ACCUM): Remove.
48051         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48052         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
48053         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48055         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
48056         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
48057         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
48058         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
48059         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
48060         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48061         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
48062         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48064         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48066 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
48068         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48070 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48072         Sync up with gettext.
48073         * intl/loadmsgcat.c: Define O_BINARY if not defined.
48074         [_MSC_VER]: Include malloc.h
48075         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48076         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48077         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
48078         TEMP_FAILURE_RETRY.  Cast return of alloca.
48079         [!_LIBC] Call gl_rwlock_init.
48080         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48082 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48084         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48085         before checking its value.
48087 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48089         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48091         * debug/memcpy_chk.c: Don't include pagecopy.h.
48092         * debug/mempcpy_chk.c: Likewise.
48093         * string/memcpy.c: Likewise.
48094         * string/memmove.c: Likewise.
48095         * sysdeps/powerpc/memmove.c: Likewise.
48096         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
48097         definition of PAGE_COPY_FWD_MAYBE here...
48098         * sysdeps/generic/pagecopy.h: ... from here.
48099         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48101 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48102             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48104         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48106         optimizations.
48107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48108         (__libc_ifunc_impl_list): Likewise.
48109         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48110         multiarch strcat for PPC64.
48111         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48112         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48114 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48116         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48118 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48120         * intl/loadmsgcat.c: Remove declaration of
48121         get_sysdep_segment_value.
48122         (get_sysdep_segment_value): Use ISO C style.
48123         (_nl_load_domain): Use ISO C style.  Get rid of redundant
48124         semicolon.  Fix typo and formatting in comment.
48125         (_nl_unload_domain): Use ISO C style.
48127         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48129 2014-07-02  Will Newton  <will.newton@linaro.org>
48131         * malloc/obstack.c: Merge from gnulib master.
48132         [HAVE_CONFIG_H]: Remove conditional code.
48133         [!_LIBC]: Include config.h.
48134         [!ELIDE_CODE]: Don't include inttypes.h, include
48135         stdint.h unconditionally.
48136         (print_and_abort): Mark as _Noreturn.
48137         (_obstack_allocated_p): Mark as __attribute_pure__.
48138         (obstack_free): Rename to __obstack_free.
48139         [!__attribute__]: Remove conditional code.
48140         * malloc/obstack.h: Merge from gnulib master.
48141         [__cplusplus]: Move conditional down.
48142         [!__attribute_pure__]: Define __attribute_pure__ here
48143         if it is not already defined.
48144         (_obstack_memory_used): Mark as __attribute_pure__.
48145         [!__obstack_free]: Define as obstack_free.
48146         [__GNUC__]: Remove check for ancient NeXT gcc.
48148 2014-07-02  Will Newton  <will.newton@linaro.org>
48149             Paul Eggert  <eggert@cs.ucla.edu>
48151         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48153 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48155         * resolv/gethnamaddr.c: Add comment warning that the file is
48156         not maintained.
48158 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
48160         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48161         entries.
48163         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48164         entry for aio_cancel and aio_cancel64.
48165         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48166         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48167         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48168         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48169         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48170         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48171         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48172         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48173         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48174         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48175         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48176         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48177         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48179 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48181         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48182         * nptl/pthread_mutex_lock.c: Likewise.
48183         * nptl/pthread_mutex_timedlock.c: Likewise.
48184         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48186 2014-07-01  Richard henderson  <rth@redhat.com>
48188         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48189         (__isnan, __isnanl): Remove.
48190         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48192         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48194 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48196         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48198 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48200         * resolv/nss_dns/dns-host.c (getanswer_r)
48201         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48203 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48205         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48206         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48207         undefine.
48208         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48209         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48211 2014-07-01  Roland McGrath <roland@hack.frob.com>
48213         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48214         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48216         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48217         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48219         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48220         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48221         ... here.
48222         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48223         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48225         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48226         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48227         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48228         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48230         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48231         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48232         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48233         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48234         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48235         Moved ...
48236         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48237         ... here.
48238         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48239         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48240         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48241         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48242         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48243         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48244         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48245         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48246         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48247         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48248         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48249         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48250         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48251         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48252         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48253         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48254         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48255         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48256         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48257         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48258         ... here.
48259         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48260         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48261         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48262         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48263         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48264         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48265         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48266         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48268 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48270         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48271         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48272         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48273         Add sysdep.
48275 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48279 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48281         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48282         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48284         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48286         * sysdeps/arm/libm-test-ulps: Regenerated.
48288 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48289             Roland McGrath <roland@hack.frob.com>
48291         * test-skeleton.c (signal_handler): Kill the whole process group
48292         before killing the child individually.
48293         (main): Report any failure on `setpgid'.
48295 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48297         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48298         from _TLS_H to _ARM_NPTL_TLS_H.
48299         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48300         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48302 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48304         [BZ #16539]
48305         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48306         (__expm1l): Return argument unchanged when small but not
48307         subnormal.
48309         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48310         include macro name.
48311         (_FP_UNPACK_RAW_1_P): Likewise.
48312         (_FP_PACK_RAW_1): Likewise.
48313         (_FP_PACK_RAW_1_P): Likewise.
48314         (_FP_MUL_MEAT_1_wide): Likewise.
48315         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48316         (_FP_MUL_MEAT_1_hard): Likewise.
48317         (_FP_DIV_MEAT_1_imm): Likewise.
48318         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48319         (_FP_DIV_MEAT_1_udiv): Likewise.
48320         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48321         (_FP_UNPACK_RAW_2): Likewise.
48322         (_FP_UNPACK_RAW_2_P): Likewise.
48323         (_FP_PACK_RAW_2): Likewise.
48324         (_FP_PACK_RAW_2_P): Likewise.
48325         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48326         (_FP_MUL_MEAT_2_wide): Likewise.
48327         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48328         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48329         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48330         (_FP_MUL_MEAT_2_gmp): Likewise.
48331         (_FP_DIV_MEAT_2_udiv): Likewise.
48332         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48333         (_FP_FRAC_SRL_4): Likewise.
48334         (_FP_FRAC_SRST_4): Likewise.
48335         (_FP_FRAC_SRS_4): Likewise.
48336         (_FP_UNPACK_RAW_4): Likewise.
48337         (_FP_UNPACK_RAW_4_P): Likewise.
48338         (_FP_PACK_RAW_4): Likewise.
48339         (_FP_PACK_RAW_4_P): Likewise.
48340         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48341         (_FP_MUL_MEAT_4_wide): Likewise.
48342         (_FP_MUL_MEAT_4_gmp): Likewise.
48343         (umul_ppppmnnn): Likewise.
48344         (_FP_DIV_MEAT_4_udiv): Likewise.
48345         (__FP_FRAC_ADD_4): Likewise.
48346         (__FP_FRAC_SUB_3): Likewise.
48347         (__FP_FRAC_SUB_4): Likewise.
48348         (__FP_FRAC_DEC_3): Likewise.
48349         (__FP_FRAC_DEC_4): Likewise.
48350         (__FP_FRAC_ADDI_4): Likewise.
48351         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48352         (_FP_FRAC_SRL_8): Likewise.
48353         (_FP_FRAC_SRS_8): Likewise.
48355         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48356         include macro name.
48357         (FP_UNPACK_RAW_EP): Likewise.
48358         (FP_PACK_RAW_E): Likewise.
48359         (FP_PACK_RAW_EP): Likewise.
48360         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48361         (_FP_ISSIGNAN): Likewise.
48362         (_FP_ADD_INTERNAL): Likewise.
48363         (_FP_FMA): Likewise.
48364         (_FP_CMP): Likewise.
48365         (_FP_SQRT): Likewise.
48366         (_FP_TO_INT): Likewise.
48367         (_FP_FROM_INT): Likewise.
48368         (FP_EXTEND): Likewise.
48369         (_FP_DIV_MEAT_N_loop): Likewise.
48371 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48373         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48374         throughout.
48376 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48378         [BZ #17097]
48379         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48380         result with correct sign in case of exponents that produce
48381         overflow except for X very close to 1.
48383 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48385         mktime: merge #if/#ifdef usage from glibc
48386         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48387         as that works with both Glibc's and Gnulib's style.
48388         See thread starting at Siddhesh Poyarekar's bug report at:
48389         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48391 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48393         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48394         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48395         * sysdeps/tile/tilegx/memmove.c: Remove file.
48397 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48399         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48400         abi-name definition.
48401         * scripts/soversions.awk: Do not handle or generate ABI lines.
48402         * shlib-versions: Remove ABI entries.
48403         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48404         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48406 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48408         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48409         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48410         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48411         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48412         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48413         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48415         Moved ...
48416         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48417         ... here.
48418         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48419         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48420         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48421         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48423         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48425         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48427         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48429         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48431         Moved ...
48432         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48434         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48436         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48438         Moved ...
48439         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48441         Moved ...
48442         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48444         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48446         Moved ...
48447         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48449         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48451         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48453         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48455         Moved ...
48456         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48458         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48459         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48460         Moved ...
48461         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48462         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48463         Moved ...
48464         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48466         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48467         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48468         Moved ...
48469         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48470         ... here.
48471         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48472         Identical file removed.
48473         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48474         Moved ...
48475         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48477         Identical file removed.
48478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48479         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48481         Moved ...
48482         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48483         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48484         Identical file removed.
48485         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48486         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48488         Identical file removed.
48489         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48490         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48492         Identical file removed.
48493         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48494         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48495         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48496         Identical file removed.
48497         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48498         Moved ...
48499         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48501         Identical file removed.
48502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48503         Moved ...
48504         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48505         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48506         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48508         Identical file removed.
48509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48510         Moved ...
48511         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48512         ... here.
48513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48514         Identical file removed.
48515         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48516         Moved ...
48517         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48519         Identical file removed.
48520         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48521         Moved ...
48522         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48524         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48525         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48526         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48528         Moved ...
48529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48530         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48531         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48533         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48534         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48535         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48536         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48537         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48539 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48541         [BZ #17092]
48542         * nscd/nscd.c (monitor_child): Return exit status of child
48543         instead of return value from wait syscall.
48545 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48547         * configure.ac (libc_commonpagesize): Remove variable.
48548         (libc_relro_required): Likewise.
48549         (libc_cv_z_relro): Remove configure test.
48550         * configure: Regenerated.
48551         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48552         variable.
48553         (libc_relro_required): Likewise.
48554         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48555         (libc_relro_required): Likewise.
48556         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48557         (libc_relro_required): Likewise.
48558         * sysdeps/arm/preconfigure: Regenerated.
48559         * sysdeps/ia64/preconfigure: Remove file.
48560         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48561         variable.
48562         (libc_relro_required): Likewise.
48564         [BZ #16561]
48565         [BZ #16562]
48566         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48567         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48568         recompute overflowing results in original rounding mode.
48569         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48570         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48571         recompute overflowing results in original rounding mode.
48572         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48573         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48574         recompute overflowing results in original rounding mode.
48575         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48576         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48577         recompute overflowing results in original rounding mode.
48578         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48579         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48580         recompute overflowing results in original rounding mode.
48581         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48582         (libc_feholdsetround_ctx): New macro.
48583         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48584         * sysdeps/i386/fpu/libm-test-ulps: Update.
48585         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48587 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48589         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48590         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48591         corresponding .cpsetup call.
48593 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48595         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48596         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48597         * sysdeps/arm/Makefile [$(subdir) = csu]
48598         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48599         (static-only-routines): Add aeabi_read_tp here.
48600         (shared-only-routines): Add libc-aeabi_read_tp here.
48601         (CFLAGS-libc-start.c): Add -fexceptions here.
48602         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48603         (sysdep_routines, static-only-routines, shared-only-routines):
48604         Don't add to these here.
48605         (CFLAGS-libc-start.c): Likewise.
48607         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48608         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48609         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48610         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48611         * sysdeps/arm/Makefile [$(subdir) = rt]
48612         (librt-sysdep_routines, librt-shared-only-routines):
48613         Append rt-aeabi_unwind_cpp_pr1 here.
48614         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48615         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48616         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48617         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48618         Append nptl-aeabi_unwind_cpp_pr1 here.
48619         (tests): Filter out tst-cleanupx4 here.
48620         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48621         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48622         Don't do those here.
48624 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48626         * scripts/list-sources.sh: Do not handle ports specially.
48628 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48630         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48631         * sysdeps/arm/feupdateenv.c: Likewise.
48633         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48635 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48637         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48638         trailing whitespace removed.
48639         * scripts/config.guess: Update to version 2014-03-23.
48640         * scripts/config.sub: Update to version 2014-05-01
48641         * scripts/install-sh: Update to version 2013-12-25.23.
48642         * scripts/move-if-change: Update from gnulib.
48644 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48646         * debug/memmove_chk.c: Remove pagecopy.h include.
48648 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48650         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48651         identical to gnulib mktime.
48653 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48655         * configure.ac: Do not test for machine being rs6000.  Do not test
48656         for powerpc*-*soft.
48657         * configure: Regenerated.
48659         [BZ #11505]
48660         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48661         test.
48662         * configure: Regenerated.
48663         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48664         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48665         Remove configure test.
48666         * sysdeps/arm/configure: Regenerated.
48667         * sysdeps/nptl/configure.ac: Do not check
48668         libc_cv_asm_cfi_directives.
48669         * sysdeps/nptl/configure: Regenerated.
48670         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48671         * sysdeps/x86_64/nptl/configure: Remove generated file.
48672         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48673         unconditional.
48674         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48676 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48679         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48680         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48681         it is defined.
48683         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48684         instead of whether it is defined.
48685         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48686         * sysdeps/hppa/dl-machine.h: Likewise.
48687         * sysdeps/ia64/dl-machine.h: Likewise.
48688         * sysdeps/m68k/dl-machine.h: Likewise.
48689         * sysdeps/microblaze/dl-machine.h: Likewise.
48690         * sysdeps/mips/dl-machine.: Likewise.
48691         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48692         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48693         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48694         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48695         * sysdeps/sh/dl-machine.h: Likewise.
48696         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48697         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48698         * sysdeps/tile/dl-machine.h: Likewise.
48699         * sysdeps/x86_64/dl-machine.h: Likewise.
48701         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48702         code.
48703         (verify_persistent_db): Likewise.
48705 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48708         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48710         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48712         Moved ...
48713         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48714         ... here.
48715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48716         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48718         Identical file removed.
48719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48720         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48722         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48724         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48726         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48728         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48730         Moved ...
48731         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48733         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48735         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48737         Moved ...
48738         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48740         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48742         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48744         Identical file removed.
48745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48746         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48748         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48750         Moved ...
48751         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48752         ... here.
48753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48754         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48756         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48758         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48760         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48762         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48764         Moved ...
48765         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48767         Moved ...
48768         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48770         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48772         Moved ...
48773         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48775         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48777         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48778         folded into ...
48779         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48780         * sysdeps/unix/sysv/linux/s390/Versions
48781         (libpthread: GLIBC_2.19): New version set.
48782         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48783         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48784         (librt: GLIBC_2.3.3): New version set.
48785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48786         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48787         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48788         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48789         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48790         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48791         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48792         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48793         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48794         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48795         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48796         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48797         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48798         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48799         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48800         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48801         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48802         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48803         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48804         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48805         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48806         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48807         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48808         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48809         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48810         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48811         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48812         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48813         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48814         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48815         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48816         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48820         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48821         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48822         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48823         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48824         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48825         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48827         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48828         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48829         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48831         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48832         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48833         (__libc_vfork): Define the function under this name.
48834         [!NOT_IN_libc] (__vfork): Make this an alias.
48835         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48837         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48838         (__libc_vfork): Define the function under this name.
48839         [!NOT_IN_libc] (__vfork): Make this an alias.
48840         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48841         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48842         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48845         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48847         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48848         code that was previously under [RESET_PID].
48849         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48850         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48853         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48854         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48855         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48856         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48857         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48858         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48859         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48860         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48861         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48862         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48863         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48864         Moved ...
48865         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48866         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48867         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48868         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48869         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48870         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48871         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48872         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48873         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48874         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48875         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48876         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48877         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48878         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48879         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48880         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48881         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48882         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48883         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48884         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48885         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48886         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48887         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48888         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48889         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48890         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48891         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48893         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48895 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48897         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48898         that was previously under [RESET_PID].
48899         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48901 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48903         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48904         not undefine and redefine.
48905         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48906         [O_CLOEXEC]: Make code unconditional.
48907         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48908         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48909         <kernel-features.h>.
48910         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48911         conditional variable definition.
48912         (shm_open) [O_CLOEXEC]: Make code unconditional.
48913         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48914         code.
48916         * configure.ac (USE_REGPARMS): Don't define here.
48917         * configure: Regenerated.
48918         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48919         * sysdeps/i386/configure: Regenerated.
48921         * nptl/createthread.c: Don't include kernel-features.h.
48922         * nptl/pthread_cancel.c: Likewise.
48923         * nptl/pthread_condattr_setclock.c: Likewise.
48924         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48925         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48926         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48927         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48928         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48929         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48930         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48933         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48934         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48935         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48936         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48937         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48938         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48939         * nscd/gai.c: Likewise.
48940         * nss/nss_db/db-open.c: Likewise.
48941         * sysdeps/generic/ldsodefs.h: Likewise.
48942         * sysdeps/sh/nptl/tls.h: Likewise.
48943         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48944         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48945         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48946         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48947         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48948         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48949         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48950         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48951         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48952         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48953         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48954         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48955         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48956         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48957         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48958         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48959         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48960         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48961         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48962         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48963         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48965         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48966         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48970         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48971         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48972         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48973         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48974         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48975         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48976         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48977         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48978         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48979         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48980         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48981         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48982         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48983         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48984         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48985         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48986         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48987         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48988         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48989         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48990         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48991         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48992         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48993         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48994         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48995         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48996         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48997         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48998         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48999         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
49000         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
49001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
49003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
49004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
49005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
49006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
49007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
49008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
49009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
49012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
49013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
49014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
49015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
49021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
49022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
49023         * sysdeps/unix/sysv/linux/pread.c: Likewise.
49024         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
49025         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
49026         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
49027         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
49028         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
49029         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
49030         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
49031         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
49032         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
49033         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
49034         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
49035         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
49036         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
49037         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
49038         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
49039         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49040         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
49041         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
49042         * sysdeps/unix/sysv/linux/system.c: Likewise.
49043         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
49044         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
49045         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49046         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49047         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49048         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
49049         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49051         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
49052         * configure: Regenerated.
49053         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
49055         * configure.ac (base_machine): Do not set specially for particular
49056         machines here.
49057         * configure: Regenerated.
49058         * sysdeps/powerpc/preconfigure: Move machine and base_machine
49059         settings from configure.ac.
49060         * sysdeps/i386/preconfigure: New file.
49061         * sysdeps/s390/preconfigure: Likewise.
49062         * sysdeps/sh/preconfigure: Likewise.
49063         * sysdeps/sparc/preconfigure: Likewise.
49065 2014-06-25  Roland McGrath  <roland@hack.frob.com>
49067         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49068         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49069         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49070         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49071         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49072         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49073         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49074         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49075         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49076         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49077         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49078         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49079         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49080         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49081         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49082         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49083         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49084         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49085         * sysdeps/sparc/sparc64/Makefile: ... appended here.
49087         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49088         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49089         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49090         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49091         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49092         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49093         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49094         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49095         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49096         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49097         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49098         * sysdeps/sparc/sparc32/sem_post.c: ... here.
49099         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49100         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49101         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49102         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49103         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49104         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49105         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49106         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49107         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49108         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49109         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49110         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49111         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49112         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49113         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49114         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49116         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49117         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49118         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49119         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49120         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49121         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49122         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49123         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49124         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49127         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49129         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49131         Moved ...
49132         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49133         ... here.
49134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49135         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49137         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49139         Moved ...
49140         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49142         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49144         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49146         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49148         Moved ...
49149         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49151         Moved ...
49152         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49154         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49156         Moved ...
49157         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49159         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49161         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49163         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49165         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49167         Moved ...
49168         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49169         ... here.
49170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49171         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49173         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49175         Moved ...
49176         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49178         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49180         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49182         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49184         Moved ...
49185         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49187         Moved ...
49188         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49190         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49192         Moved ...
49193         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49195         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49197         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49199 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49201         * timezone/checktab.awk: Update from tzcode 2014e.
49202         * timezone/private.h: Likewise.
49203         * timezone/tzfile.h: Likewise.
49204         * timezone/zdump.c: Likewise.
49205         * timezone/zic.c: Likewise.
49207         * sysdeps/unix/sysv/linux/kernel-features.h
49208         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49209         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49210         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49211         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49212         Remove conditional code.
49214 2014-06-25  Will Newton  <will.newton@linaro.org>
49216         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49217         (_dl_arm_cap_flags): Add HWCAP2 values.
49218         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49219         (_DL_HWCAP_COUNT): Increase to 37.
49220         (_DL_HWCAP_LAST): New define.
49221         (_DL_HWCAP2_LAST): New define.
49222         (_dl_procinfo): Add support for printing
49223         AT_HWCAP2 entries.
49224         (_dl_string_hwcap): Use _dl_hwcap_string.
49226 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49230 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49232         * README: Do not mention ports directory.
49234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49235         Remove macro.
49236         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49237         <kernel-features.h>.
49238         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49239         conditional variable definition.
49240         (__futimes): Update comment.
49241         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49242         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49244         [BZ #16560]
49245         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49246         arguments close to 0.
49247         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49248         Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49250         Likewise.
49251         * math/auto-libm-test-in: Add more tests of exp10.
49252         * math/auto-libm-test-out: Regenerated.
49253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49255         * sysdeps/unix/sysv/linux/kernel-features.h
49256         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49257         * sysdeps/unix/sysv/linux/readv.c: Do not include
49258         <kernel-features.h>.
49259         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49260         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49261         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49262         unconditional.
49263         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49264         conditional code.
49265         * sysdeps/unix/sysv/linux/writev.c: Do not include
49266         <kernel-features.h>.
49267         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49268         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49269         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49270         unconditional.
49271         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49272         conditional code.
49274 2014-06-25  Will Newton  <will.newton@linaro.org>
49276         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49277         comment changes throughout the file.  Remove checks
49278         for HAVE_*_H definitions that are not required.
49279         (__gen_tempname): Call abort if an unknown kind value is
49280         passed.
49282 2014-06-25  Andreas Schwab  <schwab@suse.de>
49284         [BZ #17086]
49285         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49286         scalbln, scalblnf, scalblnl in libc.
49288 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49290         [BZ #17086]
49291         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49292         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49293         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49295 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49297         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49298         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49299         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49300         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49301         Update #include.
49302         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49303         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49304         Update #include.
49305         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49306         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49307         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49308         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49309         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49310         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49311         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49312         * sysdeps/x86/bits/semaphore.h: ... here.
49313         * sysdeps/x86/nptl/elide.h: Moved ...
49314         * sysdeps/x86/elide.h: ... here.
49315         * sysdeps/x86_64/nptl/Implies: File removed.
49316         * sysdeps/i386/nptl/Implies: File removed.
49318 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49320         [BZ #16539]
49321         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49322         return the argument for normal arguments with exponent below -64.
49323         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49324         Likewise.
49325         * math/auto-libm-test-in: Add another test of expm1.
49326         * math/auto-libm-test-out: Regenerated.
49328         [BZ #16287]
49329         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49330         calling __erfcl for arguments at least 16.
49331         * math/auto-libm-test-in: Add more tests of erf.
49332         * math/auto-libm-test-out: Regenerated.
49334         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49335         individual architectures.
49336         * sysdeps/unix/sysv/linux/configure: Regenerated.
49337         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49338         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49339         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49340         (ldd_rewrite_script): Define variable.
49341         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49343         file.
49344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49345         generated file.
49346         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49347         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49348         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49349         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49350         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49351         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49352         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49353         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49355 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49357         [BZ #17084]
49358         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49359         Rename member __data.d to __data.__elision_data.
49361 2014-06-24  Wilco  <wdijkstr@arm.com>
49363         * NEWS: Add 16918 to fixed bug list.
49365 2014-06-24  Wilco  <wdijkstr@arm.com>
49367         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49369 2014-06-24  Wilco  <wdijkstr@arm.com>
49371         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49372         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49373         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49374         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49375         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49376         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49377         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49378         Use _FPU_MASK_RM.
49380 2014-06-24  Wilco  <wdijkstr@arm.com>
49382         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49384 2014-06-24  Wilco  <wdijkstr@arm.com>
49386         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49387         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49388         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49389         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49391 2014-06-24  Wilco  <wdijkstr@arm.com>
49393         [BZ #16918]
49394         * sysdeps/arm/feupdateenv.c (feupdateenv):
49395         Rewrite to reduce FPSCR accesses and fix return value.
49397 2014-06-24  Wilco  <wdijkstr@arm.com>
49399         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49400         Optimize to avoid unnecessary FPSCR writes.
49401         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49402         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49403         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49404         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49406 2014-06-24  Wilco  <wdijkstr@arm.com>
49408         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49409         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49410         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49411         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49412         Call libc_fetestexcept_vfp.
49413         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49414         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49415         __SOFTFP__ ifdef so that they can be built for softfp.
49417 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49419         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49420         argument type signed char.
49422         * Makerules (check-abi): Dump diff of symlist if the test
49423         fails.
49425 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49427         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49428         using abort.
49430         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49431         Remove unused variable ST.
49433 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49435         [BZ #16354]
49436         [BZ #17061]
49437         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49438         small arguments before calling __expm1.
49439         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49440         small arguments before calling __expm1f.
49441         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49442         small arguments before calling __expm1l.
49443         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49444         Likewise.
49445         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49446         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49447         spurious underflow for some cosh tests.
49448         * math/auto-libm-test-out: Regenerated.
49449         * sysdeps/i386/fpu/libm-test-ulps: Update.
49451         [BZ #17050]
49452         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49453         (__ieee754_y1): Set errno if return value overflows.
49454         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49455         (__ieee754_y1f): Set errno if return value overflows.
49456         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49457         (__ieee754_y1l): Set errno if return value overflows.
49458         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49459         (__ieee754_y1l): Set errno if return value overflows.
49460         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49461         * math/auto-libm-test-out: Regenerated.
49463         * math/gen-auto-libm-tests.c: Document use of
49464         ignore-zero-inf-sign.
49465         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49466         (input_flags): Add ignore-zero-inf-sign.
49467         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49468         * math/gen-libm-test.pl (generate_testfile): Handle
49469         ignore-zero-inf-sign.
49470         * math/auto-libm-test-in: Mark some cpow tests with
49471         ignore-zero-inf-sign and some with xfail-rounding.
49472         * math/auto-libm-test-out: Regenerated.
49473         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49474         * sysdeps/i386/fpu/libm-test-ulps: Update.
49475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49477         [BZ #16315]
49478         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49479         overflowing or underflowing operations take place with sign of
49480         result.
49481         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49482         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49483         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49484         (__ieee754_pow): Recompute overflowing and underflowing results in
49485         original rounding mode.
49486         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49487         (__powl_helper): Allow negative argument X and scale negated value
49488         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49489         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49490         overflowing or underflowing operations take place with sign of
49491         result.
49492         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49493         Include <math.h>.
49494         * math/auto-libm-test-in: Add more tests of pow.
49495         * math/auto-libm-test-out: Regenerated.
49496         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49497         (pow_tonearest_test_data): Remove.
49498         (pow_test_tonearest): Likewise.
49499         (pow_towardzero_test_data): Likewise.
49500         (pow_test_towardzero): Likewise.
49501         (pow_downward_test_data): Likewise.
49502         (pow_test_downward): Likewise.
49503         (pow_upward_test_data): Likewise.
49504         (pow_test_upward): Likewise.
49505         (main): Don't call removed functions.
49506         * sysdeps/i386/fpu/libm-test-ulps: Update.
49507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49509 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49512         Moved ...
49513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49515         Moved ...
49516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49518         Moved ...
49519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49521         Moved ...
49522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49524         File removed.
49525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49526         File removed.
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49528         File removed.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49530         File removed.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49532         File removed.
49533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49534         File removed.
49535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49536         File removed.
49537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49538         File removed.
49539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49540         File removed.
49541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49542         File removed.
49543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49544         File removed.
49545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49546         File removed.
49547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49548         Moved ...
49549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49551         Moved ...
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49553         ... here.
49554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49555         Moved ...
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49558         Moved ...
49559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49561         Moved ...
49562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49564         Moved ...
49565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49567         Moved ...
49568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49570         Moved ...
49571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49573         Moved ...
49574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49577         ... here.
49578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49579         Moved ...
49580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49582         Moved ...
49583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49584         ... here.
49585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49586         Moved ...
49587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49588         ... here.
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49590         Moved ...
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49592         ... here.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49594         Moved ...
49595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49597         Moved ...
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49602         Moved ...
49603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49604         ... here.
49605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49606         Moved ...
49607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49608         ... here.
49609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49610         Moved ...
49611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49613         Moved ...
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49616         Moved ...
49617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49619         Moved ...
49620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49622         Moved ...
49623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49624         ... here.
49625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49626         Moved ...
49627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49629         Moved ...
49630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49632         Moved ...
49633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49635         Moved ...
49636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49640         Moved ...
49641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49643         Moved ...
49644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49646         Moved ...
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49648         ... here.
49649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49650         Moved ...
49651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49652         ... here.
49653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49654         Moved ...
49655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49656         ... here.
49657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49658         Moved ...
49659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49661         Moved ...
49662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49664         Moved ...
49665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49667         Moved ...
49668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49669         ... here.
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49671         Moved ...
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49673         ... here.
49674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49675         Moved ...
49676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49677         ... here.
49678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49679         Moved ...
49680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49682         Moved ...
49683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49685 2014-06-23  Will Newton  <will.newton@linaro.org>
49686             Wilco  <wdijkstr@arm.com>
49688         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49689         implementation.  Include get-rounding-mode.h.
49690         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49691         [!libc_feholdsetround_noex_ctx]: Define
49692         libc_feholdsetround_noex_ctx.
49693         [!libc_feholdsetround_noexf_ctx]: Define
49694         libc_feholdsetround_noexf_ctx.
49695         [!libc_feholdsetround_noexl_ctx]: Define
49696         libc_feholdsetround_noexl_ctx.
49697         (libc_feholdsetround_ctx): New function.
49698         (libc_feresetround_ctx): New function.
49699         (libc_feholdsetround_noex_ctx): New function.
49700         (libc_feresetround_noex_ctx): New function.
49702 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49704         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49705         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49706         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49707         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49708         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49709         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49711         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49712         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49713         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49714         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49715         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49716         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49717         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49718         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49719         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49720         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49721         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49722         Moved ...
49723         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49724         ... here.
49725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49726         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49728         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49730         Moved ...
49731         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49733         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49734         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49735         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49736         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49737         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49738         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49739         Moved ...
49740         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49742         Moved ...
49743         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49745         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49747         Moved ...
49748         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49750         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49751         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49752         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49753         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49754         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49755         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49756         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49758         Moved ...
49759         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49760         ... here.
49761         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49762         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49763         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49764         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49765         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49766         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49767         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49768         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49770         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49772         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49773         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49774         Moved ...
49775         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49776         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49777         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49778         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49779         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49780         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49781         Moved ...
49782         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49784         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49785         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49786         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49788         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49789         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49790         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49791         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49792         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49793         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49794         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49795         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49796         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49797         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49798         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49799         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49800         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49801         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49802         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49803         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49804         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49805         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49806         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49807         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49808         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49809         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49810         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49811         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49812         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49813         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49814         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49815         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49817 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49819         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49820         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49821         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49822         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49823         (IPV6_PMTUDISC_INTERFACE): Likewise.
49824         (IPV6_PMTUDISC_OMIT): Likewise.
49826 2014-06-23  Andreas Schwab  <schwab@suse.de>
49828         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49829         Remove unused errout label.
49831 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49833         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49834         macro: hardware supports Vector Crypto instructions.
49836 2014-06-23  Will Newton  <will.newton@linaro.org>
49838         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49839         rather than __builtin_expect.
49841         * elf/dl-lookup.c (undefined_msg): Remove variable.
49842         (_dl_lookup_symbol_x): Replace undefined_msg with string
49843         literal.
49845         * elf/dl-lookup.c (do_lookup_unique): New function.
49846         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49847         to a separate function.
49849 2014-06-23  Andreas Schwab  <schwab@suse.de>
49851         [BZ #17079]
49852         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49853         before reading the next line.
49855 2014-06-23  Will Newton  <will.newton@linaro.org>
49857         * test-skeleton.c (signal_handler): Use printf and %m
49858         rather than perror.  Use printf rather than fprintf to
49859         stderr.  Use puts rather than fputs to stderr.
49860         (main): Likewise.
49862 2014-06-22  Ludovic CourtĂšs  <ludo@gnu.org>
49864         * nscd/nscd.c (thread_info_t): Remove typedef.
49865         (thread_info): Remove variable.
49867 2014-06-21  Allan McRae  <allan@archlinux.org>
49869         * NEWS: Mention CVE-2014-4043.
49871 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49873         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49874         * nptl/smp.h: ... here.
49876         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49878         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49879         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49880         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49881         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49883         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49884         * nptl/stack-aliasing.h: New file.
49885         * sysdeps/i386/i686/stack-aliasing.h: New file.
49886         * sysdeps/i386/i686/nptl/Makefile: File removed.
49887         * sysdeps/x86_64/stack-aliasing.h: New file.
49888         * sysdeps/x86_64/nptl/Makefile
49889         (CFLAGS-pthread_create.c): Variable removed.
49891         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49892         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49893         old file.
49894         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49895         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49896         old file.
49898 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49901         (__ASSUME_SIGFRAME_V2): Remove macro.
49902         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49903         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49904         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49905         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49906         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49907         Declare as function.  Remove conditional macro definitions.
49908         (__default_rt_sa_restorer): Likewise.
49909         (__default_sa_restorer_v1): Remove declaration.
49910         (__default_sa_restorer_v2): Likewise.
49911         (__default_rt_sa_restorer_v1): Likewise.
49912         (__default_rt_sa_restorer_v2): Likewise.
49913         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49914         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49915         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49917 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49919         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49920         (libpthread-routines): Add sysdep.
49921         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49922         * sysdeps/unix/sysv/linux/sparc/Versions
49923         (libpthread: GLIBC_2.3.3): New version set.
49924         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49925         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49926         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49927         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49928         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49929         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49930         Moved ...
49931         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49932         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49933         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49934         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49935         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49936         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49937         * sysdeps/sparc/nptl/sem_init.c: ... here.
49938         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49939         * sysdeps/sparc/nptl/sem_post.c: ... here.
49940         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49941         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49942         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49943         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49944         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49945         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49946         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49947         (libpthread-routines): Add cpu_relax.
49948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49949         File removed.
49950         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49951         (librt: GLIBC_2.3.3): New version set.
49952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49953         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49954         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49955         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49958         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49960         Moved ...
49961         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49963         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49965         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49967         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49969         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49971         Moved ...
49972         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49973         Update #include.
49974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49975         Moved ...
49976         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49977         Update #include.
49978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49979         Moved ...
49980         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49981         Update #include.
49982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49983         Moved ...
49984         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49985         Update #include.
49986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49987         Moved ...
49988         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49989         Update #include.
49990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49991         Moved ...
49992         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49993         Update #include.
49994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49995         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49997         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
50000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
50001         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
50002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
50003         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
50004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50005         Moved ...
50006         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
50007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
50008         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
50009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
50010         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
50012 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50014         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
50015         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
50016         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
50017         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
50018         * nscd/nscd.c: Likewise.
50019         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
50020         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
50021         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
50022         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
50024         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
50025         <kernel-features.h>.
50026         (init_mq_netlink): Remove conditional have_sock_cloexec
50027         definitions.  Remove code conditional on have_sock_cloexec < 0.
50028         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
50029         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
50030         * sysdeps/unix/sysv/linux/opensock.c: Do not include
50031         <kernel-features.h>.
50032         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
50033         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
50035 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50038         Add tests for memset_chk and memset.
50040         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
50041         with AVX2_Usable.
50043 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
50045         [BZ #16046]
50046         * elf/tst-dl-iter-static.c: New file.
50047         * elf/Makefile (tests-static): Add tst-dl-iter-static.
50049         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
50050         error.
50052 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50054         * sysdeps/unix/sysv/linux/kernel-features.h
50055         (__ASSUME_F_GETOWN_EX): Remove macro.
50056         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
50057         <kernel-features.h>.
50058         (miss_F_GETOWN_EX): Remove variable or macro.
50059         (do_fcntl): Do not check miss_F_GETOWN_EX.
50060         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
50062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50063         Remove macro.
50064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50065         [!__ASSUME_AT_RANDOM]: Remove conditional code.
50066         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50068         * sysdeps/unix/sysv/linux/kernel-features.h
50069         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50070         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50071         [ADJ_OFFSET_SS_READ]: Make code unconditional.
50072         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50074 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
50076         [BZ #17075]
50077         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50078         Fix calculation of the symbol's value.
50079         * sysdeps/arm/tst-armtlsdescloc.c: New file.
50080         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50081         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50082         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50083         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50084         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50085         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50086         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50087         (modules-names): Add `tst-armtlsdescmod',
50088         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50089         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50090         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50091         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50092         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50093         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50094         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50095         ($(objpfx)tst-armtlsdescloc): New dependency.
50096         ($(objpfx)tst-armtlsdescextnow): Likewise.
50097         ($(objpfx)tst-armtlsdescextlazy): Likewise.
50098         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50099         TLS scheme support.
50100         * sysdeps/arm/configure: Regenerate.
50102 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50104         * include/fcntl.h (__atfct_seterrno): Remove prototype.
50105         (__atfct_seterrno_2): Likewise.
50106         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50107         <kernel-features.h>.
50108         (__ASSUME_ATFCTS): Do not undefine and redefine.
50109         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50110         (__have_atfcts): Remove conditional definition.
50111         (__fxstatat([__NR_fstatat64]: Make code unconditional.
50112         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50113         unreachable if [__ASSUME_ATFCTS].
50114         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50115         not undefine and redefine.
50116         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50117         <kernel-features.h>.
50118         (faccessat) [__NR_faccessat]: Make code unconditional.
50119         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50120         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50121         <kernel-features.h>.
50122         (fchmodat) [__NR_fchmodat]: Make code unconditional.
50123         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50124         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50125         <kernel-features.h>.
50126         (fchownat) [__NR_fchownat]: Make code unconditional.
50127         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50128         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50129         <kernel-features.h>.
50130         (futimesat) [__NR_futimesat]: Make code unconditional.
50131         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50132         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50133         <kernel-features.h>.
50134         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50135         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50136         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50137         <kernel-features.h>.
50138         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50139         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50140         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50141         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50142         <kernel-features.h>.
50143         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50144         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50145         * sysdeps/unix/sysv/linux/linkat.c: Do not include
50146         <kernel-features.h>.
50147         (linkat) [__NR_linkat]: Make code unconditional.
50148         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50149         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50150         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50151         <kernel-features.h>.
50152         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50153         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50154         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50155         <kernel-features.h>.
50156         (mkdirat) [__NR_mkdirat]: Make code unconditional.
50157         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50158         * sysdeps/unix/sysv/linux/openat.c: Do not include
50159         <kernel-features.h>.
50160         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50161         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50162         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50163         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50164         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50165         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50166         <kernel-features.h>.
50167         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50168         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50169         result of INLINE_SYSCALL directly, not via int variable.
50170         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50171         <kernel-features.h>.
50172         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50173         (renameat) [__NR_renameat]: Make code unconditional.
50174         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50175         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50176         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50177         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50178         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50179         (__ASSUME_ATFCTS): Do not undefine and redefine.
50180         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50181         <kernel-features.h>.
50182         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50183         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50184         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50185         <kernel-features.h>.
50186         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50187         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50188         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50189         (__ASSUME_ATFCTS): Do not undefine and redefine.
50190         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50191         <kernel-features.h>.
50192         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50194         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50195         <kernel-features.h>.
50196         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50197         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50199 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50201         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50203 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50205         [BZ #17069]
50206         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50207         constructed tree before returning error.
50208         * posix/bug-regexp36.c: Expand test case.
50210 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50212         [BZ #6803]
50213         * math/libm-test.inc (scalbln_test_date):
50214         Add errno expectations.
50215         * math/w_scalblnf.c: New File.
50216         Add wrapper which checks for setting errno to ERANGE.
50217         Add weak_alias for corresponding scalbln function.
50218         * math/w_scalbln.c: Likewise.
50219         * math/w_scalblnl.c: Likewise.
50220         * math/Makefile (libm-calls): Add w_scalbln.
50221         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50222         Remove weak_alias for corresponding scalbln function.
50223         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50224         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50225         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50226         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50227         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50228         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50229         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50230         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50231         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50232         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50233         Remove long_double_symbol for scalblnl function in libm, libc.
50234         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50235         Add wrapper which checks for setting errno to ERANGE.
50236         Add long_double_symbol for scalblnl function in libm, libc.
50237         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50238         Remove long_double_symbol for scalblnl in libm.
50239         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50240         Add wrapper which checks for setting errno to ERANGE.
50241         Add long_double_symbol for scalblnl function in libm.
50242         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50243         Do not use wrapper because of own implementation.
50245 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50247         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50248         3 bytes for __pad1 for x32.
50249         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50251 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50252             H.J. Lu  <hongjiu.lu@intel.com>
50254         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50255         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50256         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50257         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50258         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50260 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50262         [BZ #17069]
50263         * posix/regcomp.c (parse_expression): Deallocate partially
50264         constructed tree before returning error.
50265         * posix/Makefile.c (tests): Add bug-regex36.
50266         (generated): Add bug-regex36.mtrace.
50267         (tests-special): Add $(objpfx)bug-regex36-mem.out
50268         (bug-regex36-ENV): New variable.
50269         ($(objpfx)bug-regex36-mem.out): New rule.
50270         * posix/bug-regex36.c: New file.
50272 2014-06-19  Will Newton  <will.newton@linaro.org>
50274         * malloc/malloc.c (systrim): If extra is zero then return
50275         early.
50277 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50279         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50281 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50283         * sysdeps/aarch64/strchr.S: New file.
50285 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50287         [BZ #17022]
50288         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50289         from arguments -2 or below.
50290         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50291         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50293 2014-06-18  Andreas Schwab  <schwab@suse.de>
50295         [BZ #17062]
50296         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50297         of a bracket expr not to run off the end of the string.
50298         * posix/Makefile (tests): Add tst-fnmatch3.
50299         * posix/tst-fnmatch3.c: New file.
50301 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50303         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50304         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50305         [$(cross-compiling) = no]: Likewise.
50306         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50307         [$(cross-compiling) = no]: Likewise.
50309 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50311         [BZ #17031]
50312         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50313         double, adjusted for any remainder from the high double.
50314         * math/libm-test.inc (nearbyint): Add tests.
50315         (rint): Likewise.
50317 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50319         * nptl/sysdeps/powerpc/Makefile: Moved ...
50320         * sysdeps/powerpc/nptl/Makefile: ... here.
50321         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50322         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50323         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50324         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50325         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50326         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50327         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50328         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50329         * nptl/sysdeps/powerpc/tls.h: Moved ...
50330         * sysdeps/powerpc/nptl/tls.h: ... here.
50332 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50334         [BZ #16681]
50335         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50336         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50337         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50338         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50339         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50340         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50341         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50342         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50343         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50345 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50347         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50349 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50351         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50352         defined operator.
50354         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50355         $TIMEOUTFACTOR.
50357 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50359         [BZ #17058]
50360         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50361         non-executed part of the test.
50363 2014-06-16  Andreas Schwab  <schwab@suse.de>
50365         * string/bits/string2.h (strdup, strndup): Update feature guard.
50367 2014-06-14  David S. Miller  <davem@davemloft.net>
50369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50371 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50373         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50374         that was previously under [RESET_PID].
50375         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50377         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50378         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50379         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50380         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50381         (__libc_vfork): New strong alias.
50382         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50384 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50386         * sysdeps/generic/elide.h: New file.
50388 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50390         * Makefile (installed-headers): Adjust path of pthread.h header.
50392 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50394         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50395         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50396         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50397         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50399         * nptl/sysdeps/s390/Makefile: Moved ...
50400         * sysdeps/s390/nptl/Makefile: ... here.
50401         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50402         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50403         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50404         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50405         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50406         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50407         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50408         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50409         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50410         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50411         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50412         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50413         * nptl/sysdeps/s390/tls.h: Moved ...
50414         * sysdeps/s390/nptl/tls.h: ... here.
50416         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50417         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50419 2014-06-13  David S. Miller  <davem@davemloft.net>
50421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50424         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50428         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50429         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50430         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50431         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50432         Remove RESET_PID cpp guards.
50433         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50434         Remove RESET_PID cpp guards.
50435         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50437 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50439         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50440         __sp to uintptr_t.
50442 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50444         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50445         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50448         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50449         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50450         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50451         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50452         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50453         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50454         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50455         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50456         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50458         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50459         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50460         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50461         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50462         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50465         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50466         (pthread_rwlock_rdlock): Add elision.
50467         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50468         (pthread_rwlock_wrlock): Add elision.
50469         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50470         (pthread_rwlock_trywrlock): Add elision.
50471         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50472         (pthread_rwlock_tryrdlock): Add elision.
50473         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50474         (pthread_rwlock_tryrdlock): Add elision unlock.
50475         * nptl/sysdeps/pthread/pthread.h:
50476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50477         (PTHREAD_RWLOCK_INITIALIZER,
50478         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50479         Handle new elision field.
50480         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50481         * sysdeps/arm/nptl/bits/pthreadtypes.h
50482         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50483         * sysdeps/sh/nptl/bits/pthreadtypes.h
50484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50485         * sysdeps/tile/nptl/bits/pthreadtypes.h
50486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50487         * sysdeps/a/nptl/bits/pthreadtypes.h
50488         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50489         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50491         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50492         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50493         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50494         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50495         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50497         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50499         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50501         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50503         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50505         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50506         (elision_init): Set try_xbegin to zero when no RTM.
50507         * sysdeps/x86/nptl/bits/pthreadtypes.h
50508         (pthread_rwlock_t): Change __pad1 to __rwelision.
50509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50511 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50513         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50514         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50515         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50516         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50518 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50520         [BZ #16996]
50521         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50522         that the cached result has been set before returning it.
50524 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50526         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50527         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50528         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50529         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50530         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50531         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50533         * nptl/sysdeps/sparc/Makefile: Moved ...
50534         * sysdeps/sparc/nptl/Makefile: ... here.
50535         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50536         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50537         * nptl/sysdeps/sparc/tls.h: Moved ...
50538         * sysdeps/sparc/nptl/tls.h: ... here.
50539         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50540         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50541         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50542         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50543         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50544         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50545         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50546         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50547         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50548         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50549         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50550         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50551         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50552         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50553         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50554         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50555         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50557         Update #include.
50558         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50560         Update #include.
50561         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50562         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50563         Update #include.
50564         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50565         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50566         Update #include.
50568         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50570         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50571         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50573         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50574         (struct list_links): Type removed.
50575         (struct thread_node, struct timer_node): Replace struct list_links
50576         with struct list_head.
50577         (list_unlink_ip): Likewise.
50578         * sysdeps/pthread/timer_routines.c
50579         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50580         (list_append, list_insbefore): Likewise.
50581         (list_init): Function removed.
50582         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50583         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50584         * sysdeps/pthread/Makefile: ... here, new file.
50586         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50587         * sysdeps/nptl/Implies: ... here.
50588         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50589         * nptl/sysdeps/pthread/list.h: Moved ...
50590         * include/list.h: ... here.
50591         * nptl/sysdeps/pthread/createthread.c: Moved ...
50592         * nptl/createthread.c: ... here.
50593         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50594         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50595         * nptl/pt-longjmp.c: ... here.
50596         * nptl/sysdeps/pthread/Makefile: Moved ...
50597         * sysdeps/nptl/Makefile: ... here.
50598         * nptl/sysdeps/pthread/Subdirs: Moved ...
50599         * sysdeps/nptl/Subdirs: ... here.
50600         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50601         * sysdeps/nptl/aio_misc.h: ... here.
50602         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50603         * sysdeps/nptl/bits/libc-lock.h: ... here.
50604         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50605         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50606         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50607         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50608         * nptl/sysdeps/pthread/configure: Moved ...
50609         * sysdeps/nptl/configure: ... here.
50610         * nptl/sysdeps/pthread/configure.ac: Moved ...
50611         * sysdeps/nptl/configure.ac: ... here.
50612         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50613         * sysdeps/nptl/gai_misc.h: ... here.
50614         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50615         * sysdeps/nptl/librt-cancellation.c: ... here.
50616         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50617         * sysdeps/nptl/malloc-machine.h: ... here.
50618         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50619         * sysdeps/nptl/pthread-functions.h: ... here.
50620         * nptl/sysdeps/pthread/pthread.h: Moved ...
50621         * sysdeps/nptl/pthread.h: ... here.
50622         * nptl/sysdeps/pthread/setxid.h: Moved ...
50623         * sysdeps/nptl/setxid.h: ... here.
50624         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50625         * sysdeps/nptl/sigfillset.c: ... here.
50626         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50627         * sysdeps/nptl/tcb-offsets.h: ... here.
50628         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50629         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50630         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50631         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50632         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50633         * sysdeps/pthread/allocalim.h: ... here.
50634         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50635         * sysdeps/pthread/bits/sigthread.h: ... here.
50636         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50637         * sysdeps/pthread/flockfile.c: ... here.
50638         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50639         * sysdeps/pthread/ftrylockfile.c: ... here.
50640         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50641         * sysdeps/pthread/funlockfile.c: ... here.
50642         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50643         * sysdeps/pthread/posix-timer.h: ... here.
50644         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50645         * sysdeps/pthread/timer_create.c: ... here.
50646         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50647         * sysdeps/pthread/timer_delete.c: ... here.
50648         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50649         * sysdeps/pthread/timer_getoverr.c: ... here.
50650         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50651         * sysdeps/pthread/timer_gettime.c: ... here.
50652         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50653         * sysdeps/pthread/timer_routines.c: ... here.
50654         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50655         * sysdeps/pthread/timer_settime.c: ... here.
50656         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50657         * sysdeps/pthread/tst-timer.c: ... here.
50658         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50659         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50661         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50662         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50664         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50665         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50666         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50667         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50668         Update #include target.
50669         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50670         * sysdeps/i386/i686/nptl/Makefile: ... here.
50671         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50672         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50673         Update #include target.
50674         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50675         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50676         * nptl/sysdeps/i386/Makefile: Moved ...
50677         * sysdeps/i386/nptl/Makefile: ... here.
50678         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50679         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50680         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50681         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50682         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50683         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50684         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50685         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50686         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50687         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50688         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50689         * nptl/sysdeps/i386/tls.h: Moved ...
50690         * sysdeps/i386/nptl/tls.h: ... here.
50692         * sysdeps/sh/Makefile [$(subdir) = csu]
50693         (gen-as-const-headers): Add tcb-offsets.sym.
50694         * nptl/sysdeps/sh/Makefile: File removed.
50695         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50696         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50697         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50698         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50699         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50700         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50701         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50702         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50703         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50704         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50705         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50706         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50707         * nptl/sysdeps/sh/tls.h: Moved ...
50708         * sysdeps/sh/nptl/tls.h: ... here.
50709         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50710         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50711         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50712         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50713         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50714         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50715         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50716         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50717         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50718         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50719         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50720         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50721         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50722         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50723         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50724         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50725         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50726         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50728         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50729         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50730         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50731         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50732         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50733         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50734         Moved ...
50735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50736         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50737         Moved ...
50738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50740         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50742         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50743         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50744         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50745         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50746         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50747         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50748         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50749         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50750         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50751         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50752         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50753         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50754         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50755         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50756         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50758 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50760         * posix/spawn_faction_addopen.c: Include string.h.
50762 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50764         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50765         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50766         * nptl/sysdeps/x86_64/Makefile: Moved ...
50767         * sysdeps/x86_64/nptl/Makefile: ... here.
50768         * nptl/sysdeps/x86_64/configure: Moved ...
50769         * sysdeps/x86_64/nptl/configure: ... here.
50770         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50771         * sysdeps/x86_64/nptl/configure.ac: ... here.
50772         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50773         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50774         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50775         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50776         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50777         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50778         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50779         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50780         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50781         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50782         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50783         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50784         * nptl/sysdeps/x86_64/tls.h: Moved ...
50785         * sysdeps/x86_64/nptl/tls.h: ... here.
50786         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50787         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50788         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50789         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50791         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50793 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50797 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50799         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50800         type.
50801         [POSIX] (off_t): Likewise.
50802         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50803         [POSIX] (S_ISBLK): Require macro.
50804         [POSIX] (S_ISCHR): Likewise.
50805         [POSIX] (S_ISDIR): Likewise.
50806         [POSIX] (S_ISFIFO): Likewise.
50807         [POSIX] (S_ISREG): Likewise.
50808         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50809         optional-macro.
50810         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50811         type.
50812         [POSIX] (time_t): Likewise.
50813         [POSIX] (timer_t): Likewise.
50815 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50817         [BZ #17048]
50818         * posix/spawn_int.h (struct __spawn_action): Make the path string
50819         non-const to support deallocation.
50820         * posix/spawn_faction_addopen.c
50821         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50822         * posix/spawn_faction_destroy.c
50823         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50824         path in all spawn_do_open actions.
50825         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50826         posix_spawn_file_actions_addopen.
50828 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50830         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50831         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50832         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50833         conditional code always true.
50834         (__libc_vfork): New alias.
50836 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50838         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50839         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50841         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50843         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50844         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50846         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50847         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50849         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50850         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50852 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50854         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50855         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50856         multiarch strcmp for PPC64.
50857         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50858         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50860         multiarch optimizations.
50861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50862         (__libc_ifunc_impl_list): Likewise.
50864 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50866         * benchtests/scripts/validate_benchout.py: New script.
50867         * benchtests/Makefile (bench-func): Call it.
50868         * benchtests/scripts/benchout.schema.json: New file.
50870 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50872         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50873         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50874         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50875         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50876         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50877         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50878         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50879         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50880         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50881         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50882         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50883         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50884         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50885         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50886         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50887         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50889         Moved ...
50890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50891         ... here.
50892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50893         Moved ...
50894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50896         Moved ...
50897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50898         ... here.
50899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50900         Moved ...
50901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50902         ... here.
50903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50904         Moved ...
50905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50907         Moved ...
50908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50909         ... here.
50910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50911         Moved ...
50912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50913         ... here.
50914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50915         Moved ...
50916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50918         Moved ...
50919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50920         ... here.
50921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50922         Moved ...
50923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50924         ... here.
50925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50926         Moved ...
50927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50928         ... here.
50929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50930         Moved ...
50931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50933         Moved ...
50934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50935         ... here.
50936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50937         Moved ...
50938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50939         ... here.
50940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50941         Moved ...
50942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50943         ... here.
50944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50945         Moved ...
50946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50948         Moved ...
50949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50950         ... here.
50951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50952         Moved ...
50953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50954         ... here.
50955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50956         Moved ...
50957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50959         Moved ...
50960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50961         ... here.
50962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50963         Moved ...
50964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50966         Moved ...
50967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50969         Moved ...
50970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50971         ... here.
50972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50973         Moved ...
50974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50975         ... here.
50976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50977         Moved ...
50978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50979         ... here.
50980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50981         Moved ...
50982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50984         Moved ...
50985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50986         ... here.
50987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50988         Moved ...
50989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50990         ... here.
50991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50992         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50993         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50994         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50995         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50996         Moved ...
50997         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50998         ... here.
50999         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
51000         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
51001         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
51002         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
51003         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
51004         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
51005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
51006         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
51007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
51008         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
51009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
51010         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
51011         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
51012         Moved ...
51013         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
51014         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
51015         Moved ...
51016         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
51017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
51018         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
51019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
51020         Moved ...
51021         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
51022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
51023         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
51024         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
51025         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
51026         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
51027         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
51029 2014-06-10  Wilco  <wdijkstr@arm.com>
51031         * math/test-fenv-return.c: New file.
51032         * math/Makefile: Add new test test-fenv-return.
51034 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
51036         [BZ #17042]
51037         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
51038         when x - 1 is zero.
51039         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
51040         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
51041         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
51042         0.0L for an argument of 1.0L.
51043         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
51044         Likewise.
51045         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
51046         value when x - 1 is zero.
51047         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
51048         * sysdeps/i386/fpu/libm-test-ulps: Update.
51049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51051 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
51053         [BZ #15119]
51054         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
51056 2014-06-09  Roland McGrath  <roland@hack.frob.com>
51058         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
51059         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
51061 2014-06-09  Roland McGrath  <roland@hack.frob.com>
51063         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51064         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51066         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51067         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51069         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51070         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51072         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51073         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51075         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51076         if not already defined.
51077         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51078         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51079         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51080         (TLS_INIT_TP): Use it.
51081         (TLS_DEFINE_INIT_TP): New macro.
51082         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51084 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
51086         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51087         constant.
51088         [POSIX] (IXANY): Likewise.
51089         [POSIX] (OLCUC): Likewise.
51090         [POSIX || POSIX2008] (CBAUD): Do not allow.
51091         [POSIX || POSIX2008] (DEFECHO): Likewise.
51092         [POSIX || POSIX2008] (ECHOCTL): Likewise.
51093         [POSIX || POSIX2008] (ECHOKE): Likewise.
51094         [POSIX || POSIX2008] (ECHOPRT): Likewise.
51095         [POSIX || POSIX2008] (EXTA): Likewise.
51096         [POSIX || POSIX2008] (EXTB): Likewise.
51097         [POSIX || POSIX2008] (FLUSHO): Likewise.
51098         [POSIX || POSIX2008] (LOBLK): Likewise.
51099         [POSIX || POSIX2008] (PENDIN): Likewise.
51100         [POSIX || POSIX2008] (SWTCH): Likewise.
51101         [POSIX || POSIX2008] (VDISCARD): Likewise.
51102         [POSIX || POSIX2008] (VDSUSP): Likewise.
51103         [POSIX || POSIX2008] (VLNEXT): Likewise.
51104         [POSIX || POSIX2008] (VREPRINT): Likewise.
51105         [POSIX || POSIX2008] (VSTATUS): Likewise.
51106         [POSIX || POSIX2008] (VWERASE): Likewise.
51107         (B*): Change to B[0123456789]*.
51108         * conform/data/time.h-data [POSIX || UNIX98]
51109         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51110         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51111         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51112         [POSIX] (tm_*): Do not allow.
51114 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
51116         * Makefile (install): Don't set LANGUAGE.
51117         * Makefile.in (install): Likewise.
51118         * assert/Makefile (test-assert-ENV): Remove variable.
51119         (test-assert-perr-ENV): Likewise.
51120         * elf/Makefile (neededtest4-ENV): Likewise.
51121         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51122         [$(cross-compiling) = no]: Don't set LANGUAGE.
51123         * io/ftwtest-sh (LANG): Remove variable.
51124         * libio/Makefile (tst-widetext-ENV): Likewise.
51125         * manual/install.texi (Running make install): Don't refer to
51126         environment settings for make install.
51127         * INSTALL: Regenerated.
51128         * nptl/tst-tls6.sh: Don't set LANG.
51129         * posix/globtest.sh (LANG): Remove variable.
51130         * string/Makefile (tester-ENV): Likewise.
51131         (inl-tester-ENV): Likewise.
51132         (noinl-tester-ENV): Likewise.
51133         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51134         [$(cross-compiling) = no]: Don't set LANGUAGE.
51135         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51136         without explicit environment settings.
51138 2014-06-06  Roland McGrath  <roland@hack.frob.com>
51140         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51141         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51142         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51143         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51145 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
51147         * crypt/crypt-private.h [DOS]: Add some includes taken from the
51148         other files in the crypt directory.
51149         * crypt/crypt.c: Remove duplicate includes.
51150         * crypt/crypt-entry.c: Likewise.
51151         * crypt/crypt_util.c: Likewise.
51153 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
51155         * Makeconfig (run-program-env): New variable.
51156         (run-program-prefix-before-env): Likewise.
51157         (run-program-prefix-after-env): Likewise.
51158         (run-program-prefix): Define in terms of new variables.
51159         (built-program-cmd-before-env): New variable.
51160         (built-program-cmd-after-env): Likewise.
51161         (built-program-cmd): Define in terms of new variables.
51162         (test-program-prefix-before-env): New variable.
51163         (test-program-prefix-after-env): Likewise.
51164         (test-program-prefix): Define in terms of new variables.
51165         (test-program-cmd-before-env): New variable.
51166         (test-program-cmd-after-env): Likewise.
51167         (test-program-cmd): Define in terms of new variables.
51168         * Rules (make-test-out): Use $(run-program-env).
51169         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51170         (help): Do not mention environment variables.  Mention
51171         --timeoutfactor option.
51172         (timeoutfactor): New variable.
51173         (blacklist_exports): Remove function.
51174         (exports): Remove variable.
51175         (command): Do not include ${exports}.
51176         * manual/install.texi (Configuring and compiling): Do not mention
51177         test wrappers preserving environment variables.  Mention that last
51178         assignment to a variable must take precedence.
51179         * INSTALL: Regenerated.
51180         * benchtests/Makefile (run-bench): Use $(run-program-env).
51181         * catgets/Makefile ($(objpfx)test1.cat): Use
51182         $(built-program-cmd-before-env), $(run-program-env) and
51183         $(built-program-cmd-after-env).
51184         ($(objpfx)test2.cat): Do not specify environment variables
51185         explicitly.
51186         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51187         $(run-program-env) and $(built-program-cmd-after-env).
51188         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51189         $(run-program-env) and $(test-program-cmd-after-env).
51190         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51191         explicitly.
51192         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51193         run_program_env and test_program_cmd_after_env arguments.
51194         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51195         * elf/tst-pathopt.sh: Use run_program_env argument.
51196         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51197         $(test-wrapper-env) and $(run-program-env).
51198         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51199         run_program_env arguments.
51200         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51201         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51202         $(test-program-prefix-before-env), $(run-program-env) and
51203         $(test-program-prefix-after-env).
51204         ($(objpfx)tst-gettext2.out): Likewise.
51205         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51206         run_program_env and test_program_prefix_after_env arguments.
51207         * intl/tst-gettext2.sh: Likewise.
51208         * intl/tst-gettext4.sh: Do not set environment variables
51209         explicitly.
51210         * intl/tst-gettext6.sh: Likewise.
51211         * intl/tst-translit.sh: Likewise.
51212         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51213         $(test-program-prefix-before-env), $(run-program-env) and
51214         $(test-program-prefix-after-env).
51215         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51216         run_program_env and test_program_prefix_after_env arguments.
51217         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51218         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51219         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51220         explicitly with each use of ${test_wrapper_env}.
51221         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51222         $(test-program-prefix-before-env), $(run-program-env) and
51223         $(test-program-prefix-after-env).
51224         * posix/tst-getconf.sh: Do not set environment variables
51225         explicitly.
51226         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51227         run_program_env and test_program_prefix_after_env arguments.
51228         * stdio-common/tst-printf.sh: Do not set environment variables
51229         explicitly.
51230         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51231         $(test-program-prefix-before-env), $(run-program-env) and
51232         $(test-program-prefix-after-env).
51233         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51234         run_program_env and test_program_prefix_after_env arguments.
51235         Split $test calls into $test_pre and $test.
51236         * timezone/Makefile (build-testdata): Use
51237         $(built-program-cmd-before-env), $(run-program-env) and
51238         $(built-program-cmd-after-env).
51240 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51242         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51243         strlen for non SHARED builds.
51245 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51247         * nptl/allocatestack.c (check_list): Inlined function...
51248         (__reclaim_stacks): ... here.
51250 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51252         [BZ #15698]
51253         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51254         memory overrun.
51256 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51258         * Rules (make-test-out): Include
51259         LOCPATH=$(common-objpfx)localedata in default environment.
51260         * debug/Makefile (tst-chk1-ENV): Remove variable.
51261         (tst-chk2-ENV): Likewise.
51262         (tst-chk3-ENV): Likewise.
51263         (tst-chk4-ENV): Likewise.
51264         (tst-chk5-ENV): Likewise.
51265         (tst-chk6-ENV): Likewise.
51266         (tst-lfschk1-ENV): Likewise.
51267         (tst-lfschk2-ENV): Likewise.
51268         (tst-lfschk3-ENV): Likewise.
51269         (tst-lfschk4-ENV): Likewise.
51270         (tst-lfschk5-ENV): Likewise.
51271         (tst-lfschk6-ENV): Likewise.
51272         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51273         (tst-iconv7-ENV): Likewise.
51274         * intl/Makefile (LOCPATH-ENV): Likewise.
51275         (tst-codeset-ENV): Likewise.
51276         (tst-gettext3-ENV): Likewise.
51277         (tst-gettext5-ENV): Likewise.
51278         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51279         (tst-fopenloc-ENV): Likewise.
51280         (tst-fgetws-ENV): Remove variable.
51281         (tst-ungetwc1-ENV): Likewise.
51282         (tst-ungetwc2-ENV): Likewise.
51283         (bug-ungetwc2-ENV): Likewise.
51284         (tst-swscanf-ENV): Likewise.
51285         (bug-ftell-ENV): Likewise.
51286         (tst-fgetwc-ENV): Likewise.
51287         (tst-fseek-ENV): Likewise.
51288         (tst-ftell-partial-wide-ENV): Likewise.
51289         (tst-ftell-active-handler-ENV): Likewise.
51290         (tst-ftell-append-ENV): Likewise.
51291         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51292         (tst-regexloc-ENV): Likewise.
51293         (bug-regex1-ENV): Likewise.
51294         (tst-regex-ENV): Likewise.
51295         (tst-regex2-ENV): Likewise.
51296         (bug-regex5-ENV): Likewise.
51297         (bug-regex6-ENV): Likewise.
51298         (bug-regex17-ENV): Likewise.
51299         (bug-regex18-ENV): Likewise.
51300         (bug-regex19-ENV): Likewise.
51301         (bug-regex20-ENV): Likewise.
51302         (bug-regex22-ENV): Likewise.
51303         (bug-regex23-ENV): Likewise.
51304         (bug-regex25-ENV): Likewise.
51305         (bug-regex26-ENV): Likewise.
51306         (bug-regex30-ENV): Likewise.
51307         (bug-regex32-ENV): Likewise.
51308         (bug-regex33-ENV): Likewise.
51309         (bug-regex34-ENV): Likewise.
51310         (bug-regex35-ENV): Likewise.
51311         (tst-rxspencer-ENV): Likewise.
51312         (tst-rxspencer-no-utf8-ENV): Likewise.
51313         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51314         (tst-sscanf-ENV): Likewise.
51315         (tst-swprintf-ENV): Likewise.
51316         (tst-swscanf-ENV): Likewise.
51317         (test-vfprintf-ENV): Likewise.
51318         (scanf13-ENV): Likewise.
51319         (bug14-ENV): Likewise.
51320         (tst-grouping-ENV): Likewise.
51321         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51322         (tst-strtod3-ENV): Likewise.
51323         (tst-strtod4-ENV): Likewise.
51324         (tst-strtod5-ENV): Likewise.
51325         (testmb2-ENV): Likewise./
51326         * string/Makefile (tst-strxfrm-ENV): Likewise.
51327         (tst-strxfrm2-ENV): Likewise.
51328         (bug-strcoll1-ENV): Likewise.
51329         (test-strcasecmp-ENV): Likewise.
51330         (test-strncasecmp-ENV): Likewise.
51331         * time/Makefile (tst-strptime-ENV): Likewise.
51332         (tst-ftime_l-ENV): Likewise.
51333         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51334         (tst-mbrtowc-ENV): Likewise.
51335         (tst-wcrtomb-ENV): Likewise.
51336         (tst-mbrtowc2-ENV): Likewise.
51337         (tst-c16c32-1-ENV): Likewise.
51338         (tst-mbsnrtowcs-ENV): Likewise.
51340 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51342         * manual/resource.texi (How to get information about the memory
51343         subsystem?): Fix typo.
51344         Reported by Peon de la Parra Ivan <peon@keba.com>
51346 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51348         [BZ #16882]
51349         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51350         (pthread_spin_lock): Branch out of spin loop to proper location.
51351         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51352         (pthread_spin_lock): Likewise.
51354         * nptl/tst-spin4.c: New test.
51355         * nptl/Makefile (tests): Add tst-spin4.
51357 2014-06-03  Andreas Schwab  <schwab@suse.de>
51359         [BZ #15946]
51360         * resolv/res_send.c (send_dg): Reload file descriptor after
51361         calling reopen.
51363 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51365         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51367 2014-06-03  Richard Henderson  <rth@redhat.com>
51369         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51370         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51371         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51372         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51373         in the SAVE_PID block.
51374         (__libc_vfork): New alias.
51375         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51377         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51378         child in registers, not on the stack.  Remove RESET_PID conditionals.
51379         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51381 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51383         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51385 2014-06-03  Wilco  <wdijkstr@arm.com>
51387         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51388         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51389         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51390         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51391         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51392         Likewise.
51394 2014-06-03  Wilco  <wdijkstr@arm.com>
51396         * sysdeps/aarch64/fpu/math_private.h
51397         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51398         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51399         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51400         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51401         Fix declarations.
51403 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51405         * crypt/crypt-private.h: Include ufc-crypt.h.
51406         (__b64_from_24bit): Declare extern.
51407         * crypt/crypt_util.c(__b64_from_24bit): New function.
51408         (b64t): New static const variable.
51409         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51410         (b64t): Remove variable.
51411         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51412         * crypt/sha256-crypt.c: Include crypt-private.h.
51413         (b64t): Remove variable.
51414         (__sha256_crypt_r): Remove b64_from_24bit and replace
51415         with __b64_from_24bit.
51416         * crypt/sha512-crypt.c: Likewise.
51418 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51420         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51421         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51422         Label the code __libc_vfork rather than __vfork.
51423         [!NOT_IN_libc] (vfork): Define as weak alias.
51424         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51425         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51426         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51428 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51430         * malloc/malloc.c (malloc_info): Fix format specifier for
51431         n_mmaps.
51433 2014-06-02  Wilco  <wdijkstr@arm.com>
51435         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51436         FPCR write.
51438 2014-06-02  Wilco  <wdijkstr@arm.com>
51440         [BZ #17009]
51441         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51442         Rewrite to reduce FPCR/FPSR accesses.
51444 2014-06-01  David S. Miller  <davem@davemloft.net>
51446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51448 2014-05-31  David S. Miller  <davem@davemloft.net>
51450         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51451         to occur in round to nearest mode when |x| >= 2.0
51453 2014-05-30  Richard Henderson  <rth@twiddle.net>
51455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51456         (PSEUDO_RET_NOERRNO): Remove.
51457         (ret): Don't redefine.
51458         (ret_NOERRNO): Define in terms of ret.
51459         (ret_ERRVAL): Likewise.
51461         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51462         use of PSEUDO_RET; perform the error check directly.
51464 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51466         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51467         with __int128_t.
51469 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51471         * malloc/malloc (malloc_info): Fix formatting.
51473 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51474             Roland McGrath  <roland@hack.frob.com>
51476         * malloc/malloc (malloc_info): Also print mmapped statistics.
51478 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51480         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51481         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51483 2014-05-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
51485         * malloc/malloc.c (malloc_info): Inline mi_arena.
51487 2014-05-29  Richard Henderson  <rth@twiddle.net>
51489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51490         Remove comma before expanding ASM_ARGS_##nr.
51491         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51492         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51493         of ASM_ARGS_##nr.
51494         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51495         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51496         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51497         (ASM_ARGS_1): Add leading comma.
51499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51500         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51501         to __errno_location.
51502         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51503         Remove the expected plt for __errno_location.
51505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51506         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51507         call to __read_tp.
51509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51510         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51511         it and break it down.
51512         (DOCARGS_0, DOCARGS_1): Do nothing.
51513         (DOCARGS_2): Update to store into the new stack frame.
51514         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51515         (UNDOCARGS_1): Update to restore from the new stack frame.
51516         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51517         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51520         (SINGLE_THREAD_P): New parameter for result regno.
51521         (PSEUDO): Update to match; use cbz instead of beq.
51523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51524         Use ENTRY to define the _nocancel entry point.  Share the syscall
51525         and syscall error check paths with the cancel path.
51526         (PSEUDO_END): New.
51528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51529         whitespace; tabs before and after asm mnemonics.
51531 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51533         [BZ #15132]
51534         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51535         Call fstat64 or stat64 internally, depending on arguments passed.
51536         Replace stat buffer argument with file descriptor argument.
51537         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51538         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51539         Pass fd to __internal_statvfs instead of calling fstat64.
51540         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51541         Pass fd to __internal_statvfs64 instead of calling fstat64.
51542         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51543         Pass -1 to __internal_statvfs instead of calling stat64.
51544         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51545         Pass -1 to __internal_statvfs64 instead of calling stat64.
51547 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51549         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51550         that was previously under [RESET_PID].
51551         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51553         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51554         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51556 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51558         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51560         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51561         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51563 2014-05-27  Ondƙej BĂ­lka  <neleai@seznam.cz>
51565         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51567 2014-05-27  Andreas Schwab  <schwab@suse.de>
51569         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51570         TLS_INIT_TP macro.
51571         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51572         * elf/rtld.c (init_tls, dl_main): Likewise.
51573         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51574         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51575         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51576         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51577         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51578         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51579         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51580         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51581         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51582         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51583         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51584         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51585         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51586         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51587         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51588         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51589         * sysdeps/generic/tls.h: Update description.
51591 2014-05-27  Will Newton  <will.newton@linaro.org>
51593         [BZ #16990]
51594         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51595         and restore r2 rather than just restoring.
51597 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51599         [BZ #16724]
51600         * libio/tst-ftell-append.c: New test case.
51601         * libio/Makefile (tests): Add test case.
51602         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51603         append mode.
51604         * libio/wfileops.c (do_ftell_wide): Likewise.
51606 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51610         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51611         ...
51612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51614         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51615         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51616         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51617         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51618         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51619         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51621         Moved ...
51622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51624         Moved ...
51625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51626         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51627         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51628         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51629         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51630         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51631         ...
51632         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51633         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51634         Moved ...
51635         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51636         here.
51637         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51638         ...
51639         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51640         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51641         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51643         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51644         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51645         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51646         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51649         merge into ...
51650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51652         ...
51653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51655         ...
51656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51658         Moved ...
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51660         here.
51661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51662         Moved ...
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51665         Moved ...
51666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51669         conditional [RESET_PID].
51670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51672         removed.
51673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51674         removed.
51676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51677         <tcb-offsets.h>.
51678         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51679         (__libc_vfork): New strong alias.
51680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51681         removed.
51682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51683         Removed.
51685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51686         <tcb-offsets.h>.
51687         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51688         (__libc_vfork): New strong alias.
51689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51690         removed.
51691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51692         removed.
51694 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51696         * malloc/malloc.c (mi_arena): New function.
51697         (malloc_info): Remove nested function mi_arena. Call non-nosted
51698         function mi_arena.
51700 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51702         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51703         by insrwi.
51704         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51705         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51706         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51707         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51708         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51709         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51710         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51712 2014-05-26  Andreas Schwab  <schwab@suse.de>
51714         [BZ #16984]
51715         * locale/programs/repertoire.c (repertoire_read): Add slash
51716         between I18NPATH element and file name.
51717         * locale/programs/locfile.c (locfile_read): Likewise.
51719 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51721         * nptl/pthread_mutexattr_settype.c
51722         (__pthread_mutexattr_settype):
51723         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51725 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51727         * nptl/tst-mutex5 (do_test):
51728         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51730 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51732         * benchtests/README: Document 'init' directive.
51733         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51734         BENCH_INIT.
51735         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51736         (parse_file): Recognize 'init' directive.
51738 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51740         [BZ #16796]
51741         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51742         alignment of struct pthread.
51744 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51746         [BZ #16878]
51747         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51748         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51749         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51750         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51752 2014-05-25  Richard Henderson  <rth@twiddle.net>
51754         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51755         (SINGLE_THREAD_P_PIC): Remove.
51756         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51757         (SINGLE_THREAD_P_PIC): Remove.
51759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51760         branch to syscall error ...
51761         (PSEUDO): ... here.
51762         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51763         from __local_syscall_error to .Lsyscall_error.
51764         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51765         (SYSCALL_ERROR): Update label name.
51767         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51768         Do not use DOARGS/UNDOARGS.
51769         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51770         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51771         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51772         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51773         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51775         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51776         block comment.
51778         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51779         define if !NOT_IN_libc.
51780         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51781         define with non-default symbol versions.
51783 2014-05-23  Richard Henderson  <rth@twiddle.net>
51785         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51786         (vfork, __vfork): Define via compat_symbol.
51788         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51789         [!HAVE_IFUNC] (vfork_compat): Remove.
51790         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51792 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51794         [BZ #16978]
51795         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51796         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51797         variable.
51799 2014-05-23  Richard Henderson  <rth@twiddle.net>
51801         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51802         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51803         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51804         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51806         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51807         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51808         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51809         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51810         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51811         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51812         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51813         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51814         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51815         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51816         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51817         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51818         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51819         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51820         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51821         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51822         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51823         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51824         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51825         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51826         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51827         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51828         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51829         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51830         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51831         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51832         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51833         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51834         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51835         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51836         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51837         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51838         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51839         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51840         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51841         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51842         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51843         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51844         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51845         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51846         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51847         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51848         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51849         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51850         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51851         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51852         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51853         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51854         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51855         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51856         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51857         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51858         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51859         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51860         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51861         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51863         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51864         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51865         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51866         before exiting on error.
51867         (__libc_vfork): New strong alias.
51868         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51869         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51871         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51872         that was previously under [RESET_PID].
51873         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51875         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51877 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51879         [BZ #16977]
51880         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51881         value when x - 1 is zero.
51882         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51883         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51884         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51885         0.0L for an argument of 1.0L.
51886         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51887         Likewise.
51888         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51889         value when x - 1 is zero.
51890         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51891         * sysdeps/i386/fpu/libm-test-ulps: Update.
51892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51894 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51896         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51897         alphasort and versionsort.
51899 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51901         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51902         macro.
51903         [copysignf]: Likewise.
51905 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51907         * crypt/md5-crypt.c: Fix formatting.
51909 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51911         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51912         (b64_from_24bit): New function.
51914 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51916         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51917         libc_hidden_builtin_def to ifunc.
51918         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51919         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51921 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51923         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51924         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51926 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51928         * nscd/Depend (linuxthreads): Remove.
51929         (nptl): Add.
51930         * resolv/Depend (linuxthreads): Remove.
51931         * rt/Depend (linuxthreads): Remove.
51933         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51934         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51935         $(common-objpfx)elf/.
51936         (link-libc-before-gnulib): Likewise.
51937         (elfobjdir): Remove variable.
51938         * Makefile (install): Use $(elf-objpfx) instead of
51939         $(common-objpfx)elf/.
51940         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51941         $(elfobjdir)/.
51942         (link-libc-deps): Likewise.
51943         ($(common-objpfx)libc.so): Likewise.
51944         ($(common-objpfx)linkobj/libc.so): Likewise.
51945         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51946         instead of $(common-objpfx)elf/.
51947         (symbolic-link-list): Likewise.
51948         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51949         [$(cross-compiling) = no]: Likewise.
51950         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51951         $(elfobjdir)/.
51952         (static-gnulib-arch): Likewise.
51953         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51954         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51955         $(common-objpfx)elf/.
51957 2014-05-21  Richard Henderson  <rth@redhat.com>
51959         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51960         (SINGLE_THREAD_P): Use the correct width load.  Fold
51961         into the ldr offset.
51963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51964         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51966 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51968         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51969         (libgcc_s_resume): Use __attribute_used__.
51970         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51971         Likewise.
51973 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51975         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51976         optimization when used with float constants.
51978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51980 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51982         [BZ #16915]
51983         * locale/nl_langinfo_l.c: Make direct reference to every
51984         _nl_current_CATEGORY symbol.
51985         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51986         (tests-static): Add tst-langinfo-static.
51987         (tests-special): Add tst-langinfo-static.out.
51988         ($(objpfx)tst-langinfo.out): Redirect output.
51989         ($(objpfx)tst-langinfo-static.out): New.
51990         * localedata/tst-langinfo.sh: Send output to stdout.
51991         * localedata/tst-langinfo-static.c: New file.
51993         [BZ #16965]
51994         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51995         when the shift amount is modulo the limb size.
51997 2014-05-20  Richard Henderson  <rth@redhat.com>
51999         [BZ #16967]
52000         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
52001         Change type of sa_flags from unsigned int to int.
52003         [BZ #16966]
52004         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
52006         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
52008 2014-05-20  Will Newton  <will.newton@linaro.org>
52010         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
52011         Test the return value of the system call in the nocancel case.
52013 2014-05-20  Will Newton  <will.newton@linaro.org>
52014             Yvan Roux  <yvan.roux@linaro.org>
52016         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
52017         #include of asm/ptrace.h.
52018         (PTRACE_GET_THREAD_AREA): Remove #undef.
52019         (PTRACE_GETHBPREGS): Likewise.
52020         (PTRACE_SETHBPREGS): Likewise.
52021         (struct user_regs_struct): New structure.
52022         (struct user_fpsimd_struct): New structure.
52023         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52024         #include of asm/ptrace.h and second #include of sys/user.h.
52025         (PTRACE_GET_THREAD_AREA): Remove #undef.
52026         (PTRACE_GETHBPREGS): Likewise.
52027         (PTRACE_SETHBPREGS): Likewise.
52028         (ELF_NGREG): Use new struct user_regs_struct.
52029         (elf_fpregset_t): Use new struct user_fpsimd_struct.
52031 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52033         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
52034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
52036 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
52038         [BZ #16958]
52039         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
52040         membar to avoid block loads/stores to overlap previous stores.
52042 2014-05-17  Richard Henderson  <rth@redhat.com>
52044         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
52045         Create the __##syscall_name##_nocancel entry point.
52046         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
52047         Remove; let the sysdep-cancel.h code create it.
52049 2014-05-17  David S. Miller  <davem@davemloft.net>
52051         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52052         Protect with __USE_GNU.
52053         (TIOCSET_TEMPT): Likewise.
52054         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
52055         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
52056         these are already provided in bits/ioctl-types.h
52058 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52060         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
52061         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
52063         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52064         Use wait4 regardless of [__NR_waitpid].
52066 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52068         PR libgcc/60166
52069         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52070         (_FP_NANSIGN_Q): Set the quiet bit.
52072 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
52074         * benchtests/Makefile
52075         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52076         not $(common-objpfx)math/libm.so.
52077         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52078         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52079         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52080         $(common-objpfx)dlfcn/libdl.so.
52081         ($(objpfx)tst-audit8): Depend on $(libm), not
52082         $(common-objpfx)math/libm.so.
52083         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52084         not $(common-objpfx)dlfcn/libdl.so.
52085         * math/Makefile
52086         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52087         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
52088         [$(build-shared) = yes].
52089         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52090         $(common-objpfx)nptl/libpthread.so.
52091         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52092         $(common-objpfx)math/libm.so$(libm.so-version) or
52093         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52094         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52095         $(common-objpfx)dlfcn/libdl.so.
52096         * setjmp/Makefile (link-libm): Remove variable.
52097         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52098         * stdio-common/Makefile (link-libm): Remove variable.
52099         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52100         * stdlib/Makefile (link-libm): Remove variable.
52101         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52102         ($(objpfx)tst-strtod-round): Likewise.
52103         ($(objpfx)tst-tininess): Likewise.
52104         ($(objpfx)tst-strtod-underflow): Likewise.
52105         ($(objpfx)tst-strtod6): Likewise.
52106         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52107         $(libdl), not $(common-objpfx)nptl/libpthread.so and
52108         $(common-objpfx)dlfcn/libdl.so.
52110 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52112         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52113         BSD terminal modes definitions.
52115 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52117         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52118         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52120         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52121         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52122         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52123         Don't do #include_next.
52124         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52125         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52126         Don't do #include_next.
52127         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52128         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52129         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52130         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52132 2014-05-16  Allan McRae  <allan@archlinux.org>
52134         * po/sv.po: Update Swedish translation from translation project.
52136         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52137         in sed expression.
52139 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
52141         [BZ #16917]
52142         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52143         errno if the TIOCGPTN ioctl fails with an error different than
52144         EINVAL.
52145         * login/tst-ptsname.c: New file.
52146         * login/Makefile (tests): Add tst-ptsname.
52148         [BZ #16943]
52149         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52150         and prlimit64.
52152 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52154         [BZ #16849]
52155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52156         herrno to return EAI_AGAIN.
52158 2014-05-14  Roland McGrath  <roland@hack.frob.com>
52160         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52161         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52162         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52163         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52164         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52165         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52166         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52167         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52169         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52170         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52171         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52172         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52173         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52174         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52175         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52176         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52177         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52178         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52179         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52180         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52181         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52182         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52183         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52184         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52185         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52186         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52187         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52188         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52189         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52191         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52193         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52195         Moved ...
52196         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52198         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52200         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52202         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52204         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52206         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52208         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52210         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52212         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52214         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52216         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52218         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52220         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52222         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52224         Moved ...
52225         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52227         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52229         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52231         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52233         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52237         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52239         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52241         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52243         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52245         Moved ...
52246         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52248         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52250         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52251         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52252         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52253         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52254         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52255         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52256         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52257         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52258         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52259         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52260         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52261         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52262         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52263         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52264         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52265         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52266         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52267         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52268         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52269         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52270         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52271         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52272         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52273         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52274         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52275         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52276         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52277         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52278         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52279         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52280         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52282         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52283         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52285         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52286         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52287         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52288         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52289         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52291         Moved ...
52292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52293         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52294         Moved ...
52295         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52296         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52297         Moved ...
52298         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52300         Moved ...
52301         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52302         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52303         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52305         Moved ...
52306         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52307         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52308         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52309         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52310         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52311         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52312         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52313         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52314         Moved ...
52315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52317         Moved ...
52318         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52319         ... here.
52320         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52321         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52322         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52323         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52324         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52325         Moved ...
52326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52327         ... here.
52328         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52329         Moved ...
52330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52331         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52332         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52333         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52334         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52336         Moved ...
52337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52338         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52339         Moved ...
52340         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52341         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52342         Moved ...
52343         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52345         Moved ...
52346         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52347         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52348         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52350         Moved ...
52351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52352         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52353         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52354         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52355         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52356         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52357         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52358         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52359         Moved ...
52360         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52362         Moved ...
52363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52364         ... here.
52365         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52366         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52367         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52368         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52369         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52370         Moved ...
52371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52372         ... here.
52373         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52374         Moved ...
52375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52376         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52377         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52378         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52379         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52380         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52382         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52383         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52384         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52385         Moved ...
52386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52387         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52388         Moved ...
52389         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52390         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52391         Moved ...
52392         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52394         Moved ...
52395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52396         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52397         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52398         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52399         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52400         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52401         Moved ...
52402         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52403         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52404         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52405         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52406         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52407         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52408         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52409         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52410         Moved ...
52411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52413         Moved ...
52414         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52415         ... here.
52416         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52417         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52418         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52419         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52420         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52421         Moved ...
52422         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52423         ... here.
52424         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52425         Moved ...
52426         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52427         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52428         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52429         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52430         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52431         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52432         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52433         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52434         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52435         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52436         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52438         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52439         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52441         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52442         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52444         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52445         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52446         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52447         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52448         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52449         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52450         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52451         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52452         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52453         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52455         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52456         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52457         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52458         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52460         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52462         Moved ...
52463         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52465         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52467         Moved ...
52468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52470         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52472         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52476         Moved ...
52477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52479         Moved ...
52480         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52482         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52484         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52486         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52487         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52488         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52489         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52490         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52491         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52492         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52493         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52494         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52495         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52496         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52498         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52499         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52500         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52501         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52502         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52504         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52505         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52506         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52507         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52508         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52509         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52510         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52511         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52512         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52513         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52518         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52519         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52520         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52521         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52522         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52523         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52524         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52525         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52526         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52527         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52528         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52529         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52530         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52531         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52532         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52533         Update #include.
52534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52535         Likewise.
52536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52537         Likewise.
52538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52539         Likewise.
52540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52541         Likewise.
52542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52543         Likewise.
52544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52545         Likewise.
52546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52547         Likewise.
52548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52549         Likewise.
52550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52551         Likewise.
52552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52557         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52558         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52559         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52561         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52562         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52563         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52564         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52566         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52568         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52569         that was previously under [RESET_PID].
52570         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52571         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52572         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52574         * sysdeps/i386/nptl/Implies: New file.
52575         * sysdeps/x86_64/nptl/Implies: New file.
52576         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52577         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52578         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52579         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52581         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52582         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52583         (__libc_vfork): New strong alias.
52584         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52585         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52587         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52588         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52589         (__libc_vfork): New strong alias.
52590         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52591         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52593         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52594         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52595         (__libc_vfork): New strong alias.
52596         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52597         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52598         * nptl/pt-vfork.c: New file.
52599         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52600         (libpthread: GLIBC_2.20): New version set (empty).
52602 2014-05-14  Will Newton  <will.newton@linaro.org>
52604         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52605         rather than #if.
52607 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52609         [BZ #16564]
52610         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52611         arguments with exponent 65 or above.
52612         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52613         arguments 0x1p113L or above.
52614         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52615         to arguments 0x1p107L or above.
52616         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52617         positive arguments with exponent 65 or above.
52618         * math/auto-libm-test-in: Add more tests of log1p.
52619         * math/auto-libm-test-out: Regenerated.
52621         [BZ #16928]
52622         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52623         non-finite arguments is +0.
52624         * math/s_cacosf.c (__cacosf): Likewise.
52625         * math/s_cacosl.c (__cacosl): Likewise.
52626         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52627         * sysdeps/i386/fpu/libm-test-ulps: Update.
52628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52630         [BZ #16927]
52631         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52632         value.
52633         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52634         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52635         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52636         for explicit high bit of mantissa when testing for argument equal
52637         to 1.
52638         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52639         * sysdeps/i386/fpu/libm-test-ulps: Update.
52640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52642         [BZ #16516]
52643         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52644         (__erf): Scale by 16 instead of 8 in potentially underflowing
52645         case.  Ensure exception if result actually underflows.
52646         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52647         (__erff): Scale by 16 instead of 8 in potentially underflowing
52648         case.  Ensure exception if result actually underflows.
52649         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52650         (efx8): Remove variable.
52651         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52652         case.  Ensure exception if result actually underflows.
52653         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52654         (efx8): Remove variable.
52655         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52656         case.  Ensure exception if result actually underflows.
52657         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52658         (efx8): Remove variable.
52659         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52660         case.  Ensure exception if result actually underflows.
52661         * math/auto-libm-test-in: Add more tests of erf.
52662         * math/auto-libm-test-out: Regenerated.
52664 2014-05-14  Andreas Schwab  <schwab@suse.de>
52666         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52667         Remove code conditionalized on USE___THREAD.
52669         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52670         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52671         not definedness.
52673 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52675         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52676         Define unconditionally.
52677         (__ASSUME_O_CLOEXEC): Likewise.
52678         (__ASSUME_SOCK_CLOEXEC): Likewise.
52679         (__ASSUME_IN_NONBLOCK): Likewise.
52680         (__ASSUME_PIPE2): Likewise.
52681         (__ASSUME_EVENTFD2): Likewise.
52682         (__ASSUME_SIGNALFD4): Likewise.
52683         (__ASSUME_DUP3): Likewise.
52684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52685         (__ASSUME_DUP3): Do not define.
52686         (__ASSUME_EVENTFD2): Likewise.
52687         (__ASSUME_IN_NONBLOCK): Likewise.
52688         (__ASSUME_O_CLOEXEC): Likewise.
52689         (__ASSUME_PIPE2): Likewise.
52690         (__ASSUME_SIGNALFD4): Likewise.
52691         (__ASSUME_SOCK_CLOEXEC): Likewise.
52692         (__ASSUME_UTIMES): Undefine.
52693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52694         (__ASSUME_UTIMES): Do not define.
52695         (__ASSUME_O_CLOEXEC): Likewise.
52696         (__ASSUME_SOCK_CLOEXEC): Likewise.
52697         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52698         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52699         0x020621].
52700         (__ASSUME_PIPE2): Likewise.
52701         (__ASSUME_EVENTFD2): Likewise.
52702         (__ASSUME_SIGNALFD4): Likewise.
52703         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52704         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52705         Do not define.
52706         (__ASSUME_EVENTFD2): Likewise.
52707         (__ASSUME_SIGNALFD4): Likewise.
52708         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52709         (__ASSUME_32BITUIDS): Likewise.
52710         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52711         (__ASSUME_IPC64): Likewise.
52712         (__ASSUME_ST_INO_64_BIT): Likewise.
52713         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52714         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52715         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52716         (__ASSUME_UTIMES): Do not define.
52717         (__ASSUME_PSELECT): Likewise.
52718         (__ASSUME_PPOLL): Likewise.
52719         (__ASSUME_O_CLOEXEC): Likewise.
52720         (__ASSUME_SOCK_CLOEXEC): Likewise.
52721         (__ASSUME_IN_NONBLOCK): Likewise.
52722         (__ASSUME_PIPE2): Likewise.
52723         (__ASSUME_EVENTFD2): Likewise.
52724         (__ASSUME_SIGNALFD4): Likewise.
52725         (__ASSUME_DUP3): Likewise.
52726         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52727         (__ASSUME_UTIMES): Likewise.
52728         (__ASSUME_O_CLOEXEC): Likewise.
52729         (__ASSUME_SOCK_CLOEXEC): Likewise.
52730         (__ASSUME_IN_NONBLOCK): Likewise.
52731         (__ASSUME_PIPE2): Likewise.
52732         (__ASSUME_EVENTFD2): Likewise.
52733         (__ASSUME_SIGNALFD4): Likewise.
52734         (__ASSUME_DUP3): Likewise.
52735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52736         (__ASSUME_UTIMES): Likewise.
52737         (__ASSUME_O_CLOEXEC): Likewise.
52738         (__ASSUME_SOCK_CLOEXEC): Likewise.
52739         (__ASSUME_IN_NONBLOCK): Likewise.
52740         (__ASSUME_PIPE2): Likewise.
52741         (__ASSUME_EVENTFD2): Likewise.
52742         (__ASSUME_SIGNALFD4): Likewise.
52743         (__ASSUME_DUP3): Likewise.
52744         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52745         Likewise.
52746         (__ASSUME_UTIMES): Likewise.
52747         (__ASSUME_EVENTFD2): Likewise.
52748         (__ASSUME_SIGNALFD4): Likewise.
52749         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52750         (__ASSUME_O_CLOEXEC): Likewise.
52751         (__ASSUME_SOCK_CLOEXEC): Likewise.
52752         (__ASSUME_IN_NONBLOCK): Likewise.
52753         (__ASSUME_PIPE2): Likewise.
52754         (__ASSUME_EVENTFD2): Likewise.
52755         (__ASSUME_SIGNALFD4): Likewise.
52756         (__ASSUME_DUP3): Likewise.
52757         (__ASSUME_UTIMES): Undefine.
52759         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52760         feclearexcept.  Remove symbol versioning code.
52761         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52762         symbol versioning code.
52763         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52764         symbol versioning code.
52765         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52766         feupdateenv.  Remove symbol versioning code.
52767         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52768         fegetexceptflag.  Remove symbol versioning code.
52769         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52770         fesetexceptflag.  Remove symbol versioning code.
52771         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52772         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52773         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52774         (__posix_fadvise64_l32): Remove prototype.
52775         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52776         code.
52778 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52780         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52781         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52782         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52783         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52785 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52787         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52788         current working directory
52790 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52792         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52793         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52794         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52795         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52796         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52797         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52798         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52799         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52800         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52801         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52802         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52803         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52804         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52805         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52806         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52807         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52808         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52809         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52810         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52811         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52812         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52813         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52814         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52815         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52816         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52817         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52818         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52819         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52820         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52821         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52822         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52823         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52824         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52825         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52826         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52827         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52828         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52829         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52830         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52831         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52832         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52833         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52835         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52836         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52838         * sysdeps/unix/sysv/linux/arm/Makefile
52839         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52840         Add rt-aeabi_unwind_cpp_pr1.
52841         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52842         Add nptl-aeabi_unwind_cpp_pr1.
52843         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52844         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52845         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52846         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52847         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52848         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52850         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52851         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52852         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52853         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52855         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52856         Deconditionalize the code that was previously under [RESET_PID].
52857         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52859         * sysdeps/generic/exit-thread.h: New file.
52860         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52861         * include/unistd.h (__exit_thread): Remove declaration.
52862         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52863         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52864         * csu/libc-start.c: Include <exit-thread.h>.
52865         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52866         * nptl/pthread_create.c: Include <exit-thread.h>.
52867         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52868         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52869         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52870         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52871         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52872         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52873         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52874         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52875         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52876         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52877         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52878         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52879         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52880         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52881         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52882         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52883         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52885 2014-05-13  Andreas Schwab  <schwab@suse.de>
52887         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52889 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52891         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52892         (__ASSUME_UTIMES): Do not condition on kernel version.
52893         (__ASSUME_PSELECT): Define unconditionally.
52894         (__ASSUME_PPOLL): Likewise.
52895         (__ASSUME_ATFCTS): Likewise.
52896         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52897         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52898         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52899         (__ASSUME_UTIMENSAT): Define unconditionally.
52900         (__ASSUME_PRIVATE_FUTEX): Likewise.
52901         (__ASSUME_FALLOCATE): Likewise.
52902         (__ASSUME_O_CLOEXEC): Likewise.
52903         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52904         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52905         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52906         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52907         (__ASSUME_IN_NONBLOCK): Likewise.
52908         (__ASSUME_PIPE2): Likewise.
52909         (__ASSUME_EVENTFD2): Likewise.
52910         (__ASSUME_SIGNALFD4): Likewise.
52911         (__ASSUME_DUP3): Likewise.
52912         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52913         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52914         (__ASSUME_AT_RANDOM): Likewise.
52915         (__ASSUME_PREADV): Likewise.
52916         (__ASSUME_PWRITEV): Likewise.
52917         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52918         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52919         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52920         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52921         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52922         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52923         (__ASSUME_O_CLOEXEC): Define unconditionally.
52924         (__ASSUME_PSELECT): Do not undefine conditionally.
52925         (__ASSUME_PPOLL): Likewise.
52926         (__ASSUME_ATFCTS): Likewise.
52927         (__ASSUME_SET_ROBUST_LIST): Likewise.
52928         (__ASSUME_UTIMENSAT): Likewise.
52929         (__ASSUME_FDATASYNC): Define unconditionally.
52930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52931         (__ASSUME_SIGFRAME_V2): Likewise.
52932         )__ASSUME_EVENTFD2): Likewise.
52933         (__ASSUME_SIGNALFD4): Likewise.
52934         (__ASSUME_PSELECT): Do not undefine conditionally.
52935         (__ASSUME_PPOLL): Likewise.
52936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52937         (__ASSUME_PSELECT): Define unconditionally.
52938         (__ASSUME_PPOLL): Likewise.
52939         (__ASSUME_O_CLOEXEC): Likewise.
52940         (__ASSUME_SOCK_CLOEXEC): Likewise.
52941         (__ASSUME_IN_NONBLOCK): Likewise.
52942         (__ASSUME_PIPE2): Likewise.
52943         (__ASSUME_EVENTFD2): Likewise.
52944         (__ASSUME_SIGNALFD4): Likewise.
52945         (__ASSUME_DUP3): Likewise.
52946         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52947         (__ASSUME_O_CLOEXEC): Likewise.
52948         (__ASSUME_SOCK_CLOEXEC): Likewise.
52949         (__ASSUME_IN_NONBLOCK): Likewise.
52950         (__ASSUME_PIPE2): Likewise.
52951         (__ASSUME_EVENTFD2): Likewise.
52952         (__ASSUME_SIGNALFD4): Likewise.
52953         (__ASSUME_DUP3): Likewise.
52954         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52955         (__ASSUME_EVENTFD2): Likewise.
52956         (__ASSUME_SIGNALFD4): Likewise.
52957         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52959 2014-05-12  Andreas Schwab  <schwab@suse.de>
52961         [BZ #16932]
52962         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52963         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52964         than maximum RPC packet size.
52965         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52966         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52967         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52968         (_nss_nis_getservbyport_r): Likewise.
52970 2014-05-12  Will Newton  <will.newton@linaro.org>
52972         * malloc/Makefile (tests): Add tst-mallopt.
52973         * malloc/tst-mallopt.c: New file.
52975 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52977         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52978         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52980 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52982         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52983         (tst-tlsmod6.so): Likewise.
52985 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52987         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52989 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52991         [BZ #16064]
52992         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52993         and <dl-procinfo.h>.
52994         (__fegetenv): Save SSE state in envp->__eip if supported.
52995         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52996         envp->__eip if supported.
52997         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52998         and <dl-procinfo.h>.
52999         (__fesetenv): Always set __eip, __cs_selector, __opcode,
53000         __data_offset and __data_selector in environment to 0.  Set SSE
53001         state if supported.
53002         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
53003         test-fenv-sse.
53004         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
53005         -mfpmath=sse.
53006         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
53008 2014-05-09  Will Newton  <will.newton@linaro.org>
53010         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53011         and libc_relro_required for ARM.
53012         * sysdeps/arm/preconfigure: Regenerate.
53014 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
53015             Stefan Liebler  <stli@linux.vnet.ibm.com>
53017         * config.make.in (enable-lock-elision): New Makefile variable.
53018         * configure.ac: Likewise.
53019         * configure: Regenerate.
53020         * sysdeps/s390/configure.ac:
53021         Add check for gcc transactions support.
53022         * sysdeps/s390/configure: Regenerate.
53023         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
53024         Build elision files if enabled.
53025         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
53026         Add lock elision support for s390.
53027         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53028         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
53029         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
53030         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
53031         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53032         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
53033         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
53034         Likewise.
53035         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53036         Likewise.
53037         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
53038         Likewise.
53039         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
53040         Likewise.
53041         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
53042         (__lll_timedlock_elision, __lll_lock_elision)
53043         (__lll_unlock_elision, __lll_trylock_elision)
53044         (lll_timedlock_elision, lll_lock_elision)
53045         (lll_unlock_elision, lll_trylock_elision): Add.
53046         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53047         (pthread_mutex_t): Add lock elision support for s390.
53049 2014-05-14  Wilco  <wdijkstr@arm.com>
53051         * sysdeps/arm/fclrexcpt.c: Cleanup.
53052         * sysdeps/arm/fedisblxcpt.c: Cleanup.
53053         * sysdeps/arm/feenablxcpt.c: Cleanup.
53054         * sysdeps/arm/fegetenv.c: Cleanup.
53055         * sysdeps/arm/fegetexcept.c: Cleanup.
53056         * sysdeps/arm/fegetround.c: Cleanup.
53057         * sysdeps/arm/feholdexcpt.c: Cleanup.
53058         * sysdeps/arm/fesetenv.c: Cleanup.
53059         * sysdeps/arm/fesetround.c: Cleanup.
53060         * sysdeps/arm/feupdateenv.c: Cleanup.
53061         * sysdeps/arm/fgetexcptflg.c: Cleanup.
53062         * sysdeps/arm/fraiseexcpt.c: Cleanup.
53063         * sysdeps/arm/fsetexcptflg.c: Cleanup.
53064         * sysdeps/arm/ftestexcept.c: Cleanup.
53065         * sysdeps/arm/get-rounding-mode.h: Cleanup.
53066         * sysdeps/arm/setfpucw.c: Cleanup.
53068 2014-05-09  Will Newton  <will.newton@linaro.org>
53070         * sysdeps/arm/armv7/strcmp.S: New file.
53071         * NEWS: Mention addition of ARMv7 optimized strcmp.
53073 2014-05-08  Roland McGrath  <roland@hack.frob.com>
53075         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53076         look for %.ac rather than %.in.
53078         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53079         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53080         * sysdeps/mach/hurd/configure: Regenerated.
53081         * sysdeps/unix/sysv/linux/configure: Regenerated.
53083         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53085 2014-05-07  Steve Ellcey  <sellcey@mips.com>
53087         [BZ #16922]
53088         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53089         (LONG_SUB): Ditto.
53090         (PTR_SUB): Ditto.
53092 2014-05-07  Andreas Schwab  <schwab@suse.de>
53094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53095         when skipping over non-matching result from nscd.
53097 2014-05-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
53099         [BZ #16876]
53100         * nptl/sockperf.c (client): Check socket return value.
53102         [BZ #16877]
53103         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53104         nscd security class.
53106 2014-05-06  Roland McGrath  <roland@hack.frob.com>
53108         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53109         * sysdeps/arm/unwind.h: ... here.
53111 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
53113         [BZ #16916]
53114         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53115         Define.
53117 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53119         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53120         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53121         multiarch strncpy for PPC64.
53122         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53123         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53125         multiarch optimizations.
53126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53127         (__libc_ifunc_impl_list): Likewise.
53128         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53129         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53130         multiarch stpncpy for PPC64.
53131         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53134 2014-05-06  Andreas Schwab  <schwab@suse.de>
53136         [BZ #16912]
53137         * gmon/mcount.c (_MCOUNT_DECL): Use
53138         atomic_compare_and_exchange_bool_acq instead of
53139         catomic_compare_and_exchange_bool_acq.
53141 2014-05-05  Roland McGrath  <roland@hack.frob.com>
53143         * elf/Makefile (others, install-bin): Remove pldd.
53144         (pldd-modules): Variable removed.
53145         ($(objpfx)pldd): Target removed.
53146         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53147         (others, install-bin): Append pldd here.
53148         ($(objpfx)pldd): New target.
53150         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53151         to 0, so the first #if test emitted later doesn't see it undefined.
53152         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53153         * sysdeps/gnu/errlist.c: Regenerated.
53155 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53157         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53158         [libc_hidden_builtin_def]: Define to empty value.
53159         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53160         [libc_hidden_builtin_def]: Likewise.
53161         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53162         [libc_hidden_builtin_def]: Likewise.
53163         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53164         [libc_hidden_builtin_def]: Likewise.
53165         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53166         __redirect_memcpy and define ifunc as default hidden symbol.
53167         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53168         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53170 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53172         * locale/iso-4217.def: Reintroduce XDR currency.
53174 2014-05-04  Allan McRae  <allan@archlinux.org>
53176         * po/eo.po: Update Esperanto translation from translation project.
53178 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53180         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53181         and FEATURE_INDEX_MAX to 1.
53182         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53184 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53186         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53187         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53188         * iconvdata/big5.c (ONE_DIRECTION): Define.
53189         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53190         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53191         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53192         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53193         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53194         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53195         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53196         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53197         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53198         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53199         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53200         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53201         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53202         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53203         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53204         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53205         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53206         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53207         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53208         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53209         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53210         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53211         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53212         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53213         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53214         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53215         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53216         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53217         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53218         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53219         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53220         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53221         * iconvdata/johab.c (ONE_DIRECTION): Define.
53222         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53223         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53224         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53225         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53226         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53227         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53228         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53229         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53230         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53231         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53233 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53235         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53236         (_IO_JUMPS_OFFSET): Define to 0.
53238         * nptl/sysdeps/pthread/bits/libc-lock.h
53239         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53240         (__libc_lock_define_initialized_recursive): Always define using
53241         initializer.  Modern compilers treat uninitialized (implicit zero) and
53242         explicit zero initializers the same (i.e. put the datum in bss).
53244 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53246         * nscd/nscd-client.h: Include <string.h>.
53248 2014-05-01  David S. Miller  <davem@davemloft.net>
53250         [BZ #16885]
53251         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53252         multiple zero bytes exist at the end of a string.
53253         Reported by Aurelien Jarno <aurelien@aurel32.net>
53255         * string/test-strcmp.c (check): Add explicit test for situations where
53256         there are multiple zero bytes after the first.
53258 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53260         [BZ #16890]
53261         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53262         when compiling wprintf.
53263         * stdio-common/tstdiomisc.c (t3): New function.
53264         (main): Call it.
53266 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53268         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53269         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53270         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53271         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53273 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53275         * stdlib/longlong.h: Updated from GCC.
53277 2014-05-01  Will Newton  <will.newton@linaro.org>
53278             Bernard Ogden  <bernie.ogden@linaro.org>
53280         * NEWS: Update fixed bug list.
53282         [BZ #15119]
53283         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53285 2014-04-30  David S. Miller  <davem@davemloft.net>
53287         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53288         (libc_feholdexcept_setround_sparc_ctx): New function.
53289         (libc_fesetenv_sparc_ctx): Likewise.
53290         (libc_feupdateenv_sparc_ctx): Likewise.
53291         (libc_feholdsetround_sparc_ctx): Likewise.
53292         (libc_feholdexcept_setround_ctx): Define.
53293         (libc_feholdexcept_setroundf_ctx): Likewise.
53294         (libc_feholdexcept_setroundl_ctx): Likewise.
53295         (libc_fesetenv_ctx): Likewise.
53296         (libc_fesetenvf_ctx): Likewise.
53297         (libc_fesetenvl_ctx): Likewise.
53298         (libc_feupdateenv_ctx): Likewise.
53299         (libc_feupdateenvf_ctx): Likewise.
53300         (libc_feupdateenvl_ctx): Likewise.
53301         (libc_feresetround_ctx): Likewise.
53302         (libc_feresetroundf_ctx): Likewise.
53303         (libc_feresetroundl_ctx): Likewise.
53304         (libc_feholdsetround_ctx): Likewise.
53305         (libc_feholdsetroundf_ctx): Likewise.
53306         (libc_feholdsetroundl_ctx): Likewise.
53308         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53309         with __USE_GNU instead of XOPEN cpp guards.
53311         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53312         0.
53314         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53315         with XOPEN cpp guards.
53317 2014-04-30  Julian Brown  <julian@codesourcery.com>
53319         [BZ #16888]
53320         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53321         handling.
53323 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53325         [BZ #9894]
53326         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53327         Change to 2.6.32.
53328         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53329         * sysdeps/unix/sysv/linux/configure: Regenerated.
53330         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53331         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53332         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53333         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53334         * README: Update reference to required Linux kernel version.
53335         * manual/install.texi (Linux): Update reference to required Linux
53336         kernel headers version.
53337         * INSTALL: Regenerated.
53339         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53340         header inclusion.
53341         [POSIX] (limits.h): Likewise.
53342         [POSIX] (math.h): Likewise.
53343         [POSIX] (sys/wait.h): Likewise.
53344         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53345         function.
53346         [POSIX] (stddef.h): Do not allow header inclusion.
53348 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53350         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53352 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53354         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53355         Return immediately after lll_futex_wake.
53357 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53359         [BZ #16791]
53360         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53361         structure.
53362         (datahead_init_pos): Call datahead_init_common early.
53363         (datahead_init_neg): Likewise.
53365         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53366         datahead_init_neg): New functions.
53367         * nscd/aicache.c (addhstaiX): Use them.
53368         * nscd/grpcache.c (cache_addgr): Likewise.
53369         * nscd/hstcache.c (cache_addhst): Likewise.
53370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53371         * nscd/netgroupcache.c (do_notfound): Likewise.
53372         (addgetnetgrentX): Likewise.
53373         (addinnetgrX): Likewise.
53374         * nscd/pwdcache.c (cache_addpw): Likewise.
53375         * nscd/servicescache.c (cache_addserv): Likewise.
53377 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53378             Atsushi Onoe  <atsushi@onoe.org>
53380         [BZ #14308]
53381         [BZ #12994]
53382         [BZ #13651]
53383         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53384         one response is valid.
53385         * resolv/res_send.c (send_dg): Check for validity of other
53386         response if the current response is a referral.
53388 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53390         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53392 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53394         [BZ #16823]
53395         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53396         Always divide by positive zero when computing -Inf result.
53397         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53398         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53400 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53402         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53403         FPSCR if value do not change.
53404         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53405         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53406         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53407         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53408         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53409         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53410         function.
53412 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53414         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53415         * sysdeps/unix/sysv/linux/hppa: Move directory from
53416         ports/systeps/unix/sysv/linux/hppa.
53417         * README: Update listing for hppa-*-linux-gnu.
53419 2014-04-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
53421         [BZ #16754]
53422         * manual/stdio.texi (Hook functions): Fix types of stream hook
53423         functions.
53424         [BZ #16854]
53425         * socket/sys/socket.h: Fix typo in comment.
53427 2014-04-28  Wilco  <wdijkstr@arm.com>
53429         * sysdeps/arm/fenv_private.h: New file.
53430         * sysdeps/arm/math_private.h: New file.
53431         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53433 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53435         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53436         with __int128_t.
53437         (La_x86_64_retval): Likewise.
53439 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53441         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53442         fpsr if value didn't change.
53443         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53444         to fpcr if value didn't change.
53445         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53446         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53447         fpsr or fpcr if value didn't change.
53448         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53449         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53450         fpcr if value didn't change.
53451         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53452         to fpsr if value didn't change.
53454 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53456         * nptl/tst-sem3.c: Use test-skeleton.c
53457         (main): Rename to do_test.  Use return instead of
53458         exit.
53459         * nptl/tst-sem4.c: Use test-skeleton.c
53460         (main): Rename to do_test.
53462 2014-04-22  David S. Miller  <davem@davemloft.net>
53464         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53465         (struct sigaction): New struct member __glibc_reserved0, change
53466         type of sa_flags to int.
53468 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53470         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53471         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53473 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53475         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53476         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53478 2014-04-22  Will Newton  <will.newton@linaro.org>
53479             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53481         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53482         (__longjmp): Add longjmp and longjmp_target SystemTap
53483         probes.
53484         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53485         (__sigsetjmp): Add setjmp SystemTap probe.
53487 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53489         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53490         match manual order.
53492 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53494         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53496         * sysdeps/powerpc/fpu/fenv_private.h
53497         (libc_feholdexcept_setroundl_ctx): Define to
53498         libc_feholdexcept_setround_ppc_ctx.
53499         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53500         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53501         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53502         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53504 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53506         * sysdeps/aarch64/math-tests.h: New file.
53508 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53510         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53511         New.
53512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53513         Check and set bit_AVX2_Usable.
53514         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53515         macro.
53516         (bit_AVX2): Likewise.
53517         (index_AVX2_Usable): Likewise.
53518         (CPUID_AVX2): Likewise.
53519         (HAS_AVX2): Likewise.
53521 2014-04-17  Will Newton  <will.newton@linaro.org>
53523         * manual/setjmp.texi (System V contexts): Add note that
53524         calling setcontext on a context created by a call to a
53525         signal handler is undefined.  Update text to note that
53526         setcontext from a signal handler is possible but not
53527         recommended.
53529         [BZ #16629]
53530         * stdlib/tst-setcontext.c: Include signal.h.
53531         (main): Check that the signal stack before and
53532         after swapcontext is the same.
53534         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53535         Re-implement to restore registers in user code and avoid
53536         rt_sigreturn system call.
53538 2014-04-17  Wilco  <wdijkstr@arm.com>
53540         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53541         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53542         * math/test-fenv.c: Skip exception trap tests on targets which only
53543         support non-stop mode.
53545 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53546             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53548         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53549         (libc_feholdsetround_aarch64_ctx)
53550         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53551         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53552         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53553         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53554         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53555         (libc_feresetround_noexl_ctx): Define.
53557 2014-04-16  Richard Henderson  <rth@redhat.com>
53559         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53561         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53562         unwind tables.
53564         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53565         const from the non-libc, non-ldso copy.
53567         * sysdeps/alpha/libm-test-ulps: Regenerate.
53569 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53570             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53572         * sysdeps/aarch64/fpu/math_private.h: New file.
53574 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53576         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53578 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53580         [BZ #16275]
53581         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53582         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53584         Intel MPX bound registers before _dl_profile_fixup.
53585         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53586         registers after _dl_profile_fixup.  Save and restore bound
53587         registers bnd0/bnd1 when calling _dl_call_pltexit.
53588         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53589         (LR_BND_OFFSET): Likewise.
53590         (LRV_BND0_OFFSET): Likewise.
53591         (LRV_BND1_OFFSET): Likewise.
53593 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53595         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53596         to...
53597         * sysdeps/mach/hurd/i386/tls.h: ... here.
53598         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53599         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53600         fields.
53602 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53604         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53606 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53608         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53610 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53612         [BZ #14770]
53613         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53614         * sysdeps/s390/configure: Regenerate.
53616         [BZ #16824]
53617         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53618         Set round-to-nearest internally to reduce error accumulation.
53620 2014-04-16  Alan Modra  <amodra@gmail.com>
53622         [BZ #16740]
53623         [BZ #16619]
53624         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53625         * math/libm-test.inc (frexp_test_data): Add tests.
53626         * NEWS: Update fixed bug list.
53628 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53630         * benchtests/Makefile: Depend on libraries in build directory.
53631         (bench-math): Separate out math tests.
53632         (bench-pthread): Separate out pthread tests.
53633         (bench): Include math and pthread tests.
53635 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53637         [BZ #16831]
53638         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53639         _dl_debug_initialize.
53641         * configure.ac: Remove SELinux header check.
53642         * configure: Regenerate.
53643         * nscd/selinux.c (perms): Array of const char* to permission names.
53644         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53645         default policy. Call string_to_security_class and string_to_av_perm to
53646         translate strings. Enforce default policy and call avs_has_perm with
53647         results of translated strings.
53649 2014-04-13  David S. Miller  <davem@davemloft.net>
53651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53653 2014-04-12  Allan McRae  <allan@archlinux.org>
53655         [BZ #16838]
53656         * manual/string.texi (Collation Functions): Fix qsort argument
53657         order in example.
53658         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53660 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53662         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53663         Make the test a no-op if there are no exceptions defined.
53665 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53667         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53668         enable-hardcoded-path-in-tests
53670 2014-04-11  Will Newton  <will.newton@linaro.org>
53672         * benchtests/Makefile (extra-objs): Add json-lib.o.
53673         (bench-func): Tidy up JSON output.
53674         * benchtests/bench-skeleton.c: Include json-lib.h.
53675         (main): Use JSON library functions to do output of
53676         benchmark results.
53677         * benchtests/bench-timing-type.c (main): Output the
53678         timing type simply, leaving formatting to the user.
53679         * benchtests/json-lib.c: New file.
53680         * benchtests/json-lib.h: Likewise.
53682 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53684         [BZ #15215]
53685         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53686         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53687         memory barriers.  Add comments.
53688         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53689         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53690         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53691         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53692         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53693         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53695 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53697         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53698         * sysdeps/s390/s390-64/configure.ac: ... this ...
53699         * sysdeps/s390/configure.ac: ... to here.
53700         * sysdeps/s390/s390-32/configure: Delete file.
53701         * sysdeps/s390/s390-64/configure: Delete file.
53702         * sysdeps/s390/configure: Regenerate.
53704 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53706         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53708 2014-04-11  Will Newton  <will.newton@linaro.org>
53710         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53711         to zero if it is not defined elsewhere.  (mtrim): Test
53712         the value of MALLOC_DEBUG with #if rather than #ifdef.
53714 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53716         * benchtests/pthread_once-inputs: New file.
53717         * benchtests/pthread_once-source.c: New file.
53718         * benchtests/README: Update documentation.
53720 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53721             H.J. Lu  <hongjiu.lu@intel.com>
53723         [BZ #16275]
53724         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53725         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53726         * sysdeps/x86_64/configure: Regenerated.
53727         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53728         macro.
53729         (REGISTER_SAVE_RAX): Likewise.
53730         (REGISTER_SAVE_RCX): Likewise.
53731         (REGISTER_SAVE_RDX): Likewise.
53732         (REGISTER_SAVE_RSI): Likewise.
53733         (REGISTER_SAVE_RDI): Likewise.
53734         (REGISTER_SAVE_R8): Likewise.
53735         (REGISTER_SAVE_R9): Likewise.
53736         (REGISTER_SAVE_BND0): Likewise.
53737         (REGISTER_SAVE_BND1): Likewise.
53738         (REGISTER_SAVE_BND2): Likewise.
53739         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53740         bound registers when calling _dl_fixup.
53742 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53744         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53745         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53746         of its definition.
53747         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53748         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53749         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53750         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53751         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53752         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53753         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53755 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53757         [BZ #15514]
53758         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53759         pathconf(_PC_NAME_MAX).
53761 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53763         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53764         Remove macro usage.
53765         (__PTHREAD_SPINS): Move definition to ...
53766         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53767         (__PTHREAD_SPINS): ... here.
53768         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53769         (__PTHREAD_SPIN): Likewise.
53770         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53771         (__PTHREAD_SPIN): Likewise.
53772         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53773         (__PTHREAD_SPIN): Likewise.
53774         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53775         (__PTHREAD_SPIN): Likewise.
53776         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53777         (__PTHREAD_SPIN): Likewise.
53778         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53779         (__PTHREAD_SPIN): Likewise.
53780         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53781         (__PTHREAD_SPIN): Likewise.
53782         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53783         (__PTHREAD_SPIN): Likewise.
53784         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53785         (__PTHREAD_SPIN): Likewise.
53786         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53787         (__PTHREAD_SPIN): Likewise.
53788         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53789         (__PTHREAD_SPIN): Likewise.
53790         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53791         (__PTHREAD_SPIN): Likewise.
53793         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53794         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53795         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53796         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53797         imply folder.
53798         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53799         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53800         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53801         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53802         correct imply path.
53803         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53804         strlen symbol for non multi-arch builds.
53805         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53806         missing hidden_def and weak_alias.
53808 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53810         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53812 2014-04-07  Will Newton  <will.newton@linaro.org>
53814         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53815         and contents.  [!_LIBC] Remove #ifndef and contents.
53816         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53817         * string/memccpy.c (__memccpy): Use ANSI prototype.
53818         * string/memfrob.c (memfrob): Likewise.
53819         * string/strcoll.c (STRCOLL): Likewise.
53820         * string/strlen.c (strlen): Likewise.
53821         * string/strtok.c (STRTOK): Likewise.
53822         * string/strcat.c: Remove unused #include of memcopy.h.
53823         (strcat): Use ANSI prototype.
53824         * string/strchr.c: Remove unused #include of memcopy.h.
53825         (strchr): Use ANSI prototype.
53826         * string/strcmp.c: Remove unused #include of memcopy.h.
53827         (strcmp): Use ANSI prototype.
53828         * string/strcpy.c: Remove unused #include of memcopy.h.
53829         (strcpy): Use ANSI prototype.
53831 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53833         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53834         * config.make.in (config-extra-cppflags): Set it from
53835         libc_extra_cppflags.
53836         * configure.ac (libc_extra_cflags): Make it accumulate over
53837         configure fragments.
53838         (libc_extra_cppflags): New flag.
53839         * configure. Regenerate.
53840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53841         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53842         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53845         [BZ #16815]
53846         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53847         result for FE_DOWNWARD rounding mode.
53848         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53849         Likewise.
53850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53852 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53854         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53855         in function argument name.
53857 2014-04-03  David Svoboda  <svoboda@cert.org>
53859         [BZ #5666]
53860         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53861         explicitly.
53863 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53865         * elf/dl-unmap-segments.h: New file.
53866         * sysdeps/generic/ldsodefs.h
53867         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53868         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53869         * elf/dl-fptr.c: Likewise.
53870         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53871         * sysdeps/aarch64/tlsdesc.c: Likewise.
53872         * sysdeps/arm/tlsdesc.c: Likewise.
53873         * sysdeps/i386/tlsdesc.c: Likewise.
53874         * sysdeps/tile/dl-runtime.c: Likewise.
53875         * sysdeps/x86_64/tlsdesc.c: Likewise.
53876         * elf/dl-load.h: New file.
53877         * elf/dl-load.c: Include it.
53878         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53879         Macros moved to dl-load.h.
53880         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53881         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53882         Use _dl_unmap_segments in place of __munmap.
53883         Break out segment-mapping loop into ...
53884         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53886 2014-04-03  Will Newton  <will.newton@linaro.org>
53888         * elf/dl-lookup.c (do_lookup_x): Remove comment
53889         referring to nested function and move variable
53890         declarations down to before first use.
53892 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53894         [BZ #16799]
53895         [BZ #16800]
53896         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53897         with 0 numerator.
53898         * math/s_catanf.c (__catanf): Likewise.
53899         * math/s_catanh.c (__catanh): Likewise.
53900         * math/s_catanhf.c (__catanhf): Likewise.
53901         * math/s_catanhl.c (__catanhl): Likewise.
53902         * math/s_catanl.c (__catanl): Likewise.
53903         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53904         by positive zero when computing -Inf result.
53905         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53906         (catanh_test): Likewise.
53907         * sysdeps/i386/fpu/libm-test-ulps: Update.
53908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53910         [BZ #16789]
53911         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53912         instead of using underflowing value in computing result.
53913         * math/s_clog10.c (__clog10): Likewise.
53914         * math/s_clog10f.c (__clog10f): Likewise.
53915         * math/s_clog10l.c (__clog10l): Likewise.
53916         * math/s_clogf.c (__clogf): Likewise.
53917         * math/s_clogl.c (__clogl): Likewise.
53918         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53919         (clog10_test): Likewise.
53920         * sysdeps/i386/fpu/libm-test-ulps: Update.
53921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53923 2014-04-02  Alan Modra  <amodra@gmail.com>
53925         [BZ #16739]
53926         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53927         output when value is near a power of two.  Use int64_t for lx and
53928         remove casts.  Use decimal rather than hex exponent constants.
53929         Don't use long double multiplication when double will suffice.
53930         * math/libm-test.inc (nextafter_test_data): Add tests.
53931         * NEWS: Add 16739 and 16786 to bug list.
53933         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53935         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53937 2014-04-01  Will Newton  <will.newton@linaro.org>
53939         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53940         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53942 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53944         [BZ #13347]
53945         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53946         * nptl/tst-setuid2.c: New file.
53947         * nptl/Makefile (xtests): Add tst-setuid2.
53949 2014-04-01  Alan Modra  <amodra@gmail.com>
53951         [BZ #16786]
53952         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53954 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53956         [BZ #6803]
53957         [BZ #6804]
53958         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53959         set errno as appropriate.
53960         * math/w_scalbf.c (__scalbf): Likewise.
53961         * math/w_scalbl.c (__scalbl): Likewise.
53962         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53963         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53964         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53965         Add more NaN tests.
53967         [BZ #16349]
53968         * math/w_atan2.c: Include <errno.h>.
53969         (__atan2): Set errno for result underflowing to zero.
53970         * math/w_atan2f.c: Include <errno.h>.
53971         (__atan2f): Set errno for result underflowing to zero.
53972         * math/w_atan2l.c: Include <errno.h>.
53973         (__atan2l): Set errno for result underflowing to zero.
53974         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53975         tests.
53976         * math/auto-libm-test-out: Regenerated.
53978 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53980         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53981         Encode instruction correctly in little endian.
53982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53983         Likewise.
53984         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53985         Likewise.
53986         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53987         Likewise.
53988         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53989         Likewise.
53991 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53993         [BZ #9894]
53994         * sysdeps/unix/sysv/linux/kernel-features.h
53995         [__sparc__ && !__arch64__ && !__sparc_v9__]
53996         (__ASSUME_SET_ROBUST_LIST): Do not define.
53997         [__sparc__ && !__arch64__ && !__sparc_v9__]
53998         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53999         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
54000         Likewise.
54001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54002         (__ASSUME_FUTEX_LOCK_PI): Undefine.
54003         (__ASSUME_REQUEUE_PI): Likewise.
54004         (__ASSUME_SET_ROBUST_LIST): Likewise.
54005         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54006         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
54007         Undefine.
54008         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54009         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
54010         Likewise.
54011         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
54012         Likewise.
54013         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
54014         Likewise.
54015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54016         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
54017         Undefine.
54018         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
54019         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
54020         Likewise.
54022         [BZ #16648]
54023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54024         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
54025         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
54027 2014-03-31  Will Newton  <will.newton@linaro.org>
54029         * benchtests/Makefile (bench): Add ffs and ffsll to list
54030         of tests.
54031         * benchtests/ffs-inputs: New file.
54032         * benchtests/ffsll-inputs: Likewise.
54034 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
54036         [BZ #16770]
54037         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
54038         too large before casting to int.
54039         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
54040         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
54041         * math/libm-test.inc (scalb_test_data): Add more tests.
54043 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54045         * benchtests/Makefile (DETAILED_OPT): New make option.
54046         (bench-func): Run benchmark program with -d if DETAILED_OPT is
54047         set.
54048         * benchtests/bench-skeleton.c: Include stdbool.h.
54049         (main): Store and print timings per input.
54050         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
54051         member to each argument value.
54052         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
54053         (_print_arg_data): Initialize per-input timing to 0.
54055         * benchtests/Makefile (timing-type): New binary.
54056         (bench-clean): Also remove bench-timing-type.
54057         (bench): New target for timing-type.
54058         (bench-func): Print output in JSON format.
54059         * benchtests/bench-skeleton.c (main): Print output in JSON
54060         format.
54061         * benchtests/bench-timing-type.c: New file.
54062         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54063         (TIMING_PRINT_STATS): Remove.
54064         * benchtests/scripts/bench.py (_print_arg_data): Store variant
54065         name separately.
54067         * benchtests/bench-modf.c: Remove.
54068         * benchtests/modf-inputs: New inputs file.
54070 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
54072         [BZ #16362]
54073         * math/s_clog10.c (M_PI_LOG10E): New macro.
54074         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54075         imaginary parts are 0.
54076         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54077         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54078         imaginary parts are 0.
54079         * math/s_clog10l.c (M_PI_LOG10El): New macro.
54080         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54081         imaginary parts are 0.
54082         * math/libm-test.inc (clog10_test_data): Update expected results
54083         for when real and imaginary parts are 0.
54085 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
54087         * elf/dl-load.c: Finish conversion of __builtin_expect into
54088         __glibc_{un}likely.
54090 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
54092         [BZ #16348]
54093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54094         1+x for argument with exponent below -67.
54095         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54096         Likewise.
54097         * math/auto-libm-test-in: Add more tests of exp.
54098         * math/auto-libm-test-out: Regenerated.
54100 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54102         [BZ #16759]
54103         * inet/getnetgrent_r.c (get_nonempty_val): New function.
54104         (nscd_getnetgrent): Use it.
54106         [BZ #16760]
54107         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54108         of stpcpy.
54110 2014-03-27  Andi Kleen  <ak@linux.intel.com>
54112         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54113         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54114         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54115         (lll_robust_unlock): Remove out of line section. Use cfi
54116         intrinsics.
54117         (LLL_STUB_UNWIND_INFO*): Remove.
54118         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54119         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54120         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54121         (lll_robust_unlock): Remove out of line section. Use cfi
54122         intrinsics.
54123         (LLL_STUB_UNWIND_INFO*): Remove.
54125 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54127         [BZ #16758]
54128         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54129         blank values.
54131 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
54133         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54135 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
54137         [BZ #16198]
54138         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54139         fnstenv.
54140         * math/test-fenv-preserve.c: New file.
54141         * math/Makefile (tests): Add test-fenv-preserve.
54143 2014-03-26  Will Newton <will.newton@linaro.org>
54145         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54147 2014-03-25  Roland McGrath  <roland@hack.frob.com>
54149         * scripts/versionlist.awk: Partition the version sets and emit all
54150         GLIBC_* (sorted) before all others (sorted).
54152 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54154         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54155         GLIBC_2.2.5 version.
54157 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54159         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54160         calls.
54162         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54163         previous change.
54165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54167 2014-03-25  Andreas Schwab  <schwab@suse.de>
54169         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54170         label to be used after in6ailist is initialized.
54172 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54174         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54175         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54177 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54179         [BZ #16357]
54180         [BZ #16599]
54181         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54182         min_plus_half.
54183         (fp_formats): Update initializers.
54184         (init_fp_formats): Initialize new field.
54185         (output_for_one_input_case): Allow underflow for results up to
54186         min_plus_half.
54187         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54188         * math/auto-libm-test-in: Don't mark some underflows from asin and
54189         atanh as spurious.
54190         * math/auto-libm-test-out: Regenerated.
54191         * sysdeps/i386/fpu/libm-test-ulps: Update.
54192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54194 2014-03-25  Andreas Schwab  <schwab@suse.de>
54196         * libio/Makefile (tst-ftell-partial-wide-ENV)
54197         (tst-ftell-active-handler-ENV): Define.
54199 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54201         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54203 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54205         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54207 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54209         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54210         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54211         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54213 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54215         [BZ #16634]
54216         * elf/dl-load.c (open_verify): Add mode parameter.
54217         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54218         (open_path): Change from boolean 'secure' to complete flag 'mode'
54219         (_dl_map_object): Adjust.
54220         * elf/Makefile (tests): Add tst-dlopen-aout.
54221         * elf/tst-dlopen-aout.c: New test.
54223 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54225         [BZ #16714]
54226         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54227         (struct stat): Rename member pad0 to __glibc_reserved0.
54229         [BZ #16712]
54230         * sysdeps/s390/s390-32/bits/wordsize.h
54231         (__WORDSIZE32_SIZE_ULONG): New define.
54232         * sysdeps/s390/s390-64/bits/wordsize.h
54233         (__WORDSIZE32_SIZE_ULONG): Likewise.
54234         * sysdeps/generic/stdint.h (SIZE_MAX):
54235         Define as UL if __WORDSIZE32_SIZE_ULONG.
54237         [BZ #16713]
54238         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54239         (__glibc_reserved0): New variable.
54240         (sa_flags): Change type to int.
54242         * posix/Makefile (before-compile): Use += before-compile instead
54243         of a :=.
54245         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54246         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54248 2014-03-20  Andreas Schwab  <schwab@suse.de>
54250         [BZ #16743]
54251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54252         non-matching result from nscd.
54254 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54256         * scripts/bench.py: Moved to ...
54257         * benchtests/scripts/bench.py: ... here.
54258         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54260 2014-03-24  Andreas Schwab  <schwab@suse.de>
54262         [BZ #16002]
54263         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54264         alloca_account and account alloca use for struct in6ailist.
54266 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54268         [BZ #16284]
54269         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54270         rounding mode to recompute results that overflow to infinity or
54271         underflow to zero.
54272         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54273         bug 16284.
54274         * math/auto-libm-test-out: Regenerated.
54275         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54276         (ccosh_test): Likewise.
54277         (csin_test_data): Use plus_oflow.
54278         (csin_test): Use ALL_RM_TEST.
54279         (csinh_test_data): Use plus_oflow.
54280         (csinh_test): Use ALL_RM_TEST.
54281         * sysdeps/i386/fpu/libm-test-ulps: Update.
54282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54284 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54286         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54287         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54288         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54290         [BZ #16731]
54291         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54292         when x - 1 is zero.
54293         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54294         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54295         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54296         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54297         argument is 1.
54298         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54299         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54300         zero.
54301         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54302         * sysdeps/i386/fpu/libm-test-ulps: Update.
54303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54305 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54307         * scripts/bench.pl: Remove file.
54308         * scripts/bench.py: New benchmark script.
54309         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54310         * benchtests/README: Mention python dependency.
54311         * scripts/pylintrc: New file.
54312         * scripts/pylint: New file.
54314         * bits/mathdef.h: Use #ifdef instead of #if.
54315         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54316         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54317         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54318         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54319         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54320         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54322 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54323             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54325         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54327         and strpbrk-ppc64 objects.
54328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54329         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54330         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54331         multiarch strpbrk for POWER7.
54332         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54333         multiarch strpbrk for PPC64.
54334         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54335         ifunc selector.
54336         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54337         strpbrk for POWER7.
54339 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54341         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54342         (atan_test): Likewise.
54343         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54344         (atanh_test): Use ALL_RM_TEST.
54345         (atan2_test_data): Likewise.
54346         (cabs_test): Likewise.
54347         (cacosh_test): Likewise.
54348         (carg_test): Likewise.
54349         (casin_test): Likewise.
54350         (casinh_test): Likewise.
54351         (cbrt_test): Likewise.
54352         (csqrt_test): Likewise.
54353         (erf_test): Likewise.
54354         (erfc_test): Likewise.
54355         (pow10_test): Likewise.
54356         (exp2_test): Likewise.
54357         (hypot_test): Likewise.
54358         (j0_test): Likewise.
54359         (j1_test): Likewise.
54360         (lgamma_test): Likewise.
54361         (gamma_test): Likewise.
54362         (sincos_test): Likewise.
54363         (tanh_test): Likewise.
54364         (y0_test): Likewise.
54365         (y1_test): Likewise.
54366         * sysdeps/i386/fpu/libm-test-ulps: Update.
54367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54369 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54371         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54373         and strcspn-ppc64 objects.
54374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54375         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54376         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54377         multiarch strcspn for POWER7.
54378         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54379         multiarch strcspn for PPC64.
54380         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54381         ifunc selector.
54382         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54383         strcspn for POWER7.
54385 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54387         * math/gen-libm-test.pl (generate_testfile): Expect only function
54388         name as argument to AUTO_TESTS_* and pass results for all rounding
54389         modes to parse_args.
54390         (parse_auto_input): Separate inputs of automatic tests from
54391         outputs before storing in %auto_tests.
54392         * math/libm-test.inc (acos_test_data): Update call to
54393         AUTO_TESTS_f_f.
54394         (acos_test): Use ALL_RM_TEST.
54395         (acos_tonearest_test_data): Remove.
54396         (acos_test_tonearest): Likewise.
54397         (acos_towardzero_test_data): Likewise.
54398         (acos_test_towardzero): Likewise.
54399         (acos_downward_test_data): Likewise.
54400         (acos_test_downward): Likewise.
54401         (acos_upward_test_data): Likewise.
54402         (acos_test_upward): Likewise.
54403         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54404         (asin_test_data): Likewise.
54405         (asin_test): Use ALL_RM_TEST.
54406         (asin_tonearest_test_data): Remove.
54407         (asin_test_tonearest): Likewise.
54408         (asin_towardzero_test_data): Likewise.
54409         (asin_test_towardzero): Likewise.
54410         (asin_downward_test_data): Likewise.
54411         (asin_test_downward): Likewise.
54412         (asin_upward_test_data): Likewise.
54413         (asin_test_upward): Likewise.
54414         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54415         (atan_test_data): Likewise.
54416         (atanh_test_data): Likewise.
54417         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54418         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54419         (carg_test_data): Likewise.
54420         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54421         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54422         (ccosh_test_data): Likewise.
54423         (cexp_test_data): Likewise.
54424         (clog_test_data): Likewise.
54425         (clog10_test_data): Likewise.
54426         (cos_test_data): Update call to AUTO_TESTS_f_f.
54427         (cos_test): Use ALL_RM_TEST.
54428         (cos_tonearest_test_data): Remove.
54429         (cos_test_tonearest): Likewise.
54430         (cos_towardzero_test_data): Likewise.
54431         (cos_test_towardzero): Likewise.
54432         (cos_downward_test_data): Likewise.
54433         (cos_test_downward): Likewise.
54434         (cos_upward_test_data): Likewise.
54435         (cos_test_upward): Likewise.
54436         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54437         (cosh_test): Use ALL_RM_TEST.
54438         (cosh_tonearest_test_data): Remove.
54439         (cosh_test_tonearest): Likewise.
54440         (cosh_towardzero_test_data): Likewise.
54441         (cosh_test_towardzero): Likewise.
54442         (cosh_downward_test_data): Likewise.
54443         (cosh_test_downward): Likewise.
54444         (cosh_upward_test_data): Likewise.
54445         (cosh_test_upward): Likewise.
54446         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54447         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54448         (ctan_test_data): Likewise.
54449         (ctan_test): Use ALL_RM_TEST.
54450         (ctan_tonearest_test_data): Remove.
54451         (ctan_test_tonearest): Likewise.
54452         (ctan_towardzero_test_data): Likewise.
54453         (ctan_test_towardzero): Likewise.
54454         (ctan_downward_test_data): Likewise.
54455         (ctan_test_downward): Likewise.
54456         (ctan_upward_test_data): Likewise.
54457         (ctan_test_upward): Likewise.
54458         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54459         (ctanh_test): Use ALL_RM_TEST.
54460         (ctanh_tonearest_test_data): Remove.
54461         (ctanh_test_tonearest): Likewise.
54462         (ctanh_towardzero_test_data): Likewise.
54463         (ctanh_test_towardzero): Likewise.
54464         (ctanh_downward_test_data): Likewise.
54465         (ctanh_test_downward): Likewise.
54466         (ctanh_upward_test_data): Likewise.
54467         (ctanh_test_upward): Likewise.
54468         (erf_test_data): Update call to AUTO_TESTS_f_f.
54469         (erfc_test_data): Likewise.
54470         (exp_test_data): Likewise.
54471         (exp_test): Use ALL_RM_TEST.
54472         (exp_tonearest_test_data): Remove.
54473         (exp_test_tonearest): Likewise.
54474         (exp_towardzero_test_data): Likewise.
54475         (exp_test_towardzero): Likewise.
54476         (exp_downward_test_data): Likewise.
54477         (exp_test_downward): Likewise.
54478         (exp_upward_test_data): Likewise.
54479         (exp_test_upward): Likewise.
54480         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54481         (exp10_test): Use ALL_RM_TEST.
54482         (exp10_tonearest_test_data): Remove.
54483         (exp10_test_tonearest): Likewise.
54484         (exp10_towardzero_test_data): Likewise.
54485         (exp10_test_towardzero): Likewise.
54486         (exp10_downward_test_data): Likewise.
54487         (exp10_test_downward): Likewise.
54488         (exp10_upward_test_data): Likewise.
54489         (exp10_test_upward): Likewise.
54490         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54491         (expm1_test_data): Likewise.
54492         (expm1_test): Use ALL_RM_TEST.
54493         (expm1_tonearest_test_data): Remove.
54494         (expm1_test_tonearest): Likewise.
54495         (expm1_towardzero_test_data): Likewise.
54496         (expm1_test_towardzero): Likewise.
54497         (expm1_downward_test_data): Likewise.
54498         (expm1_test_downward): Likewise.
54499         (expm1_upward_test_data): Likewise.
54500         (expm1_test_upward): Likewise.
54501         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54502         (fma_test): Use ALL_RM_TEST.
54503         (fma_towardzero_test_data): Remove.
54504         (fma_test_towardzero): Likewise.
54505         (fma_downward_test_data): Likewise.
54506         (fma_test_downward): Likewise.
54507         (fma_upward_test_data): Likewise.
54508         (fma_test_upward): Likewise.
54509         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54510         (j0_test_data): Update call to AUTO_TESTS_f_f.
54511         (j1_test_data): Likewise.
54512         (jn_test_data): Update call to AUTO_TESTS_if_f.
54513         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54514         (log_test_data): Update call to AUTO_TESTS_f_f.
54515         (log10_test_data): Likewise.
54516         (log1p_test_data): Likewise.
54517         (log2_test_data): Likewise.
54518         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54519         (pow_tonearest_test_data): Likewise.
54520         (sin_test_data): Update call to AUTO_TESTS_f_f.
54521         (sin_test): Use ALL_RM_TEST.
54522         (sin_tonearest_test_data): Remove.
54523         (sin_test_tonearest): Likewise.
54524         (sin_towardzero_test_data): Likewise.
54525         (sin_test_towardzero): Likewise.
54526         (sin_downward_test_data): Likewise.
54527         (sin_test_downward): Likewise.
54528         (sin_upward_test_data): Likewise.
54529         (sin_test_upward): Likewise.
54530         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54531         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54532         (sinh_test): Use ALL_RM_TEST.
54533         (sinh_tonearest_test_data): Remove.
54534         (sinh_test_tonearest): Likewise.
54535         (sinh_towardzero_test_data): Likewise.
54536         (sinh_test_towardzero): Likewise.
54537         (sinh_downward_test_data): Likewise.
54538         (sinh_test_downward): Likewise.
54539         (sinh_upward_test_data): Likewise.
54540         (sinh_test_upward): Likewise.
54541         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54542         (sqrt_test): Use ALL_RM_TEST.
54543         (sqrt_tonearest_test_data): Remove.
54544         (sqrt_test_tonearest): Likewise.
54545         (sqrt_towardzero_test_data): Likewise.
54546         (sqrt_test_towardzero): Likewise.
54547         (sqrt_downward_test_data): Likewise.
54548         (sqrt_test_downward): Likewise.
54549         (sqrt_upward_test_data): Likewise.
54550         (sqrt_test_upward): Likewise.
54551         (tan_test_data): Update call to AUTO_TESTS_f_f.
54552         (tan_test): Use ALL_RM_TEST.
54553         (tan_tonearest_test_data): Remove.
54554         (tan_test_tonearest): Likewise.
54555         (tan_towardzero_test_data): Likewise.
54556         (tan_test_towardzero): Likewise.
54557         (tan_downward_test_data): Likewise.
54558         (tan_test_downward): Likewise.
54559         (tan_upward_test_data): Likewise.
54560         (tan_test_upward): Likewise.
54561         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54562         (tgamma_test_data): Likewise.
54563         (y0_test_data): Likewise.
54564         (y1_test_data): Likewise.
54565         (yn_test_data): Update call to AUTO_TESTS_if_f.
54566         (main): Do not call removed functions.
54568 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54570         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54571         (ldexp_test_data): Remove.
54572         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54573         scalbn_test_data.
54574         (scalb_test): Use ALL_RM_TEST.
54576 2014-03-19  Andreas Schwab  <schwab@suse.de>
54578         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54580 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54582         [BZ #16649]
54583         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54584         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54585         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54587         (__ASSUME_PREADV): Undefine.
54588         (__ASSUME_PWRITEV): Likewise.
54590 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54592         * bits/mman-linux.h: Add comment about non-Linux use.
54593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54594         bits/mman-linux.h resting place.
54596         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54597         * bits/mman-linux.h: ... here.
54599 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54601         * conform/conformtest.pl: Add standard definition when calling C
54602         preprocessor on data files.
54603         (checknamespace): Remove unused variable.
54605 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54607         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54608         minus_oflow, plus_uflow and minus_uflow in expected results.
54609         * math/libm-test.inc (scalbn_test_data): Add more tests of
54610         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54611         minus_uflow.
54612         (scalbn_test): Use ALL_RM_TEST.
54613         (scalbln_test_data): Add more tests of negative arguments.  Use
54614         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54615         (scalbln_test): Use ALL_RM_TEST.
54617 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54619         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54621 2014-03-18  Will Newton  <will.newton@linaro.org>
54623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54624         inaccurate comment.
54626 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54628         * Makerules [!subdir] (check-abi): Exit with error status if a
54629         test failed.
54631 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54633         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54634         for rint.  Include results for all rounding modes.
54635         (nearbyint_test): Use ALL_RM_TEST.
54636         (rint_test_data): Include all tests used for nearbyint.
54638 2014-03-17  Will Newton  <will.newton@linaro.org>
54640         * nptl/sysdeps/pthread/pthread.h: Revert previous
54641         change.
54643         * sysdeps/generic/ldsodefs.h: Revert previous
54644         change.
54646         * libio/genops.c: Revert previous change.
54647         * libio/libioP.h: Likewise.
54648         * stdio-common/vfprintf.c: Likewise.
54650         * sysdeps/generic/math_private.h: Revert previous
54651         change.
54653         * sysdeps/generic/math_private.h: Check whether
54654         HAVE_RM_CTX is defined with #ifdef rather
54655         than #if.
54657         * argp/argp-fmtstream.h: Check whether
54658         __STRICT_ANSI__ is defined with #ifdef rather
54659         than #if.
54660         * argp/argp.h: Likewise.
54662         * libio/genops.c: Check whether
54663         _IO_JUMPS_OFFSET is defined with #ifdef rather
54664         than #if.
54665         * libio/libioP.h: Likewise.
54666         * stdio-common/vfprintf.c: Likewise.
54668         * sysdeps/generic/ldsodefs.h: Check whether
54669         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54670         than #if.
54672         * nptl/sysdeps/pthread/pthread.h: Check
54673         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54674         its value.
54676 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54678         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54679         setting O_APPEND.
54680         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54681         test case.
54683         [BZ #16680]
54684         * libio/fileops.c (_IO_file_open): Seek to end of file but
54685         don't cache the offset.
54686         (get_file_offset): Remove function.
54687         (do_ftell): Use cached offset when available.
54688         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54689         don't cache the offset.
54690         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54691         case.
54692         (do_one_test): Call it.
54693         (do_ftell_test): Fix up expected old offset for a+ mode.
54694         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54695         available.
54697         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54698         up test status with function return status.
54699         (do_write_test): Likewise.
54700         (do_append_test): Likewise.
54702         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54703         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54704         Remove.
54706 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54708         * math/gen-libm-test.pl (parse_args): Handle results specified for
54709         each rounding mode separately.
54710         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54711         tests and results from lrint_tonearest_test_data,
54712         lrint_towardzero_test_data, lrint_downward_test_data and
54713         lrint_upward_test_data.
54714         (lrint_test): Use ALL_RM_TEST.
54715         (lrint_tonearest_test_data): Remove.
54716         (lrint_test_tonearest): Likewise.
54717         (lrint_towardzero_test_data): Likewise.
54718         (lrint_test_towardzero): Likewise.
54719         (lrint_downward_test_data): Likewise.
54720         (lrint_test_downward): Likewise.
54721         (lrint_upward_test_data): Likewise.
54722         (lrint_test_upward): Likewise.
54723         (llrint_test_data): Merge in per-rounding-mode tests and results
54724         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54725         llrint_downward_test_data and llrint_upward_test_data.
54726         (llrint_test): Use ALL_RM_TEST.
54727         (llrint_tonearest_test_data): Remove.
54728         (llrint_test_tonearest): Likewise.
54729         (llrint_towardzero_test_data): Likewise.
54730         (llrint_test_towardzero): Likewise.
54731         (llrint_downward_test_data): Likewise.
54732         (llrint_test_downward): Likewise.
54733         (llrint_upward_test_data): Likewise.
54734         (llrint_test_upward): Likewise.
54735         (rint_test_data): Merge in per-rounding-mode tests and results
54736         from rint_tonearest_test_data, rint_towardzero_test_data,
54737         rint_downward_test_data and rint_upward_test_data.  Add
54738         per-rounding-mode results for tests not in those arrays.
54739         (rint_test): Use ALL_RM_TEST.
54740         (rint_tonearest_test_data): Remove.
54741         (rint_test_tonearest): Likewise.
54742         (rint_towardzero_test_data): Likewise.
54743         (rint_test_towardzero): Likewise.
54744         (rint_downward_test_data): Likewise.
54745         (rint_test_downward): Likewise.
54746         (rint_upward_test_data): Likewise.
54747         (rint_test_upward): Likewise.
54748         (main): Don't call removed functions.
54750 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54752         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54753         "Compiled on ..." crapola.  It is anti-useful.
54755 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54757         * scripts/evaluate-test.sh: Handle fourth argument to determine
54758         whether test run should stop on failure.
54759         * Makeconfig (stop-on-test-failure): New variable.
54760         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54761         $(stop-on-test-failure).
54762         * Makefile (tests): Give a summary of results from testing and
54763         exit with failure status if they include an ERROR or FAIL.
54764         (xtests): Likewise.
54765         * manual/install.texi (Configuring and compiling): Mention
54766         stop-on-test-failure=y.
54767         * INSTALL: Regenerated.
54769 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54771         * scripts/versionlist.awk: New file.
54772         * Makerules [$(build-shared) = yes]
54773         (postclean-generated): Add Versions.def, not Versions.def.v and
54774         Versions.def.v.i.
54775         ($(common-objpfx)Versions.def.v.i): Target removed.
54776         ($(common-objpfx)Versions.def): New target.
54777         ($(common-objpfx)Versions.all): Depend on that rather that
54778         $(common-objpfx)Versions.def.v.
54779         * Versions.def: File removed.
54781         * Makeconfig (+gccwarn): Add -Wundef.
54782         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54783         a dl-sysdep.h breaking its contract.
54784         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54785         * include/stackinfo.h: New file.
54786         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54787         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54788         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54789         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54790         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54791         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54792         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54793         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54794         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54795         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54796         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54797         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54798         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54799         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54800         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54802 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54804         [BZ #16707]
54805         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54806         implementation.
54807         * math/libm-test.inc (round_test_data): Add more tests.
54809         [BZ #16706]
54810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54811         implementation.
54812         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54814         [BZ #16701]
54815         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54816         implementation.
54817         * math/libm-test.inc (ceil_test_data): Add more tests.
54819         * math/libm-test.inc (trunc_test_data): Add more tests related to
54820         BZ#16414.
54822 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54824         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54825         with #if rather than #ifdef.
54826         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54828 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54830         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54831         first.  Disable AVX-512 GCC support if assembler doesn't support
54832         it.
54833         * sysdeps/x86_64/configure: Regenerated.
54835 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54837         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54838         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54839         (__old_pthread_attr_setstack): Likewise.
54840         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54841         [!_STACK_GROWS_DOWN]: Likewise.
54843 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54845         * config.make.in (have-bash2): Delete.
54846         * configure.ac (libc_cv_have_bash2): Delete.
54847         * configure: Regenerate.
54848         * elf/Makefile (common-ldd-rewrite): Rename to ...
54849         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54850         (sh-ldd-rewrite): Delete.
54851         (bash-ldd-rewrite): Delete.
54852         (have-bash2): Delete checks.
54853         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54854         ldd-rewrite.
54856         * config.make.in (have-ksh): Delete.
54857         (KSH): Delete.
54858         * configure.ac (libc_cv_have_ksh): Delete.
54859         * configure: Regenerate.
54861         * elf/Makefile: Delete $(have-ksh) check.
54862         ($(objpfx)sotruss): Change KSH to BASH.
54863         * elf/sotruss.ksh: Rename to ...
54864         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54865         function style to match POSIX.  Drop ksh vim mode setting.
54867         * manual/time.texi (Specifying the Time Zone with TZ): Change
54868         Tuesday to Thursday.
54870         * debug/tst-longjmp_chk2.c: Update header comment.
54871         (stackoverflow_handler): Add comment.  Call assert on pass value.
54873 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54875         [BZ #16194]
54876         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54877         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54878         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54879         (La_x86_64_vector): Add zmm.
54880         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54881         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54882         ($(objpfx)tst-audit10): New target.
54883         ($(objpfx)tst-audit10.out): Likewise.
54884         (tst-audit10-ENV): New.
54885         (AVX512-CFLAGS): Likewise.
54886         (CFLAGS-tst-audit10.c): Likewise.
54887         (CFLAGS-tst-auditmod10a.c): Likewise.
54888         (CFLAGS-tst-auditmod10b.c): Likewise.
54889         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54890         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54891         * sysdeps/x86_64/configure: Regenerated.
54892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54893         AVX-512 zmm register support.
54894         (_dl_x86_64_save_sse): Likewise.
54895         (_dl_x86_64_restore_sse): Likewise.
54896         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54897         size vector registers.
54898         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54899         (ZMM_SIZE): Likewise.
54900         * sysdeps/x86_64/tst-audit10.c: New file.
54901         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54902         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54904 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54906         * configure.ac (HAVE_EHDR_START): New check.
54907         * configure: Regenerated.
54908         * config.h.in (HAVE_EHDR_START): New #undef.
54909         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54910         assuming the lowest-addressed segment maps the start of the file.
54912 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54914         * INSTALL: Regenerated.
54916 2014-03-13  Will Newton  <will.newton@linaro.org>
54918         * manual/setjmp.texi (System V contexts): Improve
54919         clarity and grammar of documentation.
54921 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54923         [BZ #16381]
54924         * elf/Makefile (tests): Add tst-pie2.
54925         (tests-pie): Add tst-pie2.
54926         * elf/tst-pie2.c: New file.
54927         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54928         for ET_EXEC.
54929         * elf/rtld.c (map_doit): Load executable as lt_executable.
54930         (dl_main): Likewise.
54932 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54934         [BZ #16642]
54935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54936         (__ASSUME_PSELECT): Undefine.
54938 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54940         [BZ #16689]
54941         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54942         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54943         static build.
54944         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54945         selector for static builds.
54947 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54949         [BZ #16695]
54950         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54951         key in the buffer.
54953 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54955         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54956         IFUNC selector for static builds.
54958 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54960         * sysdeps/mips/math_private.h [__mips_hard_float]
54961         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54962         libc_feresetround_mips_ctx.
54963         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54964         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54965         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54967         [BZ #16677]
54968         * math/s_nextafter.c (__nextafter): Do not return value from
54969         overflowing computation.
54970         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54971         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54972         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54973         Likewise.
54974         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54975         Likewise.
54976         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54977         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54979 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54981         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54982         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54983         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54984         the new mov targetting sp.
54986 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54988         [BZ #16683]
54989         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54990         Define it for static builds as well.
54991         (NO_BZERO_IMPL): Likewise.
54993 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54995         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54996         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54997         multiarch strspn for PPC64.
54998         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54999         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
55000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55001         (__libc_ifunc_impl_list): Likewise.
55002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
55003         multiarch optimizations
55004         * string/strspn.c (strspn): Using macro to redefine symbol name.
55006 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
55007             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55009         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
55010         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
55011         multiarch strncat for PPC64.
55012         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
55013         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
55014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55015         (__libc_ifunc_impl_list): Likewise.
55016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
55017         multiarch optimizations
55019 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55021         [BZ #16639]
55022         * nscd/nscd.service: Make service type forking.
55024 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55026         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
55027         sign in non default rounding modes.
55028         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
55030 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
55032         * math/libm-test.inc (ALL_RM_TEST): New macro.
55033         (ceil_test): Use ALL_RM_TEST.
55034         (cimag_test): Likewise.
55035         (conj_test): Likewise.
55036         (copysign_test): Likewise.
55037         (cproj_test): Likewise.
55038         (creal_test): Likewise.
55039         (fabs_test): Likewise.
55040         (floor_test): Likewise.
55041         (fmax_test): Likewise.
55042         (fmin_test): Likewise.
55043         (fmod_test): Likewise.
55044         (fpclassify_test): Likewise.
55045         (frexp_test): Likewise.
55046         (ilogb_test): Likewise.
55047         (isfinite_test): Likewise.
55048         (finite_test): Likewise.
55049         (isgreater_test): Likewise.
55050         (isgreaterequal_test): Likewise.
55051         (isinf_test): Likewise.
55052         (isless_test): Likewise.
55053         (islessequal_test): Likewise.
55054         (islessgreater_test): Likewise.
55055         (isnan_test): Likewise.
55056         (isnormal_test): Likewise.
55057         (issignaling_test): Likewise.
55058         (isunordered_test): Likewise.
55059         (logb_test): Likewise.
55060         (logb_downward_test_data): Remove.
55061         (logb_test_downward): Likewise.
55062         (lround_test): Use ALL_RM_TEST.
55063         (llround_test): Likewise.
55064         (modf_test): Likewise.
55065         (nexttoward_test): Likewise.
55066         (remainder_test): Likewise.
55067         (drem_test): Likewise.
55068         (remainder_tonearest_test_data): Likewise.
55069         (remainder_test_tonearest): Likewise.
55070         (drem_test_tonearest): Likewise.
55071         (remainder_towardzero_test_data): Likewise.
55072         (remainder_test_towardzero): Likewise.
55073         (drem_test_towardzero): Likewise.
55074         (remainder_downward_test_data): Likewise.
55075         (remainder_test_downward): Likewise.
55076         (drem_test_downward): Likewise.
55077         (remainder_upward_test_data): Likewise.
55078         (remainder_test_upward): Likewise.
55079         (drem_test_upward): Likewise.
55080         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
55081         (round_test): Use ALL_RM_TEST.
55082         (signbit_test): Likewise.
55083         (trunc_test): Likewise.
55084         (significand_test): Likewise.
55085         (main): Don't call removed functions.
55087 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55089         [BZ #16674]
55090         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55091         || __USE_XOPEN2K8].
55092         (ILL_ILLOPN): Likewise.
55093         (ILL_ILLADR): Likewise.
55094         (ILL_ILLTRP): Likewise.
55095         (ILL_PRVOPC): Likewise.
55096         (ILL_PRVREG): Likewise.
55097         (ILL_COPROC): Likewise.
55098         (ILL_BADSTK): Likewise.
55099         (FPE_INTDIV): Likewise.
55100         (FPE_INTOVF): Likewise.
55101         (FPE_FLTDIV): Likewise.
55102         (FPE_FLTOVF): Likewise.
55103         (FPE_FLTUND): Likewise.
55104         (FPE_FLTRES): Likewise.
55105         (FPE_FLTINV): Likewise.
55106         (FPE_FLTSUB): Likewise.
55107         (SEGV_MAPERR): Likewise.
55108         (SEGV_ACCERR): Likewise.
55109         (BUS_ADRALN): Likewise.
55110         (BUS_ADRERR): Likewise.
55111         (BUS_OBJERR): Likewise.
55112         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55113         (TRAP_TRACE): Likewise.
55114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55115         __USE_XOPEN2K8].
55116         (CLD_KILLED): Likewise.
55117         (CLD_DUMPED): Likewise.
55118         (CLD_TRAPPED): Likewise.
55119         (CLD_STOPPED): Likewise.
55120         (CLD_CONTINUED): Likewise.
55121         (POLL_IN): Likewise.
55122         (POLL_OUT): Likewise.
55123         (POLL_MSG): Likewise.
55124         (POLL_ERR): Likewise.
55125         (POLL_PRI): Likewise.
55126         (POLL_HUP): Likewise.
55127         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55128         Likewise.
55129         (ILL_ILLOPN): Likewise.
55130         (ILL_ILLADR): Likewise.
55131         (ILL_ILLTRP): Likewise.
55132         (ILL_PRVOPC): Likewise.
55133         (ILL_PRVREG): Likewise.
55134         (ILL_COPROC): Likewise.
55135         (ILL_BADSTK): Likewise.
55136         (FPE_INTDIV): Likewise.
55137         (FPE_INTOVF): Likewise.
55138         (FPE_FLTDIV): Likewise.
55139         (FPE_FLTOVF): Likewise.
55140         (FPE_FLTUND): Likewise.
55141         (FPE_FLTRES): Likewise.
55142         (FPE_FLTINV): Likewise.
55143         (FPE_FLTSUB): Likewise.
55144         (SEGV_MAPERR): Likewise.
55145         (SEGV_ACCERR): Likewise.
55146         (BUS_ADRALN): Likewise.
55147         (BUS_ADRERR): Likewise.
55148         (BUS_OBJERR): Likewise.
55149         (BUS_MCEERR_AR): Likewise.
55150         (BUS_MCEERR_AO): Likewise.
55151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55152         (TRAP_TRACE): Likewise.
55153         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55154         __USE_XOPEN2K8].
55155         (CLD_KILLED): Likewise.
55156         (CLD_DUMPED): Likewise.
55157         (CLD_TRAPPED): Likewise.
55158         (CLD_STOPPED): Likewise.
55159         (CLD_CONTINUED): Likewise.
55160         (POLL_IN): Likewise.
55161         (POLL_OUT): Likewise.
55162         (POLL_MSG): Likewise.
55163         (POLL_ERR): Likewise.
55164         (POLL_PRI): Likewise.
55165         (POLL_HUP): Likewise.
55166         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55167         (ILL_ILLOPN): Likewise.
55168         (ILL_ILLADR): Likewise.
55169         (ILL_ILLTRP): Likewise.
55170         (ILL_PRVOPC): Likewise.
55171         (ILL_PRVREG): Likewise.
55172         (ILL_COPROC): Likewise.
55173         (ILL_BADSTK): Likewise.
55174         (FPE_INTDIV): Likewise.
55175         (FPE_INTOVF): Likewise.
55176         (FPE_FLTDIV): Likewise.
55177         (FPE_FLTOVF): Likewise.
55178         (FPE_FLTUND): Likewise.
55179         (FPE_FLTRES): Likewise.
55180         (FPE_FLTINV): Likewise.
55181         (FPE_FLTSUB): Likewise.
55182         (SEGV_MAPERR): Likewise.
55183         (SEGV_ACCERR): Likewise.
55184         (BUS_ADRALN): Likewise.
55185         (BUS_ADRERR): Likewise.
55186         (BUS_OBJERR): Likewise.
55187         (BUS_MCEERR_AR): Likewise.
55188         (BUS_MCEERR_AO): Likewise.
55189         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55190         (TRAP_TRACE): Likewise.
55191         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55192         __USE_XOPEN2K8].
55193         (CLD_KILLED): Likewise.
55194         (CLD_DUMPED): Likewise.
55195         (CLD_TRAPPED): Likewise.
55196         (CLD_STOPPED): Likewise.
55197         (CLD_CONTINUED): Likewise.
55198         (POLL_IN): Likewise.
55199         (POLL_OUT): Likewise.
55200         (POLL_MSG): Likewise.
55201         (POLL_ERR): Likewise.
55202         (POLL_PRI): Likewise.
55203         (POLL_HUP): Likewise.
55204         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55205         Likewise.
55206         (ILL_ILLOPN): Likewise.
55207         (ILL_ILLADR): Likewise.
55208         (ILL_ILLTRP): Likewise.
55209         (ILL_PRVOPC): Likewise.
55210         (ILL_PRVREG): Likewise.
55211         (ILL_COPROC): Likewise.
55212         (ILL_BADSTK): Likewise.
55213         (ILL_BADIADDR): Likewise.
55214         (ILL_BREAK): Likewise.
55215         (FPE_INTDIV): Likewise.
55216         (FPE_INTOVF): Likewise.
55217         (FPE_FLTDIV): Likewise.
55218         (FPE_FLTOVF): Likewise.
55219         (FPE_FLTUND): Likewise.
55220         (FPE_FLTRES): Likewise.
55221         (FPE_FLTINV): Likewise.
55222         (FPE_FLTSUB): Likewise.
55223         (FPE_DECOVF): Likewise.
55224         (FPE_DECDIV): Likewise.
55225         (FPE_DECERR): Likewise.
55226         (FPE_INVASC): Likewise.
55227         (FPE_INVDEC): Likewise.
55228         (SEGV_MAPERR): Likewise.
55229         (SEGV_ACCERR): Likewise.
55230         (SEGV_PSTKOVF): Likewise.
55231         (BUS_ADRALN): Likewise.
55232         (BUS_ADRERR): Likewise.
55233         (BUS_OBJERR): Likewise.
55234         (BUS_MCEERR_AR): Likewise.
55235         (BUS_MCEERR_AO): Likewise.
55236         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55237         (TRAP_TRACE): Likewise.
55238         (TRAP_BRANCH): Likewise.
55239         (TRAP_HWBKPT): Likewise.
55240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55241         __USE_XOPEN2K8].
55242         (CLD_KILLED): Likewise.
55243         (CLD_DUMPED): Likewise.
55244         (CLD_TRAPPED): Likewise.
55245         (CLD_STOPPED): Likewise.
55246         (CLD_CONTINUED): Likewise.
55247         (POLL_IN): Likewise.
55248         (POLL_OUT): Likewise.
55249         (POLL_MSG): Likewise.
55250         (POLL_ERR): Likewise.
55251         (POLL_PRI): Likewise.
55252         (POLL_HUP): Likewise.
55253         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55254         (ILL_ILLOPN): Likewise.
55255         (ILL_ILLADR): Likewise.
55256         (ILL_ILLTRP): Likewise.
55257         (ILL_PRVOPC): Likewise.
55258         (ILL_PRVREG): Likewise.
55259         (ILL_COPROC): Likewise.
55260         (ILL_BADSTK): Likewise.
55261         (FPE_INTDIV): Likewise.
55262         (FPE_INTOVF): Likewise.
55263         (FPE_FLTDIV): Likewise.
55264         (FPE_FLTOVF): Likewise.
55265         (FPE_FLTUND): Likewise.
55266         (FPE_FLTRES): Likewise.
55267         (FPE_FLTINV): Likewise.
55268         (FPE_FLTSUB): Likewise.
55269         (SEGV_MAPERR): Likewise.
55270         (SEGV_ACCERR): Likewise.
55271         (BUS_ADRALN): Likewise.
55272         (BUS_ADRERR): Likewise.
55273         (BUS_OBJERR): Likewise.
55274         (BUS_MCEERR_AR): Likewise.
55275         (BUS_MCEERR_AO): Likewise.
55276         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55277         (TRAP_TRACE): Likewise.
55278         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55279         __USE_XOPEN2K8].
55280         (CLD_KILLED): Likewise.
55281         (CLD_DUMPED): Likewise.
55282         (CLD_TRAPPED): Likewise.
55283         (CLD_STOPPED): Likewise.
55284         (CLD_CONTINUED): Likewise.
55285         (POLL_IN): Likewise.
55286         (POLL_OUT): Likewise.
55287         (POLL_MSG): Likewise.
55288         (POLL_ERR): Likewise.
55289         (POLL_PRI): Likewise.
55290         (POLL_HUP): Likewise.
55291         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55292         (ILL_ILLOPN): Likewise.
55293         (ILL_ILLADR): Likewise.
55294         (ILL_ILLTRP): Likewise.
55295         (ILL_PRVOPC): Likewise.
55296         (ILL_PRVREG): Likewise.
55297         (ILL_COPROC): Likewise.
55298         (ILL_BADSTK): Likewise.
55299         (FPE_INTDIV): Likewise.
55300         (FPE_INTOVF): Likewise.
55301         (FPE_FLTDIV): Likewise.
55302         (FPE_FLTOVF): Likewise.
55303         (FPE_FLTUND): Likewise.
55304         (FPE_FLTRES): Likewise.
55305         (FPE_FLTINV): Likewise.
55306         (FPE_FLTSUB): Likewise.
55307         (SEGV_MAPERR): Likewise.
55308         (SEGV_ACCERR): Likewise.
55309         (BUS_ADRALN): Likewise.
55310         (BUS_ADRERR): Likewise.
55311         (BUS_OBJERR): Likewise.
55312         (BUS_MCEERR_AR): Likewise.
55313         (BUS_MCEERR_AO): Likewise.
55314         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55315         (TRAP_TRACE): Likewise.
55316         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55317         __USE_XOPEN2K8].
55318         (CLD_KILLED): Likewise.
55319         (CLD_DUMPED): Likewise.
55320         (CLD_TRAPPED): Likewise.
55321         (CLD_STOPPED): Likewise.
55322         (CLD_CONTINUED): Likewise.
55323         (POLL_IN): Likewise.
55324         (POLL_OUT): Likewise.
55325         (POLL_MSG): Likewise.
55326         (POLL_ERR): Likewise.
55327         (POLL_PRI): Likewise.
55328         (POLL_HUP): Likewise.
55329         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55330         (ILL_ILLOPN): Likewise.
55331         (ILL_ILLADR): Likewise.
55332         (ILL_ILLTRP): Likewise.
55333         (ILL_PRVOPC): Likewise.
55334         (ILL_PRVREG): Likewise.
55335         (ILL_COPROC): Likewise.
55336         (ILL_BADSTK): Likewise.
55337         (FPE_INTDIV): Likewise.
55338         (FPE_INTOVF): Likewise.
55339         (FPE_FLTDIV): Likewise.
55340         (FPE_FLTOVF): Likewise.
55341         (FPE_FLTUND): Likewise.
55342         (FPE_FLTRES): Likewise.
55343         (FPE_FLTINV): Likewise.
55344         (FPE_FLTSUB): Likewise.
55345         (SEGV_MAPERR): Likewise.
55346         (SEGV_ACCERR): Likewise.
55347         (BUS_ADRALN): Likewise.
55348         (BUS_ADRERR): Likewise.
55349         (BUS_OBJERR): Likewise.
55350         (BUS_MCEERR_AR): Likewise.
55351         (BUS_MCEERR_AO): Likewise.
55352         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55353         (TRAP_TRACE): Likewise.
55354         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55355         __USE_XOPEN2K8].
55356         (CLD_KILLED): Likewise.
55357         (CLD_DUMPED): Likewise.
55358         (CLD_TRAPPED): Likewise.
55359         (CLD_STOPPED): Likewise.
55360         (CLD_CONTINUED): Likewise.
55361         (POLL_IN): Likewise.
55362         (POLL_OUT): Likewise.
55363         (POLL_MSG): Likewise.
55364         (POLL_ERR): Likewise.
55365         (POLL_PRI): Likewise.
55366         (POLL_HUP): Likewise.
55367         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55368         (ILL_ILLOPN): Likewise.
55369         (ILL_ILLADR): Likewise.
55370         (ILL_ILLTRP): Likewise.
55371         (ILL_PRVOPC): Likewise.
55372         (ILL_PRVREG): Likewise.
55373         (ILL_COPROC): Likewise.
55374         (ILL_BADSTK): Likewise.
55375         (ILL_DBLFLT): Likewise.
55376         (ILL_HARDWALL): Likewise.
55377         (FPE_INTDIV): Likewise.
55378         (FPE_INTOVF): Likewise.
55379         (FPE_FLTDIV): Likewise.
55380         (FPE_FLTOVF): Likewise.
55381         (FPE_FLTUND): Likewise.
55382         (FPE_FLTRES): Likewise.
55383         (FPE_FLTINV): Likewise.
55384         (FPE_FLTSUB): Likewise.
55385         (SEGV_MAPERR): Likewise.
55386         (SEGV_ACCERR): Likewise.
55387         (BUS_ADRALN): Likewise.
55388         (BUS_ADRERR): Likewise.
55389         (BUS_OBJERR): Likewise.
55390         (BUS_MCEERR_AR): Likewise.
55391         (BUS_MCEERR_AO): Likewise.
55392         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55393         (TRAP_TRACE): Likewise.
55394         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55395         __USE_XOPEN2K8].
55396         (CLD_KILLED): Likewise.
55397         (CLD_DUMPED): Likewise.
55398         (CLD_TRAPPED): Likewise.
55399         (CLD_STOPPED): Likewise.
55400         (CLD_CONTINUED): Likewise.
55401         (POLL_IN): Likewise.
55402         (POLL_OUT): Likewise.
55403         (POLL_MSG): Likewise.
55404         (POLL_ERR): Likewise.
55405         (POLL_PRI): Likewise.
55406         (POLL_HUP): Likewise.
55407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55408         (ILL_ILLOPN): Likewise.
55409         (ILL_ILLADR): Likewise.
55410         (ILL_ILLTRP): Likewise.
55411         (ILL_PRVOPC): Likewise.
55412         (ILL_PRVREG): Likewise.
55413         (ILL_COPROC): Likewise.
55414         (ILL_BADSTK): Likewise.
55415         (FPE_INTDIV): Likewise.
55416         (FPE_INTOVF): Likewise.
55417         (FPE_FLTDIV): Likewise.
55418         (FPE_FLTOVF): Likewise.
55419         (FPE_FLTUND): Likewise.
55420         (FPE_FLTRES): Likewise.
55421         (FPE_FLTINV): Likewise.
55422         (FPE_FLTSUB): Likewise.
55423         (SEGV_MAPERR): Likewise.
55424         (SEGV_ACCERR): Likewise.
55425         (BUS_ADRALN): Likewise.
55426         (BUS_ADRERR): Likewise.
55427         (BUS_OBJERR): Likewise.
55428         (BUS_MCEERR_AR): Likewise.
55429         (BUS_MCEERR_AO): Likewise.
55430         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55431         (TRAP_TRACE): Likewise.
55432         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55433         __USE_XOPEN2K8].
55434         (CLD_KILLED): Likewise.
55435         (CLD_DUMPED): Likewise.
55436         (CLD_TRAPPED): Likewise.
55437         (CLD_STOPPED): Likewise.
55438         (CLD_CONTINUED): Likewise.
55439         (POLL_IN): Likewise.
55440         (POLL_OUT): Likewise.
55441         (POLL_MSG): Likewise.
55442         (POLL_ERR): Likewise.
55443         (POLL_PRI): Likewise.
55444         (POLL_HUP): Likewise.
55445         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55446         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55448         [BZ #16670]
55449         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55450         before #include of <time.h>.
55451         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55452         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55453         (test-xfail-UNIX98/sched.h/conform): Likewise.
55455 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55457         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55458         error absence of trapping exception support.
55459         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55461 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55463         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55464         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55465         * timezone/Makefile (testdata): Move definition above include of
55466         Rules.
55467         (test-zones): New variable.
55468         (tests-special): Add zone files.
55469         (build-testdata): Use $(evaluate-test).
55471         * elf/Makefile (tests-special): Rename tests to end with .out.
55472         ($(objpfx)noload-mem): Likewise.
55473         ($(objpfx)tst-leaks1-mem): Likewise.
55474         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55475         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55476         $(objpfx)test-iconvconfig.out.
55477         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55478         set -e inside subshell and redirect output to file.
55479         * iconvdata/Makefile (generated): Rename tests to end with .out.
55480         Correct type.
55481         (tests-special): Rename tests to end with .out.
55482         ($(objpfx)mtrace-tst-loading): Likewise.
55483         * intl/Makefile (generated): Likewise.
55484         (tests-special): Likewise.
55485         ($(objpfx)mtrace-tst-gettext): Likewise.
55486         * misc/Makefile (generated): Likewise.
55487         (tests-special): Likewise.
55488         ($(objpfx)tst-error1-mem): Likewise.
55489         * nptl/Makefile (tests-special): Likewise.
55490         ($(objpfx)tst-stack3-mem): Likewise.
55491         (generated): Likewise.
55492         * posix/Makefile (generated): Likewise.
55493         (tests-special): Likewise.
55494         (xtests-special): Likewise.
55495         ($(objpfx)tst-fnmatch-mem): Likewise.
55496         ($(objpfx)bug-regex2-mem): Likewise.
55497         ($(objpfx)bug-regex14-mem): Likewise.
55498         ($(objpfx)bug-regex21-mem): Likewise.
55499         ($(objpfx)bug-regex31-mem): Likewise.
55500         ($(objpfx)tst-vfork3-mem): Likewise.
55501         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55502         ($(objpfx)tst-pcre-mem): Likewise.
55503         ($(objpfx)tst-boost-mem): Likewise.
55504         ($(objpfx)bug-ga2-mem): Likewise.
55505         ($(objpfx)bug-glob2-mem): Likewise.
55506         * resolv/Makefile (generate): Likewise.
55507         (tests-special): Likewise.
55508         (xtests-special): Likewise.
55509         (generated): Likewise.
55510         ($(objpfx)mtrace-tst-leaks): Likewise.
55511         ($(objpfx)mtrace-tst-leaks2): Likewise.
55513         * scripts/merge-test-results.sh: New file.
55514         * Makefile (tests-special-notdir): New variable.
55515         (tests): Run merge-test-results.sh.
55516         (xtests): Likewise.
55517         * Rules (tests-special-notdir): New variable.
55518         (xtests-special-notdir): Likewise.
55519         (tests): Run merge-test-results.sh
55520         (xtests): Likewise.
55522         * Makeconfig (test-xfail-name): New variable.
55523         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55524         compute variable name for expected failures.
55525         * conform/Makefile (conformtest-headers-data): New variable.
55526         (conformtest-standards): Likewise.
55527         (conformtest-headers-ISO): Likewise.
55528         (conformtest-headers-ISO99): Likewise.
55529         (conformtest-headers-ISO11): Likewise.
55530         (conformtest-headers-POSIX): Likewise.
55531         (conformtest-headers-XPG3): Likewise.
55532         (conformtest-headers-XPG4): Likewise.
55533         (conformtest-headers-UNIX98): Likewise.
55534         (conformtest-headers-XOPEN2K): Likewise.
55535         (conformtest-headers-POSIX2008): Likewise.
55536         (conformtest-headers-XOPEN2K8): Likewise.
55537         (conformtest-header-list-base): Likewise.
55538         (conformtest-header-list-tests): Likewise.
55539         (conformtest-header-base): Likewise.
55540         (conformtest-header-tests): Likewise.
55541         (tests-special): Add $(conformtest-header-list-tests).  If
55542         [$(fast-check) && !$(cross-compiling)], add
55543         $(conformtest-header-tests) instead of
55544         $(objpfx)run-conformtest.out.
55545         (generated): Add $(conformtest-header-list-base).  If
55546         [$(fast-check) && !$(cross-compiling)], add
55547         $(conformtest-header-base).  Remove previous setting.
55548         ($(conformtest-header-list-tests)): New target.
55549         (test-xfail-run-conformtest): Remove variable.
55550         ($(objpfx)run-conformtest.out): Remove target.
55551         (test-xfail-ISO11/complex.h/conform): New variable.
55552         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55553         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55554         (test-xfail-XPG3/varargs.h/conform): Likewise.
55555         (test-xfail-XPG4/varargs.h/conform): Likewise.
55556         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55557         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55558         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55559         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55560         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55561         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55562         (test-xfail-XPG3/ftw.h/conform): Likewise.
55563         (test-xfail-XPG3/grp.h/conform): Likewise.
55564         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55565         (test-xfail-XPG3/limits.h/conform): Likewise.
55566         (test-xfail-XPG3/pwd.h/conform): Likewise.
55567         (test-xfail-XPG3/search.h/conform): Likewise.
55568         (test-xfail-XPG3/signal.h/conform): Likewise.
55569         (test-xfail-XPG3/stdio.h/conform): Likewise.
55570         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55571         (test-xfail-XPG3/string.h/conform): Likewise.
55572         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55573         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55574         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55575         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55576         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55577         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55578         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55579         (test-xfail-XPG3/termios.h/conform): Likewise.
55580         (test-xfail-XPG3/time.h/conform): Likewise.
55581         (test-xfail-XPG3/unistd.h/conform): Likewise.
55582         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55583         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55584         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55585         (test-xfail-XPG4/netdb.h/conform): Likewise.
55586         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55587         (test-xfail-XPG4/signal.h/conform): Likewise.
55588         (test-xfail-XPG4/stdio.h/conform): Likewise.
55589         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55590         (test-xfail-XPG4/stropts.h/conform): Likewise.
55591         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55592         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55593         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55594         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55595         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55596         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55597         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55598         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55599         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55600         (test-xfail-XPG4/termios.h/conform): Likewise.
55601         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55602         (test-xfail-XPG4/unistd.h/conform): Likewise.
55603         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55604         (test-xfail-POSIX/sched.h/conform): Likewise.
55605         (test-xfail-POSIX/signal.h/conform): Likewise.
55606         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55607         (test-xfail-POSIX/tar.h/conform): Likewise.
55608         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55609         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55610         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55611         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55612         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55613         (test-xfail-UNIX98/sched.h/conform): Likewise.
55614         (test-xfail-UNIX98/signal.h/conform): Likewise.
55615         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55616         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55617         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55618         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55619         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55620         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55621         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55622         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55623         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55624         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55625         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55626         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55627         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55628         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55629         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55630         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55631         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55632         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55633         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55634         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55635         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55636         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55637         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55638         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55639         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55640         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55641         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55642         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55643         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55644         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55645         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55646         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55647         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55648         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55649         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55650         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55651         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55652         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55653         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55654         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55655         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55656         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55657         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55658         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55659         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55660         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55661         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55662         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55663         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55664         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55665         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55666         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55667         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55668         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55669         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55670         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55671         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55672         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55673         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55674         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55675         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55676         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55677         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55678         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55679         (conformtest-cc-flags): Likewise.
55680         ($(conformtest-header-tests): New target.
55681         * conform/check-header-lists.sh: New file.
55682         * conform/run-conformtest.sh: Remove.
55684         * conform/conformtest.pl: Allow ' and \ in values given for
55685         constants.
55686         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55687         inclusion.
55688         [POSIX] (sys/types.h): Likewise.
55689         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55690         inclusion.
55691         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55692         inclusion.
55693         * conform/data/signal.h-data (SIGIO): Remove expectation.
55694         [XPG3] (SIGBUS): Do not expect.
55695         [POSIX || XPG3] (SIGPOLL): Likewise.
55696         [POSIX || XPG3] (SIGPROF): Likewise.
55697         [POSIX || XPG3] (SIGSYS): Likewise.
55698         [XPG3] (SIGTRAP): Likewise.
55699         [POSIX || XPG3] (SIGURG): Likewise.
55700         [POSIX || XPG3] (SIGVTALRM): Likewise.
55701         [POSIX || XPG3] (SIGXCPU): Likewise.
55702         [POSIX || XPG3] (SIGXFSZ): Likewise.
55703         [POSIX] (SA_SIGINFO): Expect.
55704         [XPG3] (siginfo_t): Do not expect type or contents.
55705         [POSIX] (si_pid): Do not expect element.
55706         [POSIX] (si_uid): Likewise.
55707         [POSIX] (si_addr): Likewise.
55708         [POSIX] (si_status): Likewise.
55709         [POSIX] (si_band): Likewise.
55710         [XPG4] (si_value): Likewise.
55711         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55712         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55713         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55714         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55715         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55716         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55717         [POSIX || XPG3] (ILL_COPROC): Likewise.
55718         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55719         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55720         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55721         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55722         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55723         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55724         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55725         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55726         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55727         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55728         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55729         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55730         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55731         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55732         [POSIX || XPG3] (CLD_EXITED): Likewise.
55733         [POSIX || XPG3] (CLD_KILLED): Likewise.
55734         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55735         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55736         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55737         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55738         [POSIX || XPG3] (POLL_IN): Likewise.
55739         [POSIX || XPG3] (POLL_OUT): Likewise.
55740         [POSIX || XPG3] (POLL_MSG): Likewise.
55741         [POSIX || XPG3] (POLL_ERR): Likewise.
55742         [POSIX || XPG3] (POLL_PRI): Likewise.
55743         [POSIX || XPG3] (POLL_HUP): Likewise.
55744         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55745         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55746         (SIG*): Do not allow.
55747         [XPG3] (si_*): Likewise.
55748         [XPG3] (SI_*): Likewise.
55749         [XPG3 || XPG4] (sigev_*): Likewise.
55750         [XPG3 || XPG4] (SIGEV_*): Likewise.
55751         [XPG3 || XPG4] (sival_*): Likewise.
55752         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55753         [POSIX || XPG3] (BUS_*): Likewise.
55754         [POSIX || XPG3] (CLD_*): Likewise.
55755         [POSIX || XPG3] (FPE_*): Likewise.
55756         [POSIX || XPG3] (ILL_*): Likewise.
55757         [POSIX || XPG3] (POLL_*): Likewise.
55758         [POSIX || XPG3] (SEGV_*): Likewise.
55759         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55760         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55761         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55762         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55763         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55764         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55765         Specify type and value.
55766         (TVERSLEN): Likewise.
55767         (REGTYPE): Likewise.
55768         (AREGTYPE): Likewise.
55769         (LNKTYPE): Likewise.
55770         (SYMTYPE): Likewise.
55771         (CHRTYPE): Likewise.
55772         (BLKTYPE): Likewise.
55773         (DIRTYPE): Likewise.
55774         (FIFOTYPE): Likewise.
55775         (CONTTYPE): Likewise.
55776         (TSUID): Likewise.
55777         (TSGID): Likewise.
55778         (TSVTX): Likewise.
55779         (TUREAD): Likewise.
55780         (TUWRITE): Likewise.
55781         (TUEXEC): Likewise.
55782         (TGREAD): Likewise.
55783         (TGWRITE): Likewise.
55784         (TGEXEC): Likewise.
55785         (TOREAD): Likewise.
55786         (TOWRITE): Likewise.
55787         (TOEXEC): Likewise.
55788         [POSIX] (TSVTX): Expect constant.
55790 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55792         * Makefile (tests): Change dependencies to ....
55793         (tests-special): ... additions to this variable.
55794         (tests): Depend on $(tests-special).
55795         * Makerules (check-abi-list): New variable.
55796         (check-abi): Depend on $(check-abi-list).
55797         [$(subdir) = elf] (tests-special): Add
55798         $(objpfx)check-abi-libc.out.
55799         [$(build-shared) = yes && subdir] (tests-special): Add
55800         $(check-abi-list).
55801         [$(build-shared) = yes && subdir] (tests): Do not depend on
55802         check-abi.
55803         * Rules (tests): Depend on $(tests-special).
55804         (xtests): Depend on $(xtests-special).
55805         * catgets/Makefile (tests): Change dependencies to ....
55806         (tests-special): ... additions to this variable.
55807         * conform/Makefile (tests): Change dependencies to ....
55808         (tests-special): ... additions to this variable.
55809         * elf/Makefile (tests): Change dependencies to ....
55810         (tests-special): ... additions to this variable.
55811         * grp/Makefile (tests): Change dependencies to ....
55812         (tests-special): ... additions to this variable.
55813         * iconv/Makefile (xtests): Change dependencies to ....
55814         (xtests-special): ... additions to this variable.
55815         * iconvdata/Makefile (tests): Change dependencies to ....
55816         (tests-special): ... additions to this variable.
55817         * intl/Makefile (tests): Change dependencies to ....
55818         (tests-special): ... additions to this variable.  Also add
55819         $(objpfx)tst-gettext.out.
55820         * io/Makefile (tests): Change dependencies to ....
55821         (tests-special): ... additions to this variable.
55822         * libio/Makefile (tests): Change dependencies to ....
55823         (tests-special): ... additions to this variable.
55824         * malloc/Makefile (tests): Change dependencies to ....
55825         (tests-special): ... additions to this variable.
55826         * misc/Makefile (tests): Change dependencies to ....
55827         (tests-special): ... additions to this variable.
55828         * nptl/Makefile (tests): Change dependencies to ....
55829         (tests-special): ... additions to this variable.
55830         * nptl_db/Makefile (tests): Change dependencies to ....
55831         (tests-special): ... additions to this variable.
55832         * posix/Makefile (tests): Change dependencies to ....
55833         (tests-special): ... additions to this variable.
55834         (xtests): Change dependencies to ....
55835         (xtests-special): ... additions to this variable.
55836         * resolv/Makefile (tests): Change dependencies to ....
55837         (tests-special): ... additions to this variable.
55838         (xtests): Change dependencies to ....
55839         (xtests-special): ... additions to this variable.
55840         * stdio-common/Makefile (tests): Change dependencies to ....
55841         (tests-special): ... additions to this variable.
55842         (do-tst-unbputc): Remove target.
55843         (do-tst-printf): Likewise.
55844         * stdlib/Makefile (tests): Change dependencies to ....
55845         (tests-special): ... additions to this variable.
55846         * string/Makefile (tests): Change dependencies to ....
55847         (tests-special): ... additions to this variable.
55848         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55849         (tests-special): ... additions to this variable.
55851         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55852         whole file.
55853         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55854         whole file.
55855         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55856         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55858         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55859         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55860         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55861         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55862         * conform/data/libgen.h-data [XPG3]: Likewise.
55863         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55864         * conform/data/ndbm.h-data [XPG3]: Likewise.
55865         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55866         * conform/data/netdb.h-data [XPG3]: Likewise.
55867         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55868         * conform/data/poll.h-data [XPG3]: Likewise.
55869         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55870         * conform/data/strings.h-data [XPG3]: Likewise.
55871         * conform/data/stropts.h-data [XPG3]: Likewise.
55872         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55873         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55874         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55875         Likewise.
55876         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55877         * conform/data/sys/time.h-data [XPG3]: Likewise.
55878         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55879         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55880         * conform/data/sys/un.h-data [XPG3]: Likewise.
55881         * conform/data/syslog.h-data [XPG3]: Likewise.
55882         * conform/data/ucontext.h-data [XPG3]: Likewise.
55883         * conform/data/utmpx.h-data [XPG3]: Likewise.
55884         * conform/data/varargs.h-data [UNIX98]: Enable file.
55886         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55888         * math/libm-test.inc (struct test_f_f_data): Move expected results
55889         into structure for each rounding mode.
55890         (struct test_ff_f_data): Likewise.
55891         (struct test_ff_f_data_nexttoward): Likewise.
55892         (struct test_fi_f_data): Likewise.
55893         (struct test_fl_f_data): Likewise.
55894         (struct test_if_f_data): Likewise.
55895         (struct test_fff_f_data): Likewise.
55896         (struct test_c_f_data): Likewise.
55897         (struct test_f_f1_data): Likewise.
55898         (struct test_fF_f1_data): Likewise.
55899         (struct test_ffI_f1_data): Likewise.
55900         (struct test_c_c_data): Likewise.
55901         (struct test_cc_c_data): Likewise.
55902         (struct test_f_i_data): Likewise.
55903         (struct test_ff_i_data): Likewise.
55904         (struct test_f_l_data): Likewise.
55905         (struct test_f_L_data): Likewise.
55906         (struct test_fFF_11_data): Likewise.
55907         (RM_): New macro.
55908         (RM_FE_DOWNWARD): Likewise.
55909         (RM_FE_TONEAREST): Likewise.
55910         (RM_FE_TOWARDZERO): Likewise.
55911         (RM_FE_UPWARD): Likewise.
55912         (RUN_TEST_LOOP_f_f): Update references to expected results.
55913         (RUN_TEST_LOOP_2_f): Likewise.
55914         (RUN_TEST_LOOP_fff_f): Likewise.
55915         (RUN_TEST_LOOP_c_f): Likewise.
55916         (RUN_TEST_LOOP_f_f1): Likewise.
55917         (RUN_TEST_LOOP_fF_f1): Likewise.
55918         (RUN_TEST_LOOP_fI_f1): Likewise.
55919         (RUN_TEST_LOOP_ffI_f1): Likewise.
55920         (RUN_TEST_LOOP_c_c): Likewise.
55921         (RUN_TEST_LOOP_cc_c): Likewise.
55922         (RUN_TEST_LOOP_f_i): Likewise.
55923         (RUN_TEST_LOOP_f_i_tg): Likewise.
55924         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55925         (RUN_TEST_LOOP_f_b): Likewise.
55926         (RUN_TEST_LOOP_f_b_tg): Likewise.
55927         (RUN_TEST_LOOP_f_l): Likewise.
55928         (RUN_TEST_LOOP_f_L): Likewise.
55929         (RUN_TEST_LOOP_fFF_11): Likewise.
55930         * math/gen-libm-test.pl (parse_args): Output four copies of
55931         expected results for each test.
55933         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55934         (__ASSUME_UTIMES): Remove.
55935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55936         (__ASSUME_UTIMES): Likewise.
55938         * math/gen-auto-libm-tests.c: Update comment on output format.
55939         (output_for_one_input_case): Generate before-rounding and
55940         after-rounding information as conditions on output flags not
55941         floating-point format.
55942         * math/auto-libm-test-out: Regenerated.
55943         * math/gen-libm-test.pl (cond_value): New function.
55944         (or_cond_value): Use cond_value.
55945         (generate_testfile): Handle conditional exceptions.
55947 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55949         * math/libm-test.inc (max_valid_error): New variable.
55950         (init_max_error): Take new argument specifying whether function
55951         results are exactly determined.  Set max_valid_error and bound
55952         other variables for errors based on this argument.
55953         (set_max_error): Do not record results above max_valid_error.
55954         (check_float_internal): Only accept errors of up to 0.5ulps if
55955         also at most max_valid_error.
55956         (START): Take new argument EXACT and pass it to init_max_error.
55957         (acos_test): Update call to START.
55958         (acos_test_tonearest): Likewise.
55959         (acos_test_towardzero): Likewise.
55960         (acos_test_downward): Likewise.
55961         (acos_test_upward): Likewise.
55962         (acosh_test): Likewise.
55963         (asin_test): Likewise.
55964         (asin_test_tonearest): Likewise.
55965         (asin_test_towardzero): Likewise.
55966         (asin_test_downward): Likewise.
55967         (asin_test_upward): Likewise.
55968         (asinh_test): Likewise.
55969         (atan_test): Likewise.
55970         (atanh_test): Likewise.
55971         (atan2_test): Likewise.
55972         (cabs_test): Likewise.
55973         (cacos_test): Likewise.
55974         (cacosh_test): Likewise.
55975         (carg_test): Likewise.
55976         (casin_test): Likewise.
55977         (casinh_test): Likewise.
55978         (catan_test): Likewise.
55979         (catanh_test): Likewise.
55980         (cbrt_test): Likewise.
55981         (ccos_test): Likewise.
55982         (ccosh_test): Likewise.
55983         (ceil_test): Likewise.
55984         (cexp_test): Likewise.
55985         (cimag_test): Likewise.
55986         (clog_test): Likewise.
55987         (clog10_test): Likewise.
55988         (conj_test): Likewise.
55989         (copysign_test): Likewise.
55990         (cos_test): Likewise.
55991         (cos_test_tonearest): Likewise.
55992         (cos_test_towardzero): Likewise.
55993         (cos_test_downward): Likewise.
55994         (cos_test_upward): Likewise.
55995         (cosh_test): Likewise.
55996         (cosh_test_tonearest): Likewise.
55997         (cosh_test_towardzero): Likewise.
55998         (cosh_test_downward): Likewise.
55999         (cosh_test_upward): Likewise.
56000         (cpow_test): Likewise.
56001         (cproj_test): Likewise.
56002         (creal_test): Likewise.
56003         (csin_test): Likewise.
56004         (csinh_test): Likewise.
56005         (csqrt_test): Likewise.
56006         (ctan_test): Likewise.
56007         (ctan_test_tonearest): Likewise.
56008         (ctan_test_towardzero): Likewise.
56009         (ctan_test_downward): Likewise.
56010         (ctan_test_upward): Likewise.
56011         (ctanh_test): Likewise.
56012         (ctanh_test_tonearest): Likewise.
56013         (ctanh_test_towardzero): Likewise.
56014         (ctanh_test_downward): Likewise.
56015         (ctanh_test_upward): Likewise.
56016         (erf_test): Likewise.
56017         (erfc_test): Likewise.
56018         (exp_test): Likewise.
56019         (exp_test_tonearest): Likewise.
56020         (exp_test_towardzero): Likewise.
56021         (exp_test_downward): Likewise.
56022         (exp_test_upward): Likewise.
56023         (exp10_test): Likewise.
56024         (exp10_test_tonearest): Likewise.
56025         (exp10_test_towardzero): Likewise.
56026         (exp10_test_downward): Likewise.
56027         (exp10_test_upward): Likewise.
56028         (pow10_test): Likewise.
56029         (exp2_test): Likewise.
56030         (expm1_test): Likewise.
56031         (expm1_test_tonearest): Likewise.
56032         (expm1_test_towardzero): Likewise.
56033         (expm1_test_downward): Likewise.
56034         (expm1_test_upward): Likewise.
56035         (fabs_test): Likewise.
56036         (fdim_test): Likewise.
56037         (floor_test): Likewise.
56038         (fma_test): Likewise.
56039         (fma_test_towardzero): Likewise.
56040         (fma_test_downward): Likewise.
56041         (fma_test_upward): Likewise.
56042         (fmax_test): Likewise.
56043         (fmin_test): Likewise.
56044         (fmod_test): Likewise.
56045         (fpclassify_test): Likewise.
56046         (frexp_test): Likewise.
56047         (hypot_test): Likewise.
56048         (ilogb_test): Likewise.
56049         (isfinite_test): Likewise.
56050         (finite_test): Likewise.
56051         (isgreater_test): Likewise.
56052         (isgreaterequal_test): Likewise.
56053         (isinf_test): Likewise.
56054         (isless_test): Likewise.
56055         (islessequal_test): Likewise.
56056         (islessgreater_test): Likewise.
56057         (isnan_test): Likewise.
56058         (isnormal_test): Likewise.
56059         (issignaling_test): Likewise.
56060         (isunordered_test): Likewise.
56061         (j0_test): Likewise.
56062         (j1_test): Likewise.
56063         (jn_test): Likewise.
56064         (ldexp_test): Likewise.
56065         (lgamma_test): Likewise.
56066         (gamma_test): Likewise.
56067         (lrint_test): Likewise.
56068         (lrint_test_tonearest): Likewise.
56069         (lrint_test_towardzero): Likewise.
56070         (lrint_test_downward): Likewise.
56071         (lrint_test_upward): Likewise.
56072         (llrint_test): Likewise.
56073         (llrint_test_tonearest): Likewise.
56074         (llrint_test_towardzero): Likewise.
56075         (llrint_test_downward): Likewise.
56076         (llrint_test_upward): Likewise.
56077         (log_test): Likewise.
56078         (log10_test): Likewise.
56079         (log1p_test): Likewise.
56080         (log2_test): Likewise.
56081         (logb_test): Likewise.
56082         (logb_test_downward): Likewise.
56083         (lround_test): Likewise.
56084         (llround_test): Likewise.
56085         (modf_test): Likewise.
56086         (nearbyint_test): Likewise.
56087         (nextafter_test): Likewise.
56088         (nexttoward_test): Likewise.
56089         (pow_test): Likewise.
56090         (pow_test_tonearest): Likewise.
56091         (pow_test_towardzero): Likewise.
56092         (pow_test_downward): Likewise.
56093         (pow_test_upward): Likewise.
56094         (remainder_test): Likewise.
56095         (drem_test): Likewise.
56096         (remainder_test_tonearest): Likewise.
56097         (drem_test_tonearest): Likewise.
56098         (remainder_test_towardzero): Likewise.
56099         (drem_test_towardzero): Likewise.
56100         (remainder_test_downward): Likewise.
56101         (drem_test_downward): Likewise.
56102         (remainder_test_upward): Likewise.
56103         (drem_test_upward): Likewise.
56104         (remquo_test): Likewise.
56105         (rint_test): Likewise.
56106         (rint_test_tonearest): Likewise.
56107         (rint_test_towardzero): Likewise.
56108         (rint_test_downward): Likewise.
56109         (rint_test_upward): Likewise.
56110         (round_test): Likewise.
56111         (scalb_test): Likewise.
56112         (scalbn_test): Likewise.
56113         (scalbln_test): Likewise.
56114         (signbit_test): Likewise.
56115         (sin_test): Likewise.
56116         (sin_test_tonearest): Likewise.
56117         (sin_test_towardzero): Likewise.
56118         (sin_test_downward): Likewise.
56119         (sin_test_upward): Likewise.
56120         (sincos_test): Likewise.
56121         (sinh_test): Likewise.
56122         (sinh_test_tonearest): Likewise.
56123         (sinh_test_towardzero): Likewise.
56124         (sinh_test_downward): Likewise.
56125         (sinh_test_upward): Likewise.
56126         (sqrt_test): Likewise.
56127         (sqrt_test_tonearest): Likewise.
56128         (sqrt_test_towardzero): Likewise.
56129         (sqrt_test_downward): Likewise.
56130         (sqrt_test_upward): Likewise.
56131         (tan_test): Likewise.
56132         (tan_test_tonearest): Likewise.
56133         (tan_test_towardzero): Likewise.
56134         (tan_test_downward): Likewise.
56135         (tan_test_upward): Likewise.
56136         (tanh_test): Likewise.
56137         (tgamma_test): Likewise.
56138         (trunc_test): Likewise.
56139         (y0_test): Likewise.
56140         (y1_test): Likewise.
56141         (yn_test): Likewise.
56142         (significand_test): Likewise.
56144         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56145         individual tests in comment.
56146         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56147         (prev_max_error): New variable.
56148         (prev_real_max_error): Likewise.
56149         (prev_imag_max_error): Likewise.
56150         (compare_ulp_data): Don't refer to test names in comment.
56151         (find_test_ulps): Remove function.
56152         (find_function_ulps): Likewise.
56153         (find_complex_function_ulps): Likewise.
56154         (init_max_error): Take function name as argument.  Look up ulps
56155         for that function.
56156         (print_ulps): Remove function.
56157         (print_max_error): Use prev_max_error instead of calling
56158         find_function_ulps.
56159         (print_complex_max_error): Use prev_real_max_error and
56160         prev_imag_max_error instead of calling find_complex_function_ulps.
56161         (check_float_internal): Take max_ulp parameter instead of calling
56162         find_test_ulps.  Don't call print_ulps.
56163         (check_float): Update call to check_float_internal.
56164         (check_complex): Update calls to check_float_internal.
56165         (START): Pass argument to init_max_error.
56166         * math/gen-libm-test.pl (%results): Don't include "kind"
56167         information.
56168         (parse_ulps): Don't handle ulps of individual tests.
56169         (print_ulps_file): Likewise.
56170         (output_ulps): Likewise.
56171         * math/README.libm-test: Update.
56172         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56173         individual tests.
56174         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56175         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56176         * sysdeps/arm/libm-test-ulps: Likewise.
56177         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56178         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56179         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56180         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56181         * sysdeps/microblaze/libm-test-ulps: Likewise.
56182         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56183         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56184         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56185         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56186         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56187         * sysdeps/sh/libm-test-ulps: Likewise.
56188         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56189         * sysdeps/tile/libm-test-ulps: Likewise.
56190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56192 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56194         * math/libm-test.inc (print_complex_max_error): Check separately
56195         whether real and imaginary errors are within allowed range and
56196         pass 0 to print_complex_function_ulps instead of value within
56197         allowed range.
56199 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56201         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56202         formatting.
56203         (get_handles_fopen): Likewise.
56204         (do_write_test): Likewise.
56206         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56208         * libio/fileops.c (do_ftell): Use cached offset when
56209         available.
56210         * libio/iofwide.c (do_ftell_wide): Likewise.
56211         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56212         _IO_file_attach.
56213         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56215         [BZ #16532]
56216         * libio/libioP.h (get_file_offset): New function.
56217         * libio/fileops.c (get_file_offset): Likewise.
56218         (do_ftell): Likewise.
56219         (_IO_new_file_seekoff): Split out ftell logic.
56220         * libio/wfileops.c (do_ftell_wide): Likewise.
56221         (_IO_wfile_seekoff): Split out ftell logic.
56222         * libio/tst-ftell-active-handler.c: New test case.
56223         * libio/Makefile (tests): Add it.
56225 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56227         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56228         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56230 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56232         [BZ #16639]
56233         * nscd/connections.c (nscd_init): Call do_exit.
56234         (start_threads): Call do_exit and notify_parent.
56235         (begin_drop_privileges): Call do_exit.
56236         (finish_drop_privileges): Likewise.
56237         * nscd/selinux.c (preserve_capabilities): Likewise.
56238         (install_real_capabilities): Likewise.
56239         (nscd_selinux_enabled): Likewise.
56240         (avc_create_thread): Likewise.
56241         (avc_alloc_lock): Likewise.
56242         (nscd_avc_init): Likewise.
56243         * nscd/nscd.c (parent_fd): New static variable.
56244         (main): Create a pipe between parent and child processes.
56245         Skip closing parent_fd.
56246         (monitor_child): New function.
56247         (do_exit): Likewise.
56248         (notify_parent): Likewise.
56249         * nscd/nscd.h (notify_parent): Likewise.
56250         (do_exit): Likewise.
56252 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56254         * malloc/malloc.c (__libc_calloc): Revert last change.
56256 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56260 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56262         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56264         implementation.
56265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56266         (__libc_ifunc_impl_list): Likewise.
56267         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56268         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56269         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56270         * string/strrchr.c: Define STRRCHR.
56272 2014-02-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
56274         * benchtest/bench-strtok.c (simple_strtok): Delete.
56275         (strtok_string): Use as benchmark.
56276         * string/strtok (STRTOK): New macro.
56278 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56280         * manual/threads.texi: Add header and standard comments to all
56281         functions.
56283         * elf/dl-lookup.c (check_match): New function.
56284         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56285         (do_lookup_x): Remove nested function check_match. Use non-nested
56286         function check_match.
56288 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56290         * csu/Makefile (generated, before-compile): Use += rather than =.
56291         * catgets/Makefile (generated, generated-dirs): Likewise.
56292         * debug/Makefile (generated): Likewise.
56293         * dlfcn/Makefile (generated): Likewise.
56294         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56295         * iconvdata/Makefile (before-compile, generated): Likewise.
56296         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56297         * libio/Makefile (generated): Likewise.
56298         * malloc/Makefile (generated): Likewise.
56299         * manual/Makefile (generated, generated-dirs): Likewise.
56300         * misc/Makefile (generated): Likewise.
56301         * posix/Makefile (generated): Likewise.
56302         * resolv/Makefile (generated): Likewise.
56303         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56304         * timezone/Makefile (generated, generated-dirs): Likewise.
56306         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56308 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56311         power8 implementation.
56312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56313         file: POWER8 llround ifunc implementation.
56314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56315         (__lllround): Add POWER8 implementation.
56316         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56317         POWER8 llround implementation.
56319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56320         power8 implementation.
56321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56322         file: POWER8 llrint ifunc implementation.
56323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56324         Add POWER8 implementation.
56325         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56326         POWER8 llrint implementation.
56328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56329         power8 implementation.
56330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56331         file: POWER8 finite ifunc implementation.
56332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56333         Add POWER8 implementation.
56334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56335         Likewise.
56336         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56337         POWER8 finite implementation.
56338         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56341         power8 implementation.
56342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56343         file: POWER8 isinf ifunc implementation.
56344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56345         POWER8 implementation.
56346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56347         Likewise.
56348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56349         isinf implementation.
56350         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56352         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56353         (INIT_ARCH): Add hwcap2 initialization.
56354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56355         power8 implementation.
56356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56357         file: POWER8 isnan ifunc implementation.
56358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56359         POWER8 implementation.
56360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56361         Likewise.
56362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56363         isnan implementation.
56364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56366 2014-02-27  Joey Ye  <joey.ye@arm.com>
56368         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56369         (_FP_NANFRAC_Q): Set to zero.
56371 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56373         [BZ #16623]
56374         * math/auto-libm-test-in: New test inputs.
56375         * math/auto-libm-test-out: Regenerate.
56376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56377         and DA.
56378         (__cos): Likewise.
56379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56381 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56383         * scripts/evaluate-test.sh: Take new argument indicating whether
56384         failure is expected.
56385         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56386         indicating whether failure is expected.
56387         * conform/Makefile (test-xfail-run-conformtest): New variable.
56388         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56389         level.
56390         * posix/Makefile (test-xfail-annexc): New variable.
56391         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56393 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56395         * argp/Makefile: Include Makeconfig immediately after defining
56396         subdir.
56397         * assert/Makefile: Likewise.
56398         * benchtests/Makefile: Likewise.
56399         * catgets/Makefile: Likewise.
56400         * conform/Makefile: Likewise.
56401         * crypt/Makefile: Likewise.
56402         * csu/Makefile: Likewise.
56403         (all): Remove target.
56404         * ctype/Makefile: Include Makeconfig immediately after defining
56405         subdir.
56406         * debug/Makefile: Likewise.
56407         * dirent/Makefile: Likewise.
56408         * dlfcn/Makefile: Likewise.
56409         * gmon/Makefile: Likewise.
56410         * gnulib/Makefile: Likewise.
56411         * grp/Makefile: Likewise.
56412         * gshadow/Makefile: Likewise.
56413         * hesiod/Makefile: Likewise.
56414         * hurd/Makefile: Likewise.
56415         (all): Remove target.
56416         * iconvdata/Makefile: Include Makeconfig immediately after
56417         defining subdir.
56418         * inet/Makefile: Likewise.
56419         * intl/Makefile: Likewise.
56420         * io/Makefile: Likewise.
56421         * libio/Makefile: Likewise.
56422         (all): Remove target.
56423         * locale/Makefile: Include Makeconfig immediately after defining
56424         subdir.
56425         * login/Makefile: Likewise.
56426         * mach/Makefile: Likewise.
56427         (all): Remove target.
56428         * malloc/Makefile: Include Makeconfig immediately after defining
56429         subdir.
56430         (all): Remove target.
56431         * manual/Makefile: Include Makeconfig immediately after defining
56432         subdir.
56433         * math/Makefile: Likewise.
56434         * misc/Makefile: Likewise.
56435         * nis/Makefile: Likewise.
56436         * nss/Makefile: Likewise.
56437         * po/Makefile: Likewise.
56438         (all): Remove target.
56439         * posix/Makefile: Include Makeconfig immediately after defining
56440         subdir.
56441         * pwd/Makefile: Likewise.
56442         * resolv/Makefile: Likewise.
56443         * resource/Makefile: Likewise.
56444         * rt/Makefile: Likewise.
56445         * setjmp/Makefile: Likewise.
56446         * shadow/Makefile: Likewise.
56447         * signal/Makefile: Likewise.
56448         * socket/Makefile: Likewise.
56449         * soft-fp/Makefile: Likewise.
56450         * stdio-common/Makefile: Likewise.
56451         * stdlib/Makefile: Likewise.
56452         * streams/Makefile: Likewise.
56453         * string/Makefile: Likewise.
56454         * sunrpc/Makefile: Likewise.
56455         (all): Remove target.
56456         * sysvipc/Makefile: Include Makeconfig immediately after defining
56457         subdir.
56458         * termios/Makefile: Likewise.
56459         * time/Makefile: Likewise.
56460         * timezone/Makefile: Likewise.
56461         (all): Remove target.
56462         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56463         subdir.
56464         * wctype/Makefile: Likewise.
56466 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56468         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56469         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56470         (libc_feholdexcept_setround_mips): Ditto.
56471         (libc_feholdsetround): New.
56472         (libc_feholdsetroundf): New.
56473         (libc_feholdsetroundl): New.
56474         (libc_feupdateenv_test_mips): New.
56475         (libc_feupdateenv_test): New.
56476         (libc_feupdateenv_testf): New.
56477         (libc_feupdateenv_testl): New.
56478         (libc_feresetround): New.
56479         (libc_feresetroundf): New.
56480         (libc_feresetroundl): New.
56481         (libc_fetestexcept_mips): New.
56482         (libc_fetestexcept): New.
56483         (libc_fetestexceptf): New.
56484         (libc_fetestexceptl): New.
56485         (HAVE_RM_CTX): New.
56486         (libc_feholdexcept_setround_mips_ctx): New.
56487         (libc_feholdexcept_setround_ctx): New.
56488         (libc_feholdexcept_setroundf_ctx): New.
56489         (libc_feholdexcept_setroundl_ctx): New.
56490         (libc_fesetenv_mips_ctx): New.
56491         (libc_fesetenv_ctx): New.
56492         (libc_fesetenv_ctxf): New.
56493         (libc_fesetenv_ctxl): New.
56494         (libc_feupdateenv_mips_ctx): New.
56495         (libc_feupdateenv_ctx): New.
56496         (libc_feupdateenvf_ctx): New.
56497         (libc_feupdateenvl_ctx): New.
56498         (libc_feholdsetround_mips_ctx): New.
56499         (libc_feholdsetround_ctx): New.
56500         (libc_feholdsetroundf_ctx): New.
56501         (libc_feholdsetroundl_ctx): New.
56502         (libc_feresetround_mips_ctx): New.
56503         (libc_feresetround_ctx): New.
56504         (libc_feresetroundf_ctx): New.
56505         (libc_feresetroundl_ctx): New.
56507 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56509         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56511         * manual/ipc.texi: New file.
56512         * manual/Makefile (chapters): Add ipc.
56513         * manual/job.texi: Add "Inter-Process Communication" to next.
56514         * manual/process.texi: Add "Inter-Process Communication" to prev.
56516 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56520 2014-02-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
56522         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56524         * manual/arith.texi: Fix spaces after sentences.
56525         * manual/charset.texi: Likewise.
56526         * manual/errno.texi: Likewise.
56527         * manual/install.texi: Likewise.
56528         * manual/llio.texi: Likewise.
56529         * manual/locale.texi: Likewise.
56530         * manual/maint.texi: Likewise.
56531         * manual/math.texi: Likewise.
56532         * manual/memory.texi: Likewise.
56533         * manual/message.texi: Likewise.
56534         * manual/probes.texi: Likewise.
56535         * manual/resource.texi: Likewise.
56536         * manual/signal.texi: Likewise.
56537         * manual/socket.texi: Likewise.
56538         * manual/stdio.texi: Likewise.
56539         * manual/string.texi: Likewise.
56540         * manual/time.texi: Likewise.
56541         * manual/users.texi: Likewise.
56543 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56545         [BZ #16632]
56546         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56547         _DEFAULT_SOURCE is defined.
56549 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56550             Carlos O'Donell  <carlos@redhat.com>
56552         [BZ #16613]
56553         * elf/dl-tls.c (_dl_count_modids): New function.
56554         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56555         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56556         audit library and increment generation counter.
56557         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56558         * elf/tst-audit9.c: New file.
56559         * elf/tst-auditmod9a.c: New file.
56560         * elf/tst-auditmod9b.c: New file.
56561         * elf/Makefile: Add rules to build and run tst-audit9.
56563 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56565         [BZ #15347]
56566         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56568 2014-02-25  Will Newton  <will.newton@linaro.org>
56570         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56571         (__longjmp): Restore sp and lr before restoring callee
56572         saved registers.  Add longjmp and longjmp_target
56573         SystemTap probe point.
56574         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56575         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56576         Define to zero to match jmpbuf layout.
56577         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56578         (__sigsetjmp): Save sp and lr before saving callee
56579         saved registers.  Add setjmp SystemTap probe point.
56581 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56583         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56585 2014-02-24  Andreas Schwab  <schwab@suse.de>
56587         [BZ #15804]
56588         * elf/pldd.c (wait_for_ptrace_stop): New function.
56589         (main): Call it after attaching.
56591 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56593         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56594         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56595         Versions files is now verboten.
56596         * hurd/Versions (libc: GLIBC_2.0):
56597         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56598         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56599         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56600         * mach/Versions: Likewise.
56602         * csu/Versions: Remove unused %include.
56603         * resolv/Versions: Likewise.
56605 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56607         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56608         ($(objpfx)check-local-headers.out): Likewise.
56609         ($(objpfx)begin-end-check.out): Likewise.
56610         * Makerules (check-abi-%.out): Likewise.
56611         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56612         ($(objpfx)test2.cat): Likewise.
56613         ($(objpfx)de/libc.cat): Likewise.
56614         ($(objpfx)test-gencat.out): Likewise.
56615         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56616         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56617         ($(objpfx)noload-mem): Likewise.
56618         ($(objpfx)tst-pathopt.out): Likewise.
56619         ($(objpfx)tst-rtld-load-self.out): Likewise.
56620         ($(objpfx)tst-array1-cmp.out): Likewise.
56621         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56622         ($(objpfx)tst-array2-cmp.out): Likewise.
56623         ($(objpfx)tst-array3-cmp.out): Likewise.
56624         ($(objpfx)tst-array4-cmp.out): Likewise.
56625         ($(objpfx)tst-array5-cmp.out): Likewise.
56626         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56627         ($(objpfx)check-textrel.out): Likewise.
56628         ($(objpfx)check-execstack.out): Likewise.
56629         ($(objpfx)check-localplt.out): Likewise.
56630         ($(objpfx)order2-cmp.out): Likewise.
56631         ($(objpfx)tst-leaks1-mem): Likewise.
56632         ($(objpfx)tst-leaks1-static-mem): Likewise.
56633         ($(objpfx)tst-initorder-cmp.out): Likewise.
56634         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56635         ($(objpfx)tst-unused-dep.out): Likewise.
56636         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56637         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56638         * iconv/Makefile (test-iconvconfig): Likewise.
56639         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56640         ($(objpfx)iconv-test.out): Likewise.
56641         ($(objpfx)tst-tables.out): Likewise.
56642         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56643         ($(objpfx)tst-gettext.out): Likewise.
56644         ($(objpfx)tst-translit.out): Likewise.
56645         ($(objpfx)tst-gettext2.out): Likewise.
56646         ($(objpfx)tst-gettext4.out): Likewise.
56647         ($(objpfx)tst-gettext6.out): Likewise.
56648         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56649         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56650         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56651         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56652         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56653         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56654         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56655         ($(objpfx)wordexp-tst.out): Likewise.
56656         ($(objpfx)annexc.out): Likewise.
56657         ($(objpfx)tst-fnmatch-mem): Likewise.
56658         ($(objpfx)bug-regex2-mem): Likewise.
56659         ($(objpfx)bug-regex14-mem): Likewise.
56660         ($(objpfx)bug-regex21-mem): Likewise.
56661         ($(objpfx)bug-regex31-mem): Likewise.
56662         ($(objpfx)tst-vfork3-mem): Likewise.
56663         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56664         ($(objpfx)tst-pcre-mem): Likewise.
56665         ($(objpfx)tst-boost-mem): Likewise.
56666         ($(objpfx)tst-getconf.out): Likewise.
56667         ($(objpfx)bug-ga2-mem): Likewise.
56668         ($(objpfx)bug-glob2-mem): Likewise.
56669         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56670         ($(objpfx)mtrace-tst-leaks2): Likewise.
56671         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56672         ($(objpfx)tst-printf.out): Likewise.
56673         ($(objpfx)tst-setvbuf1.out): Likewise.
56674         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56675         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56676         ($(objpfx)tst-fmtmsg.out): Likewise.
56677         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56678         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56680         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56681         * bits/sigaction.h [__USE_MISC]: Likewise.
56682         * bits/waitstatus.h: Update #endif comments.
56683         * ctype/ctype.h: Likewise.
56684         * dirent/dirent.h: Likewise.
56685         [__USE_MISC]: Remove redundant conditionals.
56686         * grp/grp.h: Update #endif comments.
56687         [__USE_GNU]: Remove redundant conditionals.
56688         [__USE_MISC]: Likewise.
56689         * inet/netinet/in.h [__USE_GNU]: Likewise.
56690         * io/sys/stat.h [__USE_MISC]: Likewise.
56691         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56692         * libio/bits/stdio.h: Update #endif comments.
56693         [__USE_MISC]: Remove redundant conditionals.
56694         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56695         * libio/stdio.h: Update #endif comments.
56696         [__USE_MISC]: Remove redundant conditionals.
56697         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56698         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56699         * math/math.h: Update #else and #endif comments.
56700         [__USE_MISC]: Remove redundant conditionals.
56701         * misc/sys/uio.h: Update #endif comments.
56702         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56703         * posix/glob.h [__USE_MISC]: Likewise.
56704         * posix/sys/types.h: Update #endif comments.
56705         [__USE_MISC]: Remove redundant conditionals.
56706         * posix/sys/wait.h: Update #endif comments.
56707         [__USE_MISC]: Remove redundant conditionals.
56708         * posix/unistd.h: Update #endif comments.
56709         [__USE_MISC]: Remove redundant conditionals.
56710         * pwd/pwd.h [__USE_GNU]: Likewise.
56711         [__USE_MISC]: Likewise.
56712         * resolv/netdb.h [__USE_GNU]: Likewise.
56713         * signal/signal.h: Update #endif comments.
56714         [__USE_MISC]: Remove redundant conditionals.
56715         * stdlib/stdlib.h: Update #else and #endif comments.
56716         [__USE_MISC]: Remove redundant conditionals.
56717         [__USE_GNU]: Likewise.
56718         * string/bits/string2.h [__USE_MISC]: Likewise.
56719         * string/string.h: Update #endif comments.
56720         [__USE_MISC]: Remove redundant conditionals.
56721         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56722         Likewise.
56723         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56724         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56725         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56726         Likewise.
56727         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56728         Likewise.
56729         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56730         comments.
56731         [__USE_MISC]: Remove redundant conditionals.
56732         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56733         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56734         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56735         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56736         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56737         Likewise.
56738         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56739         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56740         Likewise.
56741         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56742         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56743         Likewise.
56744         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56745         Likewise.
56746         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56747         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56748         Likewise.
56749         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56750         Likewise.
56751         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56752         * sysdeps/x86/bits/string.h: Update #endif comments.
56753         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56754         conditionals.
56755         * time/sys/time.h: Update #endif comments.
56756         * time/time.h: Likewise.
56757         [__USE_MISC]: Remove redundant conditionals.
56759 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56761         [BZ #16600]
56762         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56764 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56766         * Versions.def (librt): Add GLIBC_2.17.
56768 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56770         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56771         synonym for _SYS_AUXV_H to allow direct inclusion.
56772         * sysdeps/sparc/bits/hwcap.h: Likewise.
56773         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56774         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56775         * sysdeps/sparc/sysdep.h: Likewise.
56777 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56779         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56781 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56783         * benchtests/bench-strrchr.c: Print length instead of position.
56785 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56787         [BZ #16611]
56788         * sysdeps/unix/sysv/linux/kernel-features.h
56789         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56790         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56791         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56792         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56793         Likewise.
56794         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56795         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56796         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56797         (__ASSUME_SENDMMSG): Define instead of using previous
56798         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56799         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56800         (__ASSUME_SENDMMSG_SYSCALL): Define.
56801         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56802         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56803         Likewise.
56804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56805         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56806         Likewise.
56807         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56808         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56809         Likewise.
56810         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56811         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56812         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56813         [__ASSUME_SENDMMSG]: Change conditionals to
56814         [__ASSUME_SENDMMSG_SOCKETCALL].
56815         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56816         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56817         Define.
56818         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56819         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56820         Likewise.
56821         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56822         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56823         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56824         [!__ASSUME_SENDMMSG]: Change conditional to
56825         [!__ASSUME_SENDMMSG_SOCKETCALL].
56826         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56827         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56828         Define.
56830         [BZ #16610]
56831         * sysdeps/unix/sysv/linux/kernel-features.h
56832         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56833         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56834         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56835         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56836         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56837         [__i386__ || __sparc__]
56838         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56839         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56840         (__ASSUME_RECVMMSG): Define instead of using previous
56841         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56842         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56843         (__ASSUME_RECVMMSG_SYSCALL): Define.
56844         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56845         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56846         Likewise.
56847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56848         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56849         Likewise.
56850         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56851         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56852         Likewise.
56853         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56854         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56855         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56856         [__ASSUME_RECVMMSG]: Change condition to
56857         [__ASSUME_RECVMMSG_SOCKETCALL].
56858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56860         Define.
56861         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56862         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56863         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56864         Likewise.
56865         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56866         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56867         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56868         [!__ASSUME_RECVMMSG]: Change condition to
56869         [!__ASSUME_RECVMMSG_SOCKETCALL].
56870         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56871         (__ASSUME_RECVMMSG_SYSCALL): Define.
56873         [BZ #16609]
56874         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56875         __powerpc__ || __s390__ || __sh__ || __sparc__]
56876         (__ASSUME_SOCKETCALL): Define.
56877         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56878         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56879         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56880         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56881         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56882         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56883         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56884         (__ASSUME_ACCEPT4): Define instead of using previous
56885         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56886         __powerpc__ || __sparc__ || __s390__)] condition.
56887         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56888         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56889         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56890         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56891         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56892         [!__ASSUME_ACCEPT4]: Change condition to
56893         [!__ASSUME_ACCEPT4_SOCKETCALL].
56894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56895         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56896         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56897         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56898         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56899         __ASSUME_ACCEPT4_SYSCALL.
56900         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56901         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56902         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56903         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56904         __ASSUME_ACCEPT4_SYSCALL.
56905         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56906         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56907         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56908         [__ASSUME_ACCEPT4]: Change condition to
56909         [__ASSUME_ACCEPT4_SOCKETCALL].
56910         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56911         (__ASSUME_SOCKETCALL): Define.
56912         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56914         (__ASSUME_SOCKETCALL): Define.
56915         (__ASSUME_ACCEPT4): Remove.
56916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56917         Define.
56918         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56919         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56920         Likewise.
56921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56922         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56924         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56925         macro.
56926         (HWCAP_ARM_LPAE): Likewise.
56927         (HWCAP_ARM_EVTSTRM): Likewise.
56928         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56929         Add vpfd32, lpae and evtstrm.
56930         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56931         Increase to 22.
56933 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56935         * math/auto-libm-test-in: Add tests of clog10.
56936         * math/auto-libm-test-out: Regenerated.
56937         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56938         * sysdeps/i386/fpu/libm-test-ulps: Update.
56939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56941 2014-02-18  Andreas Schwab  <schwab@suse.de>
56943         [BZ #16574]
56944         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56945         Store non-zero if the second buffer was newly allocated.
56946         (send_dg): Likewise.
56947         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56948         to send_vc and send_dg.
56949         (res_nsend): Pass NULL for ansp2_malloced.
56950         * resolv/res_query.c (__libc_res_nquery): Add parameter
56951         answerp2_malloced and pass it down to __libc_res_nsend.
56952         (res_nquery): Pass additional NULL to __libc_res_nquery.
56953         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56954         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56955         second answer buffer if answerp2_malloced was set.
56956         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56957         (__libc_res_nquerydomain): Add parameter
56958         answerp2_malloced and pass it down to __libc_res_nquery.
56959         (res_nquerydomain): Pass additional NULL to
56960         __libc_res_nquerydomain.
56961         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56962         additional NULL to __libc_res_nsend and __libc_res_nquery.
56963         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56964         additional NULL to __libc_res_nsearch.
56965         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56966         parameter of __libc_res_nsearch to check for separately allocated
56967         second buffer.
56968         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56969         __libc_res_nquery.
56970         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56971         additional NULL to __libc_res_nquery.
56972         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56973         __libc_res_nsearch.
56974         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56975         * include/resolv.h: Update prototypes of __libc_res_nquery,
56976         __libc_res_nsearch, __libc_res_nsend.
56978 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56980         * math/auto-libm-test-in: Add tests of fma.
56981         * math/auto-libm-test-out: Regenerated.
56982         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56983         (fma_towardzero_test_data): Likewise.
56984         (fma_downward_test_data): Likewise.
56985         (fma_upward_test_data): Likewise.
56986         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56987         mpc_mode.
56988         (rounding_modes): Add values for new field.
56989         (func_calc_method): Add value mpfr_fff_f.
56990         (func_calc_desc): Add mpfr_fff_f union field.
56991         (test_function): Add field exact_args.
56992         (FUNC): Add macro argument EXACT_ARGS.
56993         (FUNC_mpfr_f_f): Update call to FUNC.
56994         (FUNC_mpfr_f_f): Likewise.
56995         (FUNC_mpfr_ff_f): Likewise.
56996         (FUNC_mpfr_if_f): Likewise.
56997         (FUNC_mpc_c_f): Likewise.
56998         (FUNC_mpc_c_c): Likewise.
56999         (test_functions): Add fma.  Update calls to FUNC.
57000         (handle_input_arg): Add argument exact_args.
57001         (add_test): Update call to handle_input_arg.
57002         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
57003         (output_for_one_input_case): Update call to calc_generic_results.
57004         Recalculate exact zero results in each rounding mode.
57006         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
57007         non-negative before setting low bit.
57008         * math/auto-libm-test-in: Mark one asin test possibly having
57009         spurious underflow.
57010         * math/auto-libm-test-out: Regenerated.
57011         * sysdeps/i386/fpu/libm-test-ulps: Update.
57012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57014 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
57016         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
57017         * sysdeps/unix/sysv/linux/microblaze: Move directory from
57018         ports/sysdeps/unix/sysv/linux/microblaze.
57019         * README: Add missing listing for microblaze*-*-linux-gnu.
57021 2014-02-16  Ondƙej BĂ­lka  <neleai@seznam.cz>
57023         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
57024         duplicate code
57026 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
57028         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
57029         * sysdeps/unix/sysv/linux/ia64: Move directory from
57030         ports/sysdeps/unix/sysv/linux/ia64.
57031         * README: Update listing for ia64-*-linux-gnu.
57033 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
57034             Joseph Myers  <joseph@codesourcery.com>
57036         * Makeconfig (test-name): New variable.
57037         (evaluate-test): Likewise.
57038         * Makerules (do-test-clean): Remove .test-result files.
57039         (common-mostlyclean): Likewise.
57040         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
57041         * scripts/evaluate-test.sh: New file.
57043 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
57045         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
57046         separate $(objpfx)tst-fopenloc-cmp.out and
57047         $(objpfx)tst-fopenloc-mem.out targets.
57048         (tests): Update dependencies.
57049         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
57050         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
57051         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
57052         (tst-rxspencer-no-utf8-ARGS): New variable.
57053         (tst-rxspencer-no-utf8-ENV): Likewise.
57054         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
57055         instead of $(objpfx)tst-rxspencer-mem.
57056         ($(objpfx)tst-rxspencer-mem): Change target to
57057         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
57058         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
57059         * posix/tst-rxspencer-no-utf8.c: New file.
57061         * elf/Makefile ($(objpfx)order.out): Remove rule.
57062         [$(run-built-tests) = yes] (tests): Depend on
57063         $(objpfx)order-cmp.out.
57064         ($(objpfx)order-cmp.out): New rule.
57065         [$(run-built-tests) = yes] (tests): Depend on
57066         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57067         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57068         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57069         $(objpfx)tst-array5-static-cmp.out.
57070         ($(objpfx)tst-array1.out): Remove rule.
57071         ($(objpfx)tst-array1-cmp.out): New rule.
57072         ($(objpfx)tst-array1-static.out): Remove rule.
57073         ($(objpfx)tst-array1-static-cmp.out): New rule.
57074         ($(objpfx)tst-array2.out): Remove rule.
57075         ($(objpfx)tst-array2-cmp.out): New rule.
57076         ($(objpfx)tst-array3.out): Remove rule.
57077         ($(objpfx)tst-array3-cmp.out): New rule.
57078         ($(objpfx)tst-array4.out): Remove rule.
57079         ($(objpfx)tst-array4-cmp.out): New rule.
57080         ($(objpfx)tst-array5.out): Remove rule.
57081         ($(objpfx)tst-array5-cmp.out): New rule.
57082         ($(objpfx)tst-array5-static.out): Remove rule.
57083         ($(objpfx)tst-array5-static-cmp.out): New rule.
57084         [$(run-built-tests) = yes] (tests): Depend on
57085         $(objpfx)order2-cmp.out.
57086         ($(objpfx)order2.out): Remove rule.
57087         ($(objpfx)order2-cmp.out): New rule.
57088         ($(objpfx)tst-initorder.out): Remove rule.
57089         [$(run-built-tests) = yes] (tests): Depend on
57090         $(objpfx)tst-initorder-cmp.out.
57091         ($(objpfx)tst-initorder-cmp.out): New rule.
57092         ($(objpfx)tst-initorder2.out): Remove rule.
57093         [$(run-built-tests) = yes] (tests): Depend on
57094         $(objpfx)tst-initorder2-cmp.out.
57095         ($(objpfx)tst-initorder2-cmp.out): New rule.
57096         [$(run-built-tests) = yes] (tests): Depend on
57097         $(objpfx)tst-unused-dep-cmp.out.
57098         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57099         ($(objpfx)tst-unused-dep-cmp.out): New rule.
57100         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57101         on $(objpfx)tst-setvbuf1-cmp.out.
57102         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57103         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57104         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57105         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57106         ($(objpfx)tst-svc.out): Remove rule.
57107         ($(objpfx)tst-svc-cmp.out): New rule.
57109 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
57111         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57112         * ctype/ctype.h [__USE_MISC]: Likewise.
57113         * dirent/dirent.h [__USE_MISC]: Likewise.
57114         * grp/grp.h [__USE_MISC]: Likewise.
57115         * io/fcntl.h [__USE_MISC]: Likewise.
57116         * io/sys/stat.h [__USE_MISC]: Likewise.
57117         * libio/stdio.h [__USE_MISC]: Likewise.
57118         * posix/unistd.h [__USE_MISC]: Likewise.
57119         * pwd/pwd.h [__USE_MISC]: Likewise.
57120         * stdlib.h [__USE_MISC]: Likewise.
57121         * string/bits/string2.h [__USE_MISC]: Likewise.
57122         * string/string.h [__USE_MISC]: Likewise.
57123         * time/time.h [__USE_MISC]: Likewise.
57125 2014-02-13  Andreas Schwab  <schwab@suse.de>
57127         [BZ #16574]
57128         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57129         second answer buffer if it was separately allocated.
57131 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
57133         * sysdeps/mips/math-tests.h: Include <features.h>.
57134         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57135         (ROUNDING_TESTS_long_double): Do not define.
57136         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57137         (EXCEPTION_TESTS_long_double): Likewise.
57138         * sysdeps/mips/mips64/libm-test-ulps: Update.
57140         * include/features.h (__USE_BSD): Remove macro definitions.
57141         (__USE_SVID): Likewise.
57142         (_BSD_SOURCE): Likewise.
57143         (_SVID_SOURCE): Likewise.
57144         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57145         from definition of _DEFAULT_SOURCE.
57146         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57147         [_DEFAULT_SOURCE].
57148         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57149         * bits/mman.h [__USE_BSD]: Likewise.
57150         * bits/termios.h [__USE_BSD]: Likewise.
57151         * bits/waitstatus.h [__USE_BSD]: Likewise.
57152         * ctype/ctype.h [__USE_SVID]: Likewise.
57153         * dirent/dirent.h [__USE_BSD]: Likewise.
57154         * grp/grp.h [__USE_SVID]: Likewise.
57155         [__USE_BSD]: Likewise.
57156         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57157         * io/fcntl.h [__USE_BSD]: Likewise.
57158         * io/ftw.h [__USE_BSD]: Likewise.
57159         * io/sys/stat.h [__USE_BSD]: Likewise.
57160         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57161         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57162         * libio/stdio.h [__USE_SVID]: Likewise.
57163         [__USE_BSD]: Likewise.
57164         * math/math.h [__USE_SVID]: Likewise.
57165         [__USE_BSD]: Likewise.
57166         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57167         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57168         * misc/search.h [__USE_SVID]: Likewise.
57169         * misc/sys/mman.h [__USE_BSD]: Likewise.
57170         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57171         * misc/sys/uio.h [__USE_BSD]: Likewise.
57172         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57173         * posix/glob.h [__USE_BSD]: Likewise.
57174         * posix/regex.h [__USE_BSD]: Likewise.
57175         * posix/sys/types.h [__USE_BSD]: Likewise.
57176         [__USE_SVID]: Likewise.
57177         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57178         * posix/sys/wait.h [__USE_BSD]: Likewise.
57179         [__USE_SVID]: Likewise.
57180         * posix/unistd.h [__USE_BSD]: Likewise.
57181         [__USE_SVID]: Likewise.
57182         * pwd/pwd.h [__USE_SVID]: Likewise.
57183         * resolv/netdb.h [__USE_BSD]: Likewise.
57184         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57185         * signal/signal.h [__USE_BSD]: Likewise.
57186         [__USE_SVID]: Likewise.
57187         * socket/sys/socket.h [__USE_BSD]: Likewise.
57188         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57189         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57190         [__USE_SVID]: Likewise.
57191         * string/bits/string2.h [__USE_BSD]: Likewise.
57192         [__USE_SVID]: Likewise.
57193         * string/bits/string3.h [__USE_BSD]: Likewise.
57194         * string/endian.h [__USE_BSD]: Likewise.
57195         * string/string.h [__USE_SVID]: Likewise.
57196         [__USE_BSD]: Likewise.
57197         * string/strings.h [__USE_BSD]: Likewise.
57198         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57199         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57200         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57201         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57202         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57203         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57204         Likewise.
57205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57206         Likewise.
57207         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57208         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57209         Likewise.
57210         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57211         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57212         Likewise.
57213         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57214         Likewise.
57215         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57216         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57217         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57218         Likewise.
57219         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57220         Likewise.
57221         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57222         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57223         * termios/termios.h [__USE_BSD]: Likewise.
57224         * time/sys/time.h [__USE_BSD]: Likewise.
57225         * time/time.h [__USE_BSD]: Likewise.
57226         [__USE_SVID]: Likewise.
57228         * Makefile (subdir_targets): Remove subdir_lint.out.
57230         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57231         (do-tst-printf): Likewise.
57232         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57233         $(objpfx)tst-printf.out.
57235         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57237         * Makerules (check-abi-%): Change target to
57238         $(objpfx)check-abi-%.out.
57239         (check-abi target): Update dependencies.
57240         (check-abi-pattern variable): Redirect output of diff to $@.
57241         (check-abi variable): Likewise.
57242         * elf/Makefile (check-abi): Update dependencies.
57244         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57245         unused.
57246         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57247         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57248         subnormal range.
57249         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57250         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57251         value has largest subnormal exponent.
57252         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57253         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57254         * sysdeps/aarch64/soft-fp/sfp-machine.h
57255         (_FP_TININESS_AFTER_ROUNDING): New macro.
57256         * sysdeps/alpha/soft-fp/sfp-machine.h
57257         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57258         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57259         Likewise.
57260         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57261         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57262         * sysdeps/mips/soft-fp/sfp-machine.h
57263         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57264         * sysdeps/powerpc/soft-fp/sfp-machine.h
57265         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57266         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57267         Likewise.
57268         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57269         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57270         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57271         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57272         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57273         Likewise.
57275 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57277         [BZ #16545]
57278         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57279         model 1.
57281 2014-02-12  Richard Henderson  <rth@redhat.com>
57283         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57284         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57285         * sysdeps/unix/sysv/linux/alpha: Move directory from
57286         ports/sysdeps/unix/sysv/linux/alpha.
57287         * README: Update listing for alpha-*-linux-gnu.
57289 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57291         * include/features.h: Update comment documenting feature test
57292         macros.
57293         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57294         _DEFAULT_SOURCE.
57295         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57296         (_SVID_SOURCE): Likewise.
57297         (_DEFAULT_SOURCE): Update description of default features.
57298         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57299         with _GNU_SOURCE.
57300         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57301         (S_ISVTX): Likewise.
57302         * manual/math.texi (Mathematical Constants): Likewise.
57303         * manual/signal.texi (Interrupted Primitives): Likewise.
57304         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57305         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57306         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57307         Don't refer to _SVID_SOURCE in warning text.
57309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57311         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57312         already defined.
57313         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57314         * sysdeps/mips/dl-lookup.c: Remove.
57315         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57317 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57319         [BZ #16447]
57320         * math/auto-libm-test-in: Add testcase for expl.
57321         * math/auto-libm-test-out: Regenerate.
57322         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57323         calculation of unsafe.
57324         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57326 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57328         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57329         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57330         ports/sysdeps/unix/sysv/linux/aarch64.
57331         * README: Update listing for aarch64*-*-linux-gnu.
57333 2014-02-11  Will Newton  <will.newton@linaro.org>
57335         * manual/probes.texi (Mathematical Function Probes): Use
57336         "triggered" instead of "hit".
57338         * manual/probes.texi (Internal Probes): Add documentation
57339         of setjmp, longjmp and longjmp_target probes.
57341         * include/stap-probe.h: Add comment about probe argument
57342         format.
57344         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57345         definition.  (tr_where, tr_freehook, tr_mallochook,
57346         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57348 2014-02-11  David S. Miller  <davem@davemloft.net>
57350         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57351         processing int_tests.
57353 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57355         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57356         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57357         * sysdeps/unix/sysv/linux/mips: Move directory from
57358         ports/sysdeps/unix/sysv/linux/mips.
57359         * README: Update listing for mips-*-linux-gnu and
57360         mips64-*-linux-gnu.
57362 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57364         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57365         * sysdeps/unix/sysv/linux/m68k: Move directory from
57366         ports/sysdeps/unix/sysv/linux/m68k.
57367         * README: Update listing for m68k-*-linux-gnu.
57369 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57371         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57372         * sysdeps/unix/sysv/linux/generic: Move directory from
57373         ports/sysdeps/unix/sysv/linux/generic.
57374         * sysdeps/unix/sysv/linux/tile: Move directory from
57375         ports/sysdeps/unix/sysv/linux/tile.
57376         * README: Update listing for tile*-*-linux-gnu.
57378 2014-02-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
57380         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57381         __builtin_expect.
57382         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57383         * catgets/open_catalog.c (__open_catalog): Likewise.
57384         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57385         * debug/confstr_chk.c: Likewise.
57386         * debug/fread_chk.c (__fread_chk): Likewise.
57387         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57388         * debug/getgroups_chk.c: Likewise.
57389         * debug/mbsnrtowcs_chk.c: Likewise.
57390         * debug/mbsrtowcs_chk.c: Likewise.
57391         * debug/mbstowcs_chk.c: Likewise.
57392         * debug/memcpy_chk.c: Likewise.
57393         * debug/memmove_chk.c: Likewise.
57394         * debug/mempcpy_chk.c: Likewise.
57395         * debug/memset_chk.c: Likewise.
57396         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57397         * debug/strcat_chk.c (__strcat_chk): Likewise.
57398         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57399         * debug/strncat_chk.c (__strncat_chk): Likewise.
57400         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57401         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57402         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57403         * debug/wcpncpy_chk.c: Likewise.
57404         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57405         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57406         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57407         * debug/wcsncpy_chk.c: Likewise.
57408         * debug/wcsnrtombs_chk.c: Likewise.
57409         * debug/wcsrtombs_chk.c: Likewise.
57410         * debug/wcstombs_chk.c: Likewise.
57411         * debug/wmemcpy_chk.c: Likewise.
57412         * debug/wmemmove_chk.c: Likewise.
57413         * debug/wmempcpy_chk.c: Likewise.
57414         * debug/wmemset_chk.c: Likewise.
57415         * dirent/scandirat.c (SCANDIRAT): Likewise.
57416         * dlfcn/dladdr1.c (dladdr1): Likewise.
57417         * dlfcn/dladdr.c (dladdr): Likewise.
57418         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57419         * dlfcn/dlerror.c (__dlerror): Likewise.
57420         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57421         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57422         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57423         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57424         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57425         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57426         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57427         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57428         Likewise.
57429         * elf/dl-conflict.c: Likewise.
57430         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57431         * elf/dl-dst.h: Likewise.
57432         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57433         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57434         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57435         * elf/dl-init.c (call_init, _dl_init): Likewise.
57436         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57437         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57438         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57439         Likewise.
57440         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57441         Likewise.
57442         * elf/dl-minimal.c (__libc_memalign): Likewise.
57443         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57444         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57445         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57446         * elf/dl-sym.c (do_sym): Likewise.
57447         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57448         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57449         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57450         * elf/dl-writev.h (_dl_writev): Likewise.
57451         * elf/ldconfig.c (search_dir): Likewise.
57452         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57453         (dl_main): Likewise.
57454         * elf/setup-vdso.h (setup_vdso): Likewise.
57455         * grp/compat-initgroups.c (compat_call): Likewise.
57456         * grp/fgetgrent.c (fgetgrent): Likewise.
57457         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57458         * grp/putgrent.c (putgrent): Likewise.
57459         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57460         Likewise.
57461         * hurd/hurdinit.c: Likewise.
57462         * iconvdata/8bit-gap.c (struct): Likewise.
57463         * iconvdata/ansi_x3.110.c : Likewise.
57464         * iconvdata/big5.c : Likewise.
57465         * iconvdata/big5hkscs.c : Likewise.
57466         * iconvdata/cp1255.c: Likewise.
57467         * iconvdata/cp1258.c : Likewise.
57468         * iconvdata/cp932.c : Likewise.
57469         * iconvdata/euc-cn.c: Likewise.
57470         * iconvdata/euc-jisx0213.c : Likewise.
57471         * iconvdata/euc-jp.c: Likewise.
57472         * iconvdata/euc-jp-ms.c : Likewise.
57473         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57474         * iconvdata/gb18030.c : Likewise.
57475         * iconvdata/gbbig5.c (const): Likewise.
57476         * iconvdata/gbgbk.c: Likewise.
57477         * iconvdata/gbk.c : Likewise.
57478         * iconvdata/ibm1364.c : Likewise.
57479         * iconvdata/ibm930.c : Likewise.
57480         * iconvdata/ibm932.c: Likewise.
57481         * iconvdata/ibm933.c : Likewise.
57482         * iconvdata/ibm935.c : Likewise.
57483         * iconvdata/ibm937.c : Likewise.
57484         * iconvdata/ibm939.c : Likewise.
57485         * iconvdata/ibm943.c: Likewise.
57486         * iconvdata/iso_11548-1.c: Likewise.
57487         * iconvdata/iso-2022-cn.c : Likewise.
57488         * iconvdata/iso-2022-cn-ext.c : Likewise.
57489         * iconvdata/iso-2022-jp-3.c: Likewise.
57490         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57491         * iconvdata/iso-2022-kr.c : Likewise.
57492         * iconvdata/iso646.c (gconv_end): Likewise.
57493         * iconvdata/iso_6937-2.c : Likewise.
57494         * iconvdata/iso_6937.c : Likewise.
57495         * iconvdata/iso8859-1.c: Likewise.
57496         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57497         * iconvdata/shift_jisx0213.c : Likewise.
57498         * iconvdata/sjis.c : Likewise.
57499         * iconvdata/t.61.c : Likewise.
57500         * iconvdata/tcvn5712-1.c : Likewise.
57501         * iconvdata/tscii.c: Likewise.
57502         * iconvdata/uhc.c : Likewise.
57503         * iconvdata/unicode.c (gconv_end): Likewise.
57504         * iconvdata/utf-16.c (gconv_end): Likewise.
57505         * iconvdata/utf-32.c (gconv_end): Likewise.
57506         * iconvdata/utf-7.c (base64): Likewise.
57507         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57508         * iconv/gconv_close.c (__gconv_close): Likewise.
57509         * iconv/gconv_open.c (__gconv_open): Likewise.
57510         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57511         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57512         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57513         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57514         (ucs4le_internal_loop_single): Likewise.
57515         * iconv/iconv.c (iconv): Likewise.
57516         * iconv/iconv_close.c: Likewise.
57517         * iconv/loop.c (SINGLE): Likewise.
57518         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57519         * include/atomic.h: Likewise.
57520         * inet/inet6_option.c (option_alloc): Likewise.
57521         * intl/bindtextdom.c (set_binding_values): Likewise.
57522         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57523         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57524         * intl/localealias.c (read_alias_file): Likewise.
57525         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57526         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57527         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57528         * libio/fmemopen.c (fmemopen): Likewise.
57529         * libio/iofgets.c (_IO_fgets): Likewise.
57530         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57531         * libio/iofgetws.c (fgetws): Likewise.
57532         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57533         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57534         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57535         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57536         * locale/findlocale.c (_nl_find_locale): Likewise.
57537         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57538         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57539         Likewise.
57540         * locale/setlocale.c (setlocale): Likewise.
57541         * login/programs/pt_chown.c (main): Likewise.
57542         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57543         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57544         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57545         (mmap, mmap64, mremap, munmap): Likewise.
57546         * math/e_exp2l.c: Likewise.
57547         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57548         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57549         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57550         * math/s_catan.c (__catan): Likewise.
57551         * math/s_catanf.c (__catanf): Likewise.
57552         * math/s_catanh.c (__catanh): Likewise.
57553         * math/s_catanhf.c (__catanhf): Likewise.
57554         * math/s_catanhl.c (__catanhl): Likewise.
57555         * math/s_catanl.c (__catanl): Likewise.
57556         * math/s_ccosh.c (__ccosh): Likewise.
57557         * math/s_ccoshf.c (__ccoshf): Likewise.
57558         * math/s_ccoshl.c (__ccoshl): Likewise.
57559         * math/s_cexp.c (__cexp): Likewise.
57560         * math/s_cexpf.c (__cexpf): Likewise.
57561         * math/s_cexpl.c (__cexpl): Likewise.
57562         * math/s_clog10.c (__clog10): Likewise.
57563         * math/s_clog10f.c (__clog10f): Likewise.
57564         * math/s_clog10l.c (__clog10l): Likewise.
57565         * math/s_clog.c (__clog): Likewise.
57566         * math/s_clogf.c (__clogf): Likewise.
57567         * math/s_clogl.c (__clogl): Likewise.
57568         * math/s_csin.c (__csin): Likewise.
57569         * math/s_csinf.c (__csinf): Likewise.
57570         * math/s_csinh.c (__csinh): Likewise.
57571         * math/s_csinhf.c (__csinhf): Likewise.
57572         * math/s_csinhl.c (__csinhl): Likewise.
57573         * math/s_csinl.c (__csinl): Likewise.
57574         * math/s_csqrt.c (__csqrt): Likewise.
57575         * math/s_csqrtf.c (__csqrtf): Likewise.
57576         * math/s_csqrtl.c (__csqrtl): Likewise.
57577         * math/s_ctan.c (__ctan): Likewise.
57578         * math/s_ctanf.c (__ctanf): Likewise.
57579         * math/s_ctanh.c (__ctanh): Likewise.
57580         * math/s_ctanhf.c (__ctanhf): Likewise.
57581         * math/s_ctanhl.c (__ctanhl): Likewise.
57582         * math/s_ctanl.c (__ctanl): Likewise.
57583         * math/w_pow.c: Likewise.
57584         * math/w_powf.c: Likewise.
57585         * math/w_powl.c: Likewise.
57586         * math/w_scalb.c (sysv_scalb): Likewise.
57587         * math/w_scalbf.c (sysv_scalbf): Likewise.
57588         * math/w_scalbl.c (sysv_scalbl): Likewise.
57589         * misc/error.c (error_tail): Likewise.
57590         * misc/pselect.c (__pselect): Likewise.
57591         * nis/nis_callback.c (__nis_create_callback): Likewise.
57592         * nis/nis_call.c (__nisfind_server): Likewise.
57593         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57594         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57595         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57596         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57597         * nis/nis_lookup.c (nis_lookup): Likewise.
57598         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57599         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57600         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57601         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57602         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57603         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57604         * nis/nss_compat/compat-initgroups.c (add_group)
57605         (internal_getgrent_r): Likewise.
57606         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57607         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57608         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57609         (internal_getspnam_r): Likewise.
57610         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57611         (_nss_nis_getaliasbyname_r): Likewise.
57612         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57613         (_nss_nis_getntohost_r): Likewise.
57614         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57615         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57616         (_nss_nis_getgrgid_r): Likewise.
57617         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57618         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57619         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57620         (_nss_nis_gethostbyname4_r): Likewise.
57621         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57622         (initgroups_netid): Likewise.
57623         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57624         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57625         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57626         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57627         (_nss_nis_getprotobynumber_r): Likewise.
57628         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57629         (_nss_nis_getsecretkey): Likewise.
57630         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57631         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57632         (_nss_nis_getpwuid_r): Likewise.
57633         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57634         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57635         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57636         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57637         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57638         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57639         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57640         Likewise.
57641         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57642         (_nss_nisplus_getntohost_r): Likewise.
57643         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57644         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57645         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57646         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57647         Likewise.
57648         * nis/nss_nisplus/nisplus-initgroups.c
57649         (_nss_nisplus_initgroups_dyn): Likewise.
57650         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57651         (_nss_nisplus_getnetbyaddr_r): Likewise.
57652         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57653         (_nss_nisplus_getprotobynumber_r): Likewise.
57654         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57655         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57656         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57657         Likewise.
57658         * nis/nss_nisplus/nisplus-service.c
57659         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57660         (_nss_nisplus_getservbyport_r): Likewise.
57661         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57662         (_nss_nisplus_getspnam_r): Likewise.
57663         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57664         Likewise.
57665         * nscd/aicache.c (addhstaiX): Likewise.
57666         * nscd/cache.c (cache_search, prune_cache): Likewise.
57667         * nscd/connections.c (register_traced_file, send_ro_fd)
57668         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57669         (main_loop_epoll): Likewise.
57670         * nscd/grpcache.c (addgrbyX): Likewise.
57671         * nscd/hstcache.c (addhstbyX): Likewise.
57672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57673         * nscd/mem.c (gc, mempool_alloc): Likewise.
57674         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57675         (addinnetgrX): Likewise.
57676         * nscd/nscd-client.h (__nscd_acquire_maplock)
57677         (__nscd_drop_map_ref): Likewise.
57678         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57679         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57680         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57681         Likewise.
57682         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57684         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57685         (__nscd_get_map_ref): Likewise.
57686         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57687         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57688         Likewise.
57689         * nscd/pwdcache.c (addpwbyX): Likewise.
57690         * nscd/selinux.c (preserve_capabilities): Likewise.
57691         * nscd/servicescache.c (addservbyX): Likewise.
57692         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57693         * posix/fnmatch.c (fnmatch): Likewise.
57694         * posix/getopt.c (_getopt_internal_r): Likewise.
57695         * posix/glob.c (glob, glob_in_dir): Likewise.
57696         * posix/wordexp.c (exec_comm_child): Likewise.
57697         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57698         (getanswer_r, gaih_getanswer_slice): Likewise.
57699         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57700         * resolv/res_init.c: Likewise.
57701         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57702         * resolv/res_query.c (__libc_res_nquery): Likewise.
57703         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57704         Likewise.
57705         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57706         * stdio-common/perror.c (perror): Likewise.
57707         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57708         * stdio-common/tmpnam.c (tmpnam): Likewise.
57709         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57710         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57711         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57712         Likewise.
57713         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57714         * stdlib/putenv.c (putenv): Likewise.
57715         * stdlib/setenv.c (__add_to_environ): Likewise.
57716         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57717         * stdlib/strtol_l.c (INTERNAL): Likewise.
57718         * string/memmem.c (memmem): Likewise.
57719         * string/strerror.c (strerror): Likewise.
57720         * string/strnlen.c (__strnlen): Likewise.
57721         * string/test-memmem.c (simple_memmem): Likewise.
57722         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57723         * sunrpc/pm_getport.c (__get_socket): Likewise.
57724         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57725         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57726         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57727         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57728         Likewise.
57729         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57730         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57731         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57732         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57733         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57734         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57735         Likewise.
57736         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57737         Likewise.
57738         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57739         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57741         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57742         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57744         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57745         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57746         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57747         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57748         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57749         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57750         Likewise.
57751         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57752         Likewise.
57753         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57754         Likewise.
57755         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57756         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57757         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57758         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57759         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57760         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57761         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57762         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57764         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57765         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57767         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57768         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57770         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57771         Likewise.
57772         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57773         Likewise.
57774         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57775         Likewise.
57776         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57777         Likewise.
57778         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57779         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57780         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57781         Likewise.
57782         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57783         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57784         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57785         * sysdeps/posix/sleep.c: Likewise.
57786         * sysdeps/posix/tempname.c: Likewise.
57787         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57788         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57789         Likewise.
57790         * sysdeps/powerpc/powerpc32/dl-machine.h
57791         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57792         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57793         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57794         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57795         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57796         Likewise.
57797         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57798         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57799         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57800         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57801         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57802         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57803         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57804         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57805         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57806         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57808         (elf_machine_lazy_rel): Likewise.
57809         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57810         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57811         (elf_machine_lazy_rel): Likewise.
57812         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57813         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57814         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57815         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57816         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57817         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57818         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57819         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57820         Likewise.
57821         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57822         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57823         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57824         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57825         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57826         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57827         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57828         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57829         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57830         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57831         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57832         Likewise.
57833         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57834         (__posix_fallocate64_l64): Likewise.
57835         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57836         (posix_fallocate): Likewise.
57837         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57838         Likewise.
57839         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57840         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57841         (getifaddrs_internal): Likewise.
57842         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57843         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57844         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57845         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57846         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57847         (__posix_fallocate64_l64): Likewise.
57848         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57849         Likewise.
57850         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57851         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57852         (__get_clockfreq): Likewise.
57853         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57854         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57855         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57857         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57858         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57859         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57860         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57861         Likewise.
57862         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57863         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57864         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57865         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57866         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57867         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57868         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57869         Likewise.
57870         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57871         (posix_fallocate): Likewise.
57872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57873         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57874         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57875         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57876         (elf_machine_rela, elf_machine_rela_relative)
57877         (elf_machine_lazy_rel): Likewise.
57878         * time/asctime.c (asctime_internal): Likewise.
57879         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57880         * time/tzset.c (__tzset_parse_tz): Likewise.
57881         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57882         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57883         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57884         * wcsmbs/wcsmbsload.h: Likewise.
57886         [BZ #15894]
57887         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57889         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57890         (arena_get2): Remove THREAD_STATS conditionals.
57891         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57892         (__malloc_stats, int): Likewise.
57894 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57896         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57897         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57899         * manual/setjmp.texi: Fix typos/grammar errors.
57901         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57902         Only return early when n is <= 0.  Delete unused return statement.
57904         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57905         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57906         * debug/tst-longjmp_chk3.c: New file.
57908         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57909         (test_main): Replace code with set_fortify_handler call.
57910         * debug/test-strcpy_chk.c: Likewise.
57911         * debug/tst-chk1.c: Likewise.
57912         * debug/tst-longjmp_chk.c: Likewise.
57913         * test-skeleton.c: Include fcntl.h & paths.h
57914         (set_fortify_handler): Define.
57916         * debug/tst-longjmp_chk.c: Add header comment and include
57917         ../test-skeleton.c.
57918         (do_test): Mark static.
57919         (TEST_FUNCTION): Define.
57921         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57922         (IP_PMTUDISC_INTERFACE): Likewise.
57923         (IP_MULTICAST_IF): Likewise.
57924         (IP_MULTICAST_TTL): Likewise.
57925         (IP_MULTICAST_LOOP): Likewise.
57926         (IP_ADD_MEMBERSHIP): Likewise.
57927         (IP_DROP_MEMBERSHIP): Likewise.
57928         (IP_UNBLOCK_SOURCE): Likewise.
57929         (IP_BLOCK_SOURCE): Likewise.
57930         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57931         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57932         (IP_MSFILTER): Likewise.
57933         (MCAST_JOIN_GROUP): Likewise.
57934         (MCAST_BLOCK_SOURCE): Likewise.
57935         (MCAST_UNBLOCK_SOURCE): Likewise.
57936         (MCAST_LEAVE_GROUP): Likewise.
57937         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57938         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57939         (MCAST_MSFILTER): Likewise.
57940         (IP_MULTICAST_ALL): Likewise.
57941         (IP_UNICAST_IF): Likewise.
57943         * timezone/Makefile: Delete $(have-ksh) check.
57944         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57945         * timezone/tzselect.ksh: Add +x mode bits.
57947         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57948         (ANON_INODE_FS_MAGIC): Likewise.
57949         (BDEVFS_MAGIC): Likewise.
57950         (BINFMTFS_MAGIC): Likewise.
57951         (BTRFS_TEST_MAGIC): Likewise.
57952         (CRAMFS_MAGIC_WEND): Likewise.
57953         (DEBUGFS_MAGIC): Likewise.
57954         (ECRYPTFS_SUPER_MAGIC): Likewise.
57955         (EXT3_SUPER_MAGIC): Likewise.
57956         (EXT4_SUPER_MAGIC): Likewise.
57957         (FUTEXFS_SUPER_MAGIC): Likewise.
57958         (HOSTFS_SUPER_MAGIC): Likewise.
57959         (HUGETLBFS_MAGIC): Likewise.
57960         (MINIX3_SUPER_MAGIC): Likewise.
57961         (MTD_INODE_FS_MAGIC): Likewise.
57962         (NILFS_SUPER_MAGIC): Likewise.
57963         (OPENPROM_SUPER_MAGIC): Likewise.
57964         (PIPEFS_MAGIC): Likewise.
57965         (PSTOREFS_MAGIC): Likewise.
57966         (QNX6_SUPER_MAGIC): Likewise.
57967         (RAMFS_MAGIC): Likewise.
57968         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57969         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57970         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57971         (SECURITYFS_MAGIC): Likewise.
57972         (SELINUX_MAGIC): Likewise.
57973         (SMACK_MAGIC): Likewise.
57974         (SOCKFS_MAGIC): Likewise.
57975         (SQUASHFS_MAGIC): Likewise.
57976         (STACK_END_MAGIC): Likewise.
57977         (TMPFS_MAGIC): Likewise.
57978         (USBDEVICE_SUPER_MAGIC): Likewise.
57979         (V9FS_MAGIC): Likewise.
57980         (XENFS_SUPER_MAGIC): Likewise.
57981         (CRAMFS_MAGIC): Fix typo in comment.
57982         (EXT2_SUPER_MAGIC): Update comment.
57983         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57985 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57987         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57988         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57989         * sysdeps/unix/sysv/linux/arm: Move directory from
57990         ports/sysdeps/unix/sysv/linux/arm.
57991         * README: Update listing for arm-*-linux-gnueabi.
57993         * README: Remove mention of am33.
57995 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57997         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57998         than the comma operator, to avoid "rhs of comma has no effect"
57999         compiler warnings.
58000         (__sigfillset, __sigandset, __sigorset): Likewise.
58001         * include/signal.h (__sigemptyset): Likewise.
58002         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
58004 2014-02-07  Allan McRae  <allan@archlinux.org>
58006         * version.h (RELEASE): Set to "development".
58007         (VERSION): Set to "2.19.90"
58008         * NEWS: Add 2.20 section.
58010 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
58012         [BZ #16529]
58013         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
58015 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58017         * manual/contrib.texi: Update entry for Carlos O'Donell,
58018         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
58020 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
58022         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
58024         * sysdeps/unix/sysv/linux/kernel-features.h
58025         [__LINUX_KERNEL_VERSION >= 0x020621]
58026         (__ASSUME_PROC_PID_TASK_COMM): Define.
58028 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58030         [BZ #16398]
58031         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
58032         conversion when destination buffer does not have enough space.
58033         * libio/tst-ftell-partial-wide.c: New test case.
58034         * libio/Makefile (tests): Add tst-ftell-partial-wide.
58036         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
58037         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
58038         Leonard and Allan McRae.
58040 2014-02-04  David S. Miller  <davem@davemloft.net>
58042         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
58043         32-bit.
58045 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
58048         New file
58049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
58050         New file
58051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
58052         New file.
58053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
58054         New file.
58055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
58056         New file.
58057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
58058         New file.
58059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
58060         New file.
58061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
58062         New file.
58063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58064         New file.
58065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58066         New file.
58067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58068         New file.
58069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58070         New file.
58071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58072         New file.
58074 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58076         * nptl/shlib-versions: Change powerpc*le start to 2.17.
58077         * shlib-versions: Likewise.
58079 2014-02-04  Roland McGrath  <roland@hack.frob.com>
58080             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58082         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58083         (abilist-pattern): New variable, set to %-le.abilist.
58085         * Makerules (abilist-pattern): New variable.
58086         (vpath): Use $(abilist-pattern) in place of %.abilist.
58087         (check-abi-% pattern rule): Likewise.
58088         (check-abi, update-abi): Likewise.
58090 2014-02-04  Eric Wong  <normalperson@yhbt.net>
58092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58094 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
58096         * manual/startup.texi: Add next, previous, and top entries for
58097         the `Program Arguments' and `Environment Variables' nodes.
58099 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
58101         * manual/macros.texi: Add comments before MTASC-safety macros.
58103         * manual/users.texi: Document MTASC-safety properties.
58105         * manual/threads.texi (pthread_key_create, pthread_key_delete)
58106         (pthread_getspecific, pthread_setspecific): Format with
58107         @deftypefun, and add @safety note.
58108         * manual/signal.texi: Move comments that analyze the above
58109         functions to their home place.
58111 2014-02-03  Allan McRae  <allan@archlinux.org>
58113         * po/sl.po: Update Slovenian translation from translation project.
58115 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
58117         * manual/time.texi (timegm): Add missing blank after @c.
58118         Reported by Joseph Myers <joseph@codesourcery.com>.
58120 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
58122         * manual/check-safety.sh: New.
58123         * manual/Makefile ($(objpfx)stamp-summary): Run it.
58125         * manual/terminal.texi: Document MTASC-safety properties.
58127         * manual/filesys.texi: Document MTASC-safety properties.
58129         * manual/errno.texi: Document MTASC-safety properties.
58131         * manual/intro.texi: Document safety identifiers and
58132         conditionals.
58134         * manual/string.texi (wcstok): Fix prototype.
58135         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58137         * manual/time.texi: Document MTASC-safety properties.
58139         * manual/string.texi: Document MTASC-safety properties.
58141         * manual/threads.texi: Document MTASC-safety properties.
58143         * manual/stdio.texi: Document MTASC-safety properties.
58145         * manual/syslog.texi: Document MTASC-safety properties.
58147         * manual/sysinfo.texi: Document MTASC-safety properties.
58149         * manual/startup.texi: Document MTASC-safety properties.
58151         * manual/socket.texi: Document MTASC-safety properties.
58153         * manual/signal.texi: Document MTASC-safety properties.
58155 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
58157         * manual/setjmp.texi: Document MTASC-safety properties.
58159         * manual/search.texi: Document MTASC-safety properties.
58161         * manual/resource.texi: Document MTASC-safety properties.
58163         * manual/process.texi: Document MTASC-safety properties.
58165         * manual/platform.texi: Document MTASC-safety properties.
58167         * manual/pipe.texi: Document MTASC-safety properties.
58169         * manual/pattern.texi: Document MTASC-safety properties.
58171         * manual/message.texi: Document MTASC-safety properties.
58173         [BZ #12751]
58174         * manual/memory.texi: Document MTASC-safety properties.
58176         * manual/math.texi: Document MTASC-safety properties.
58178         * manual/locale.texi: Document MTASC-safety properties.
58180         * manual/llio.texi: Document MTASC-safety properties.
58182         * manual/libdl.texi: New.
58184         * manual/lang.texi: Document MTASC-safety properties.
58186         * manual/job.texi: Document MTASC-safety properties.
58188         * manual/getopt.texi: Document MTASC-safety properties.
58190         * manual/ctype.texi: Document MTASC-safety properties.
58192 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58194         [BZ #16046]
58195         * csu/libc-tls.c (static_map): Remove variable.
58196         (__libc_setup_tls): Use main executable's link map for TLS data.
58197         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58198         casing for LM_ID_BASE and GL(dl_nns).
58199         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58200         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58201         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58202         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58203         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58204         member.
58205         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58206         l_phnum members.
58208 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58210         * manual/debug.texi: Document MTASC-safety properties.
58212 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58214         [BZ #16510]
58215         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58216         of __x86_64__ when disabling x87 inline functions.
58218 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58220         * manual/charset.texi: Document MTASC-safety properties.
58222         * manual/crypt.texi: Document MTASC-safety properties.
58224         * manual/conf.texi: Document MTASC-safety properties.
58226         * manual/arith.texi: Document MTASC-safety properties.
58228         * manual/argp.texi: Document MTASC-safety properties.
58230         * manual/macros.texi: Introduce macros to document multi
58231         thread, asynchronous signal and asynchronous cancellation
58232         safety properties.
58233         * manual/intro.texi: Introduce the properties themselves.
58235 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58237         * sysdeps/sh/sh4/Makefile: New file.
58239 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58241         * math/gen-libm-test.pl ($srcdir): New variable.
58242         ($auto_input): Use it.
58244 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58246         [BZ #16506]
58247         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58248         access beyond array bounds when parsing netgroups file.
58250         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58251         the old buffer before realloc.
58253 2014-01-27  Allan McRae  <allan@archlinux.org>
58255         * po/fr.po: Update French translation from translation project.
58257 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58259         * sysdeps/sh/libm-test-ulps: Regenerate.
58261 2014-01-24  David S. Miller  <davem@davemloft.net>
58263         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58265 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58267         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58268         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58270 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58272         [BZ #16474]
58273         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58274         string pointers after reallocation.
58276 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58278         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58279         __SH4A__ instead of __SH_FPU_ANY__.
58281 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58283         * sysdeps/sh/fpu_control.h: New file.
58284         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58285         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58286         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58287         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58288         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58289         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58290         * sysdeps/sh/sys/ucontext.h: Remove.
58291         * sysdeps/sh/sys: Remove directory.
58293 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58295         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58296         s390/sys/ucontext.h.
58297         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58298         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58300 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58302         [BZ #15605]
58303         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58305 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58307         [BZ #16431]
58308         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58309         Adjust the vDSO correctly for internal calls.
58310         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58312 2014-01-20  Allan McRae  <allan@archlinux.org>
58314         * po/ca.po: Update Catalan translation from translation project.
58316 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58318         * sysdeps/s390/sotruss-lib.c: New file.
58320 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58322         [BZ #16430]
58323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58324         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58325         local calls issues by not having a PLT stub required for IFUNC calls.
58326         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58328 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58330         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58331         * math/test-fpucw-static.c: Likewise.
58333 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58335         [BZ #16453]
58336         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58338 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58340         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58341         implementation for powerpc.
58343 2014-01-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
58345         [BZ #14782]
58346         * sysdeps/posix/system.c (__libc_system): Do not enable
58347         asynchronous cancellation.
58349 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58351         [BZ #16427]
58352         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58353         handling only for numbers special also in the IEEE case.
58355 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58357         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58359 2014-01-11  Allan McRae  <allan@archlinux.org>
58361         * po/bg.po: Update Bulgarian translation from translation project.
58363         * po/de.po: Update German translation from translation project.
58365 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58367         * sysdeps/generic/gcc-compat.h: New file.
58369 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58371         * benchtests/asin-inputs: Correct slow inputs.
58372         * benchtests/acos-inputs: Likewise.
58374 2014-01-10  Allan McRae  <allan@archlinux.org>
58376         * po:sv.po: Update Swedish translation from translation project.
58378         * po/vi.po: Update Vietnamese translation from translation project.
58380         * po/eo.po: Update Esperanto translation from translation project.
58382         * po/cs.po: Update Czech translation from translation project.
58384         * po/nl.po: Update Dutch translation from translation project.
58386         * po/pl.po: Update Polish translation from translation project.
58388         * po/ru.po: Update Russian translation from translation project.
58390         * po/uk.po: Update Ukrainian translation from translation project.
58392 2014-01-08  Brooks Moses  <bmoses@google.com>
58394         * elf/dl-load.c: Fix comment typo.
58396 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58398         * po/header.pot: Rename to...
58399         * po/pot.header: ... this.
58400         * po/Makefile: Use pot.header.
58402 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58403             Maxim Kuvyrkov  <maxim@kugelworks.com>
58405         [BZ #16394]
58406         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58407         SRC and DEST against LEN.
58409 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58411         [BZ #16414]
58412         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58413         implementation.
58414         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58416 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58420 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58422         [BZ #16408]
58423         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58424         for large positive arguments.
58426 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58428         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58430         * math/auto-libm-test-in: Mark various tests with
58431         xfail-rounding:ldbl-128ibm.
58432         * math/auto-libm-test-out: Regenerated.
58434         [BZ #16407]
58435         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58436         Increase overflow threshold.
58438 2014-01-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
58440         [BZ #14286]
58441         * stdio-common/vfprintf.c: Check for integer overflow.
58443 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58445         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58446         the first argument and return value of __tls_get_addr_internal.
58448 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58450         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58451         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58453 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58455         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58456         * sysdeps/s390/rtld-global-offsets.sym: New file.
58457         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58458         GLIBC_2.19 symbol.
58459         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58460         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58461         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58462         ... this.
58463         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58464         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58465         ... this.
58466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58467         Regenerate.
58468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58469         Regenerate.
58470         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58471         halfs of GPRs for high_gprs contexts.
58472         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58473         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58474         field.
58475         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58476         uc_flags field.
58477         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58478         64 bit versions:
58479         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58480         for high GPRs (uc_high_gprs) and for future extensions
58481         (__reserved).
58482         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58483         for future extensions (__reserved).
58484         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58485         64 bit versions:
58486         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58487         SC_HIGHGPRS offset definition.
58488         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58489         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58491         * Versions.def: Add GLIBC_2.19 for libpthread.
58492         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58493         siglongjmp for libpthread with GLIBC_2.19 symver.
58494         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58495         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58496         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58497         * sysdeps/s390/__longjmp.c: New file.
58498         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58499         * sysdeps/s390/longjmp.c: New file.
58500         * sysdeps/s390/setjmp.S: New file.
58501         * sysdeps/s390/sigjmp.S: New file.
58502         * sysdeps/s390/v1-longjmp.c: New file.
58503         * sysdeps/s390/v1-setjmp.h: New file.
58504         * sysdeps/s390/v1-sigjmp.c: New file.
58505         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58506         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58507         GLIBC_2.19 version.
58508         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58509         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58510         versioned symbols for ____longjmp_chk.
58511         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58512         Likewise.
58513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58514         Regenerate.
58515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58516         Regenerate.
58517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58518         Regenerate.
58519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58520         Regenerate.
58521         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58522         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58523         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58524         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58525         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58526         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58527         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58528         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58529         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58530         * sysdeps/s390/rtld-__longjmp.c: New file.
58531         * sysdeps/s390/rtld-setjmp.S: New file.
58533 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58535         [BZ #16400]
58536         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58537         Return -__logl (x) for small positive arguments without evaluating
58538         a polynomial.
58540 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58542         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58543         Rename to ...
58544         (__ptrace_peeksiginfo_args): ... this.
58545         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58546         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58547         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58549 2014-01-06  Allan McRae  <allan@archlinux.org>
58551         * inet/netinet/in.h: Fix typo in comment.
58553 2014-01-05  Andreas Jaeger  <aj@suse.de>
58555         * sysdeps/i386/fpu/libm-test-ulps: Update.
58557 2014-01-05  Allan McRae  <allan@archlinux.org>
58559         * po/libc.pot: Regenerated.
58561         * malloc/memusagestat.c: Fix gettext call formatting.
58563 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58565         * nscd/nscd.c: Improve usage() output.
58567 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58569         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58570         * sysdeps/unix/sysv/linux/configure: Regenerated.
58571         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58572         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58574 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58576         [BZ #16390]
58577         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58578         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58580 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58583         extra tokens at end of #undef directive.
58584         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58585         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58586         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58588 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58590         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58592         * math/auto-libm-test-in: Mark various tests with
58593         xfail-rounding:ldbl-128ibm.
58594         * math/auto-libm-test-out: Regenerated.
58596 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58598         [BZ #16386]
58599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58600         numbers with subnormal high part when calculating exponent.
58602         [BZ #16385]
58603         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58604         fabs.
58606         [BZ #16384]
58607         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58608         M_LN2l.
58609         (__ieee754_acoshl): Use __log1pl not __log1p.
58611 2013-01-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
58613         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58614         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58615         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58616         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58617         (reused_arena, arena_get2): Convert to GNU style.
58618         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58619         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58620         (memalign_check, __malloc_set_state): Likewise.
58621         * malloc/mallocbug.c (main): Likewise.
58622         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58623         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58624         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58625         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58626         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58627         (__posix_memalign, malloc_info): Likewise.
58628         * malloc/malloc.h: Likewise.
58629         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58630         (mallochook, memalignhook, reallochook, mabort): Likewise.
58631         * malloc/mcheck.h: Likewise.
58632         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58633         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58634         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58635         * malloc/morecore.c (__default_morecore): Likewise.
58636         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58637         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58638         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58639         (print_and_abort): Likewise.
58640         * malloc/obstack.h: Likewise.
58641         * malloc/set-freeres.c (__libc_freeres): Likewise.
58642         * malloc/tst-mallocstate.c (main): Likewise.
58643         * malloc/tst-mtrace.c (main): Likewise.
58644         * malloc/tst-realloc.c (do_test): Likewise.
58646 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58648         [BZ #16366]
58649         * nscd/netgroupcache.c (do_notfound): New function.
58650         (addgetnetgrentX): Use it.
58652         [BZ # 16365]
58653         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58654         NSS_STATUS_NOTFOUND.
58656 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58658         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58661 2014-01-01  Allan McRae  <allan@archlinux.org>
58663         * scripts/update-copyrights: Update configure input file suffix.
58665         * NEWS: Update copyright year.
58666         * catgets/gencat.c: Likewise.
58667         * csu/version.c: Likewise.
58668         * debug/catchsegv.sh: Likewise.
58669         * debug/pcprofiledump.c: Likewise.
58670         * debug/xtrace.sh: Likewise.
58671         * elf/ldconfig.c: Likewise.
58672         * elf/ldd.bash.in: Likewise.
58673         * elf/pldd.c: Likewise.
58674         * elf/sotruss.ksh: Likewise.
58675         * elf/sprof.c: Likewise.
58676         * iconv/iconv_prog.c: Likewise.
58677         * iconv/iconvconfig.c: Likewise.
58678         * locale/programs/locale.c: Likewise.
58679         * locale/programs/localedef.c: Likewise.
58680         * login/programs/pt_chown.c: Likewise.
58681         * malloc/memusage.sh: Likewise.
58682         * malloc/memusagestat.c: Likewise.
58683         * malloc/mtrace.pl: Likewise.
58684         * manual/libc.texinfo: Likewise.
58685         * nscd/nscd.c: Likewise.
58686         * nss/getent.c: Likewise.
58687         * nss/makedb.c: Likewise.
58688         * posix/getconf.c: Likewise.
58689         * scripts/test-installation.pl: Likewise.
58691         * All files with FSF copyright notices: Update copyright dates
58692         using scripts/update-copyrights.
58693         * intl/plural.c: Regenerated.
58694         * locale/programs/charmap-kw.h: Likewise.
58695         * locale/programs/locfile-kw.h: Likewise.
58697 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58699         * sysdeps/unix/sysv/linux/configure: Regenerated.
58700         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58701         the linux/fanotify.h header.
58702         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58703         HAVE_LINUX_FANOTIFY_H is defined.
58705 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58707         * benchtests/cos-inputs: New inputs.
58708         * benchtests/sin-inputs: Likewise.
58710         * benchtests/atan-inputs: New inputs. Fix name of multiple
58711         precision fallback inputs.
58713         * benchtests/atanh-inputs: New inputs.
58714         * benchtests/tanh-inputs: Likewise.
58716         * benchtests/acosh-inputs: New inputs.
58717         * benchtests/asinh-inputs: Likewise.
58719         * benchtests/cosh-inputs: New inputs.
58720         * benchtests/sinh-inputs: Likewise.
58722         * benchtests/acos-inputs: Add more inputs.
58723         * benchtests/asin-inputs: Likewise.
58725 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58727         [BZ #16375]
58728         * manual/arith.texi: Fix spelling.
58729         * manual/charset.texi: Likewise.
58730         * manual/errno.texi: Likewise.
58731         * manual/filesys.texi: Likewise.
58732         * manual/lang.texi: Likewise.
58733         * manual/llio.texi: Likewise.
58734         * manual/locale.texi: Likewise.
58735         * manual/message.texi: Likewise.
58736         * manual/resource.texi: Likewise.
58737         * manual/search.texi: Likewise.
58738         * manual/setjmp.texi: Likewise.
58739         * manual/stdio.texi: Likewise.
58740         * manual/string.texi: Likewise.
58741         * manual/sysinfo.texi: Likewise.
58742         * manual/time.texi: Likewise.
58744 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58746         * po/sl.po: New file.
58748 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58750         * .gitignore: Add core/.gdbinit/.gdb_history.
58752 2013-12-27  Allan McRae  <allan@archlinux.org>
58754         [BZ #16369]
58755         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58756         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58758 2013-12-24  Brooks Moses  <bmoses@google.com>
58760         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58761         all compilers that claim C++98 compliance, not just GCC.
58762         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58763         Likewise.
58765 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58767         * NEWS: Restore accidentally deleted bug-fix entries.
58769 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58770             Ondƙej BĂ­lka  <neleai@seznam.cz>
58772         [BZ #15073]
58773         * malloc/malloc.c (_int_free): Perform sanity check only if we
58774         have_lock.
58776 2013-12-23  Ondƙej BĂ­lka  <neleai@seznam.cz>
58778         [BZ #12986]
58779         * manual/stdio.texi (String Input Conversions): Clarify that character
58780         classes are not supported.
58782 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58786 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58788         [BZ #16337]
58789         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58790         Calculate results for small negative arguments directly rather
58791         than using reflection formula with special underflow handling.
58793         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58794         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58795         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58796         (fchflags): Likewise.
58797         (revoke): Likewise.
58798         (setlogin): Likewise.
58799         (sigaltstack): Likewise.
58800         (wait4): Likewise.
58801         (sigblock): Remove.
58802         (sigsetmask): Likewise.
58803         (wait3): Likewise.
58804         (waitpid): Likewise.
58805         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58806         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58807         file.
58808         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58809         * sysdeps/unix/bsd/Makefile: ... here.
58810         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58811         * sysdeps/unix/bsd/Versions: ... here.
58812         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58813         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58814         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58815         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58816         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58817         * sysdeps/unix/bsd/sigblock.c: ... here.
58818         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58819         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58820         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58821         * sysdeps/unix/bsd/sigvec.c: ... here.
58822         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58823         * sysdeps/unix/bsd/tcdrain.c: ... here.
58824         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58825         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58826         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58827         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58828         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58829         * sysdeps/unix/bsd/wait.c: ... here.
58830         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58831         * sysdeps/unix/bsd/wait3.c: ... here.
58832         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58833         * sysdeps/unix/bsd/waitpid.c: ... here.
58835 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58837         [BZ #16356]
58838         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58839         round-to-nearest for [!USE_AS_EXPM1L].
58840         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58841         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58842         more tests of exp and exp10.  Expect some exp10 tests to miss
58843         exceptions or fail in directed rounding modes.
58844         * math/auto-libm-test-out: Regenerated.
58845         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58846         (exp10_test_tonearest): New function.
58847         (exp10_towardzero_test_data): New array.
58848         (exp10_test_towardzero): New function.
58849         (exp10_downward_test_data): New array.
58850         (exp10_test_downward): New function.
58851         (exp10_upward_test_data): New array.
58852         (exp10_test_upward): New function.
58853         (main): Call the new functions.
58854         * sysdeps/i386/fpu/libm-test-ulps: Update.
58855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58857 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58859         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58860         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58861         * math/auto-libm-test-out: Regenerated.
58862         * math/libm-test.inc (acosh_test_data): Add more tests.
58863         (atanh_test_data): Likewise.
58864         (ceil_test_data): Likewise.
58865         (copysign_test_data): Likewise.
58866         * sysdeps/i386/fpu/libm-test-ulps: Update.
58867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58869         * timezone/checktab.awk: Update from tzcode 2013i.
58870         * timezone/private.h: Likewise.
58871         * timezone/scheck.c: Likewise.
58872         * timezone/tzfile.h: Likewise.
58873         * timezone/tzselect.ksh: Likewise.
58874         * timezone/zdump.c: Likewise.
58875         * timezone/zic.c: Likewise.
58877         * math/auto-libm-test-in: Add tests of cpow.
58878         * math/auto-libm-test-out: Regenerated.
58879         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58880         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58881         mpc_cc_c.
58882         (func_calc_desc): Add mpc_cc_c union field.
58883         (test_functions): Add cpow.
58884         (special_fill_2pi): New function.
58885         (special_real_inputs): Add 2pi.
58886         (calc_generic_results): Handle mpc_cc_c.
58887         * sysdeps/i386/fpu/libm-test-ulps: Update.
58888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58890         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58891         csqrt, ctan and ctanh.
58892         * math/auto-libm-test-out: Regenerated.
58893         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58894         (TEST_COND_x86): Likewise.
58895         (ccos_test_data): Use AUTO_TESTS_c_c.
58896         (ccosh_test_data): Likewise.
58897         (cexp_test_data): Likewise.
58898         (clog_test_data): Likewise.
58899         (csqrt_test_data): Likewise.
58900         (ctan_test_data): Likewise.
58901         (ctan_tonearest_test_data): Likewise.
58902         (ctan_towardzero_test_data): Likewise.
58903         (ctan_downward_test_data): Likewise.
58904         (ctan_upward_test_data): Likewise.
58905         (ctanh_test_data): Likewise.
58906         (ctanh_tonearest_test_data): Likewise.
58907         (ctanh_towardzero_test_data): Likewise.
58908         (ctanh_downward_test_data): Likewise.
58909         (ctanh_upward_test_data): Likewise.
58910         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58911         mpc_c_c.
58912         (func_calc_desc): Add mpc_c_c union field.
58913         (FUNC_mpc_c_c): New macro.
58914         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58915         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58916         ctanh.
58917         (special_fill_min_subnorm_p120): New function.
58918         (special_real_inputs): Add min_subnorm_p120.
58919         (calc_generic_results): Handle mpc_c_c.
58920         * sysdeps/i386/fpu/libm-test-ulps: Update.
58921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58923 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58925         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58926         (do_sin_slow): New functions.
58927         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58928         (cslow2, csloww1, csloww2): Use the new functions.
58930         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58931         Use M to change sign of result instead of X.  Assume X is
58932         positive.
58933         (csloww1): Likewise.
58934         (__sin): Adjust.
58935         (__cos): Adjust.
58937         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58938         arguments A and DA.
58939         (__sin): Adjust.
58940         (__cos): Likewise.
58942         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58943         (__cos): Likewise.
58944         (sloww1): Don't adjust sign of DX.
58945         (csloww1): Likewise.
58946         (sloww2): Use X directly and don't adjust sign of DX.
58947         (csloww2): Likewise.
58949 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58951         * math/auto-libm-test-in: Add tests of cabs and carg.
58952         * math/auto-libm-test-out: Regenerated.
58953         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58954         (carg_test_data): Likewise.
58955         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58956         mpc_c_f.
58957         (func_calc_desc): Add mpc_c_f union field.
58958         (test_functions): Add cabs and carg.
58959         (calc_generic_results): Handle mpc_c_f.
58961         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58962         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58963         as a macro and a compat symbol.
58964         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58965         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58966         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58967         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58968         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58969         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58970         not use .hidden.
58971         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58972         Likewise.
58973         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58974         Likewise.
58975         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58976         Likewise.
58977         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58978         Likewise.
58979         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58980         Likewise.
58981         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58982         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58983         from GLIBC_2.3.2.
58985 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58989 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58991         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58992         trailing whitespace removed.
58993         * scripts/config.guess: Update to version 2013-11-29.
58994         * scripts/config.sub: Update to version 2013-10-01.
58996         * math/auto-libm-test-in: Add tests of sincos.
58997         * math/auto-libm-test-out: Regenerated.
58998         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58999         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59000         mpfr_f_11.
59001         (func_calc_desc): Add mpfr_f_11 union field.
59002         (test_functions): Add sincos.
59003         (calc_generic_results): Handle mpfr_f_11.
59004         * sysdeps/i386/fpu/libm-test-ulps: Update.
59005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59007 2013-12-19  Andreas Schwab  <schwab@suse.de>
59009         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
59010         CALL_MCOUNT.
59011         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59012         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
59013         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
59015 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59017         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
59018         * sysdeps/i386/fpu/libm-test-ulps: Update.
59019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59021         [BZ #16293]
59022         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
59023         round-to-nearest mode when using frndint.
59024         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
59025         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59026         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
59027         Likewise.
59028         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
59029         sinh test to fail.
59030         * math/auto-libm-test-out: Regenerated.
59031         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
59032         (TEST_COND_x86): Likewise.
59033         (expm1_tonearest_test_data): New array.
59034         (expm1_test_tonearest): New function.
59035         (expm1_towardzero_test_data): New array.
59036         (expm1_test_towardzero): New function.
59037         (expm1_downward_test_data): New array.
59038         (expm1_test_downward): New function.
59039         (expm1_upward_test_data): New array.
59040         (expm1_test_upward): New function.
59041         (main): Run the new test functions.
59042         * sysdeps/i386/fpu/libm-test-ulps: Update.
59043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59045         * include/features.h: Update comment documenting feature test
59046         macros.  Mention _DEFAULT_SOURCE in comment.
59047         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
59048         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
59049         _BSD_SOURCE and _SVID_SOURCE.
59050         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
59051         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59052         !_SVID_SOURCE]: Likewise.
59053         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59054         (__USE_POSIX_IMPLICITLY): Define.
59055         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59056         (_POSIX_SOURCE): Undefine and redefine.
59057         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59058         (_POSIX_C_SOURCE): Likewise.
59059         * manual/creature.texi (_DEFAULT_SOURCE): Document.
59060         (Feature Test Macros): Update documentation of default features.
59062 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59064         * benchtests/Makefile: Add bench-strtok.
59065         * benchtests/bench-strtok.c: New file: strtok benchtest.
59067 2013-12-19  Allan McRae  <allan@archlinux.org>
59069         * manual/install.texi: Suppress menu for plain text output.
59070         * INSTALL: Regenerated.
59072 2013-12-18  Brooks Moses  <bmoses@google.com>
59074         [BZ #15846]
59075         * misc/getauxval.c: Include errno.h.
59076         (__getauxval): Set errno to ENOENT if the requested type is not
59077         found.
59078         * misc/sys/auxv.h (getauxval): Document that it may set errno;
59079         don't declare with __attribute_const__.
59080         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59081         * manual/startup.texi: Document that getauxval sets errno.
59083 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59085         * math/auto-libm-test-in: Add tests of jn and yn.
59086         * math/auto-libm-test-out: Regenerated.
59087         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59088         (yn_test_data): Likewise.
59089         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59090         mpfr_if_f.
59091         (func_calc_desc): Add mpfr_if_f union field.
59092         (FUNC_mpfr_if_f): New macro.
59093         (test_functions): Add jn and yn.
59094         (calc_generic_results): Assert type of second input for
59095         mpfr_ff_f.  Handle mpfr_if_f.
59096         (output_for_one_input_case): Disable all checking for arguments
59097         fitting floating-point types in case of an integer argument.
59098         * sysdeps/i386/fpu/libm-test-ulps: Update.
59099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59102         Don't expect fegetround reference in libm.so.
59104 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59106         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59107         $(config-cflags-nofma).
59109 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59111         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59112         * math/auto-libm-test-out: Regenerated.
59114         [BZ #16338]
59115         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59116         to determine exponent and adjust argument to have exponent of -1.
59117         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59118         log2.
59119         * math/auto-libm-test-out: Regenerated.
59120         * sysdeps/i386/fpu/libm-test-ulps: Update.
59121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59123 2013-12-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
59125         * manual/probes.texi: Remove cases when per-thread arenas are
59126         disabled.
59128 2013-12-18  Andreas Schwab  <schwab@suse.de>
59130         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59131         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59132         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59133         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59134         * sysdeps/i386/i686/multiarch/Makefile: Update.
59135         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59137 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59139         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59140         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59142 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
59144         [BZ #15968]
59145         Support TZ transition times < 00:00:00.
59146         This is needed for version-3 tz-format files; it supports time
59147         stamps past 2037 for America/Godthab (the only entry in the tz
59148         database for which this change is relevant).
59149         * manual/time.texi (TZ Variable): Document transition times
59150         from -167:59:59 through -00:00:01.
59151         * time/tzset.c (tz_rule): Time of day is now signed.
59152         (__tzset_parse_tz): Parse negative time of day.
59154         Document TZ transition times >= 25:00:00.
59155         * manual/time.texi (TZ Variable): Document transition times from
59156         25:00:00 through 167:59:59.  These are already supported, and this
59157         support will help with version-3 tz-format files.
59159         * manual/time.texi (TZ Variable): Modernize North America example
59160         to reflect current (i.e., 2007-and-later) daylight saving rules.
59162         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59164 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59166         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59167         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59169         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59170         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59171         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59172         * sysdeps/unix/bsd/clock.c: Likewise.
59173         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59174         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59175         * sysdeps/unix/bsd/init-posix.c: Likewise.
59176         * sysdeps/unix/bsd/poll.c: Likewise.
59177         * sysdeps/unix/bsd/ptsname.c: Likewise.
59178         * sysdeps/unix/bsd/seekdir.c: Likewise.
59179         * sysdeps/unix/bsd/setegid.c: Likewise.
59180         * sysdeps/unix/bsd/seteuid.c: Likewise.
59181         * sysdeps/unix/bsd/setgid.c: Likewise.
59182         * sysdeps/unix/bsd/setrgid.c: Likewise.
59183         * sysdeps/unix/bsd/setruid.c: Likewise.
59184         * sysdeps/unix/bsd/setsid.c: Likewise.
59185         * sysdeps/unix/bsd/setuid.c: Likewise.
59186         * sysdeps/unix/bsd/sigaction.c: Likewise.
59187         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59188         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59189         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59190         * sysdeps/unix/bsd/telldir.c: Likewise.
59191         * sysdeps/unix/bsd/times.c: Likewise.
59192         * sysdeps/unix/bsd/usleep.c: Likewise.
59194         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59195         ($(objpfx)libbsd-compat.a): Remove rule.
59197         * include/features.h (__FAVOR_BSD): Do not define.
59198         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59199         features conflicting with POSIX.
59200         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59201         (_BSD_SOURCE): Remove description of not being a subset of other
59202         feature test macros.
59203         * manual/job.texi (getpgrp): Do not document BSD version.
59204         (getpgid): Do not document by reference to BSD getpgrp.
59205         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59206         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59207         * signal/signal.h [__FAVOR_BSD]: Likewise.
59208         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59209         instead of making contents conditional on [__FAVOR_BSD].
59210         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59212 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59216 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59218         [BZ #16314]
59219         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59220         values below 2**-450, not 2**-500.
59221         * math/auto-libm-test-in: Don't allow spurious underflow from
59222         hypot.
59223         * math/auto-libm-test-out: Regenerated.
59225         [BZ #16316]
59226         [BZ #16330]
59227         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59228         values of ha and hb and sort them after adjusting subnormal
59229         arguments.
59230         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59231         Likewise.
59232         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59233         values of ea and eb and sort them after adjusting subnormal
59234         arguments.
59235         * math/auto-libm-test-in: Do not expect some hypot tests of
59236         subnormals to fail.  Add more hypot tests.
59237         * math/auto-libm-test-out: Regenerated.
59239 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59241         [BZ #13304]
59242         * sysdeps/sh/s_fma.c: New file.
59243         * sysdeps/sh/s_fmaf.c: New file.
59244         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59245         version.
59246         * sysdeps/sh/Implies: Add sh/soft-fp.
59248 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59250         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59251         level of indirection to members `objname', `errstring', `malloced'.
59252         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59253         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59254         it as the __longjmp argument (just pass 1 instead).
59255         (_dl_catch_error): Initialize C with argument pointers and address of
59256         volatile local ERRCODE rather than copying values out of C at return.
59258 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59260         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59261         * math/auto-libm-test-out: Regenerated.
59262         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59263         (hypot_test_data): Likewise.
59264         (pow_test_data): Likewise.
59265         (pow_tonearest_test_data): Likewise.
59266         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59267         mpfr_ff_f.
59268         (func_calc_desc): Add mpfr_ff_f union field.
59269         (FUNC_mpfr_ff_f): New macro.
59270         (test_functions): Add atan2, hypot and pow.
59271         (special_fill_min): New function.
59272         (special_fill_minus_min): Likewise.
59273         (special_fill_min_subnorm): Likewise.
59274         (special_fill_minus_min_subnorm): Likewise.
59275         (special_real_inputs): Add min, -min, min_subnorm and
59276         -min_subnorm.
59277         (calc_generic_results): Handle mpfr_ff_f.
59278         * sysdeps/i386/fpu/libm-test-ulps: Update.
59279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59281 2013-12-16  Will Newton  <will.newton@linaro.org>
59283         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59284         (Aligned Memory Blocks): Add documentation for aligned_alloc
59285         and suggest it as an alternative to posix_memalign.
59286         (Hooks for Malloc): Document __memalign_hook is also called
59287         for aligned_alloc.  (Summary of Malloc): Add summary for
59288         aligned alloc.  Document __memalign_hook is also called
59289         for aligned_alloc.
59291 2013-12-16  Will Newton  <will.newton@linaro.org>
59293         * manual/memory.texi (Malloc Examples): Clarify default
59294         alignment documentation.  Suggest posix_memalign rather
59295         than memalign or valloc.
59296         (Aligned Memory Blocks): Remove suggestion to use memalign
59297         or valloc.  Remove obsolete comment about BSD.
59298         Document memalign errno values and mark the function obsolete.
59299         Document posix_memalign returned error codes.  Mark valloc
59300         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59301         called for posix_memalign and valloc.
59302         (Summary of Malloc): Add posix_memalign to function summary.
59303         __memalign_hook is also called for posix_memalign and valloc.
59305 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59307         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59308         TAYLOR_SIN.
59309         (__sin): Adjust.
59310         (__cos): Likewise.
59311         (sloww): Use mynumber union.  Expand ternary operator into
59312         if-else statements.
59313         (cslow): use mynumber union.
59315 2013-12-16  Allan McRae  <allan@archlinux.org>
59317         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59318         * configure: Regenerated.
59320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59322         [BZ #14120]
59323         * configure.ac: Added --enable-maintainer-mode. Check for
59324         autoconf when enabled.
59325         * configure: Regenerated.
59327         * nscd/nscd.service: New file.
59328         * nscd/nscd.tmpfiles: New file.
59330 2013-12-14  Ondƙej BĂ­lka  <neleai@seznam.cz>
59332         [BZ #12100]
59333         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59334         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59335         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59336         (strstr): Add __strstr_sse2_unaligned ifunc.
59337         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59338         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59339         (strcasestr): Remove __strcasestr_sse42 ifunc.
59340         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59344 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59346         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59347         * sysdeps/sh/bits/fenv.h: ... here.
59348         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59350 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59352         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59355         hypotf multiarch implementations.
59356         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59357         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59358         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59359         multiarch hypot for PPC64.
59360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59362         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59363         multiarch hypotf for PPC64.
59365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59366         modff multiarch implementations.
59367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59370         multiarch modf for PPC64.
59371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59374         multiarch modff for PPC64.
59376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59377         and logl multiarch implementations.
59378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59381         multiarch logb for PPC64.
59382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59385         multiarch logb for PPC64.
59386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59389         multiarch logb for PPC64.
59391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59392         isinff multiarch implementation.
59393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59394         file.
59395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59397         multiarch isinf for PPC64.
59398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59399         file.
59400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59401         multiarch isinff for PPC64.
59403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59404         finitef multiarch implementation.
59405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59406         file.
59407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59409         multiarch finite for PPC64.
59410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59411         file.
59412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59413         multiarch finitef for PPC64.
59415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59416         lrint multiarch implementation.
59417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59418         file.
59419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59421         multiarch llrint for PPC64.
59422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59423         multiarch lrint for PPC64.
59425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59426         copysignf multiarch implementation.
59427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59428         file.
59429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59430         file.
59431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59432         multiarch copysign for PPC64.
59433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59434         multiarch copysignf for PPC64.
59436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59437         multiarch implementation.
59438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59439         file.
59440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59441         file.
59442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59443         file.
59444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59445         file.
59446         multiarch llround for PPC64.
59447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59448         multiarch trunc for PPC64.
59449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59450         multiarch truncf for PPC64.
59452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59453         multiarch implementation.
59454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59455         file.
59456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59457         file.
59458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59459         file.
59460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59461         file.
59462         multiarch llround for PPC64.
59463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59464         multiarch round for PPC64.
59465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59466         multiarch roundf for PPC64.
59468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59469         multiarch implementation.
59470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59471         file.
59472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59473         file.
59474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59475         file.
59476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59477         file.
59478         multiarch llround for PPC64.
59479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59480         multiarch floor for PPC64.
59481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59482         multiarch floorf for PPC64.
59484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59485         multiarch implementation.
59486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59487         file.
59488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59489         file.
59490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59491         file.
59492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59493         file.
59494         multiarch llround for PPC64.
59495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59496         multiarch ceil for PPC64.
59497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59498         multiarch ceilf for PPC64.
59500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59501         multiarch implementation.
59502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59503         file.
59504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59505         file.
59506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59507         file.
59508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59509         multiarch llround for PPC64.
59510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59511         multiarch lround for PPC64.
59513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59514         multiarch implementation.
59515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59518         file.
59519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59522         multiarch isnan for PPC64.
59523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59524         multiarch isnanf for PPC64.
59526         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59527         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59528         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59529         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59530         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59533         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59534         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59535         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59536         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59539         multiarch implementations.
59540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59541         (__libc_ifunc_impl_list): Likewise.
59542         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59545         multiarch stpcpy for PPC64.
59547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59548         multiarch implementations.
59549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59550         (__libc_ifunc_impl_list): Likewise.
59551         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59552         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59553         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59554         multiarch strcpy for PPC64.
59556         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59557         redefine function name.
59558         (_wordcopy_fwd_dest_aligned): Likewise.
59559         (_wordcopy_bwd_aligned): Likewise.
59560         (_wordcopy_bwd_dest_aligned): Likewise.
59561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59562         multiarch implementations.
59563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59564         (__libc_ifunc_impl_list): Likewise.
59565         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59567         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59568         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59569         multiarch wcscpy for PPC64.
59571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59572         multiarch implementations.
59573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59574         (__libc_ifunc_impl_list): Likewise.
59575         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59576         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59577         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59578         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59579         multiarch wcscpy for PPC64.
59581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59582         multiarch implementations.
59583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59584         (__libc_ifunc_impl_list): Likewise.
59585         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59586         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59587         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59588         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59589         multiarch wcsrchr for PPC64.
59591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59592         multiarch implementations.
59593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59594         (__libc_ifunc_impl_list): Likewise.
59595         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59596         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59597         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59598         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59599         multiarch wcschr for PPC64.
59601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59602         multiarch implementations.
59603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59604         (__libc_ifunc_impl_list): Likewise.
59605         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59606         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59607         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59608         multiarch strchrnul for PPC64.
59610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59611         implementations.
59612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59613         (__libc_ifunc_impl_list): Likewise.
59614         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59615         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59616         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59617         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59618         strchr for PPC64.
59620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59621         implementations.
59622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59623         (__libc_ifunc_impl_list): Likewise.
59624         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59625         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59626         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59627         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59628         strncmp for PPC64.
59630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59631         multiarch implementations.
59632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59633         (__libc_ifunc_impl_list): Likewise.
59634         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59635         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59636         strncasecmp for PPC64.
59637         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59638         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59639         multiarch strncasecmp_l for PPC64.
59641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59642         multiarch implementations.
59643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59644         (__libc_ifunc_impl_list): Likewise.
59645         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59646         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59647         multiarch strcasecmp for PPC64.
59648         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59649         file.
59650         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59651         multiarch strcasecmp_l for PPC64.
59653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59654         implementations.
59655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59656         (__libc_ifunc_impl_list): Likewise.
59657         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59658         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59659         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59660         strnlen for PPC64.
59662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59663         implementations.
59664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59665         (__libc_ifunc_impl_list): Likewise.
59666         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59667         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59668         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59669         strlen for PPC64.
59671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59672         implementations.
59673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59674         (__libc_ifunc_impl_list): Likewise.
59675         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59676         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59677         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59678         rawmemrchr for PPC64.
59680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59681         implementation.
59682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59683         (__libc_ifunc_impl_list): Likewise.
59684         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59685         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59686         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59687         memrchr for PPC64.
59689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59690         implementation.
59691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59692         (__libc_ifunc_impl_list): Likewise.
59693         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59694         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59695         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59696         memchr for PPC64.
59698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59699         implementation.
59700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59701         (__libc_ifunc_impl_list): Likewise.
59702         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59703         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59704         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59705         mempcpy for PPC64.
59707         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59708         avoid cretion of __bzero symbol.
59709         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59710         Likewise.
59711         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59712         Likewise.
59713         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59714         Likewise.
59715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59716         multiarch implementations.
59717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59718         (__libc_ifunc_impl_list): Likewise.
59719         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59720         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59721         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59722         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59723         bzero for PPC32.
59724         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59725         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59726         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59727         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59728         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59729         memset for PPC64.
59730         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59732         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59734         implementations.
59735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59736         (__libc_ifunc_impl_list): Likewise.
59737         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59738         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59739         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59740         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59741         memcmp for PPC64.
59743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59744         multiarch for POWER/PPC64.
59745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59746         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59747         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59748         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59749         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59750         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59753         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59754         memcpy for PPC64.
59756         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59757         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59758         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59759         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59760         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59761         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59762         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59763         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59764         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59765         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59766         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59767         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59768         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59769         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59770         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59779 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59781         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59783 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59785         * benchtests/Makefile (bench): Add exp2 and log2.
59786         (LDLIBS-bench-exp2): Add -lm.
59787         (LDLIBS-bench-log2): Likewise.
59788         * benchtests/exp2-inputs: New inputs file.
59789         * benchtests/log2-inputs: New inputs file.
59790         * benchtests/log-inputs: Add new inputs.
59791         * benchtests/tan-inputs: Likewise.
59793 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59795         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59796         definition...
59797         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59798         (csloww2): ... from here.
59800         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59801         instead of structures.
59802         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59803         (POLYNOMIAL): Likewise.
59804         (TAYLOR_SLOW): Likewise.
59805         (__sin): Likewise.
59806         (__cos): Likewise.
59807         (slow1): Likewise.
59808         (slow2): Likewise.
59809         (sloww): Likewise.
59810         (sloww1); Likewise.
59811         (sloww2): Likewise.
59812         (bsloww1): Likewise.
59813         (bsloww2): Likewise.
59814         (cslow2): Likewise.
59815         (csloww): Likewise.
59816         (csloww1): Likewise.
59817         (csloww2): Likewise.
59819 2013-12-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
59821         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59822         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59823         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59824         * malloc/hooks.c (realloc_check): Likewise.
59826         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59827         * malloc/arena.c: Remove PER_THREAD conditional.
59828         [!PER_THREAD]: Remove code.
59829         (ptmalloc_unlock_all2): Likewise.
59830         (ptmalloc_init): Likewise.
59831         (_int_new_arena): Likewise.
59832         (arena_get2): Likewise.
59833         * malloc/hooks.c (__malloc_get_state): Likewise.
59834         (__malloc_set_state): Likewise.
59835         * malloc/malloc.c: Likewise.
59836         (struct malloc_state): Likewise.
59837         (struct malloc_par): Likewise.
59838         (__libc_realloc): Likewise.
59839         (__libc_mallopt): Likewise.
59841 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59843         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59845 2013-12-09  Ondƙej BĂ­lka  <neleai@seznam.cz>
59847         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59848         macro to a function.  Check for zero perturb_byte.
59849         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59851         * malloc/malloc.c: (force_reg): Remove.
59852         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59853         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59854         force_reg by atomic_forced_read.
59855         * malloc/arena.c (ptmalloc_init): Likewise.
59856         * malloc/hooks.c (top_check): Likewise.
59858 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59862 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59866 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59868         * math/auto-libm-test-in: Add tests of lgamma.
59869         * math/auto-libm-test-out: Regenerated.
59870         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59871         (M_LOG_2_SQRT_PIl): Likewise.
59872         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59874         mpfr_f_f1.
59875         (func_calc_desc): Add mpfr_f_f1 union field.
59876         (ARGS1): New macro.
59877         (ARGS2): Likewise.
59878         (ARGS3): Likewise.
59879         (ARGS4): Likewise.
59880         (RET1): Likewise.
59881         (RET2): Likewise.
59882         (CALC): Likewise.
59883         (FUNC): Likewise.
59884         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59885         (test_functions): Add lgamma.
59886         (calc_generic_results): Handle mpfr_f_f1.
59887         * sysdeps/i386/fpu/libm-test-ulps: Update.
59888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59890 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59892         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59893         __mpn_add_n for PowerPC64/POWER7.
59894         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59895         __mpn_sub_n for PowerPC64/POWER7.
59897         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59898         __mpn_addmul_1 for PowerPC64.
59899         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59900         __mpn_submul_1 for PowerPC64.
59901         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59902         for PowerPC64.
59903         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59904         for PowerPC64.
59906 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59908         [BZ #15089]
59909         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59911 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59913         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59915         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59916         add multiarch folders.
59917         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59918         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59919         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59920         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59921         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59922         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59923         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59924         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59925         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59926         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59927         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59936         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59938         New file.
59939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59940         New file.
59941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59942         multiarch __ieee754_hypot for PowerPC32.
59943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59944         New file.
59945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59946         New file.
59947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59948         multiarch __ieee754_hypotf for PowerPC32.
59950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59951         long_double_symbol only if __logbl is defined.
59952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59953         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59954         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59955         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59957         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59958         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59959         path for implementation.
59960         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59961         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59963         logb, and logbl multiarch implementations for PowerPC32.
59964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59965         file.
59966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59967         file.
59968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59969         multiarch logb for PowerPC32.
59970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59971         file.
59972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59973         file.
59974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59975         multiarch logbf for PowerPC32.
59976         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59978         file.
59979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59980         multiarch logbl implementation for PowerPC32.
59982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59983         and modff multiarch implementations.
59984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59985         New file.
59986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59987         New file.
59988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59989         multiarch modf for PowerPC32.
59990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59991         New file.
59992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59993         New file.
59994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59995         multiarch modff for PowerPC32.
59997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59998         and lrintf multiarch implementations.
59999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
60000         New file.
60001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
60002         New file.
60003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
60004         multiarch lrint for PowerPC32.
60005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
60006         file: multiarch lrintf for PowerPC32.
60008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
60009         and lroundf multiarch implementations.
60010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
60011         New file.
60012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
60013         New file.
60014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
60015         New file.
60016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
60017         multiarch lround for PowerPC32.
60018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
60019         file: multiarch lroundf for PowerPC32.
60021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60022         copysign and copysignf multiarch implementations.
60023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
60024         New file.
60025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
60026         New file.
60027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
60028         file: multiarch copysign for PowerPC32.
60029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
60030         file: multiarch copysignf for PowerPC32.
60032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
60033         and truncf multiarch implementations.
60034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
60035         New file.
60036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
60037         file.
60038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
60039         multiarch trunc for PowerPC32.
60040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
60041         New file.
60042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
60043         New file.
60044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
60045         multiarch truncf for PowerPC32.
60047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
60048         and roundf multiarch implementations.
60049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
60050         New file.
60051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
60052         file.
60053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
60054         multiarch round for PowerPC32.
60055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
60056         New file.
60057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
60058         New file.
60059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
60060         multiarch roundf for PowerPC32.
60062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60063         and floorf multiarch implementations.
60064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60065         New file.
60066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60067         file.
60068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60069         multiarch floor for PowerPC32.
60070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60071         New file.
60072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60073         New file.
60074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60075         multiarch floorf for PowerPC32.
60077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60078         and ceilf multiarch implementations.
60079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60080         New file.
60081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60082         file.
60083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60084         multiarch ceil for PowerPC32.
60085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60086         New file.
60087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60088         file.
60089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60090         multiarch ceilf for PowerPC32.
60092         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60093         is defined.
60094         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60095         FINITEF is defined.
60096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60097         and finitef multiarch implementations.
60098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60099         New file.
60100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60101         file.
60102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60103         multiarch finite for PowerPC32.
60104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60105         New file.
60106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60107         file: multiarch finitef for PowerPC32.
60109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60110         and isinff multiarch implementations.
60111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60112         file.
60113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60114         file.
60115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60116         multiarch isinf for PowerPC32.
60117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60118         New file.
60119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60120         multiarch isinff for PowerPC32.
60122         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60123         alias when __isnan is defined.
60124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60125         and isnanf multiarch implementations.
60126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60127         file.
60128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60129         file.
60130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60131         file.
60132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60133         file.
60134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60135         multiarch isnan for PowerPC32.
60136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60137         New file.
60138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60139         New file.
60140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60141         multiarch isnanf for PowerPC32.
60143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60144         and sqrtf multiarch implementations.
60145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60146         file.
60147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60148         file.
60149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60150         multiarch sqrt for PowerPC32.
60151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60152         file.
60153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60154         file.
60155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60156         multiarch sqrtf for PowerPC32.
60158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60159         and llroundf multiarch implementations.
60160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60161         New file.
60162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60163         New file.
60164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60165         New file.
60166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60167         file: multiarch llround for PowerPC32.
60168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60169         file: multiarch llroundf for PowerPC32.
60171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60172         multiarch PowerPC32 fpu implementations.
60173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60174         New file.
60175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60176         New file.
60177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60178         multiarch llrint for PowerPC32.
60179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60180         New file.
60181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60182         New file.
60183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60184         file.
60186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60188         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60189         file.
60190         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60191         file.
60192         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60193         file.
60194         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60195         multiarch wordcopy for PPC32.
60196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60197         wordcopy objects.
60198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60199         (__libc_ifunc_impl_list): Likewise.
60200         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60201         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60202         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60203         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60204         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60205         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60207         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60208         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60209         file.
60210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60211         file.
60212         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60213         file.
60214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60215         multiarch wcscpy for PPC32.
60216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60217         multiarch objects.
60218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60219         (__libc_ifunc_impl_list): Likewise.
60220         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60221         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60222         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60223         sysdeps/powerpc/power6/wcscpy.c.
60225         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60227         file.
60228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60229         file.
60230         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60231         file.
60232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60233         multiarch wcsrchr for PPC32.
60234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60235         multiarch objects.
60236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60237         (__libc_ifunc_impl_list): Likewise.
60238         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60239         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60240         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60241         sysdeps/powerpc/power6/wcsrchr.c.
60243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60244         file.
60245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60246         file.
60247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60249         multiarch wcschr for PPc32.
60250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60251         multiarch objects.
60252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60253         (__libc_ifunc_impl_list): Likewise.
60254         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60255         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60256         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60257         sysdeps/powerpc/power6/wcschr.c.
60259         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60260         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60261         file.
60262         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60263         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60264         file: multiarch strchr for PPC32.
60265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60266         multiarch objects.
60267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60268         (__libc_ifunc_impl_list): Likewise.
60270         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60271         name.
60272         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60273         file.
60274         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60275         file.
60276         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60277         multiarch strchrnul for PPC32.
60278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60279         multiarch objects.
60280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60281         (__libc_ifunc_impl_list): Likewise.
60283         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60284         file.
60285         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60286         multiarch strncasecmp for PPC32.
60287         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60288         file.
60289         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60290         multiarch strncasecmp_l for PPC32.
60291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60292         strncasecmp multiarch objects.
60293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60294         (__libc_ifunc_impl_list): Likewise.
60296         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60297         file.
60298         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60299         multiarch strncasecmp for PPC32.
60300         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60301         New file.
60302         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60303         multiarch strcasecmp_l for PPC32.
60304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60305         multiarch objects.
60306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60307         (__libc_ifunc_impl_list): Likewise.
60309         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60310         file.
60311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60312         file.
60313         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60314         multiarch strncmp for PPC32.
60315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60316         multiarch objects.
60317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60318         (__libc_ifunc_impl_list): Likewise.
60320         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60321         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60322         file.
60323         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60324         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60326         multiarch objects.
60327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60328         (__libc_ifunc_impl_list): Likewise.
60330         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60331         file.
60332         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60333         file.
60334         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60336         multiarch objects.
60337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60338         (__libc_ifunc_impl_list): Likewise.
60340         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60341         file.
60342         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60343         file.
60344         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60345         multiarch rawmemchr for PPC32.
60346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60347         multiarch objects.
60348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60349         (__libc_ifunc_impl_list): Likewise.
60351         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60352         file.
60353         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60354         file.
60355         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60356         file: memrchr multiarch for PPC32.
60357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60358         multiarch objects.
60359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60360         (__libc_ifunc_impl_list): Likewise.
60362         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60363         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60364         file.
60365         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60366         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60367         multiarch memchr for PPC32.
60368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60369         multiarch objects.
60370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60371         (__libc_ifunc_impl_list): Likewise.
60373         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60374         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60375         file.
60376         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60377         file.
60378         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60379         file: multiarch mempcpy for PPC32.
60380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60381         multiarch objects.
60382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60383         (__libc_ifunc_impl_list): Likewise.
60385         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60386         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60388         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60389         multiarch bzero for PPC32.
60390         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60391         file.
60392         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60393         file.
60394         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60395         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60396         file: multiarch memset for PPC32.
60397         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60399         memset multiarch objects.
60400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60401         (__libc_ifunc_impl_list): Likewise.
60403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60404         file.
60405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60407         memcmp for PPC32.
60408         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60410         multiarch objects.
60411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60412         (__libc_ifunc_impl_list): Likewise.
60414         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60417         file.
60418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60419         file.
60420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60421         file.
60422         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60423         multiarch memcpy for PPC32.
60424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60425         multiarch objects.
60426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60427         (__libc_ifunc_impl_list): Likewise.
60429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60430         support multiarch for POWER/PPC32.
60431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60432         Likewise.
60433         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60435         Implies file to make multiarch folder appers before the fpu and
60436         default folder for power4 configuration.
60438 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60440         * scripts/bench.pl: Append volatile keyword to type.
60442 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60444         * sysdeps/sh/sotruss-lib.c: New file.
60445         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60447 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60451 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60453         [BZ #6810]
60454         * math/w_tgamma.c: Include <errno.h>.
60455         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60456         * math/w_tgammaf.c: Include <errno.h>.
60457         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60458         * math/w_tgammal.c: Include <errno.h>.
60459         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60460         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60461         underflow.  Add more tgamma tests.
60462         * math/auto-libm-test-out: Regenerated.
60463         * sysdeps/i386/fpu/libm-test-ulps: Update.
60464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60466         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60467         sin, sinh, tan, tanh, tgamma, y0 and y1.
60468         * math/auto-libm-test-out: Regenerated.
60469         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60470         (TEST_COND_x86): Likewise.
60471         (M_E2l): Remove macro.
60472         (M_E3l): Likewise.
60473         (M_2_SQRT_PIl): Likewise.
60474         (M_SQRT_PIl): Likewise.
60475         (M_1_DIV_El): Likewise.
60476         (log_test_data): Use AUTO_TESTS_f_f.
60477         (log10_test_data): Likewise.
60478         (log1p_test_data): Likewise.
60479         (log2_test_data): Likewise.
60480         (sin_test_data): Likewise.
60481         (sin_tonearest_test_data): Likewise.
60482         (sin_towardzero_test_data): Likewise.
60483         (sin_downward_test_data): Likewise.
60484         (sin_upward_test_data): Likewise.
60485         (sinh_test_data): Likewise.
60486         (sinh_tonearest_test_data): Likewise.
60487         (sinh_towardzero_test_data): Likewise.
60488         (sinh_downward_test_data): Likewise.
60489         (sinh_upward_test_data): Likewise.
60490         (tan_test_data): Likewise.
60491         (tan_tonearest_test_data): Likewise.
60492         (tan_towardzero_test_data): Likewise.
60493         (tan_downward_test_data): Likewise.
60494         (tan_upward_test_data): Likewise.
60495         (tanh_test_data): Likewise.
60496         (tgamma_test_data): Likewise.
60497         (y0_test_data): Likewise.
60498         (y1_test_data): Likewise.
60499         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60500         (special_real_inputs): Add pi/4.
60501         * sysdeps/i386/fpu/libm-test-ulps: Update.
60502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60504 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60506         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60507         "longjmp_target" static probes.
60508         (__longjmp): Rename to __longjmp_symbol.
60509         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60510         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60511         on which longjmp to generate.
60512         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60513         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60514         probe.
60515         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60516         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60517         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60518         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60519         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60520         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60522         __longjmp_symbol based on which __longjmp to generate.
60523         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60524         probe.
60525         (setjmp): Rename to setjmp_symbol.
60526         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60527         (_setjmp): Rename to _setjmp_symbol.
60528         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60529         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60530         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60531         which setjmp to generate.
60532         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60533         "longjmp_target" static probes.
60535 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60537         * benchtests/README: Add note about output arguments.
60538         * benchtests/bench-sincos.c: Remove file.
60539         * benchtests/sincos-inputs: New file.
60540         * scripts/bench.pl: Identify output arguments and define
60541         static variables for them.
60543         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60545         [BZ #15941]
60546         * Makefile (INSTALL): Add install-plain.texi as the primary
60547         dependency.
60548         * manual/install-plain.texi: New file.
60549         * manual/install.texi: Include node directive only for
60550         non-plaintext output.
60552 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60554         * stdlib/longlong.h: Update from GCC.
60556         [BZ #6807]
60557         [BZ #15901]
60558         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60559         * math/w_j0f.c (y0f): Likewise.
60560         * math/w_j0l.c (__y0l): Likewise.
60561         * math/w_j1.c (y1): Likewise.
60562         * math/w_j1f.c (y1f): Likewise.
60563         * math/w_j1l.c (__y1l): Likewise.
60564         * math/w_jn.c (yn): Likewise.
60565         * math/w_jnf.c (ynf): Likewise.
60566         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60567         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60568         value for Bessel function domain errors outside _SVID_ mode.
60569         Adjust sign of return value for yn (negative integer, 0).
60570         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60571         by zero in return for negative x and set sign appropriately for
60572         negative n.
60573         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60574         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60575         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60576         expectations in error cases.
60577         (y1_test_data): Likewise.
60578         (yn_test_data): Likewise.
60579         * sysdeps/i386/fpu/libm-test-ulps: Update.
60580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60582 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60584         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60585         "64" to "64-v1".  Add "64-v2".
60586         (abi-64-options): Rename to ...
60587         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60588         (abi-64-condition): Rename to ...
60589         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60590         (abi-64-ld-soname): Rename to ...
60591         (abi-64-v1-ld-soname): ... this.
60592         (abi-64-v2-options): Define.
60593         (abi-64-v2-condition): Likewise.
60594         (abi-64-v2-ld-soname): Likewise.
60595         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60596         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60601 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60602             Alan Modra  <amodra@gmail.com>
60604         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60605         New versions for use with the ELFv2 ABI.
60606         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60607         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60608         declaration.
60609         (struct La_ppc64v2_retval): Likewise.
60610         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60611         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60612         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60613         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60614         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60615         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60616         Do not save or restore CR.
60617         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60618         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60619         return values for ELFv2 ABI.  Fix location of FPR return registers.
60620         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60621         updated values for _CALL_ELF == 2.
60622         (La_regs, La_retval, int_retval): Likewise.
60624 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60626         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60627         (FRAME_MIN_SIZE_PARM): Likewise.
60628         (FRAME_BACKCHAIN): Likewise.
60629         (FRAME_CR_SAVE): Likewise.
60630         (FRAME_LR_SAVE): Likewise.
60631         (FRAME_TOC_SAVE): Likewise.
60632         (FRAME_PARM_SAVE): Likewise.
60633         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60634         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60635         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60636         (call_mcount_parm_offset): New macro.
60637         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60638         (PROF): Use symbolic stack frame offsets.
60639         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60640         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60641         Redefine in terms of FRAME_MIN_SIZE.
60642         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60643         (_dl_profile_resolve): Likewise.  Update comment.
60644         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60645         symbols stack frame offsets.
60646         (__sigsetjmp): Likewise.
60647         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60648         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60649         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60650         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60653         (FRAME_BACKCHAIN): Remove.
60654         (FRAME_CR_SAVE): Likewise.
60655         (FRAME_LR_SAVE): Likewise.
60656         (FRAME_COMPILER_DW): Likewise.
60657         (FRAME_LINKER_DW): Likewise.
60658         (FRAME_TOC_SAVE): Likewise.
60659         (FRAME_PARM_SAVE): Likewise.
60660         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60661         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60662         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60664         (CHECK_SP): Use symbolic stack frame offsets.
60665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60666         zone" instead of caller's parameter save area for temp storage.
60667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60668         Likewise.  Also, use symbolic stack frame offsets.
60669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60670         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60671         our own stack frame instead of the caller's.
60672         (__socket): Use symbolic stack frame offsets.
60674 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60675             Alan Modra  <amodra@gmail.com>
60677         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60678         Define.
60679         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60680         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60681         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60682         New function.
60683         (elf_machine_fixup_plt): Call it.
60684         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60685         reloc arguments.
60686         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60687         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60688         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60689         r2 before calling target.
60691 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60692             Alan Modra  <amodra@gmail.com>
60694         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60695         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60696         versions of macros to support ELFv2 ABI.
60697         (LOCALENTRY): New macro.
60698         (ENTRY, EALIGN): Use it.
60699         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60700         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60701         fall through into ENTRY entry point.
60702         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60703         Only define if _CALL_ELF != 2.
60705         (elf_machine_matches_host): Verify ABI version matches.
60706         (RTLD_START): Use LOCALENTRY.
60707         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60708         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60709         (PLT_ENTRY_WORDS): New macro.
60710         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60711         (elf_machine_runtime_setup): Support ELFv2 ABI.
60712         (elf_machine_fixup_plt): Likewise.
60713         (elf_machine_plt_conflict): Likewise.
60714         (resolve_ifunc): Likewise.
60715         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60716         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60717         Likewise.
60718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60719         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60721         (makecontext): Support ELFv2 ABI.
60722         * elf/elf.h (EF_PPC64_ABI): Define.
60724 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60726         * sysdeps/powerpc/powerpc64/sysdep.h
60727         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60728         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60729         (ENTRY) [ASSEMBLER]: ... but instead here ...
60730         (EALIGN) [ASSEMBLER]: ... and here.
60731         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60732         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60733         (ENTRY_2) [!ASSEMBLER]: Use it.
60734         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60735         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60737         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60738         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60740         Use PPC64_LOAD_FUNCPTR.
60742         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60744 2013-12-04  Alan Modra  <amodra@gmail.com>
60746         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60747         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60748         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60749         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60751         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60752         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60753         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60754         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60755         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60756         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60758 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60761         (__makecontext): Fix incorrect CFI when backtracing out of
60762         context created via makecontext.
60763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60764         (__setcontext): Fix incorrect CFI during switch to new context.
60765         (__novec_setcontext): Likewise.
60767 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60769         [BZ #4772]
60770         * time/strptime_l.c (__strptime_internal): Allow modifiers
60771         in strptime.
60772         * time/tst-strptime.c (day_tests): Add testcase.
60774 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60776         * scripts/bench.pl: Skip over blank lines.
60778 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60780         [BZ #926]
60781         * manual/time.texi (Calendar Time): Clarify what timezone functions
60782         use.
60784 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60788 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60790         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60791         implementation.
60792         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60793         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60794         * debug/memset_chk.c (__memset_chk): Likewise.
60795         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60796         * debug/strncpy_chk.c: Likewise.
60798 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60800         [BZ #15268]
60801         [BZ #15425]
60802         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60803         (__ieee754_exp): For possibly underflowing results, check size of
60804         result and force underflow exception if required.
60805         * math/auto-libm-test-in: Add more tests of exp.
60806         * math/auto-libm-test-out: Regenerated.
60807         * sysdeps/i386/fpu/libm-test-ulps: Update.
60808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60810         [BZ #16283]
60811         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60812         * math/w_exp2f.c (__exp2f): Likewise.
60813         * math/w_exp2l.c (__exp2l): Likewise.
60814         * math/auto-libm-test-in: Do not allow missing errno on exp2
60815         underflow.
60816         * math/auto-libm-test-out: Regenerated.
60818 2013-12-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
60820         [BZ #16274]
60821         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60822         handle filename validation.
60823         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60824         (do_open): Delete.
60826 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60828         [BZ #6786]
60829         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60830         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60831         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60832         <float.h>.
60833         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60834         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60835         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60837         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60838         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60839         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60840         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60841         Add more erfc tests.
60842         * math/auto-libm-test-out: Regenerated.
60843         * sysdeps/i386/fpu/libm-test-ulps: Update.
60844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60846         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60847         exp2, expm1, j0 and j1.
60848         * math/auto-libm-test-out: Regenerated.
60849         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60850         (erfc_test_data): Likewise.
60851         (exp_test_data): Likewise.
60852         (exp_tonearest_test_data): Likewise.
60853         (exp_towardzero_test_data): Likewise.
60854         (exp_downward_test_data): Likewise.
60855         (exp_upward_test_data): Likewise.
60856         (exp10_test_data): Likewise.
60857         (exp2_test_data): Likewise.
60858         (expm1_test_data): Likewise.
60859         (j0_test_data): Likewise.
60860         (j1_test_data): Likewise.
60861         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60862         (input_flag_type): Add flag_xfail_rounding.
60863         (input_flags): Add xfail-rounding.
60864         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60865         (output_for_one_input_case): Handle flag_xfail_rounding.
60866         * sysdeps/i386/fpu/libm-test-ulps: Update.
60867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60869 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60871         [BZ #16289]
60872         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60873         division by 0.
60875 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60877         [BZ #16195]
60878         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60879         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60880         (STAP_PROBE0): New macro.
60881         (STAP_PROBE1): Likewise.
60882         (STAP_PROBE2): Likewise.
60883         (STAP_PROBE3): Likewise.
60884         (STAP_PROBE4): Likewise.
60886 2013-12-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
60888         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60890 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60892         * benchtests/Makefile (bench): Add sqrt.
60893         (LDLIBS-bench-sqrt): New.
60894         * benchtests/sqrt-input: New.
60896 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60898         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60899         (GAIH_EAI): Likewise.
60900         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60901         (gaih_inet): Likewise.
60902         (getaddrinfo): Don't use GAIH_EAI.
60904         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60905         (struct gaih): Remove definition.
60907 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60909         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60910         Use HERRNOP directly.
60912 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60916 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60918         * math/gen-auto-libm-tests.c (test_functions): Add more
60919         single-argument functions.
60920         (special_fill_pi_2): New function.
60921         (special_fill_minus_pi_2): Likewise.
60922         (special_fill_pi_6): Likewise.
60923         (special_fill_minus_pi_6): Likewise.
60924         (special_fill_pi_3): Likewise.
60925         (special_fill_2pi_3): Likewise.
60926         (special_fill_e): Likewise.
60927         (special_fill_1_e): Likewise.
60928         (special_fill_e_minus_1): Likewise.
60929         (special_real_inputs): Add more special inputs.
60930         (output_for_one_input_case): Do not require ERANGE on underflow to
60931         zero if round-to-nearest result does not underflow to zero, unless
60932         exact results required.
60933         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60934         atan, atanh, cbrt, cos and cosh.
60935         * math/auto-libm-test-out: Regenerated.
60936         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60937         (acos_tonearest_test_data): Likewise.
60938         (acos_towardzero_test_data): Likewise.
60939         (acos_downward_test_data): Likewise.
60940         (acos_upward_test_data): Likewise.
60941         (acosh_test_data): Likewise.
60942         (asin_test_data): Likewise.
60943         (asin_tonearest_test_data): Likewise.
60944         (asin_towardzero_test_data): Likewise.
60945         (asin_upward_test_data): Likewise.
60946         (asinh_test_data): Likewise.
60947         (atan_test_data): Likewise.
60948         (atanh_test_data): Likewise.
60949         (cbrt_test_data): Likewise.
60950         (cos_test_data): Likewise.
60951         (cos_tonearest_test_data): Likewise.
60952         (cos_towardzero_test_data): Likewise.
60953         (cos_downward_test_data): Likewise.
60954         (cos_upward_test_data): Likewise.
60955         (cosh_test_data): Likewise.
60956         (cosh_tonearest_test_data): Likewise.
60957         (cosh_towardzero_test_data): Likewise.
60958         (cosh_downward_test_data): Likewise.
60959         (cosh_upward_test_data): Likewise.
60960         * sysdeps/i386/fpu/libm-test-ulps: Update.
60961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60963 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60965         [BZ #6787]
60966         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60967         * math/w_exp10f.c (__exp10f): Likewise.
60968         * math/w_exp10l.c (__exp10l): Likewise.
60969         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60970         errno settings in existing tests.
60972         [BZ #14032]
60973         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60974         precision control set to double precision.
60975         * sysdeps/i386/fpu/w_sqrt.c: New file.
60976         * math/auto-libm-test-in: Add more tests.
60977         * math/auto-libm-test-out: Update.
60979         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60980         (sqrt_test_tonearest): New function.
60981         (sqrt_towardzero_test_data): New variable.
60982         (sqrt_test_towardzero): New function.
60983         (sqrt_downward_test_data): New variable.
60984         (sqrt_test_downward): New function.
60985         (sqrt_upward_test_data): New variable.
60986         (sqrt_test_upward): New function.
60987         (main): Call the new functions.
60989         * math/gen-auto-libm-tests.c: New file.
60990         * math/auto-libm-test-in: Likewise.
60991         * math/auto-libm-test-out: New generated file.
60992         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60993         variables.
60994         (%beautify): Add generated representations of zero.
60995         (top level): Set $auto_input and call parse_auto_input.
60996         (beautify): Remove trailing "f" from hex float constants.
60997         (parse_args): Handle XFAIL_TEST.
60998         (convert_condition): New function.
60999         (or_value): Likewise.
61000         (or_cond_value): Likewise.
61001         (generate_testfile): Handle AUTO_TESTS_* lines.
61002         (parse_auto_input): New function.
61003         * math/libm-test.inc (XFAIL_TEST): New macro.
61004         (ERRNO_UNCHANGED): Update value.
61005         (ERRNO_EDOM): Likewise.
61006         (ERRNO_ERANGE): Likewise.
61007         (IGNORE_RESULT): Likewise.
61008         (TEST_COND_flt_32): New macro.
61009         (TEST_COND_dbl_64): Likewise.
61010         (TEST_COND_ldbl_96_intel): Likewise.
61011         (TEST_COND_ldbl_96_m68k): Likewise.
61012         (TEST_COND_ldbl_128): Likewise.
61013         (TEST_COND_ldbl_128ibm): Likewise.
61014         (TEST_COND_long32): Likewise.
61015         (TEST_COND_long64): Likewise.
61016         (TEST_COND_before_rounding): Likewise.
61017         (TEST_COND_after_rounding): Likewise.
61018         (enable_test): Handle XFAIL_TEST flag.
61019         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
61020         with finite results.
61021         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
61022         auto-libm-test-out.
61024 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61025             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61027         [BZ #16214]
61028         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
61029         __tls_get_addr_internal instead of __tls_get_offset in order to
61030         avoid GOT pointer dependency.  Make rtld export
61031         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
61032         __tls_get_addr since we are a __tls_get_offset platform.
61033         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
61034         GOT pointer being set up before.
61035         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
61037 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
61039         * manual/math.texi (Errors in Math Functions): Document accuracy
61040         goals.
61042         [BZ #15004]
61043         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
61044         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61047         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61049         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61051         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61054         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61056         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61057         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61058         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61060         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
61061         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
61062         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61063         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61064         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61065         Likewise.
61066         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61067         Likewise.
61068         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61069         Likewise.
61070         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61071         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61072         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61073         atomic-feupdateenv and flt-rounds.
61074         * sysdeps/powerpc/nofpu/Versions (libc): Add
61075         __atomic_feholdexcept, __atomic_feclearexcept,
61076         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61077         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61078         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61080         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61081         here.
61082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61083         Update.
61085         * manual/arith.texi (FP Exceptions): Document that exceptions may
61086         not be raised when matherr is used.
61087         (Math Error Reporting): Document overflow in directed rounding
61088         modes.  Document that errno may not be set when finite values are
61089         returned on overflow.  Document intent to set errno on underflow
61090         only for underflow to zero.
61092         [BZ #16271]
61093         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61094         round-to-nearest then adjust result for other rounding modes.
61095         * include/fenv.h (fegetround): Use libm_hidden_proto.
61096         * math/fegetround.c (fegetround): Use libm_hidden_def.
61097         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61098         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61099         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61100         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61101         Likewise.
61102         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61103         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61104         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61105         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61107 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61109         [BZ #16077]
61110         * nss/Versions (libnss_files): Add
61111         _nss_files_gethostbyname3_r.
61112         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61113         New function.
61114         (HOST_DB_LOOKUP): Remove macro.
61115         (_nss_files_gethostbyname_r): Implement function without the
61116         HOST_DB_LOOKUP macro.
61117         (_nss_files_gethostbyname2_r): Likewise.
61119 2013-11-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
61121         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61123 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
61125         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61126         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61127         warning.
61129 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61131         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61132         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61133         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61134         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61135         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61136         __fe_nomask_env_priv and attribute_hidden.
61137         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61138         (libc_feupdateenv_test_ppc): Likewise.
61139         (libc_feresetround_ppc): Likewise.
61140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61141         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61142         compat_symbol macro.
61143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61144         (__fe_nomask_env): Likewise.
61145         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61147 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61149         * string/Makefile: Remove ifunc tests.
61150         * string/test-string.h: Define TEST_IFUNC.
61151         * string/test-bcopy-ifunc.c: Remove.
61152         * string/test-bzero-ifunc.c: Likewise.
61153         * string/test-memccpy-ifunc.c: Likewise.
61154         * string/test-memchr-ifunc.c: Likewise.
61155         * string/test-memcmp-ifunc.c: Likewise.
61156         * string/test-memcpy-ifunc.c: Likewise.
61157         * string/test-memmem-ifunc.c: Likewise.
61158         * string/test-memmove-ifunc.c: Likewise.
61159         * string/test-mempcpy-ifunc.c: Likewise.
61160         * string/test-memrchr-ifunc.c: Likewise.
61161         * string/test-memset-ifunc.c: Likewise.
61162         * string/test-rawmemchr-ifunc.c: Likewise.
61163         * string/test-stpcpy-ifunc.c: Likewise.
61164         * string/test-stpncpy-ifunc.c: Likewise.
61165         * string/test-strcasecmp-ifunc.c: Likewise.
61166         * string/test-strcasestr-ifunc.c: Likewise.
61167         * string/test-strcat-ifunc.c: Likewise.
61168         * string/test-strchr-ifunc.c: Likewise.
61169         * string/test-strchrnul-ifunc.c: Likewise.
61170         * string/test-strcmp-ifunc.c: Likewise.
61171         * string/test-strcpy-ifunc.c: Likewise.
61172         * string/test-strcspn-ifunc.c: Likewise.
61173         * string/test-strlen-ifunc.c: Likewise.
61174         * string/test-strncasecmp-ifunc.c: Likewise.
61175         * string/test-strncat-ifunc.c: Likewise.
61176         * string/test-strncmp-ifunc.c: Likewise.
61177         * string/test-strncpy-ifunc.c: Likewise.
61178         * string/test-strnlen-ifunc.c: Likewise.
61179         * string/test-strpbrk-ifunc.c: Likewise.
61180         * string/test-strrchr-ifunc.c: Likewise.
61181         * string/test-strspn-ifunc.c: Likewise.
61182         * string/test-strstr-ifunc.c: Likewise.
61184 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61186         * benchtests/Makefile: Remove ifunc tests.
61187         * benchtests/bench-string.h: Define TEST_IFUNC.
61188         * benchtests/bench-bcopy-ifunc.c: Remove.
61189         * benchtests/bench-bzero-ifunc.c: Likewise.
61190         * benchtests/bench-memccpy-ifunc.c: Likewise.
61191         * benchtests/bench-memchr-ifunc.c: Likewise.
61192         * benchtests/bench-memcmp-ifunc.c: Likewise.
61193         * benchtests/bench-memcpy-ifunc.c: Likewise.
61194         * benchtests/bench-memmem-ifunc.c: Likewise.
61195         * benchtests/bench-memmove-ifunc.c: Likewise.
61196         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61197         * benchtests/bench-memrchr-ifunc.c: Likewise.
61198         * benchtests/bench-memset-ifunc.c: Likewise.
61199         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61200         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61201         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61202         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61203         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61204         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61205         * benchtests/bench-strcat-ifunc.c: Likewise.
61206         * benchtests/bench-strchr-ifunc.c: Likewise.
61207         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61208         * benchtests/bench-strcmp-ifunc.c: Likewise.
61209         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61210         * benchtests/bench-strcpy-ifunc.c: Likewise.
61211         * benchtests/bench-strcspn-ifunc.c: Likewise.
61212         * benchtests/bench-strlen-ifunc.c: Likewise.
61213         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61214         * benchtests/bench-strncat-ifunc.c: Likewise.
61215         * benchtests/bench-strncmp-ifunc.c: Likewise.
61216         * benchtests/bench-strncpy-ifunc.c: Likewise.
61217         * benchtests/bench-strnlen-ifunc.c: Likewise.
61218         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61219         * benchtests/bench-strrchr-ifunc.c: Likewise.
61220         * benchtests/bench-strsep-ifunc.c: Likewise.
61221         * benchtests/bench-strspn-ifunc.c: Likewise.
61222         * benchtests/bench-strstr-ifunc.c: Likewise.
61224 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61226         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61228 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61230         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61231         * rt/aio.h: Likewise.
61232         * sysdeps/gnu/bits/utmp.h: Likewise.
61233         * sysdeps/gnu/bits/utmpx.h: Likewise.
61234         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61235         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61236         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61237         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61238         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61239         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61240         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61241         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61242         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61243         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61244         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61245         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61246         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61248         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61249         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61250         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61251         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61252         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61253         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61254         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61255         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61256         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61257         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61258         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61260         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61261         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61262         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61263         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61264         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61265         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61266         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61267         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61268         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61269         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61270         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61271         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61272         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61273         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61274         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61275         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61277 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61279         [BZ #16245]
61280         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61281         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61283 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61285         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61286         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61287         Likewise.
61289 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61291         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61292         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61293         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61294         (__fesetround): Remove define.
61295         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61296         rounding and exceptions handling.
61297         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61298         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61299         (__fe_nomask_env): Likewise.
61300         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61301         __fegetround instead of fegetround.
61302         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61303         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61305 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61307         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61308         it's there.
61310         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61312 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61314         [BZ #11157]
61315         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61316         (encrypt_r): Likewise.
61317         * malloc/obstack.h (obstack_free): Likewise.
61318         * posix/unistd.h (encrypt): Likewise.
61320 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61322         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61323         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61324         DL_CALL_DT_FINI() that call the functions directly.
61325         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61326         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61327         * elf/dl-fini.c: Likewise.
61329 2013-11-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
61331         * malloc/hooks.c (memalign_check): Add alignment rounding.
61332         * malloc/malloc.c (_mid_memalign): New function.
61333         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61334         Implement by calling _mid_memalign.
61335         * manual/probes.texi (Memory Allocation Probes): Remove
61336         memory_valloc_retry and memory_pvalloc_retry.
61338 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61340         * locale/programs/locarchive.c (open_archive): Add const
61341         qualifier to ARCHIVEFNAME and copy default fname to
61342         DEFAULT_FNAME.
61344         [BZ #15601]
61345         * libio/tst-widetext.input: Rename Oriya to Odia.
61346         * locale/iso-639.def: Likewise.
61348         * manual/probes.texi (Mathematical Function Probes): Add
61349         documentation for sin, cos, asin and acos probes.
61350         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61351         (__sin32): Add slowasin probe.
61352         (__cos32): Add slowacos probe.
61353         (__mpsin): Add slowsin probe.
61354         (__mpcos): Add slowcos probe.
61356 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61358         [BZ #15483]
61359         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61360         thread-local __sim_exceptions_thread and global
61361         __sim_exceptions_global.
61362         (__sim_disabled_exceptions): Change to thread-local
61363         __sim_disabled_exceptions_thread and global
61364         __sim_disabled_exceptions_global.
61365         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61366         and global __sim_round_mode_global.
61367         (__simulate_exceptions): Use thread-local floating-point state and
61368         set global state from it as needed.
61369         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61370         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61371         __sim_round_mode_thread.
61372         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61373         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61374         and global __sim_exceptions_global.
61375         (__sim_disabled_exceptions): Change to thread-local
61376         __sim_disabled_exceptions_thread and global
61377         __sim_disabled_exceptions_global.
61378         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61379         and global __sim_round_mode_global.
61380         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61381         (SIM_SET_GLOBAL): Likewise.
61382         * sysdeps/powerpc/soft-fp/sfp-machine.h
61383         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61384         __sim_round_mode_thread.
61385         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61386         __sim_disabled_exceptions_thread.
61387         (__sim_exceptions): Change to __sim_exceptions_thread.
61388         (__sim_disabled_exceptions): Change to
61389         __sim_disabled_exceptions_thread.
61390         (__sim_round_mode): Change to __sim_round_mode_thread.
61391         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61392         thread-local floating-point state and set global state from it as
61393         needed.
61394         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61395         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61396         (__sim_disabled_exceptions): Remove extern declaration.
61397         (feenableexcept): Use thread-local floating-point state and set
61398         global state from it as needed.
61399         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61400         extern declaration.
61401         (__sim_disabled_exceptions): Likewise.
61402         (__sim_round_mode): Likewise.
61403         (__fegetenv): Use thread-local floating-point state.
61404         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61405         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61406         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61407         floating-point state and set global state from it as needed.
61408         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61409         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61410         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61411         Likewise.
61412         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61413         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61414         Likewise.
61415         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61416         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61417         Use __sim_round_mode_thread.
61418         * math/test-fenv-tls.c: New file.
61419         * math/Makefile (tests): Add test-fenv-tls.
61420         ($(objpfx)test-fenv-tls): Depend on
61421         $(common-objpfx)nptl/libpthread.so.
61423 2013-11-19  Andreas Schwab  <schwab@suse.de>
61425         * locale/programs/locale.c (show_info): Decode wordarray elements.
61426         * locale/categories.def (LC_MONETARY): Add element for
61427         _NL_MONETARY_CRNCYSTR.
61428         * locale/C-monetary.c (conversion_rate): New variable.
61429         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61430         element.
61432 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61434         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61435         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61437 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61439         * elf/Makefile (tst-auxv): New test.
61440         * elf/tst-auxv.c: New
61441         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61443 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61445         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61446         (hidden_proto): Caller changed.
61447         (hidden_tls_proto): New macro.
61448         (libc_hidden_tls_proto): Likewise.
61449         (rtld_hidden_tls_proto): Likewise.
61450         (libm_hidden_tls_proto): Likewise.
61451         (libresolv_hidden_tls_proto): Likewise.
61452         (librt_hidden_tls_proto): Likewise.
61453         (libdl_hidden_tls_proto): Likewise.
61454         (libnss_files_hidden_tls_proto): Likewise.
61455         (libnsl_hidden_tls_proto): Likewise.
61456         (libnss_nisplus_hidden_tls_proto): Likewise.
61457         (libutil_hidden_tls_proto): Likewise.
61459 2013-11-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61461         [BZ #10253]
61462         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61463         (decompose_rpath): Defer expansion to fillin_rpath.
61464         (_dl_init_paths): Pass linkmap to fillin_rpath.
61466 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61468         * benchtests/Makefile: Add strsep.
61469         * benchtests/bench-strsep.c: New file: strsep benchtest.
61470         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61472 2013-11-18  Andreas Schwab  <schwab@suse.de>
61474         * locale/programs/locale.c (show_info) [case byte]: Check for
61475         '\377' instead of '\177'.
61476         * locale/C-monetary.c (not_available): Always use "\377".
61477         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61478         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61479         detect unavailable sign_posn locale elements.
61480         * locale/localeconv.c (__localeconv): For grouping and
61481         mon_grouping handle "\177" and "\377" like no grouping.
61482         (INT_ELEM): New macro.  Use it to set all numeric members.
61483         * locale/programs/ld-monetary.c (monetary_read)
61484         <tok_mon_grouping>: Normalize single -1 to the empty string.
61485         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61486         Likewise.
61488 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61490         [BZ #16055]
61491         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61492         when we match (nil).
61493         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61495 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61497         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61498         (NO_TEST_INLINE): Update value.
61499         (ERRNO_UNCHANGED): Likewise.
61500         (ERRNO_EDOM): Likewise.
61501         (ERRNO_ERANGE): Likewise.
61502         (IGNORE_RESULT): Likewise.
61503         (check_float_internal): Check signs of NaN results if
61504         TEST_NAN_SIGN used.
61505         (check_complex): Pass TEST_NAN_SIGN flag through to second
61506         check_float_internal call.
61507         (copysign_test_data): Add tests with quiet NaNs as second
61508         argument.  Use TEST_NAN_SIGN.
61509         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61510         TEST_NAN_SIGN.
61511         (signbit_test_data): Add tests of quiet NaN argument.
61512         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61514         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61515         $ignore_result.
61516         (parse_args): Handle function results specified as IGNORE.
61517         * math/libm-test.inc (IGNORE_RESULT): New macro.
61518         (check_float_internal): Do not check numerical result if flag
61519         IGNORE_RESULT set.
61520         (check_complex): Pass through IGNORE_RESULT to second
61521         check_float_internal call.
61522         (check_int): Do not check numerical result if flag IGNORE_RESULT
61523         set.
61524         (check_long): Likewise.
61525         (check_bool): Likewise.
61526         (check_longlong): Likewise.
61527         (lrint_test_data): Add tests of infinite and NaN arguments.
61528         (lrint_tonearest_test_data): Likewise.
61529         (lrint_towardzero_test_data): Likewise.
61530         (lrint_downward_test_data): Likewise.
61531         (lrint_upward_test_data): Likewise.
61532         (llrint_test_data): Likewise.
61533         (llrint_tonearest_test_data): Likewise.
61534         (llrint_towardzero_test_data): Likewise.
61535         (llrint_downward_test_data): Likewise.
61536         (llrint_upward_test_data): Likewise.
61537         (lround_test_data): Likewise.
61538         (llround_test_data): Likewise.
61540         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61541         (ERRNO_UNCHANGED): Update value.
61542         (ERRNO_EDOM): Likewise.
61543         (ERRNO_ERANGE): Likewise.
61544         (NO_TEST_INLINE_FLOAT): New macro.
61545         (NO_TEST_INLINE_DOUBLE): Likewise.
61546         (enable_test): New function.
61547         (RUN_TEST_f_f): Check enable_test before running test.
61548         (RUN_TEST_2_f): Likewise.
61549         (RUN_TEST_fff_f): Likewise.
61550         (RUN_TEST_c_f): Likewise.
61551         (RUN_TEST_f_f1): Likewise.
61552         (RUN_TEST_fF_f1): Likewise.
61553         (RUN_TEST_fI_f1): Likewise.
61554         (RUN_TEST_ffI_f1): Likewise.
61555         (RUN_TEST_c_c): Likewise.
61556         (RUN_TEST_cc_c): Likewise.
61557         (RUN_TEST_f_i): Likewise.
61558         (RUN_TEST_f_i_tg): Likewise.
61559         (RUN_TEST_ff_i_tg): Likewise.
61560         (RUN_TEST_f_b): Likewise.
61561         (RUN_TEST_f_b_tg): Likewise.
61562         (RUN_TEST_f_l): Likewise.
61563         (RUN_TEST_f_L): Likewise.
61564         (RUN_TEST_fFF_11): Likewise.
61565         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61566         conditionals.
61567         (cosh_test_data): Likewise.
61568         (exp_test_data): Likewise.
61569         (expm1_test_data): Likewise.
61570         (hypot_test_data): Likewise.
61571         (pow_test_data): Likewise.
61572         (sinh_test_data): Likewise.
61573         (tanh_test_data): Likewise.
61574         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61575         flags argument.
61577         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61578         tests with quiet NaN input and output.
61579         (acosh_test_data): Likewise.
61580         (asin_test_data): Likewise.
61581         (asinh_test_data): Likewise.
61582         (atan_test_data): Likewise.
61583         (atanh_test_data): Likewise.
61584         (atan2_test_data): Likewise.
61585         (cbrt_test_data): Likewise.
61586         (cos_test_data): Likewise.
61587         (cosh_test_data): Likewise.
61588         (erf_test_data): Likewise.
61589         (erfc_test_data): Likewise.
61590         (exp_test_data): Likewise.
61591         (exp10_test_data): Likewise.
61592         (exp2_test_data): Likewise.
61593         (expm1_test_data): Likewise.
61594         (hypot_test_data): Likewise.
61595         (j0_test_data): Likewise.
61596         (j1_test_data): Likewise.
61597         (jn_test_data): Likewise.
61598         (lgamma_test_data): Likewise.
61599         (log_test_data): Likewise.
61600         (log10_test_data): Likewise.
61601         (log1p_test_data): Likewise.
61602         (log2_test_data): Likewise.
61603         (pow_test_data): Likewise.
61604         (scalb_test_data): Likewise.
61605         (sin_test_data): Likewise.
61606         (sincos_test_data): Likewise.
61607         (sinh_test_data): Likewise.
61608         (tan_test_data): Likewise.
61609         (tanh_test_data): Likewise.
61610         (tgamma_test_data): Likewise.
61611         (y0_test_data): Likewise.
61612         (y1_test_data): Likewise.
61613         (yn_test_data): Likewise.
61615         [BZ #16167]
61616         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61617         argument being NaN and avoid computations with second argument in
61618         that case.
61619         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61620         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61621         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61623 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61625         * locale/iso-639.def: Add Chitwani Tharu (the).
61627 2013-11-14  Andreas Schwab  <schwab@suse.de>
61629         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61630         word instead of empty string.
61632 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61635         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61637         (__fe_nomask_env): Likewise.
61639 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61641         * benchtests/bench-timing.h: Include time.h.
61643 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61645         [BZ #15997]
61646         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61647         to 3.4.0 for x32.
61648         * sysdeps/unix/sysv/linux/configure: Regenerated.
61650 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61652         [BZ #16151]
61653         * stdlib/strtod_l.c (round_and_return): Do not consider
61654         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61655         exponent one less than half the least subnormal exponent.
61656         * stdlib/test-strtod-round-data: Add more tests.
61657         * stdlib/tst-strtod-round.c (tests): Regenerated.
61659 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61661         [BZ #14143]
61662         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61663         (__fe_mask_env): Likewise.
61664         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61665         libm_hidden_proto and add function prototype.
61666         (__fe_mask_env): Add function prototype.
61667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61668         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61670         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61672         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61674 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61676         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61677         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61679 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61681         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61682         of htab_find_slot().
61684 2013-11-11  David S. Miller  <davem@davemloft.net>
61686         [BZ #16150]
61687         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61688         symbol in the non-vis3 case in static builds.
61689         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61690         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61691         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61692         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61694 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61696         [BZ #387]
61697         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61698         it is empty.
61700 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61702         * benchtests/Makefile: Add bench-strtod.
61703         * benchtests/bench-strtod.c: New file: strtod benchtest
61705 2013-11-11  Andreas Schwab  <schwab@suse.de>
61707         [BZ #16153]
61708         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61709         terminating NUL in key length.
61711 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61713         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61714         Add artificial ODP entry for vDSO symbol for PPC64.
61715         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61716         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61718 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61720         [BZ #15374]
61721         * nss/getent.c (services_keys): Recognize services starting with digit.
61723 2013-11-06  David S. Miller  <davem@davemloft.net>
61725         [BZ #15985]
61726         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61727         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61729 2013-11-06  Will Newton  <will.newton@linaro.org>
61731         * manual/memory.texi (Malloc Examples): Remove register
61732         keyword from examples.
61734 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61736         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61738 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61740         [BZ #6981]
61741         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61742         depending on [__GCC_IEC_559 > 0].
61743         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61744         depending on [__GCC_IEC_559_COMPLEX > 0].
61746 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61748         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61749         to iso-639.def.
61751 2013-11-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
61753         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61755 2013-11-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
61757         [BZ #16112]
61758         * malloc/malloc (malloc_info): Do not handle first bin as
61759         special case.
61761 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61763         * locale/iso-639.def: Add Central Nahuatl (nhn).
61765 2013-11-01  Bruno Haible  <bruno@clisp.org>
61767         [BZ #7003]
61768         * manual/math.texi (BSD Random): Specify range upper bound as
61769         in POSIX.
61771 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61773         * locale/iso-639.def: Add Meadow Mari (mhr).
61775 2013-10-31  Ondƙej BĂ­lka  <neleai@seznam.cz>
61777         [BZ #14752], [BZ #15763]
61778         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61779         Validate name.
61780         * rt/tst_shm.c: Add test for escaping directory.
61782 2013-10-31  Andreas Schwab  <schwab@suse.de>
61784         [BZ #15917]
61785         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61786         followed by 'x' as part of digit sequence.
61787         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61789 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61791         [BZ #16037]
61792         * configure.ac: allow GNU Make 4.0 and greater.
61793         * configure: Regenerated.
61795 2013-10-30  Will Newton  <will.newton@linaro.org>
61797         [BZ #16038]
61798         * malloc/hooks.c (memalign_check): Limit alignment to the
61799         maximum representable power of two.
61800         * malloc/malloc.c (__libc_memalign): Likewise.
61801         * malloc/tst-memalign.c (do_test): Add test for very
61802         large alignment values.
61803         * malloc/tst-posix_memalign.c (do_test): Likewise.
61805 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61807         [BZ #11087]
61808         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61809         (munmap_chunk): Likewise.
61810         (mremap_chunk): Likewise.
61812 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61814         [BZ #15799]
61815         * stdlib/div.c (div): Remove obsolete code.
61816         * stdlib/ldiv.c (ldiv): Likewise.
61817         * stdlib/lldiv.c (lldiv): Likewise.
61819 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61821         [BZ #16071]
61822         * nss/nss_files/files-XXX.c (get_contents_ret): New
61823         enumerator.
61824         (get_contents): New function.
61825         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61827 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61829         * configure.in: Moved to ...
61830         * configure.ac: ... here. Change reference to configure.in
61831         to configure.ac.
61832         * sysdeps/arm/preconfigure.ac: ... here.
61833         configure.in to configure.ac.
61834         * sysdeps/gnu/configure.in: Moved to ...
61835         * sysdeps/gnu/configure.ac: ... here.
61836         * sysdeps/i386/configure.in: Moved to ...
61837         * sysdeps/i386/configure.ac: ... here.
61838         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61839         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61840         * sysdeps/mach/configure.in: Moved to ...
61841         * sysdeps/mach/configure.ac: ... here.
61842         * sysdeps/mach/hurd/configure.in: Moved to ...
61843         * sysdeps/mach/hurd/configure.ac: ... here.
61844         * sysdeps/powerpc/configure.in: Moved to ...
61845         * sysdeps/powerpc/configure.ac: ... here.
61846         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61847         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61848         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61849         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61850         * sysdeps/s390/s390-32/configure.in: Moved to ...
61851         * sysdeps/s390/s390-32/configure.ac: ... here.
61852         * sysdeps/s390/s390-64/configure.in: Moved to ...
61853         * sysdeps/s390/s390-64/configure.ac: ... here.
61854         * sysdeps/sh/configure.in: Moved to ...
61855         * sysdeps/sh/configure.ac: ... here.
61856         * sysdeps/sparc/configure.in: Moved to ...
61857         * sysdeps/sparc/configure.ac: ... here.
61858         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61859         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61860         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61861         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61862         * sysdeps/x86_64/configure.in: Moved to ...
61863         * sysdeps/x86_64/configure.ac: ... here.
61864         * sysdeps/x86_64/preconfigure.in: Moved to ...
61865         * sysdeps/x86_64/preconfigure.ac: ... here.
61866         * aclocal.m4: Change reference to configure.in to configure.ac.
61867         * config.h.in: Likewise.
61868         * manual/install.texi: Likewise.
61869         * manual/maint.texi: Likewise.
61870         * Makefile: Likewise.
61871         * malloc/Makefile: Likewise.
61872         * nscd/Makefile: Likewise.
61873         * Makeconfig: Change reference to configure.in and
61874         preconfigure.in to configure.ac and preconfigure.ac
61875         respectively.
61876         * INSTALL: Regenerated.
61877         * configure: Likewise.
61878         * sysdeps/gnu/configure: Likewise.
61879         * sysdeps/i386/configure: Likewise.
61880         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61881         * sysdeps/mach/configure: Likewise.
61882         * sysdeps/mach/hurd/configure: Likewise.
61883         * sysdeps/powerpc/configure: Likewise.
61884         * sysdeps/powerpc/powerpc32/configure: Likewise.
61885         * sysdeps/powerpc/powerpc64/configure: Likewise.
61886         * sysdeps/s390/s390-32/configure: Likewise.
61887         * sysdeps/s390/s390-64/configure: Likewise.
61888         * sysdeps/sh/configure: Likewise.
61889         * sysdeps/sparc/configure: Likewise.
61890         * sysdeps/unix/sysv/linux/configure: Likewise.
61891         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61892         * sysdeps/x86_64/configure: Likewise.
61893         * sysdeps/x86_64/preconfigure: Likewise.
61895 2013-10-29  Andreas Schwab  <schwab@suse.de>
61897         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61899 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61901         * benchtests/pow-inputs: Add new inputs.
61903         * benchtests/exp-inputs: Add new inputs.
61905         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61906         conditional check for return value.
61907         (__cos32): Likewise.
61909 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61911         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61912         to provide a boost for large inputs with word alignment.
61913         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61914         implementation based on optimized PPC64 strcpy.
61915         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61916         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61917         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61918         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61920 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61922         [BZ #2801]
61923         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61925 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61927         [BZ #14876]
61928         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61929         * time/tst-strptime.c (day_tests): Add testcase.
61931 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61933         [BZ #14029]
61934         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61936 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61938         [BZ #16074]
61939         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61940         MAP_FAILED on error.
61942 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61944         [BZ #16072]
61945         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61946         heap for large requests.
61948 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61950         [BZ #9954]
61951         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61952         result if the result has no associated interface.
61953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61954         interface for all 127.X.Y.Z addresses.
61956 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61958         * locale/iso-639.def: Add Ligurian (lij)
61960 2013-10-21  Ondƙej BĂ­lka  <neleai@seznam.cz>
61962         [BZ #15825]
61963         * sunrpc/rpc_main.c: Document rpcgen -5.
61965 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61967         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61969 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61971         [BZ #10278]
61972         * posix/glob.c: Match only directories when trailing slash is present.
61973         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61974         (main): Add testcase.
61976 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61978         [BZ #15670]
61979         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61981 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61983         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61984         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61985         AUTH_DES and cindex for FIPS 140-2.
61986         (DES Encryption): Add cindex FIPS 46-3.
61988         * locale/locarchive.h (struct locarhandle): Add fname.
61989         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61990         if an optional argument was specified to --list-archive,
61991         otherwise NULL.
61992         * locale/programs/locarchive.c (show_archive_content): Take new
61993         argument fname and pass it via ah.fname to open_archive.
61994         * locale/programs/localedef.h: Update decl.
61995         (open_archive): If AH->fname is non-null, open that file
61996         rather than the default file name, and don't ignore ENOENT.
61997         (create_archive): Set AH.fname to NULL.
61998         (delete_locales_from_archive): Likewise.
61999         (add_locales_to_archive): Likewise.
62000         * locale/programs/locfile.c (write_all_categories): Likewise.
62002 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
62003             Aldy Hernandez  <aldyh@redhat.com>
62005         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
62006         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
62007         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
62008         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
62009         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
62010         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
62011         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
62012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
62013         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
62014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
62015         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
62016         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62017         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
62018         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
62019         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62020         Likewise.
62021         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
62022         Likewise.
62023         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
62024         Likewise.
62025         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
62026         Likewise.
62027         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
62028         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
62029         Likewise.
62030         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
62031         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
62032         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
62033         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
62034         Likewise.
62035         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
62036         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62037         * sysdeps/powerpc/preconfigure: Likewise.
62038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
62039         Likewise.
62040         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
62041         Replace contents of file by #include of <fenv_libc.h>.
62042         * sysdeps/powerpc/soft-fp/sfp-machine.h
62043         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
62044         and <sys/prctl.h>.
62045         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
62046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
62048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
62049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
62050         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
62051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
62052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
62053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
62054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
62055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
62056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
62057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
62058         Allow copysignl PLT reference to be missing.
62060 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
62061             Joseph Myers  <joseph@codesourcery.com
62063         [BZ #15948]
62064         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62065         single character.
62066         (add_to_tablewc): Assert sequence of wide characters is nonempty.
62068 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62070         * elf/tst-tls-dlinfo.c: Don't include tls.h.
62071         * elf/tst-tls1.c: Likewise.
62072         * elf/tst-tls10.h: Likewise.
62073         * elf/tst-tls14.c: Likewise.
62074         * elf/tst-tls2.c: Likewise.
62075         * elf/tst-tls3.c: Likewise.
62076         * elf/tst-tls4.c: Likewise.
62077         * elf/tst-tls5.c: Likewise.
62078         * elf/tst-tls6.c: Likewise.
62079         * elf/tst-tls7.c: Likewise.
62080         * elf/tst-tls8.c: Likewise.
62081         * elf/tst-tls9.c: Likewise.
62082         * elf/tst-tlsmod1.c: Likewise.
62083         * elf/tst-tlsmod13.c: Likewise.
62084         * elf/tst-tlsmod13a.c: Likewise.
62085         * elf/tst-tlsmod14a.c: Likewise.
62086         * elf/tst-tlsmod16a.c: Likewise.
62087         * elf/tst-tlsmod16b.c: Likewise.
62088         * elf/tst-tlsmod2.c: Likewise.
62089         * elf/tst-tlsmod3.c: Likewise.
62090         * elf/tst-tlsmod4.c: Likewise.
62091         * elf/tst-tlsmod5.c: Likewise.
62092         * elf/tst-tlsmod6.c: Likewise.
62094 2013-10-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
62096         [BZ #12486]
62097         * malloc/malloc.c: remove checks for statistics.
62099 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
62101         [BZ #15277]
62102         * inet/inet_net.c (inet_network): Detect additional invalid strings.
62103         * inet/tst-network.c: Add testcase.
62105 2013-10-17  Andreas Schwab  <schwab@suse.de>
62107         [BZ #15218]
62108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62109         to determine canonical name.
62111 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
62113         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62114         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62116         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62118         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62119         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62120         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62121         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62122         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62123         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62124         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62125         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62126         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62127         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62128         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62130         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62131         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62132         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62133         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62134         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62136         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62137         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62139         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62140         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62141         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62142         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62143         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62145         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62146         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62147         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62150         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62151         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62153         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62154         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62157         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62158         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62159         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62160         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62161         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62163         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62164         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62165         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62166         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62168         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62169         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62170         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62172 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62174         [BZ #16041]
62175         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62176         make result into a quiet NaN.
62178 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62180         * soft-fp/adddf3.c: Fix horizontal whitespace.
62181         * soft-fp/addsf3.c: Likewise.
62182         * soft-fp/addtf3.c: Likewise.
62183         * soft-fp/divdf3.c: Likewise.
62184         * soft-fp/divsf3.c: Likewise.
62185         * soft-fp/divtf3.c: Likewise.
62186         * soft-fp/double.h: Likewise.
62187         * soft-fp/eqdf2.c: Likewise.
62188         * soft-fp/eqsf2.c: Likewise.
62189         * soft-fp/eqtf2.c: Likewise.
62190         * soft-fp/extenddftf2.c: Likewise.
62191         * soft-fp/extended.h: Likewise.
62192         * soft-fp/extendsfdf2.c: Likewise.
62193         * soft-fp/extendsftf2.c: Likewise.
62194         * soft-fp/extendxftf2.c: Likewise.
62195         * soft-fp/fixdfdi.c: Likewise.
62196         * soft-fp/fixdfsi.c: Likewise.
62197         * soft-fp/fixdfti.c: Likewise.
62198         * soft-fp/fixsfdi.c: Likewise.
62199         * soft-fp/fixsfsi.c: Likewise.
62200         * soft-fp/fixsfti.c: Likewise.
62201         * soft-fp/fixtfdi.c: Likewise.
62202         * soft-fp/fixtfsi.c: Likewise.
62203         * soft-fp/fixtfti.c: Likewise.
62204         * soft-fp/fixunsdfdi.c: Likewise.
62205         * soft-fp/fixunsdfsi.c: Likewise.
62206         * soft-fp/fixunsdfti.c: Likewise.
62207         * soft-fp/fixunssfdi.c: Likewise.
62208         * soft-fp/fixunssfsi.c: Likewise.
62209         * soft-fp/fixunssfti.c: Likewise.
62210         * soft-fp/fixunstfdi.c: Likewise.
62211         * soft-fp/fixunstfsi.c: Likewise.
62212         * soft-fp/fixunstfti.c: Likewise.
62213         * soft-fp/floatdidf.c: Likewise.
62214         * soft-fp/floatdisf.c: Likewise.
62215         * soft-fp/floatditf.c: Likewise.
62216         * soft-fp/floatsidf.c: Likewise.
62217         * soft-fp/floatsisf.c: Likewise.
62218         * soft-fp/floatsitf.c: Likewise.
62219         * soft-fp/floattidf.c: Likewise.
62220         * soft-fp/floattisf.c: Likewise.
62221         * soft-fp/floattitf.c: Likewise.
62222         * soft-fp/floatundidf.c: Likewise.
62223         * soft-fp/floatundisf.c: Likewise.
62224         * soft-fp/floatunditf.c: Likewise.
62225         * soft-fp/floatunsidf.c: Likewise.
62226         * soft-fp/floatunsisf.c: Likewise.
62227         * soft-fp/floatunsitf.c: Likewise.
62228         * soft-fp/floatuntidf.c: Likewise.
62229         * soft-fp/floatuntisf.c: Likewise.
62230         * soft-fp/floatuntitf.c: Likewise.
62231         * soft-fp/fmadf4.c: Likewise.
62232         * soft-fp/fmasf4.c: Likewise.
62233         * soft-fp/fmatf4.c: Likewise.
62234         * soft-fp/gedf2.c: Likewise.
62235         * soft-fp/gesf2.c: Likewise.
62236         * soft-fp/getf2.c: Likewise.
62237         * soft-fp/ledf2.c: Likewise.
62238         * soft-fp/lesf2.c: Likewise.
62239         * soft-fp/letf2.c: Likewise.
62240         * soft-fp/muldf3.c: Likewise.
62241         * soft-fp/mulsf3.c: Likewise.
62242         * soft-fp/multf3.c: Likewise.
62243         * soft-fp/negdf2.c: Likewise.
62244         * soft-fp/negsf2.c: Likewise.
62245         * soft-fp/negtf2.c: Likewise.
62246         * soft-fp/op-1.h: Likewise.
62247         * soft-fp/op-2.h: Likewise.
62248         * soft-fp/op-4.h: Likewise.
62249         * soft-fp/op-8.h: Likewise.
62250         * soft-fp/op-common.h: Likewise.
62251         * soft-fp/quad.h: Likewise.
62252         * soft-fp/single.h: Likewise.
62253         * soft-fp/soft-fp.h: Likewise.
62254         * soft-fp/sqrtdf2.c: Likewise.
62255         * soft-fp/sqrtsf2.c: Likewise.
62256         * soft-fp/sqrttf2.c: Likewise.
62257         * soft-fp/subdf3.c: Likewise.
62258         * soft-fp/subsf3.c: Likewise.
62259         * soft-fp/subtf3.c: Likewise.
62260         * soft-fp/truncdfsf2.c: Likewise.
62261         * soft-fp/trunctfdf2.c: Likewise.
62262         * soft-fp/trunctfsf2.c: Likewise.
62263         * soft-fp/trunctfxf2.c: Likewise.
62264         * soft-fp/unorddf2.c: Likewise.
62265         * soft-fp/unordsf2.c: Likewise.
62266         * soft-fp/unordtf2.c: Likewise.
62268 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62270         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62271         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62273 2013-10-15   Ondƙej BĂ­lka  <neleai@seznam.cz>
62275         * elf/dl-libc.c: Clear initfini list after freeing.
62277 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62279         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62280         * soft-fp/addsf3.c: Likewise.
62281         * soft-fp/addtf3.c: Likewise.
62282         * soft-fp/divdf3.c: Likewise.
62283         * soft-fp/divsf3.c: Likewise.
62284         * soft-fp/divtf3.c: Likewise.
62285         * soft-fp/double.h: Likewise.
62286         * soft-fp/eqdf2.c: Likewise.
62287         * soft-fp/eqsf2.c: Likewise.
62288         * soft-fp/eqtf2.c: Likewise.
62289         * soft-fp/extenddftf2.c: Likewise.
62290         * soft-fp/extended.h: Likewise.
62291         * soft-fp/extendsfdf2.c: Likewise.
62292         * soft-fp/extendsftf2.c: Likewise.
62293         * soft-fp/extendxftf2.c: Likewise.
62294         * soft-fp/fixdfdi.c: Likewise.
62295         * soft-fp/fixdfsi.c: Likewise.
62296         * soft-fp/fixdfti.c: Likewise.
62297         * soft-fp/fixsfdi.c: Likewise.
62298         * soft-fp/fixsfsi.c: Likewise.
62299         * soft-fp/fixsfti.c: Likewise.
62300         * soft-fp/fixtfdi.c: Likewise.
62301         * soft-fp/fixtfsi.c: Likewise.
62302         * soft-fp/fixtfti.c: Likewise.
62303         * soft-fp/fixunsdfdi.c: Likewise.
62304         * soft-fp/fixunsdfsi.c: Likewise.
62305         * soft-fp/fixunsdfti.c: Likewise.
62306         * soft-fp/fixunssfdi.c: Likewise.
62307         * soft-fp/fixunssfsi.c: Likewise.
62308         * soft-fp/fixunssfti.c: Likewise.
62309         * soft-fp/fixunstfdi.c: Likewise.
62310         * soft-fp/fixunstfsi.c: Likewise.
62311         * soft-fp/fixunstfti.c: Likewise.
62312         * soft-fp/floatdidf.c: Likewise.
62313         * soft-fp/floatdisf.c: Likewise.
62314         * soft-fp/floatditf.c: Likewise.
62315         * soft-fp/floatsidf.c: Likewise.
62316         * soft-fp/floatsisf.c: Likewise.
62317         * soft-fp/floatsitf.c: Likewise.
62318         * soft-fp/floattidf.c: Likewise.
62319         * soft-fp/floattisf.c: Likewise.
62320         * soft-fp/floattitf.c: Likewise.
62321         * soft-fp/floatundidf.c: Likewise.
62322         * soft-fp/floatundisf.c: Likewise.
62323         * soft-fp/floatunsidf.c: Likewise.
62324         * soft-fp/floatunsisf.c: Likewise.
62325         * soft-fp/floatuntidf.c: Likewise.
62326         * soft-fp/floatuntisf.c: Likewise.
62327         * soft-fp/floatuntitf.c: Likewise.
62328         * soft-fp/fmadf4.c: Likewise.
62329         * soft-fp/fmasf4.c: Likewise.
62330         * soft-fp/fmatf4.c: Likewise.
62331         * soft-fp/gedf2.c: Likewise.
62332         * soft-fp/gesf2.c: Likewise.
62333         * soft-fp/getf2.c: Likewise.
62334         * soft-fp/ledf2.c: Likewise.
62335         * soft-fp/lesf2.c: Likewise.
62336         * soft-fp/letf2.c: Likewise.
62337         * soft-fp/muldf3.c: Likewise.
62338         * soft-fp/mulsf3.c: Likewise.
62339         * soft-fp/multf3.c: Likewise.
62340         * soft-fp/negdf2.c: Likewise.
62341         * soft-fp/negsf2.c: Likewise.
62342         * soft-fp/negtf2.c: Likewise.
62343         * soft-fp/op-1.h: Likewise.
62344         * soft-fp/op-2.h: Likewise.
62345         * soft-fp/op-4.h: Likewise.
62346         * soft-fp/op-8.h: Likewise.
62347         * soft-fp/op-common.h: Likewise.
62348         * soft-fp/quad.h: Likewise.
62349         * soft-fp/single.h: Likewise.
62350         * soft-fp/soft-fp.h: Likewise.
62351         * soft-fp/sqrtdf2.c: Likewise.
62352         * soft-fp/sqrtsf2.c: Likewise.
62353         * soft-fp/sqrttf2.c: Likewise.
62354         * soft-fp/subdf3.c: Likewise.
62355         * soft-fp/subsf3.c: Likewise.
62356         * soft-fp/subtf3.c: Likewise.
62357         * soft-fp/truncdfsf2.c: Likewise.
62358         * soft-fp/trunctfdf2.c: Likewise.
62359         * soft-fp/trunctfsf2.c: Likewise.
62360         * soft-fp/trunctfxf2.c: Likewise.
62361         * soft-fp/unorddf2.c: Likewise.
62362         * soft-fp/unordsf2.c: Likewise.
62363         * soft-fp/unordtf2.c: Likewise.
62365 2013-10-14   Ondƙej BĂ­lka  <neleai@seznam.cz>
62367         [BZ #15672]
62368         * misc/error.c (error_tail): Fix possible buffer overflow.
62370 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62372         [BZ #13028]
62373         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62374         address.
62376 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62378         [BZ #832]
62379         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62380         testing pipefail option.
62382 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62384         * soft-fp/double.h: Indent preprocessor directives inside #if.
62385         * soft-fp/extended.h: Likewise.
62386         * soft-fp/op-2.h: Likewise.
62387         * soft-fp/op-4.h: Likewise.
62388         * soft-fp/op-common.h: Likewise.
62389         * soft-fp/quad.h: Likewise.
62390         * soft-fp/single.h: Likewise.
62391         * soft-fp/soft-fp.h: Likewise.
62393 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62395         * iconv/iconv_prog.c: Fix typos.
62396         * stdio-common/psiginfo-data.h: Likewise.
62398 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62400         [BZ #15764]
62401         * locale/setlocale.c: Fix typo.
62403 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62405         [BZ #16036]
62406         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62407         signaling NaN arguments.
62408         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62409         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62411         [BZ #14910]
62412         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62413         unordered operands.
62414         * soft-fp/gesf2.c (__gesf2): Likewise.
62415         * soft-fp/getf2.c (__getf2): Likewise.
62416         * soft-fp/ledf2.c (__ledf2): Likewise.
62417         * soft-fp/lesf2.c (__lesf2): Likewise.
62418         * soft-fp/letf2.c (__letf2): Likewise.
62420         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62421         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62422         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62423         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62424         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62425         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62426         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62427         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62428         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62429         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62430         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62431         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62432         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62433         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62434         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62435         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62436         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62437         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62438         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62439         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62440         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62441         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62442         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62443         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62444         * soft-fp/floattidf.c (__floattidf): Likewise.
62445         * soft-fp/floattisf.c (__floattisf): Likewise.
62446         * soft-fp/floattitf.c (__floattitf): Likewise.
62447         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62448         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62449         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62450         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62451         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62452         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62453         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62454         * soft-fp/gesf2.c (__gesf2): Likewise.
62455         * soft-fp/getf2.c (__getf2): Likewise.
62456         * soft-fp/ledf2.c (__ledf2): Likewise.
62457         * soft-fp/lesf2.c (__lesf2): Likewise.
62458         * soft-fp/letf2.c (__letf2): Likewise.
62460         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62461         Undefine and redefine.
62462         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62463         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62464         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62465         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62466         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62467         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62468         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62469         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62470         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62471         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62472         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62473         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62474         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62475         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62476         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62478         [BZ #16032]
62479         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62480         without decrementing exponent if mantissa >= that for the
62481         denominator, not >.
62482         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62483         denominator, not >.  Decrement exponent in < case instead of
62484         incrementing in >= case.
62485         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62486         without decrementing exponent if mantissa >= that for the
62487         denominator, not >.
62489         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62490         computing saturated result for unsigned overflow.
62492 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62493             Jeff Law  <law@redhat.com>
62495         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62496         (atan2Mp): Add systemtap probe marker.
62497         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62498         (__ieee754_log): Add systemtap probe marker.
62499         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62500         (atanMp): Add systemtap probe marker.
62501         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62502         (tanMp): Add systemtap probe marker.
62503         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62504         (__slowexp): Add systemtap probe marker.
62505         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62506         (__slowpow): Add systemtap probe marker.
62507         * manual/probes.texi: Document probes.
62509 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62511         [BZ #15362]
62512         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62513         written.
62514         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62515         written.
62516         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62517         written to buffer but not flushed.
62518         * libio/iofwrite_u.c:  Likewise.
62519         * libio/iopadn.c:  Return bytes returned even if EOF was
62520         encountered.
62521         * libio/iowpadn.c:  Likewise.
62522         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62523         if _IO_padn does not write the whole buffer.
62524         [!COMPILE_WPRINTF] (PAD): Likewise.
62526 2013-10-10  David S. Miller  <davem@davemloft.net>
62528         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62529         directory block.
62531 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62533         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62534         instead of FSF address.
62535         * soft-fp/fixdfti.c: Likewise.
62536         * soft-fp/fixsfti.c: Likewise.
62537         * soft-fp/fixtfti.c: Likewise.
62538         * soft-fp/fixunsdfti.c: Likewise.
62539         * soft-fp/fixunssfti.c: Likewise.
62540         * soft-fp/fixunstfti.c: Likewise.
62541         * soft-fp/floattidf.c: Likewise.
62542         * soft-fp/floattisf.c: Likewise.
62543         * soft-fp/floattitf.c: Likewise.
62544         * soft-fp/floatuntidf.c: Likewise.
62545         * soft-fp/floatuntisf.c: Likewise.
62546         * soft-fp/floatuntitf.c: Likewise.
62547         * soft-fp/trunctfxf2.c: Likewise.
62549         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62550         * soft-fp/fixdfti.c: Likewise.
62551         * soft-fp/fixsfti.c: Likewise.
62552         * soft-fp/fixtfti.c: Likewise.
62553         * soft-fp/fixunsdfti.c: Likewise.
62554         * soft-fp/fixunssfti.c: Likewise.
62555         * soft-fp/fixunstfti.c: Likewise.
62556         * soft-fp/floattidf.c: Likewise.
62557         * soft-fp/floattisf.c: Likewise.
62558         * soft-fp/floattitf.c: Likewise.
62559         * soft-fp/floatuntidf.c: Likewise.
62560         * soft-fp/floatuntisf.c: Likewise.
62561         * soft-fp/floatuntitf.c: Likewise.
62562         * soft-fp/trunctfxf2.c: Likewise.
62564 2013-10-10  David S. Miller  <davem@davemloft.net>
62566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62568 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62570         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62571         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62572         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62573         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62574         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62575         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62576         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62579         for NaNs before doing comparisons on argument.
62580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62581         Likewise.
62583 2013-10-10  Will Newton  <will.newton@linaro.org>
62585         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62586         passed to _int_memalign does not overflow.
62588 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62590         * scripts/bench.pl: Add include-sources directive.
62591         * benchtests/README: Update documentation.
62593 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62595         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62596         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62597         instead of FP_INIT_ROUNDMODE.
62598         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62599         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62601         [BZ #16034]
62602         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62603         copy class of input value.
62604         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62605         not handle exceptions.
62606         * soft-fp/negsf2.c (__negsf2): Likewise.
62607         * soft-fp/negtf2.c (__negtf2): Likewise.
62608         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62610 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62612         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62613         semicolon.  From Linux kernel.
62615 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62617         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62619 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62621         [BZ #156]
62622         * manual/socket.texi: Added statement about buffer
62623         for gethostbyname2_r.
62625 2013-10-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
62627         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62628         Use .p2align directive instead, throughout.
62629         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62630         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62631         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62632         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62633         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62634         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62635         * sysdeps/x86_64/strchr.S: Likewise.
62636         * sysdeps/x86_64/strrchr.S: Likewise.
62638 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62640         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62642         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62644         * sysdeps/generic/math_private.h (__mpsin1): Remove
62645         declaration.
62646         (__mpcos1): Likewise.
62647         (__mpsin): New argument __range_reduce.
62648         (__mpcos): Likewise.
62649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62650         (slow): Use __mpsin and __mpcos.
62651         (slow1): Likewise.
62652         (slow2): Likewise.
62653         (sloww): Likewise.
62654         (sloww1): Likewise.
62655         (sloww2): Likewise.
62656         (bsloww): Likewise.
62657         (bsloww1): Likewise.
62658         (bsloww2): Likewise.
62659         (cslow2): Likewise.
62660         (csloww): Likewise.
62661         (csloww1): Likewise.
62662         (csloww2): Likewise.
62663         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62664         range_reduce.  Merge in __mpsin1.
62665         (__mpcos): Likewise.
62666         (__mpsin1): Remove.
62667         (__mpcos1): Likewise.
62669 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62671         * locale/loadlocale.c (_nl_intern_locale_data): Use
62672         LOCFILE_ALIGNED_P.
62673         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62674         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62675         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62676         obstack data is appropriately aligned.
62677         (obstack_int32_grow_fast): Likewise.
62678         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62679         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62680         (add_locale_uint32_array): Likewise.
62682 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62684         * benchtests/Makefile: Remove ARGLIST and RET variables.
62685         ($(objpfx)bench-%.c): Pass only function name to the script.
62686         * benchtests/README: Update documentation.
62687         * benchtests/acos-inputs: Add new directives.
62688         * benchtests/acosh-inputs: Likewise.
62689         * benchtests/asin-inputs: Likewise.
62690         * benchtests/asinh-inputs: Likewise.
62691         * benchtests/atan-inputs: Likewise.
62692         * benchtests/atanh-inputs: Likewise.
62693         * benchtests/cos-inputs: Likewise.
62694         * benchtests/cosh-inputs: Likewise.
62695         * benchtests/exp-inputs: Likewise.
62696         * benchtests/log-inputs: Likewise.
62697         * benchtests/pow-inputs: Likewise.
62698         * benchtests/rint-inputs: Likewise.
62699         * benchtests/sin-inputs: Likewise.
62700         * benchtests/sinh-inputs: Likewise.
62701         * benchtests/tan-inputs: Likewise.
62702         * benchtests/tanh-inputs: Likewise.
62703         * scripts/bench.pl: Add support for new directives.
62705 2013-10-07  Alan Modra  <amodra@gmail.com>
62707         * README: Fix careless merge.
62709 2013-10-05  Alan Modra  <amodra@gmail.com>
62711         * NEWS: Mention powerpc64le support and bugs fixed.
62712         * README: Both big-endian and little-endian powerpc64 supported.
62714 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62716         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62717         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62718         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62719         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62721 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62723         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62724         match prototype.
62726 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62728         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62729         Move -mhard-float appending from
62730         ports/sysdeps/powerpc/powerpc32/Makefile.
62731         [$(with-fp) = yes] (ASFLAGS): Likewise.
62732         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62733         * sysdeps/powerpc/nofpu: Move directory from
62734         ports/sysdeps/powerpc/nofpu.
62735         * sysdeps/powerpc/soft-fp: Move directory from
62736         ports/sysdeps/powerpc/soft-fp.
62737         * sysdeps/powerpc/powerpc32/405: Move directory from
62738         ports/sysdeps/powerpc/powerpc32/405.
62739         * sysdeps/powerpc/powerpc32/440: Move directory from
62740         ports/sysdeps/powerpc/powerpc32/440.
62741         * sysdeps/powerpc/powerpc32/464: Move directory from
62742         ports/sysdeps/powerpc/powerpc32/464.
62743         * sysdeps/powerpc/powerpc32/476: Move directory from
62744         ports/sysdeps/powerpc/powerpc32/476.
62745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62746         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62748         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62750         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62752         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62754         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62755         * README: Update for powerpc-*-linux-gnu software floating point
62756         support in libc.
62758         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62759         case to powerpc/powerpc32*.
62760         * sysdeps/unix/sysv/linux/configure: Regenerated.
62762         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62763         (_FPU_MASK_OM): Define as 0x04.
62764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62766         0x00c10080.
62767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62768         0x0000003c.
62769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62772         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62773         getcontext_e500.
62774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62775         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62776         setcontext_e500.
62777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62778         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62779         and setcontext_e500.
62781 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62783         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62785 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62787         * manual/threads.texi (Default Thread Attributes): Fix typo.
62789 2013-10-04  Will Newton  <will.newton@linaro.org>
62791         * malloc/Makefile: Add tst-memalign.
62792         * malloc/tst-memalign.c: New file.
62794         * malloc/tst-posix_memalign.c: Add comments.
62795         (do_test): Add comments and call free on all potentially
62796         allocated pointers. Add space after cast.
62798         * malloc/tst-pvalloc.c: Add comments.
62799         (do_test): Add comments and call free on all potentially
62800         allocated pointers. Remove duplicate check for NULL pointer.
62801         Add space after cast.
62803         * malloc/tst-valloc.c: Add comments.
62804         (do_test): Add comments and call free on all potentially
62805         allocated pointers. Remove duplicate check for NULL pointer.
62806         Add space after cast.
62808 2013-10-04  Alan Modra  <amodra@gmail.com>
62810         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62811         Use stdint types in rather than __attribute__((mode())).
62812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62814 2013-10-04  Alan Modra  <amodra@gmail.com>
62816         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62817         Correct handling of unaligned relocs for little-endian.
62818         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62820 2013-10-04  Alan Modra  <amodra@gmail.com>
62822         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62823         * configure: Regenerate.
62824         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62825         * shlib-versions: Likewise.
62827 2013-10-04  Alan Modra  <amodra@gmail.com>
62829         * string/tester.c (test_memrchr): Increment reported test cycle.
62831 2013-10-04  Alan Modra  <amodra@gmail.com>
62833         * string/test-memcpy.c (do_one_test): When reporting errors, print
62834         string address and don't overrun end of string.
62836 2013-10-04  Alan Modra  <amodra@gmail.com>
62838         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62839         insrdi.  Make better use of reg selection to speed exit slightly.
62840         Schedule entry path a little better.  Remove useless "are we done"
62841         checks on entry to main loop.  Handle wrapping around zero address.
62842         Correct main loop count.  Handle single left-over word from main
62843         loop inline rather than by using loop_small.  Remove extra word
62844         case in loop_small caused by wrong loop count.  Add little-endian
62845         support.
62846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62847         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62848         cache hint.
62849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62850         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62851         support.  Avoid rlwimi.
62852         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62854 2013-10-04  Alan Modra  <amodra@gmail.com>
62856         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62857         insrdi.  Formatting.
62858         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62859         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62860         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62861         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62862         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62863         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62865 2013-10-04  Alan Modra  <amodra@gmail.com>
62867         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62870         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62871         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62872         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62873         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62874         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62875         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62876         use of regs.  Use power7 mtocrf.  Tidy function tails.
62878 2013-10-04  Alan Modra  <amodra@gmail.com>
62880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62881         Formatting.  Consistently use rXXX register defines or rN defines.
62882         Use early exit labels that avoid restoring unused non-volatile regs.
62883         Make cr field use more consistent with rWORDn compares.  Rename
62884         regs used as shift registers for unaligned loop, using rN defines
62885         for short lifetime/multiple use regs.
62886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62887         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62888         addi 1,1,64 to pop stack frame.  Simplify return value code.
62889         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62891 2013-10-04  Alan Modra  <amodra@gmail.com>
62893         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62894         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62895         rather than rlwimi.
62896         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62897         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62898         little-endian support.  Correct typos.
62899         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62900         rather than rlwimi.
62901         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62902         in loop and entry code to keep "and." results.
62903         (strchr): Add little-endian support.  Comment.  Move cntlzd
62904         earlier in tail.
62905         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62907 2013-10-04  Alan Modra  <amodra@gmail.com>
62909         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62910         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62911         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62912         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62914 2013-10-04  Alan Modra  <amodra@gmail.com>
62916         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62917         (rTMP): Define as r11.
62918         (strcmp): Add little-endian support.  Optimise tail.
62919         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62920         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62921         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62922         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62923         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62925         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62927 2013-10-04  Alan Modra  <amodra@gmail.com>
62929         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62930         little-endian support.  Remove unnecessary "are we done" tests.
62931         Handle "s" wrapping around zero and extremely large "size".
62932         Correct main loop count.  Handle single left-over word from main
62933         loop inline rather than by using small_loop.  Correct comments.
62934         Delete "zero" tail, use "end_max" instead.
62935         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62937 2013-10-04  Alan Modra  <amodra@gmail.com>
62939         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62940         support.  Don't branch over align.
62941         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62942         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62943         support.  Rearrange tmp reg use to suit.  Comment.
62944         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62946 2013-10-04  Alan Modra  <amodra@gmail.com>
62948         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62950 2013-10-04  Alan Modra  <amodra@gmail.com>
62952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62953         conditional form of branch and link when obtaining pc.
62954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62956 2013-10-04  Alan Modra  <amodra@gmail.com>
62958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62959         HIWORD/LOWORD.
62960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62963 2013-10-04  Alan Modra  <amodra@gmail.com>
62965         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62966         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62967         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62968         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62969         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62970         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62971         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62972         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62973         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62974         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62976 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62977             Alistair Popple <alistair@ozlabs.au.ibm.com>
62978             Alan Modra <amodra@gmail.com>
62980         [BZ #15723]
62981         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62982         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62983         _dl_hwcap access for little-endian.
62984         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62985         destroy vmx regs when saving unaligned.
62986         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62988         destroy vmx regs when saving unaligned.
62990 2013-10-04  Alan Modra  <amodra@gmail.com>
62992         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62993         Don't use a union to pack hi/low value.
62995 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62997         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62998         for little-endian.
62999         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
63001         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63002         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63003         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63005 2013-10-04  Alan Modra  <amodra@gmail.com>
63007         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
63008         constants to usual value for .cst8 section, and remove redundant
63009         high address load.
63010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
63011         constant for 0x1p52.  Load little-endian words of double from
63012         correct stack offsets.
63014 2013-10-04  Alan Modra  <amodra@gmail.com>
63016         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
63017         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
63018         words of double from correct stack offsets.
63019         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
63020         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
63021         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63022         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63024         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63025         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63026         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
63027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
63028         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63030         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63031         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63032         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63033         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63034         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
63035         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
63037 2013-10-04  Alan Modra  <amodra@gmail.com>
63039         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
63040         64-bit int/double union.
63041         (_FPU_SETCW): Likewise.
63042         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
63043         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
63045 2013-10-04  Alan Modra  <amodra@gmail.com>
63047         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
63048         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
63050 2013-10-04  Alan Modra  <amodra@gmail.com>
63052         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
63053         use vector int constants.
63054         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
63056 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63058         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
63059         array with long long.
63060         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
63061         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
63062         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63063         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63064         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63065         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63066         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63068         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63069         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63070         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63071         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63072         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63074 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63076         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63077         (__signbit): Likewise.  Correct for little-endian.
63078         (__signbitl): Call __signbit.
63079         (lrint): Correct for little-endian.
63080         (lrintf): Call lrint.
63082 2013-10-04  Alan Modra  <amodra@gmail.com>
63084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63085         union 32-bit int array member with 64-bit int array.
63086         (t515, tm256): Double rather than long double.
63087         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63089 2013-10-04  Alan Modra  <amodra@gmail.com>
63091         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63092         Delete.
63093         (IEEE854_LONG_DOUBLE_BIAS): Delete.
63094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63095         version of math_ldbl.h.
63097 2013-10-04  Alan Modra  <amodra@gmail.com>
63099         [BZ #15734], [BZ #15735]
63100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63101         all uses of ieee875 long double macros and unions.  Simplify test
63102         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
63103         ldbl_extract_mantissa value for ix,iy exponents.  Properly
63104         normalize after ldbl_extract_mantissa, and don't add hidden bit
63105         already handled.  Don't treat low word of ieee854 mantissa like
63106         low word of IBM long double and mask off bit when testing for
63107         zero.
63108         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63109         all uses of ieee875 long double macros and unions.  Simplify tests
63110         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
63111         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
63112         two1022, instead use their values.  Recognise that tests for large
63113         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
63114         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63115         Rewrite all uses of ieee875 long double macros and unions.  Simplify
63116         test for 0.0L and nan.  Correct negation.
63117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63118         ieee875 long double macros and unions.  Correct output for large
63119         magnitude x.  Correct absolute value calculation.
63120         (__erfcl): Likewise.
63121         * math/libm-test.inc: Add tests for errors discovered in IBM long
63122         double versions of fmodl, remainderl, erfl and erfcl.
63124 2013-10-04  Alan Modra  <amodra@gmail.com>
63126         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63127         all uses of ieee854 long double macros and unions.  Simplify tests
63128         for long doubles that are fully specified by the high double.
63129         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63130         Likewise.
63131         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63132         Remove dead code too.
63133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63134         (__ieee754_ynl): Likewise.
63135         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63136         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63138         Remove dead code too.
63139         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63140         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63141         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63142         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63143         Simplify.
63144         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63145         Simplify.
63146         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63147         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63148         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63149         Comment on variable precision.
63150         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63151         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63152         Likewise.
63153         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63154         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63155         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63156         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63157         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63159 2013-10-04  Alan Modra  <amodra@gmail.com>
63161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63163         all uses of ieee854 long double macros and unions.
63164         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63166         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63169         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63170         Likewise.
63171         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63172         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63174         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63177         Simplify sign and nan test too.
63178         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63179         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63180         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63181         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63182         Likewise.
63183         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63184         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63185         Likewise.
63186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63188         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63189         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63190         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63193 2013-10-04  Alan Modra  <amodra@gmail.com>
63195         * stdio-common/printf_size.c (__printf_size): Don't use
63196         union ieee854_long_double in fpnum union.
63197         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63198         signbit macro to retrieve sign from long double.
63199         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63200         retrieve sign from long double.
63201         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63202         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63203         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63204         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63205         * math/test-misc.c (main): Don't use union ieee854_long_double.
63207 2013-10-04  Alan Modra  <amodra@gmail.com>
63209         [BZ #15680]
63210         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63211         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63212         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63213         calculation.  Remove unnecessary test for denormal exponent.
63214         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63215         Correct handling of denormals.  Avoid undefined shift behaviour.
63216         Correct normalisation of low mantissa when low double is denormal.
63217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63218         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63219         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63220         Correct normalisation of low mantissa.  Test for overflow of high
63221         mantissa and normalise.
63222         (ldbl_nearbyint): Use more readable constant for two52.
63223         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63224         (__mpn_construct_long_double): Fix test for overflow of high
63225         mantissa and correct normalisation.  Avoid undefined shift.
63227 2013-10-04  Alan Modra  <amodra@gmail.com>
63229         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63230         (union ibm_extended_long_double): Define as an array of ieee754_double.
63231         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63232         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63233         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63234         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63235         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63236         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63238         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63239         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63240         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63241         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63243 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63245         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63246         page size instead of calling getpagesize.
63248         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63249         (LOCFILE_ALIGN_MASK): Likewise.
63250         (LOCFILE_ALIGN_UP): Likewise.
63251         (LOCFILE_ALIGNED_P): Likewise.
63252         * locale/programs/ld-collate.c (collate_output): Use the new
63253         macros instead of __alignof__ (int32_t).
63254         * locale/weight.h (findidx): Likewise.
63256 2013-10-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
63258         [BZ #431]
63259         * manual/string.texi: Fix strncat and wcsncat.
63261 2013-10-03  Brooks Moses  <bmoses@google.com>
63263         [BZ #15915]
63264         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63265         * Makerules: ...here, and adjust associated comments.
63267 2013-10-02  Will Newton  <will.newton@linaro.org>
63269         * malloc/Makefile: Add tst-pvalloc.
63270         * malloc/tst-pvalloc.c: New file.
63272 2013-10-02  Will Newton  <will.newton@linaro.org>
63274         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63275         improve test coverage.
63277 2013-10-02  Will Newton  <will.newton@linaro.org>
63279         * malloc/Makefile: Add tst-posix_memalign.
63280         * malloc/tst-posix_memalign.c: New file.
63282 2013-10-01  Eric Blake  <eblake@redhat.com>
63284         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63285         Use __THROWNL rather than __THROW on static functions.
63287 2013-09-30  Petr Machata  <pmachata@redhat.com>
63289         * elf/elf.h (R_AARCH64_ABS16): New macro.
63290         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63291         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63292         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63293         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63294         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63295         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63296         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63297         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63298         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63299         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63300         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63301         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63302         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63303         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63304         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63305         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63306         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63307         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63308         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63309         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63310         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63311         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63312         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63313         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63314         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63315         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63316         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63317         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63318         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63319         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63320         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63321         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63322         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63323         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63324         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63325         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63326         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63327         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63328         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63329         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63330         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63331         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63332         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63333         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63334         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63335         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63336         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63337         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63338         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63339         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63340         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63341         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63342         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63343         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63344         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63345         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63346         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63347         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63348         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63349         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63350         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63351         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63352         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63353         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63354         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63355         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63356         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63357         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63358         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63359         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63360         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63361         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63362         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63363         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63364         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63365         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63366         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63367         (R_AARCH64_TLSDESC_LDR): Likewise.
63368         (R_AARCH64_TLSDESC_ADD): Likewise.
63369         (R_AARCH64_TLSDESC_CALL): Likewise.
63371 2013-09-30  Andreas Schwab  <schwab@suse.de>
63373         [BZ #15048]
63374         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63375         the nss database lookup.
63376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63379 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63381         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63383 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63385         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63386         ${Bash-specific parameter/pattern/string} parameter expansion.
63387         * sysdeps/unix/make-syscalls.sh: Likewise.
63389 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63391         * sysdeps/sh/stackguard-macros.h: New file.
63393 2013-09-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
63395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63397         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63398         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63399         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63400         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63402 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63404         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63405         Fix thread ID register.
63407 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63409         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63410         [POSIX || UNIX98]: Require rather than permitting all symbols from
63411         <time.h>.
63412         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63413         element of struct sched_param.
63414         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63415         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63416         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63417         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63418         constant.
63420 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63422         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63423         argument calculation.
63425 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63427         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63428         Expect macro.
63429         [POSIX] (pthread_attr_t): Do not require type.
63430         [POSIX] (pthread_cond_t): Likewise.
63431         [POSIX] (pthread_condattr_t): Likewise.
63432         [POSIX] (pthread_key_t): Likewise.
63433         [POSIX] (pthread_mutex_t): Likewise.
63434         [POSIX] (pthread_mutexattr_t): Likewise.
63435         [POSIX] (pthread_once_t): Likewise.
63436         [POSIX] (pthread_t): Likewise.
63437         [POSIX-based standards] (pthread_atfork): Expect function.
63439 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63440             Richard Sandiford  <richard@codesourcery.com>
63442         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63443         (swap_endianness_p): New extern variable.
63444         (set_big_endian): New inline function.
63445         (maybe_swap_uint32): Likewise.
63446         (maybe_swap_uint32_array): Likewise.
63447         (maybe_swap_uint32_obstack): Likewise.
63448         * locale/programs/locfile.c: Include <stdbool.h>.
63449         (swap_endianness_p): New variable.
63450         (add_locale_uint32): Call maybe_swap_uint32.
63451         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63452         (write_locale_data): Call maybe_swap_uint32_array.
63453         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63454         maybe_swap_uint32.
63455         (obstack_int32_grow_fast): Likewise.
63456         (output_weightwc): Call maybe_swap_uint32_obstack.
63457         (collate_output): Likewise.
63458         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63459         (OPT_LITTLE_ENDIAN): Likewise.
63460         (options): Add --little-endian and --big-endian options.
63461         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63462         * locale/programs/locarchive.c: Include "locfile.h".
63463         (GET): New macro.
63464         (SET): Likewise.
63465         (INC): Likewise.
63466         (create_archive): Use the new macros to access fields of
63467         structures directly mapped from or written to locale archives.
63468         (oldlocrecentcmp): Likewise.
63469         (enlarge_archive): Likewise.
63470         (insert_name): Likewise.
63471         (add_alias): Likewise.
63472         (add_locale): Likewise.
63473         (delete_locales_from_archive): Likewise.
63474         (show_archive_content): Likewise.
63475         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63476         locale data.
63478 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63480         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63481         http://www.gnu.org/doc/freemanuals.texi.
63482         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63484 2013-09-24  Will Newton  <will.newton@linaro.org>
63486         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63487         macro.
63489 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63491         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63492         unsigned char.
63494 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63496         * manual/threads.texi (POSIX Threads): Fix a typo.
63498 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63500         [BZ #14547]
63501         * string/tst-strcoll-overflow.c: New test case.
63502         * string/Makefile (xtests): Add tst-strcoll-overflow.
63503         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63504         cache if string sizes may cause integer overflow.
63506         [BZ #14547]
63507         * string/strcoll_l.c (coll_seq): New members rule, idx,
63508         save_idx and back_us.
63509         (get_next_seq_nocache): New function.
63510         (do_compare_nocache): New function.
63511         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63512         when malloc fails.
63514 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63516         [BZ #15754]
63517         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63518         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63519         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63521         [BZ #15754]
63522         * elf/Makefile (tests): Add tst-ptrguard1.
63523         (tests-static): Add tst-ptrguard1-static.
63524         (tst-ptrguard1-ARGS): Define.
63525         (tst-ptrguard1-static-ARGS): Define.
63526         * elf/tst-ptrguard1.c: New file.
63527         * elf/tst-ptrguard1-static.c: New file.
63528         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63529         * sysdeps/i386/stackguard-macros.h: Likewise.
63530         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63531         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63532         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63533         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63534         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63535         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63537 2013-09-23  Hector Marco  <hecmargi@upv.es>
63538             Ismael Ripoll  <iripoll@disca.upv.es>
63539             Carlos O'Donell  <carlos@redhat.com>
63541         [BZ #15754]
63542         * sysdeps/generic/stackguard-macros.h: Define
63543         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63544         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63545         Define __pointer_chk_guard_local.
63546         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63547         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63549 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63551         [BZ #15859]
63552         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63554 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63556         * include/string.h (__ffs): Declare as hidden.
63557         * string/ffs.c (__ffs): Define as hidden.
63558         * sysdeps/i386/ffs.c (__ffs): Likewise.
63559         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63560         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63561         * sysdeps/s390/ffs.c (__ffs): Likewise.
63562         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63564 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63566         * NEWS: Mention malloc probes.
63568         * malloc/arena.c (new_heap): New memory_heap_new probe.
63569         (grow_heap): New memory_heap_more probe.
63570         (shrink_heap): New memory_heap_less probe.
63571         (heap_trim): New memory_heap_free probe.
63572         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63573         (systrim): New memory_sbrk_less probe.
63574         * manual/probes.texi: Document them.
63576         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63577         * manual/probes.texi: Document it.
63579         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63580         (__libc_realloc): Add memory_realloc_retry probe.
63581         (__libc_memalign): Add memory_memalign_retry probe.
63582         (__libc_valloc): Add memory_valloc_retry probe.
63583         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63584         (__libc_calloc): Add memory_calloc_retry probe.
63585         * manual/probes.texi: Document them.
63587         * malloc/arena.c (get_free_list): Add probe
63588         memory_arena_reuse_free_list.
63589         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63590         and memory_arena_reuse.
63591         (arena_get2) [!PER_THREAD]: Likewise.
63592         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63593         memory_arena_reuse_realloc.
63594         * manual/probes.texi: Document them.
63596         * malloc/malloc.c (__libc_free): Add
63597         memory_mallopt_free_dyn_thresholds probe.
63598         (__libc_mallopt): Add multiple memory_mallopt probes.
63599         * manual/probes.texi: Document them.
63601         * malloc/malloc.c: Include stap-probe.h.
63602         (__libc_mallopt): Add memory_mallopt probe.
63603         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63604         * manual/probes.texi: New.
63605         * manual/Makefile (chapters): Add probes.
63606         * manual/threads.texi: Set next node.
63608 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63610         [BZ #15963, #13985]
63611         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63612         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63613         Add `Chinese' to `nan' entry name.
63615 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63617         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63618         (POLYNOMIAL): Likewise.
63619         (TAYLOR_SINCOS): Likewise.
63620         (TAYLOR_SLOW): Likewise.
63621         (__sin): Use TAYLOR_SINCOS.
63622         (__cos): Likewise.
63623         (slow): Use TAYLOR_SLOW.
63624         (sloww): Likewise.
63625         (bsloww): Likewise.
63626         (csloww): Likewise.
63628 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63630         * stdlib/strtod_l.c: Fix buffer overrun.
63632 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63634         * benchtests/Makefile (bench): Add sincos.
63635         * benchtests/bench-sincos.c: New file.
63637         * math/libm-test.inc (cos_test_data): New test inputs.
63638         (sin_test_data): Likewise.
63640         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63641         macro.
63642         (__sin): Use it.
63643         (__cos): Likewise.
63644         (slow1): Likewise.
63645         (slow2): Likewise.
63646         (sloww1): Likewise.
63647         (sloww2): Likewise.
63648         (bsloww1): Likewise.
63649         (bsloww2): Likewise.
63650         (cslow2): Likewise.
63651         (csloww1): Likewise.
63652         (csloww2): Likewise.
63654         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63655         function.
63656         (__sin): Use it.
63657         (__cos): Likewise.
63659         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63660         gotos.
63661         (__cos): Likewise.
63663 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63665         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63666         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63667         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63668         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63669         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63670         * elf/cache.c (print_entry): Handle the new cache flags.
63672 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63673             Aldy Hernandez  <aldyh@redhat.com>
63675         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63676         Change condition to [_SOFT_FLOAT].
63677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63689         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63692         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63693         declaration.
63695 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63697         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63698         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63699         (__longjmp): Use LOAD_GP to load saved GPRs.
63700         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63701         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63702         (__sigsetjmp): Use SAVE_GP to save GPRs.
63704         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63705         Do not append -msoft-float.
63706         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63708 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63710         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63712 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63714         [BZ #15966]
63715         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63716         (_FPU_GETCW): Use initial "__" on variable and field names but not
63717         on macro parameter name.
63718         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63719         parentheses around reference to macro parameter.
63721 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63723         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63724         prototype.
63725         (ctype_startup): Use uint32_t in cast and sizeof for
63726         ctype->charnames.
63728 2013-09-11  Jia Liu  <proljc@gmail.com>
63730         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63731         __daddr_t_defined.
63732         [__FreeBSD__]: Likewise.
63734 2013-09-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
63736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63737         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63738         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63739         (strchr): Remove __strchr_sse42 ifunc selection.
63740         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63741         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63743 2013-09-11  Will Newton  <will.newton@linaro.org>
63745         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63746         parameter to RES. Remove hardcoded 1000 value.
63747         * benchtests/bench-skeleton.c (main): Pass RES parameter
63748         to TIMING_INIT and multiply result by 1000.
63750 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63754 2013-09-11  Andreas Schwab  <schwab@suse.de>
63756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63757         if not defined.
63758         (O_TMPFILE) [__USE_GNU]: Define.
63759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63760         Define.
63762 2013-09-11  Will Newton  <will.newton@linaro.org>
63764         [BZ #15857]
63765         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63766         does not overflow.
63768 2013-09-11  Will Newton  <will.newton@linaro.org>
63770         [BZ #15856]
63771         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63772         does not overflow.
63774 2013-09-11  Will Newton  <will.newton@linaro.org>
63776         [BZ #15855]
63777         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63778         does not overflow.
63780 2013-09-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
63782         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63783         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63784         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63785         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63788 2013-09-10  Allan McRae  <allan@archlinux.org>
63790         [BZ #15748]
63791         * manual/arith.texi (Parsing of Floats): Clarify
63792         cross-reference.
63794         [BZ #15849]
63795         * manual/install.texi (Running make install): Mention
63796         --enable-pt-chown.
63797         * INSTALL: Regenerated.
63799 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63801         * csu/init-first.c (_init): Remove the !SHARED condition around
63802         FPU control word initialization.
63803         * elf/dl-support.c (_dl_fpu_control): New variable.
63804         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63805         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63806         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63807         * math/test-fpucw-static.c: New file.
63808         * math/test-fpucw-ieee.c: New file.
63809         * math/test-fpucw-ieee-static.c: New file.
63810         * math/Makefile (tests): Add `test-fpucw-ieee' and
63811         `$(tests-static)'.
63812         (tests-static): New variable.
63813         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63814         dependency to...
63815         [($(build-shared),yes)]
63816         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63817         ... this.
63818         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63819         New dependency.
63821 2013-09-09  Allan McRae  <allan@archlinux.org>
63823         [BZ #15939]
63824         * manual/string.texi (Collation Functions): Fix typo in
63825         strcoll example.
63826         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63828         [BZ #15893]
63829         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63831         [BZ #15892]
63832         * libio/memstream.c (open_memstream): Fix memory leak.
63833         * libio/wmemstream.c (open_wmemstream): Likewise.
63835         [BZ #15895]
63836         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63838 2013-09-09  Will Newton  <will.newton@linaro.org>
63840         * malloc/Makefile: Add tst-realloc to tests.
63841         * malloc/tst-realloc.c: New file.
63843 2013-09-09  Allan McRae  <allan@archlinux.org>
63845         [BZ #15844]
63846         * COPYING: Update from GNU website to fix FSF address.
63847         * COPYING.LIB: Likewise.
63849 2013-09-06  David S. Miller  <davem@davemloft.net>
63851         * po/zh_TW.po: Update Chinese (traditional) translation from
63852         translation project.
63854 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63855             Joseph Myers  <joseph@codesourcery.com>
63857         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63858         "localeinfo.h".
63859         (obstack_chunk_alloc): New macro.
63860         (obstack_chunk_free): Likewise.
63861         (record_offset): New function.
63862         (init_locale_data): Likewise.
63863         (align_locale_data): Likewise.
63864         (add_locale_empty): Likewise.
63865         (add_locale_raw_data): Likewise.
63866         (add_locale_raw_obstack): Likewise.
63867         (add_locale_string): Likewise.
63868         (add_locale_wstring): Likewise.
63869         (add_locale_uint32): Likewise.
63870         (add_locale_uint32_array): Likewise.
63871         (add_locale_char): Likewise.
63872         (start_locale_structure): Likewise.
63873         (end_locale_structure): Likewise.
63874         (start_locale_prelude): Likewise.
63875         (end_locale_prelude): Likewise.
63876         (write_locale_data): Take locale_file structure rather than an
63877         iovec.
63878         * locale/programs/locfile.h: Include "obstack.h".
63879         (struct locale_file): Change to store locale file contents instead
63880         of header.
63881         (init_locale_data): New prototype.
63882         (align_locale_data): Likewise.
63883         (add_locale_empty): Likewise.
63884         (add_locale_raw_data): Likewise.
63885         (add_locale_raw_obstack): Likewise.
63886         (add_locale_string): Likewise.
63887         (add_locale_wstring): Likewise.
63888         (add_locale_uint32): Likewise.
63889         (add_locale_uint32_array): Likewise.
63890         (add_locale_char): Likewise.
63891         (start_locale_structure): Likewise.
63892         (end_locale_structure): Likewise.
63893         (start_locale_prelude): Likewise.
63894         (end_locale_prelude): Likewise.
63895         (write_locale_data): Update prototype.
63896         * locale/programs/3level.h (struct TABLE): Remove result field.
63897         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63898         Use new locale_file interface.
63899         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63900         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63901         * locale/programs/ld-address.c (address_output): Use new
63902         locale_file interface.
63903         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63904         NO_ADD_LOCALE.
63905         (collate_finish): Don't call collseq_table_finalize.
63906         (collate_output): Use new locale_file interface.
63907         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63908         in file.
63909         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63910         (TABLE): Move defines earlier in file.
63911         (ELEMENT): Likewise.
63912         (DEFAULT): Likewise.
63913         (wctrans_table_add): Move macro and inline function earlier in
63914         file.
63915         (struct wctype_table): Move type earlier in file.
63916         (add_locale_wctype_table): New static prototype.
63917         (struct locale_ctype_t): Use logical types instead of struct iovec
63918         pointers for members.
63919         (ctype_output): Use new locale_file interface.
63920         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63921         new locale_file interface.
63922         (allocate_arrays): Update for use of new locale_file interface.
63923         * locale/programs/ld-identification.c (identification_output): Use
63924         new locale_file interface.
63925         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63926         * locale/programs/ld-messages.c (messages_output): Likewise.
63927         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63928         * locale/programs/ld-name.c (name_output): Likewise.
63929         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63930         * locale/programs/ld-paper.c (paper_output): Likewise.
63931         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63932         * locale/programs/ld-time.c (time_output): Likewise.
63934 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63936         * benchtests/Makefile: Add memrchr benchmark.
63937         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63938         benchmark as memrchr.
63939         * benchtests/bench-memrchr-ifunc.c: New file.
63940         * benchtests/bench-memrchr.c: New file.
63942 2013-09-06   Will Newton  <will.newton@linaro.org>
63944         * benchtests/Makefile (string-bench): Add memcpy.
63946 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63947             Cong Wang  <amwang@redhat.com>
63949         [BZ #15850]
63950         * sysdeps/unix/sysv/linux/bits/in.h
63951         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63952         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63953         before __USE_KERNEL_IPV6_DEFS uses.
63954         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63955         IPPROTO_BEETPH.
63956         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63957         sockaddr_in6, or ipv6_mreq.
63959 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63961         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63962         memory access for final bytes in some large inputs.
63963         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63965 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63967         * string/test-memrchr.c: New file.
63968         * string/test-memrchr-ifunc.c: New file.
63969         * string/Makefile: Add new memrchr testcase.
63971 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63973         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63974         fanotify_init returns EPERM.
63976 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63978         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63979         errors.
63980         (top level): Treat second token from macro or constant entries for
63981         allowed headers as allowed.
63982         * include/complex.h: Condition internal declarations on
63983         [!_ISOMAC].
63984         * include/fenv.h: Condition include of <stdbool.h> and internal
63985         declarations on [!_ISOMAC].
63987 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63989         [BZ #15923]
63990         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63992 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63994         * configure.in (--enable-versioning): Remove configure option.
63995         (libc_cv_asm_symver_directive): Remove configure test.
63996         (libc_cv_ld_version_script_option): Likewise.
63997         (VERSIONING): Remove variable and AC_SUBST.
63998         (DO_VERSIONING): Remove AC_DEFINE.
63999         * configure: Regenerated.
64000         * config.h.in (DO_VERSIONING): Remove macro.
64001         * Makerules [$(versioning) = yes]: Change conditionals to
64002         [$(build-shared) = yes].
64003         * config.make.in (versioning): Remove variable.
64004         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
64005         [$(build-shared) = yes].
64006         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
64007         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
64008         * elf/Makefile [$(versioning) = yes]: Change conditionals to
64009         [$(build-shared) = yes].
64010         * extra-lib.mk [$(versioning) = yes]: Likewise.
64011         * hurd/Makefile [$(versioning) = yes]: Likewise.
64012         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
64013         [SHARED].
64014         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
64015         [SHARED].
64016         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64017         [SHARED && !NO_HIDDEN].
64018         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
64019         [SHARED].
64020         [SHARED && DO_VERSIONING]: Likewise..
64021         * libio/Makefile [$(versioning) = yes]: Change conditionals to
64022         [$(build-shared) = yes].
64023         * manual/install.texi (--disable-versioning): Remove
64024         documentation.
64025         * INSTALL: Regenerated.
64026         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
64027         to [SHARED].
64028         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
64029         [$(build-shared) = yes].
64030         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
64031         * sysdeps/i386/i686/multiarch/strstr-c.c
64032         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64033         [SHARED && !NO_HIDDEN].
64034         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
64035         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
64036         * sysdeps/powerpc/powerpc32/dl-machine.c
64037         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
64038         * sysdeps/powerpc/powerpc32/sysdep.h
64039         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
64040         to [SHARED && PIC && !NO_HIDDEN].
64041         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
64042         conditional to [SHARED].
64044 2013-09-04   Will Newton  <will.newton@linaro.org>
64046         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
64047         * benchtests/bench-string.h: Include bench-timing.h instead
64048         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
64049         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
64050         call to HP_TIMING_DIFF_INIT.
64051         * benchtests/bench-memccpy.c: Use bench-timing.h macros
64052         instead of hp-timing.h macros.
64053         * benchtests/bench-memchr.c: Likewise.
64054         * benchtests/bench-memcmp.c: Likewise.
64055         * benchtests/bench-memcpy.c: Likewise.
64056         * benchtests/bench-memmem.c: Likewise.
64057         * benchtests/bench-memmove.c: Likewise.
64058         * benchtests/bench-memset.c: Likewise.
64059         * benchtests/bench-rawmemchr.c: Likewise.
64060         * benchtests/bench-strcasecmp.c: Likewise.
64061         * benchtests/bench-strcasestr.c: Likewise.
64062         * benchtests/bench-strcat.c: Likewise.
64063         * benchtests/bench-strchr.c: Likewise.
64064         * benchtests/bench-strcmp.c: Likewise.
64065         * benchtests/bench-strcpy.c: Likewise.
64066         * benchtests/bench-strcpy_chk.c: Likewise.
64067         * benchtests/bench-strlen.c: Likewise.
64068         * benchtests/bench-strncasecmp.c: Likewise.
64069         * benchtests/bench-strncat.c: Likewise.
64070         * benchtests/bench-strncmp.c: Likewise.
64071         * benchtests/bench-strncpy.c: Likewise.
64072         * benchtests/bench-strnlen.c: Likewise.
64073         * benchtests/bench-strpbrk.c: Likewise.
64074         * benchtests/bench-strrchr.c: Likewise.
64075         * benchtests/bench-strspn.c: Likewise.
64076         * benchtests/bench-strstr.c: Likewise.
64078 2013-09-04  Will Newton  <will.newton@linaro.org>
64080         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64082 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
64084         [BZ #15427]
64085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64086         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64087         * math/libm-test.inc (lgamma_test_data): Add more tests.
64088         * sysdeps/i386/fpu/libm-test-ulps: Update.
64089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64091 2013-09-03   Ondƙej BĂ­lka  <neleai@seznam.cz>
64093         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64095         Add ifunc.
64096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64097         Add strcmp-sse2-unaligned
64098         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64100 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64102         * Versions.def (libc): Add GLIBC_2.19.
64104 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64106         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64107         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64109 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
64111         [BZ #14155]
64112         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64113         intermediate calculations in recurrence.
64114         (__ieee754_ynf): Likewise.
64115         * math/libm-test.inc (jn_test_data): Do not allow spurious
64116         underflow exception.  Add more tests.
64117         (yn_test_data): Add more tests.
64118         * sysdeps/i386/fpu/libm-test-ulps: Update.
64119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64121 2013-09-02   Ondƙej BĂ­lka  <neleai@seznam.cz>
64123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64125 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64127         * csu/init-first.c: Fix then/than typos.
64128         * locale/programs/ld-collate.c: Likewise.
64129         * locale/programs/linereader.h: Likewise.
64130         * manual/charset.texi: Likewise.
64131         * manual/filesys.texi: Likewise.
64132         * manual/stdio.texi: Likewise.
64133         * manual/string.texi: Likewise.
64134         * stdlib/fmtmsg.c: Likewise.
64135         * sysdeps/i386/stpncpy.S: Likewise.
64136         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64137         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64138         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64139         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64141 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64143         * elf/dl-open.c: Fix typos.
64144         * iconvdata/gbbig5.c: Likewise.
64145         * iconvdata/iso-2022-jp.c: Likewise.
64146         * iconv/gconv_int.h: Likewise.
64147         * iconv/loop.c: Likewise.
64148         * nis/rpcsvc/nis.h: Likewise.
64149         * resolv/ns_name.c: Likewise.
64150         * stdio-common/vfscanf.c: Likewise.
64151         * streams/stropts.h: Likewise.
64152         * sunrpc/rpc_thread.c: Likewise.
64153         * sysdeps/i386/strpbrk.S: Likewise.
64154         * sysdeps/ieee754/k_standard.c: Likewise.
64155         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64157         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64158         * sysdeps/mach/hurd/profil.c: Likewise.
64159         * sysdeps/s390/dl-procinfo.h: Likewise.
64160         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64161         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64162         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64163         * sysdeps/x86_64/dl-trampoline.S: Likewise.
64164         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64166 2013-08-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
64168         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64171 2013-08-29  Ondƙej BĂ­lka  <neleai@seznam.cz>
64173         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64174         aix specific files.
64175         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64177         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64178         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64179         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64180         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64181         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64182         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64184 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64185             Roland McGrath  <roland@hack.frob.com>
64187         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64188         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64190 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64192         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64193         __executable_start symbol instead of _start.
64195 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64197         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64198         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64199         Move macros to...
64200         * sysdeps/gnu/ldsodefs.h: ... this new file.
64202         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64203         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64204         instead of ELFOSABI_LINUX.
64206         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64207         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64208         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64209         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64210         Likewise.
64211         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64212         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64213         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64214         Likewise.
64215         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64216         (ibm_extended_long_double): Add ieee_nan member.
64217         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64218         (do_test): New function.
64220         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64221         TEST_TRUNC.
64222         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64223         functions, renamed from truncdfsf_test, trunctfsf_test,
64224         trunctfdf_test.
64225         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64226         functions.
64227         (do_test): Run all these.
64229 2013-08-29   Ondƙej BĂ­lka  <neleai@seznam.cz>
64231         * argp/argp-help.c: Fix typos.
64232         * argp/argp-parse.c: Likewise.
64233         * debug/backtracesyms.c: Likewise.
64234         * elf/elf.h: Likewise.
64235         * malloc/malloc.c: Likewise.
64236         * nis/nis_print.c: Likewise.
64237         * resolv/res_comp.c: Likewise.
64238         * stdlib/stdlib.h: Likewise.
64239         * sunrpc/clnt_tcp.c: Likewise.
64240         * sunrpc/clnt_udp.c: Likewise.
64241         * sunrpc/clnt_unix.c: Likewise.
64242         * sysdeps/unix/bsd/ptsname.c: Likewise.
64243         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64246         Likewise.
64247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64248         Likewise.
64249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64250         Likewise.
64251         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64253 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64255         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64258 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64260         [BZ #15897]
64261         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64262         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64263         ($(objpfx)bug-dl-leaf): New rule.
64264         ($(objpfx)bug-dl-leaf.so): Likewise.
64265         ($(objpfx)bug-dl-leaf.out): Likewise.
64266         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64267         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64268         * dlfcn/bug-dl-leaf.c: New test.
64269         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64270         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64271         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64272         (dlclose): Likewise.
64273         (dlmopen): Likewise.
64275 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64277         * include/netdb.h [!_ISOMAC]:
64278         Don't include <tls.h>.
64279         (h_errno, __libc_h_errno): Move declaration and macros out of
64280         [_LIBC_REENTRANT].
64282         * include/resolv.h [_RESOLV_H_]:
64283         Don't include <tls.h>.
64284         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64285         * resolv/res_libc.c: Don't include <tls.h>.
64286         (_res): Use __attribute__ ((nocommon)) in place of
64287         __attribute__ ((section (".bss"))).
64289         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64290         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64292         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64294         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64295         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64297         * resolv/res_mkquery.c: Include <sys/time.h>.
64299         * inet/ifreq.c: Moved to ...
64300         * sysdeps/unix/ifreq.c: ... here.
64301         * inet/ifreq.c: New file, true stub version.
64303         * socket/sa_len.c: New file.
64304         * socket/Makefile (aux): Add it.
64305         * sysdeps/unix/sysv/linux/Makefile
64306         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64307         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64308         and #include <socket/sa_len.c>.
64309         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64310         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64312         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64313         * bits/socket.h: ... here.
64315         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64316         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64317         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64319 2013-08-27  Andreas Schwab  <schwab@suse.de>
64321         [BZ #15736]
64322         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64323         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64324         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64325         * string/test-strcasecmp.c (test_main): Run tests in several
64326         locales.
64327         * string/test-strncasecmp.c (test_main): Likewise.
64329         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64330         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64331         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64333         (__strncasecmp_ssse3) [PIC]: Likewise.
64335 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64337         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64339         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64340         instead of explicitly declaring xdecrypt.
64341         * nis/nss_nis/nis-publickey.c: Likewise.
64343 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64345         [BZ #15890]
64346         * nscd/aicache.c: Include res_hconf.h.
64347         (addhstaiX): Initialize res_hconf.
64349 2013-08-26  Andreas Schwab  <schwab@suse.de>
64351         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64352         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64354 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64356         * nscd/aicache.c (addhstaiX): Fix indentation.
64358 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64360         * configure.ac: Quote $build_pt_chown test.
64361         * configure: Regenerated.
64363 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64365         [BZ #15532]
64366         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64367         * math/s_cexpf.c (__cexpf): Likewise.
64368         * math/s_cexpl.c (__cexpl): Likewise.
64369         * math/libm-test.inc (cexp_test_data): Correct expected return
64370         value for NaN + i0.  Add another test.
64372 2013-08-22  David S. Miller  <davem@davemloft.net>
64374         * po/ca.po: Update Catalan translation from translation project.
64375         * po/uk.po: Add Ukrainian translations from translation project.
64377 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64379         [BZ #15797]
64380         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64381         is infinite, not alongside NaN test.
64382         * math/s_fdimf.c (__fdimf): Likewise.
64383         * math/s_fdiml.c (__fdiml): Likewise.
64384         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64385         errno is unchanged.
64387 2013-08-21   Ondƙej BĂ­lka  <neleai@seznam.cz>
64389         * argp/argp-help.c: Fix typos.
64390         * crypt/speeds.c: Likewise.
64391         * csu/check_fds.c: Likewise.
64392         * elf/dl-load.c: Likewise.
64393         * elf/dl-open.c: Likewise.
64394         * elf/reldep3.c: Likewise.
64395         * elf/reldep.c: Likewise.
64396         * elf/sprof.c: Likewise.
64397         * iconv/iconv_charmap.c: Likewise.
64398         * iconv/skeleton.c: Likewise.
64399         * iconv/strtab.c: Likewise.
64400         * io/lockf64.c: Likewise.
64401         * libio/libioP.h: Likewise.
64402         * resolv/gai_notify.c: Likewise.
64403         * resolv/ns_name.c: Likewise.
64404         * resolv/ns_samedomain.c: Likewise.
64405         * resolv/res_send.c: Likewise.
64406         * stdlib/random.c: Likewise.
64407         * sunrpc/rpc/xdr.h: Likewise.
64408         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64409         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64410         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64411         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64412         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64413         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64416         * sysdeps/mach/hurd/check_fds.c: Likewise.
64417         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64418         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64419         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64420         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64421         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64422         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64423         * sysdeps/pthread/aio_notify.c: Likewise.
64424         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64425         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64427         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64428         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64430 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64432         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64433         version if bit_Slow_SSE4_2 is set.
64434         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64437 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64439         [BZ #15867]
64440         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64441         trampoline stack frame information.
64442         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64443         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64444         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64445         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64446         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64447         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64448         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64449         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64450         sa_flags value.
64451         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64452         interrupting a syscall and set with option SA_SIGINFO.
64454 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64456         [BZ #15531]
64457         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64458         argument is infinite.
64459         * math/s_cprojf.c (__cprojf): Likewise.
64460         * math/s_cprojl.c (__cprojl): Likewise.
64461         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64462         * math/libm-test.inc (cproj_test_data): Add more tests.
64464         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64466         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64467         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64468         size.  Use __ffs to determine corresponding shift.
64470 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64471             Roland McGrath  <roland@hack.frob.com>
64473         * Makefile (INSTALL): Remove trailing blank lines from output of
64474         makeinfo.
64476 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64478         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64479         Align 32 bit compat elf_greg to 8 bytes.
64481 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64483         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64485 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64487         * string/strcoll_l.c (coll_seq): New structure.
64488         (get_next_seq_cached): New function.
64489         (get_next_seq): New function.
64490         (do_compare): New function.
64491         (STRCOLL): Use GNU style definition.  Simplify implementation
64492         by using get_next_seq, get_next_seq_cached and do_compare.
64494 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64496         [BZ #14699]
64497         CVE-2013-4237
64498         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64499         member.
64500         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64501         member.
64502         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64503         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64504         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64505         conditional.
64506         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64507         GETDENTS_64BIT_ALIGNED.
64508         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64509         * manual/filesys.texi (Reading/Closing Directory): Document
64510         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64511         strongly.
64512         * manual/conf.texi (Limits for Files): Add portability note to
64513         NAME_MAX, PATH_MAX.
64514         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64516 2013-08-13  Andreas Schwab  <schwab@suse.de>
64518         [BZ #15749]
64519         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64520         of fabs.
64521         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64522         LDBL_MAX_EXP >= 16384]: Add tests for it.
64524 2013-08-12  David S. Miller  <davem@davemloft.net>
64526         * version.h (RELEASE): Set to "development".
64527         (VERSION): Set to "2.18.90".
64528         * NEWS: Add 2.19 section.
64530 2013-08-03  David S. Miller  <davem@davemloft.net>
64532         * po/ko.po: Update Korean translation from translation project.
64534 2013-08-01  David S. Miller  <davem@davemloft.net>
64536         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64537         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64538         Bilka.
64540 2013-07-30  David S. Miller  <davem@davemloft.net>
64542         * po/fr.po: Update French translation from translation project.
64544 2013-07-28  David S. Miller  <davem@davemloft.net>
64546         * po/cs.po: Update Czech translation from translation project.
64548         * po/sv.po: Update Swedish translation from translation project.
64550 2013-07-27  David S. Miller  <davem@davemloft.net>
64552         * po/eo.po: Update Esperanto translation from translation project.
64554         * po/vi.po: Update Vietnamese translation from translation project.
64556         * po/de.po: Update German translation from translation project.
64558 2013-07-26  David S. Miller  <davem@davemloft.net>
64560         * po/bg.po: Update Bulgarian translation from translation project.
64562         * po/nl.po: Update Dutch translation from translation project.
64563         * po/pl.po: Update Polish translation from translation project.
64564         * po/ru.po: Update Russian translation from translation project.
64566 2013-07-24  David S. Miller  <davem@davemloft.net>
64568         * po/libc.pot: Update.
64570 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64572         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64573         variable page size.
64574         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64575         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64576         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64578 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64580         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64582 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64583             Andreas Schwab  <schwab@suse.de>
64584             Roland McGrath  <roland@hack.frob.com>
64585             Joseph Myers  <joseph@codesourcery.com>
64586             Carlos O'Donell  <carlos@redhat.com>
64588         [BZ #15755]
64589         * config.h.in: Define HAVE_PT_CHOWN.
64590         * config.make.in (build-pt-chown): New variable.
64591         * configure.in (--enable-pt_chown): New configure option.
64592         * configure: Regenerate.
64593         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64594         build-pt-chown is enabled.
64595         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64596         pt_chown to fix pty ownership.
64597         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64598         CLOSE_ALL_FDS.
64599         * manual/install.texi (Configuring and compiling): Mention
64600         --enable-pt_chown. Add @findex for grantpt.
64601         * INSTALL: Regenerate.
64603 2013-07-20  David S. Miller  <davem@davemloft.net>
64605         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64606         difference between 32-bit and 64-bit.
64608 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64610         [BZ #15711]
64611         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64612         Avoid system header dependency with -ffreestanding.
64613         ($(objpfx)bits/syscall%d): Likewise.
64615 2013-07-13  David S. Miller  <davem@davemloft.net>
64617         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64618         underflows from atanl/atan2l due to bug 15319.
64619         (casinh_test_data): Likewise.
64621 2013-07-07  David S. Miller  <davem@davemloft.net>
64623         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64625 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64627         * sysdeps/i386/fpu/libm-test-ulps: Update.
64628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64630 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64632         * configure.in (--enable-lock-elision): Fix message text.
64633         * INSTALL: Regenerate.
64634         * configure: Regenerate.
64636 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64640 2013-07-03  Andreas Jaeger  <aj@suse.de>
64642         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64643         define.
64644         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64645         (ptrace_peeksiginfo_args): Add.
64646         (__ptrace_peeksiginfo_flags): Add.
64647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64649         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64651 2013-07-03  Allan McRae  <allan@archlinux.org>
64653         * sysdeps/i386/fpu/libm-test-ulps: Update.
64655 2013-07-02  David S. Miller  <davem@davemloft.net>
64657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64659 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64663 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64665         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64668 2013-07-02  Andi Kleen <ak@linux.intel.com>
64670         * config.h.in (ENABLE_LOCK_ELISION): Add.
64671         * configure.in (--enable-lock-elision): Add option.
64672         * manual/install.texi: Document --enable lock elision.
64673         * configure: Regenerate
64674         * INSTALL: Regenerate.
64676 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64678         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64679         SSE4.2 strcasecmp for libc.a.
64680         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64682 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64684         [BZ #13304]
64685         * soft-fp/op-common.h (_FP_FMA): New macro.
64686         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64687         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64688         (_FP_MUL_MEAT_1_imm): ... here.
64689         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64690         (_FP_MUL_MEAT_1_wide): ... here.
64691         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64692         (_FP_MUL_MEAT_1_hard): ... here.
64693         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64694         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64695         (_FP_MUL_MEAT_2_wide): ... here.
64696         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64697         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64698         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64699         (_FP_MUL_MEAT_2_gmp): ... here.
64700         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64701         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64702         (_FP_MUL_MEAT_4_wide): ... here.
64703         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64704         (_FP_MUL_MEAT_4_gmp): ... here.
64705         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64706         (_FP_WFRACBITS_DW_S): Likewise.
64707         (_FP_WFRACXBITS_DW_S): Likewise.
64708         (_FP_HIGHBIT_DW_S): Likewise.
64709         (FP_FMA_S): Likewise.
64710         (_FP_FRAC_HIGH_DW_S): Likewise.
64711         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64712         (_FP_WFRACBITS_DW_D): Likewise.
64713         (_FP_WFRACXBITS_DW_D): Likewise.
64714         (_FP_HIGHBIT_DW_D): Likewise.
64715         (FP_FMA_D): Likewise.
64716         (_FP_FRAC_HIGH_DW_D): Likewise.
64717         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64718         (_FP_WFRACBITS_DW_E): Likewise.
64719         (_FP_WFRACXBITS_DW_E): Likewise.
64720         (_FP_HIGHBIT_DW_E): Likewise.
64721         (FP_FMA_E): Likewise.
64722         (_FP_FRAC_HIGH_DW_E): Likewise.
64723         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64724         (_FP_WFRACBITS_DW_Q): Likewise.
64725         (_FP_WFRACXBITS_DW_Q): Likewise.
64726         (_FP_HIGHBIT_DW_Q): Likewise.
64727         (FP_FMA_Q): Likewise.
64728         (_FP_FRAC_HIGH_DW_Q): Likewise.
64729         * soft-fp/fmasf4.c: New file.
64730         * soft-fp/fmadf4.c: Likewise.
64731         * soft-fp/fmatf4.c: Likewise.
64733 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64736         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64737         Silvermont.
64738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64739         macro.
64740         (index_Slow_SSE4_2): Likewise.
64741         (index_Prefer_PMINUB_for_stringop): Likewise.
64742         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64743         bit_Slow_SSE4_2 is set.
64744         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64745         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64747 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64749         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64750         rtld_global._dl_hwcap2.
64751         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64752         POWER8.
64753         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64754         POWER8 feature descriptions defined in _dl_hwcap2.
64755         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64756         string handling for POWER8 feature bits.
64757         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64758         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64759         _dl_powerpc_cap_flags.
64760         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64761         * sysdeps/powerpc/rtld-global-offsets.sym
64762         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64763         _dl_hwcap2 in the rtld_global_ro structure.
64765 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64767         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64768         hardware capabilities in support of AT_HWCAP2.
64769         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64770         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64771         GLRO(dl_hwcap2).
64772         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64773         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64774         explicitly the unknown a_type display mechanism is used.
64775         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64776         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64777         struct member.
64778         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64779         to macro prototype for AT_HWCAP2 support.
64780         * sysdeps/i386/dl-procinfo.h: Likewise.
64781         * sysdeps/s390/dl-procinfo.h: Likewise.
64782         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64783         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64784         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64785         return -1 for unknown a_type display fallback.
64786         * sysdeps/sparc/dl-procinfo.h: Likewise.
64787         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64788         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64790 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64792         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64793         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64795 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64797         [BZ #12492]
64798         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64799         mprotect making __stack_prot writable.
64801 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64802             Joseph Myers  <joseph@codesourcery.com>
64804         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64805         as being properly aligned.
64807 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64809         * dlfcn/modstatic5.c: New file.
64810         * dlfcn/tststatic5.c: New file.
64811         * dlfcn/Makefile (tests): Add tststatic5.
64812         (tests-static): Likewise.
64813         (modules-names): Add modstatic5.
64814         (tststatic5-ENV): New variable.
64815         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64817         [BZ #15022]
64818         * elf/dl-support.c (_dl_main_map): New variable.
64819         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64820         (_dl_nns, _dl_load_adds): Set to 1.
64821         (_dl_initial_searchlist): Refer to _dl_main_map.
64822         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64823         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64824         call to _dl_get_origin.
64825         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64826         around call_map.
64827         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64828         * dlfcn/modstatic3.c: New file.
64829         * dlfcn/tststatic3.c: New file.
64830         * dlfcn/tststatic4.c: New file.
64831         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64832         (tests-static): Likewise.
64833         (modules-names): Add modstatic3.
64834         (tststatic3-ENV, tststatic4-ENV): New variables.
64835         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64836         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64838 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64840         * configure.in (CC): Require GCC version 4.4 or later.
64841         * configure: Regenerated.
64842         * manual/install.texi (Tools for Compilation): Update GCC version
64843         requirement.
64844         * INSTALL: Regenerated.
64846 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64848         [BZ #15674]
64849         * string/test-memcmp.c (check2): New.
64850         (main): Call check2.
64852         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64854 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64856         [BZ #15022]
64857         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64858         over to...
64859         (dl_open_worker) [!SHARED]: ... here.
64861 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64863         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64865 2013-06-25  Richard Henderson  <rth@redhat.com>
64867         * locale/programs/locarchive.c: Include <libc-internal.h>
64869 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64871         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64872         trailing whitespace removed.
64874 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64876         [BZ #10283]
64877         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64878         * locale/programs/locarchive.c: Include libc-mmap.h.
64879         (prepare_address_space): Take two new outputs (the mmap base and len).
64880         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64881         values.
64882         (create_archive): Declare new mmap base and len values for
64883         prepare_address_space, and store the result in ah.
64884         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64885         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64886         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64887         Declare new mmap base and len values for
64888         prepare_address_space, and store the result in new_ah.
64889         (open_archive): Declare new mmap base and len values for
64890         prepare_address_space, and store the result in ah.
64891         (close_archive): If ah->mmap_base is not NULL, use that and
64892         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64893         * sysdeps/generic/libc-mmap.h: New file.
64895 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64897         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64898         (ALIGN_UP): Likewise.
64899         (PTR_ALIGN_DOWN): Likewise.
64900         (PTR_ALIGN_UP): Likewise.
64902 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64904         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64905         entry mapped to PPC_PLATFORM_POWER8.
64906         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64907         POWER8.
64908         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64909         (_dl_string_platform): Add case for exporting platform position for
64910         POWER8.
64911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64912         search path to sysdeps/powerpc/powerpc32/power8 directory.
64913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64914         search path to sysdeps/powerpc/powerpc64/power8 directory.
64915         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64916         power7 directories.
64917         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64918         power7 directories.
64920 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64922         * INSTALL: Regenerate.
64924         * nscd/connections.c (nscd_init): Fix comment.
64926 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64928         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64930         [BZ #15667]
64931         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64932         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64934 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64936         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64937         DL_DST_REQ_STATIC.
64938         (DL_DST_REQ_STATIC): Remove macro.
64940 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64942         [BZ #7006]
64943         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64944         with a shift of 0 bits.
64946 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64948         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64949         $(tststatic-ENV).
64951 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64953         [BZ #15655]
64954         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64956 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64958         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64959         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64960         accepts -fno-tree-loop-distribute-patterns.
64961         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64962         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64963         recursive call.
64964         * string/memset.c (memset): Likewise.
64965         * string/test-memmove.c (simple_memmove): Disable loop transformation
64966         to library calls.
64967         * string/test-memset.c (simple_memset): Likewise.
64968         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64969         * benchtests/bench-memset.c (simple_memset): Likewise.
64970         * configure: Regenerated.
64972 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64974         * math/test-misc.c (main): Ignore fesetround failure when failures
64975         of subsequent rounding tests would be ignored.
64977         [BZ #15654]
64978         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64979         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64980         * math/fegetenv.c (__fegetenv): Return 0.
64981         * math/fegetexcept.c (fegetexcept): Return 0.
64982         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64983         FE_TONEAREST.
64984         * math/feholdexcpt.c (feholdexcept): Return 0.
64985         * math/fesetenv.c (__fesetenv): Return 0.
64986         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64987         argument FE_TONEAREST.
64988         * math/feupdateenv.c (__feupdateenv): Return 0.
64989         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64991 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64993         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64994         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64995         ($(objpfx)rtld-%.os rules): Use them.
64997 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64999         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
65000         fields.
65002 2013-06-17  Roland McGrath  <roland@hack.frob.com>
65004         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
65005         length of target pattern, then descending length of dependency pattern.
65006         * configure.in (AWK): Require gawk 3.1.2 or newer.
65007         * manual/install.texi (Tools for Compilation): Say that we do.
65008         * configure: Regenerated.
65010         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
65011         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
65012         * scripts/sysd-rules.awk: ... this new script.
65013         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
65014         than a glob-style pattern.
65016 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
65018         * math/test-misc.c (main): Do not treat incorrectly rounded
65019         conversions as failure unless ROUNDING_TESTS passes.
65021 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
65023         [BZ #15631]
65024         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
65025         restore exception state around main square root computation, then
65026         check for inexactness explicitly.
65028         * math/libm-test.inc (fma_test_data): Add another test.
65030 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65032         * manual/threads.texi (Non-POSIX Extensions): New document
65033         node.  Document pthread_getattr_default_np and
65034         pthread_setattr_default_np.
65036         * Versions.def (libpthread): Add GLIBC_2.18.
65037         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
65038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65039         Likewise.
65040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65041         Likewise.
65042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65043         Likewise.
65044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65045         Likewise.
65046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
65047         Likewise.
65048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65049         Likewise.
65050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65051         Likewise.
65052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65053         Likewise.
65054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65055         Likewise.
65057 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65060         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
65062 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65063             H.J. Lu  <hjl.tools@gmail.com>
65065         [BZ #15627]
65066         * sysdeps/x86_64/rtld-memset.c: Remove file.
65067         * sysdeps/x86_64/rtld-memset.S: New file.
65069 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
65071         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65072         (test_in_one_mode): Take arguments for whether the rounding mode
65073         is supported for each floating-point type.
65074         (do_test): Pass new arguments to test_in_one_mode using
65075         ROUNDING_TESTS.
65077 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65079         * posix/tst-waitid.c (do_test): Distinguish different instances of
65080         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
65081         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65082         before entering the kernel for waitpid.
65084 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65086         * NEWS: Fix note on clock function precision.  Text by Roland
65087         McGrath.
65089 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65091         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65092         it into place only when and if the sanity check passes.
65094 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
65096         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65097         output for whether conversion result is exact.  Take argument
65098         indicating whether type is IBM long double.
65099         (round_for_all): Change need_exact field to ibm_ld.
65100         * stdlib/tst-strtod-round.c (struct exactness): New type.
65101         (struct test): Change bool ld_ok field to struct exactness exact.
65102         (TEST): Update all definitions for change to field.
65103         (tests): Regenerate array contents.
65104         (test_in_one_mode): Take pointer to new field instead of old ld_ok
65105         field value.  Check for IBM long double here.
65106         (do_test): Update calls to test_in_one_mode.
65108 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65110         [BZ #12515]
65111         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65112         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65114 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65116         [BZ #15605]
65117         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65118         generated by the compiler on loop optimizations.
65119         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65120         general definitions.
65122 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
65124         * math/bug-nextafter.c: Include <math-tests.h>.
65125         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65126         the relevant type.
65127         * math/bug-nexttoward.c: Include <math-tests.h>.
65128         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65129         the relevant type.
65130         * math/test-misc.c: Include <math-tests.h>.
65131         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65132         the relevant type.
65134 2013-06-12  Andreas Jaeger  <aj@suse.de>
65136         * po/ia.po: Update Interlingua translation from translation
65137         project.
65139 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65141         * include/fenv.h: Include stdbool.h.
65142         (struct rm_ctx): New structure.
65143         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65144         Define macro.
65145         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65146         (SET_RESTORE_ROUNDF): Likewise.
65147         (SET_RESTORE_ROUNDL): Likewise.
65148         (SET_RESTORE_ROUND_NOEX): Likewise.
65149         (SET_RESTORE_ROUND_NOEXF): Likewise.
65150         (SET_RESTORE_ROUND_NOEXL): Likewise.
65151         (SET_RESTORE_ROUND_53BIT): Likewise.
65152         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65153         (libc_feresetround_noexf_ctx): Likewise.
65154         (libc_feresetround_noexl_ctx): Likewise.
65155         (libc_feholdsetround_53bit_ctx): Likewise.
65156         (libc_feresetround_53bit_ctx): Likewise.
65157         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65158         (libc_feholdexcept_setround_sse_ctx): New function.
65159         (libc_fesetenv_sse_ctx): Likewise.
65160         (libc_feupdateenv_sse_ctx): Likewise.
65161         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65162         (libc_feholdexcept_setround_387_ctx): Likewise.
65163         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65164         (libc_feholdsetround_387_prec_ctx): Likewise.
65165         (libc_feholdsetround_387_ctx): Likewise.
65166         (libc_feholdsetround_387_53bit_ctx): Likewise.
65167         (libc_feholdsetround_sse_ctx): Likewise.
65168         (libc_feresetround_sse_ctx): Likewise.
65169         (libc_feresetround_387_ctx): Likewise.
65170         (libc_feupdateenv_387_ctx): Likewise.
65171         (libc_feholdexcept_setroundf_ctx): Define macro.
65172         (libc_fesetenvf_ctx): Likewise.
65173         (libc_feupdateenvf_ctx): Likewise.
65174         (libc_feholdsetroundf_ctx): Likewise.
65175         (libc_feresetroundf_ctx): Likewise.
65176         (libc_feholdexcept_setround_ctx): Likewise.
65177         (libc_fesetenv_ctx): Likewise.
65178         (libc_feupdateenv_ctx): Likewise.
65179         (libc_feholdsetround_ctx): Likewise.
65180         (libc_feresetround_ctx): Likewise.
65181         (libc_feholdexcept_setroundl_ctx): Likewise.
65182         (libc_feupdateenvl_ctx): Likewise.
65183         (libc_feholdsetroundl_ctx): Likewise.
65184         (libc_feresetroundl_ctx): Likewise.
65185         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65186         (libc_feresetround_53bit_ctx): Likewise.
65188 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65190         * locale/iso-639.def: Convert to UTF-8.
65192 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65194         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65195         (EXCEPTION_TESTS_double): Likewise.
65196         (EXCEPTION_TESTS_long_double): Likewise.
65197         (EXCEPTION_TESTS): Likewise.
65198         * math/libm-test.inc (test_exceptions): Only test exceptions if
65199         EXCEPTION_TESTS (FLOAT).
65201 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65203         * benchtests/Makefile (string-bench): Add strcpy_chk and
65204         stpcpy_chk.
65205         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65206         * benchtests/bench-stpcpy_chk.c: New file.
65207         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65208         * benchtests/bench-strcpy_chk.c: New file.
65209         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65210         code.
65211         (do_test): Likewise.
65213 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65215         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65216         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65217         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65218         with tabs where appropriate.
65219         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65220         dl-procinfo.h.
65221         [PPC_PLATFORM_PPC440]: Likewise.
65222         [PPC_PLATFORM_PPC464]: Likewise.
65223         [PPC_PLATFORM_PPC476]: Likewise.
65224         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65225         ppc464, and ppc476 platform strings merging from ports/
65226         dl-procinfo.h.
65228 2013-06-11  Andreas Schwab  <schwab@suse.de>
65230         [BZ #14991]
65231         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65232         (from_ucs4_idx): Regenerate.
65233         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65234         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65235         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65236         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65237         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65238         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65239         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65240         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65241         from FROM_LOOP and TO_LOOP specific macros.
65242         (BODY): Handle combining characters.
65243         * iconvdata/BIG5HKSCS.irreversible: Update.
65244         * iconvdata/BIG5HKSCS.precomposed: New file.
65245         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65246         characters.
65247         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65251         * include/sys/time.h: Fix indentation and add copyright header.
65253         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65254         (do_test): Likewise.
65255         * string/test-memchr.c (do_one_test): Likewise.
65256         (do_test): Likewise.
65257         * string/test-memcmp.c (do_one_test): Likewise.
65258         (do_test): Likewise.
65259         * string/test-memcpy.c (do_one_test): Likewise.
65260         (do_test): Likewise.
65261         * string/test-memmem.c (do_one_test): Likewise.
65262         (do_test): Likewise.
65263         (do_random_tests): Likewise.
65264         * string/test-memmove.c (do_one_test): Likewise.
65265         (do_test): Likewise.
65266         * string/test-memset.c (do_one_test): Likewise.
65267         (do_test): Likewise.
65268         * string/test-rawmemchr.c (do_one_test): Likewise.
65269         (do_test): Likewise.
65270         * string/test-strcasecmp.c (do_one_test): Likewise.
65271         (do_test): Likewise.
65272         * string/test-strcasestr.c (do_one_test): Likewise.
65273         (do_test): Likewise.
65274         * string/test-strcat.c (do_one_test): Likewise.
65275         (do_test): Likewise.
65276         * string/test-strchr.c (do_one_test): Likewise.
65277         (do_test): Likewise.
65278         * string/test-strcmp.c (do_one_test): Likewise.
65279         (do_test): Likewise.
65280         * string/test-strcpy.c (do_one_test): Likewise.
65281         (do_test): Likewise.
65282         * string/test-string.h: Likewise.
65283         (test_init): Likewise.
65284         * string/test-strlen.c (do_one_test): Likewise.
65285         (do_test): Likewise.
65286         * string/test-strncasecmp.c (do_one_test): Likewise.
65287         (do_test): Likewise.
65288         * string/test-strncat.c (do_one_test): Likewise.
65289         (do_test): Likewise.
65290         * string/test-strncmp.c (do_one_test): Likewise.
65291         (do_test_limit): Likewise.
65292         (do_test): Likewise.
65293         * string/test-strncpy.c (do_one_test): Likewise.
65294         (do_test): Likewise.
65295         * string/test-strnlen.c (do_one_test): Likewise.
65296         (do_test): Likewise.
65297         * string/test-strpbrk.c (do_one_test): Likewise.
65298         (do_test): Likewise.
65299         * string/test-strrchr.c (do_one_test): Likewise.
65300         (do_test): Likewise.
65301         * string/test-strspn.c (do_one_test): Likewise.
65302         (do_test): Likewise.
65303         * string/test-strstr.c (do_one_test): Likewise.
65304         (do_test): Likewise.
65306         * benchtests/Makefile (string-bench): Add string benchmarks.
65307         * benchtests/bench-bcopy-ifunc.c: New file.
65308         * benchtests/bench-bcopy.c: New file.
65309         * benchtests/bench-bzero-ifunc.c: New file.
65310         * benchtests/bench-bzero.c: New file.
65311         * benchtests/bench-memccpy-ifunc.c: New file.
65312         * benchtests/bench-memccpy.c: New file.
65313         * benchtests/bench-memchr-ifunc.c: New file.
65314         * benchtests/bench-memchr.c: New file.
65315         * benchtests/bench-memcmp-ifunc.c: New file.
65316         * benchtests/bench-memcmp.c: New file.
65317         * benchtests/bench-memmem-ifunc.c: New file.
65318         * benchtests/bench-memmem.c: New file.
65319         * benchtests/bench-memmove-ifunc.c: New file.
65320         * benchtests/bench-memmove.c: New file.
65321         * benchtests/bench-mempcpy-ifunc.c: New file.
65322         * benchtests/bench-mempcpy.c: New file.
65323         * benchtests/bench-memset-ifunc.c: New file.
65324         * benchtests/bench-memset.c: New file.
65325         * benchtests/bench-rawmemchr-ifunc.c: New file.
65326         * benchtests/bench-rawmemchr.c: New file.
65327         * benchtests/bench-stpcpy-ifunc.c: New file.
65328         * benchtests/bench-stpcpy.c: New file.
65329         * benchtests/bench-stpncpy-ifunc.c: New file.
65330         * benchtests/bench-stpncpy.c: New file.
65331         * benchtests/bench-strcasecmp-ifunc.c: New file.
65332         * benchtests/bench-strcasecmp.c: New file.
65333         * benchtests/bench-strcasestr-ifunc.c: New file.
65334         * benchtests/bench-strcasestr.c: New file.
65335         * benchtests/bench-strcat-ifunc.c: New file.
65336         * benchtests/bench-strcat.c: New file.
65337         * benchtests/bench-strchr-ifunc.c: New file.
65338         * benchtests/bench-strchr.c: New file.
65339         * benchtests/bench-strchrnul-ifunc.c: New file.
65340         * benchtests/bench-strchrnul.c: New file.
65341         * benchtests/bench-strcmp-ifunc.c: New file.
65342         * benchtests/bench-strcmp.c: New file.
65343         * benchtests/bench-strcpy-ifunc.c: New file.
65344         * benchtests/bench-strcpy.c: New file.
65345         * benchtests/bench-strcspn-ifunc.c: New file.
65346         * benchtests/bench-strcspn.c: New file.
65347         * benchtests/bench-strlen-ifunc.c: New file.
65348         * benchtests/bench-strlen.c: New file.
65349         * benchtests/bench-strncasecmp-ifunc.c: New file.
65350         * benchtests/bench-strncasecmp.c: New file.
65351         * benchtests/bench-strncat-ifunc.c: New file.
65352         * benchtests/bench-strncat.c: New file.
65353         * benchtests/bench-strncmp-ifunc.c: New file.
65354         * benchtests/bench-strncmp.c: New file.
65355         * benchtests/bench-strncpy-ifunc.c: New file.
65356         * benchtests/bench-strncpy.c: New file.
65357         * benchtests/bench-strnlen-ifunc.c: New file.
65358         * benchtests/bench-strnlen.c: New file.
65359         * benchtests/bench-strpbrk-ifunc.c: New file.
65360         * benchtests/bench-strpbrk.c: New file.
65361         * benchtests/bench-strrchr-ifunc.c: New file.
65362         * benchtests/bench-strrchr.c: New file.
65363         * benchtests/bench-strspn-ifunc.c: New file.
65364         * benchtests/bench-strspn.c: New file.
65365         * benchtests/bench-strstr-ifunc.c: New file.
65366         * benchtests/bench-strstr.c: New file.
65368         * benchtests/Makefile: Disable parallel execution of targets.
65369         (string-bench): Add memcpy.
65370         (benchset): New variable to store a list of benchmark sets.
65371         (bench-func): Renamed from bench.
65372         (bench-set): New target.
65373         (bench): Depend on bench-func and bench-set.
65374         * benchtests/README: Add section on benchmark sets.
65375         * benchtests/bench-memcpy-ifunc.c: New file.
65376         * benchtests/bench-memcpy.c: New file.
65377         * benchtests/bench-string.h: New file.
65379 2013-06-11  Andreas Schwab  <schwab@suse.de>
65381         [BZ #15577]
65382         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65383         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65384         values in the triple.
65385         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65386         terminator in the group key.
65388 2013-06-11  Andreas Jaeger  <aj@suse.de>
65390         * po/zh_TW.po: Update Chinese (traditional) translation from
65391         translation project.
65393 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65395         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65396         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65397         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65398         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65399         (clock_getcpuclockid): Likewise.
65400         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65401         Add weak_alias and libc_hidden_def.
65402         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65403         * rt/clock_gettime.c (clock_gettime): Rename to
65404         __clock_gettime.  Add weak_alias and libc_hidden_def.
65405         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65406         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65407         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65408         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65409         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65410         Likewise.
65411         * rt/clock_settime.c (clock_settime): Rename to
65412         __clock_settime.  Add weak_alias and libc_hidden_def.
65413         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65415 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65417         * mach/err_boot.sub: Remove trailing whitespace.
65418         * mach/err_ipc.sub: Likewise.
65419         * mach/err_mach.sub: Likewise.
65421         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65422         (ROUNDING_TESTS_double): Likewise.
65423         (ROUNDING_TESTS_long_double): Likewise.
65424         (ROUNDING_TESTS): Likewise.
65425         * math/libm-test.inc: Include <math-tests.h>.
65426         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65427         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65428         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65429         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65431 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65433         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65434         of assigning.
65436 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65438         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65439         otherwise empty TRANS lines.
65440         * sysdeps/gnu/errlist.c: Regenerated.
65442         * catgets/gencat.c (error_print): Use (void) in function
65443         definition.
65444         * crypt/crypt_util.c (__init_des): Likewise.
65445         * crypt/speeds.c (Stop): Likewise.
65446         (main): Likewise.
65447         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65448         * inet/ruserpass.c (token): Likewise.
65449         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65450         * intl/localealias.c (extend_alias_table): Likewise.
65451         * intl/plural-exp.c (init_germanic_plural): Likewise.
65452         * libio/fcloseall.c (__fcloseall): Likewise.
65453         * libio/genops.c (_IO_flush_all): Likewise.
65454         (_IO_flush_all_linebuffered): Likewise.
65455         (_IO_cleanup): Likewise.
65456         (_IO_iter_begin): Likewise.
65457         (_IO_iter_end): Likewise.
65458         (_IO_list_lock): Likewise.
65459         (_IO_list_unlock): Likewise.
65460         (_IO_list_resetlock): Likewise.
65461         * libio/getchar.c (getchar): Likewise.
65462         * libio/getchar_u.c (getchar_unlocked): Likewise.
65463         * libio/getwchar.c (getwchar): Likewise.
65464         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65465         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65466         * login/getpt.c (__getpt): Likewise.
65467         * login/tst-utmp.c (main): Likewise.
65468         * malloc/hooks.c (__malloc_check_init): Likewise.
65469         * malloc/malloc.c (__malloc_stats): Likewise.
65470         * malloc/mtrace.c (tr_break): Likewise.
65471         (mtrace): Likewise.
65472         (muntrace): Likewise.
65473         * misc/fstab.c (endfsent): Likewise.
65474         * misc/getclktck.c (__getclktck): Likewise.
65475         * misc/getdtsz.c (__getdtablesize): Likewise.
65476         * misc/gethostid.c (gethostid): Likewise.
65477         * misc/getpagesize.c (__getpagesize): Likewise.
65478         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65479         (__get_nprocs): Likewise.
65480         (__get_phys_pages): Likewise.
65481         (__get_avphys_pages): Likewise.
65482         * misc/getttyent.c (getttyent): Likewise.
65483         (setttyent): Likewise.
65484         (endttyent): Likewise.
65485         * misc/getusershell.c (getusershell): Likewise.
65486         (endusershell): Likewise.
65487         (setusershell): Likewise.
65488         (initshells): Likewise.
65489         * misc/hsearch.c (__hdestroy): Likewise.
65490         * misc/sync.c (sync): Likewise.
65491         * misc/syslog.c (closelog_internal): Likewise.
65492         (closelog): Likewise.
65493         * misc/ttyslot.c (ttyslot): Likewise.
65494         * misc/vhangup.c (vhangup): Likewise.
65495         * posix/fork.c (__fork): Likewise.
65496         * posix/getegid.c (__getegid): Likewise.
65497         * posix/geteuid.c (__geteuid): Likewise.
65498         * posix/getgid.c (__getgid): Likewise.
65499         * posix/getpid.c (__getpid): Likewise.
65500         * posix/getppid.c (__getppid): Likewise.
65501         * posix/getuid.c (__getuid): Likewise.
65502         * posix/pause.c (pause): Likewise.
65503         * posix/setpgrp.c (setpgrp): Likewise.
65504         * posix/setsid.c (__setsid): Likewise.
65505         * posix/test-vfork.c (noop): Likewise.
65506         * resolv/gethnamaddr.c (_endhtent): Likewise.
65507         (_gethtent): Likewise.
65508         (ht_endhostent): Likewise.
65509         (gethostent): Likewise.
65510         (dns_service): Likewise.
65511         * stdlib/drand48.c (drand48): Likewise.
65512         * stdlib/lrand48.c (lrand48): Likewise.
65513         * stdlib/mrand48.c (mrand48): Likewise.
65514         * stdlib/rand.c (rand): Likewise.
65515         * stdlib/random.c (__random): Likewise.
65516         * stdlib/setenv.c (clearenv): Likewise.
65517         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65518         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65519         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65520         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65521         (__get_nprocs): Likewise.
65522         (__get_phys_pages): Likewise.
65523         (__get_avphys_pages): Likewise.
65524         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65525         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65526         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65527         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65528         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65529         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65530         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65531         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65532         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65533         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65534         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65535         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65536         * sysdeps/posix/clock.c (clock): Likewise.
65537         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65538         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65539         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65540         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65541         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65542         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65543         (__get_nprocs_conf): Likewise.
65544         (__get_phys_pages): Likewise.
65545         (__get_avphys_pages): Likewise.
65546         * time/clock.c (clock): Likewise.
65547         * time/tzset.c (__tzname_max): Likewise.
65549 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65551         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65552         (__bswap_32): Do not use "register".
65553         * crypt/crypt.c (_ufc_doit_r): Likewise.
65554         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65555         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65556         * gmon/gmon.c (__monstartup): Likewise.
65557         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65558         * hurd/hurdmalloc.c (more_memory): Likewise.
65559         (malloc): Likewise.
65560         (free): Likewise.
65561         (realloc): Likewise.
65562         (malloc_fork_prepare): Likewise.
65563         (malloc_fork_parent): Likewise.
65564         (malloc_fork_child): Likewise.
65565         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65566         (_svcauth_des): Likewise.
65567         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65568         * inet/inet_net.c (inet_network): Likewise.
65569         * inet/inet_netof.c (inet_netof): Likewise.
65570         * inet/rcmd.c (__validuser2_sa): Likewise.
65571         * io/fts.c (fts_open): Likewise.
65572         (fts_load): Likewise.
65573         (fts_close): Likewise.
65574         (fts_read): Likewise.
65575         (fts_children): Likewise.
65576         (fts_build): Likewise.
65577         (fts_stat): Likewise.
65578         (fts_sort): Likewise.
65579         (fts_alloc): Likewise.
65580         (fts_lfree): Likewise.
65581         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65582         (_IO_file_xsgetn): Likewise.
65583         (_IO_file_xsgetn_mmap): Likewise.
65584         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65585         (_IO_cookie_write): Likewise.
65586         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65587         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65588         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65589         * malloc/obstack.c (_obstack_begin): Likewise.
65590         (_obstack_begin_1): Likewise.
65591         (_obstack_newchunk): Likewise.
65592         (_obstack_allocated_p): Likewise.
65593         (obstack_free): Likewise.
65594         (_obstack_memory_used): Likewise.
65595         * misc/getttyent.c (getttynam): Likewise.
65596         (getttyent): Likewise.
65597         (skip): Likewise.
65598         (value): Likewise.
65599         * misc/getusershell.c (initshells): Likewise.
65600         * misc/syslog.c (__vsyslog_chk): Likewise.
65601         * misc/ttyslot.c (ttyslot): Likewise.
65602         * nis/nis_hash.c (__nis_hash): Likewise.
65603         * posix/fnmatch_loop.c (FCT): Likewise.
65604         * posix/getconf.c (print_all): Likewise.
65605         (main): Likewise.
65606         * posix/getopt.c (exchange): Likewise.
65607         * posix/glob.c (globfree): Likewise.
65608         (prefix_array): Likewise.
65609         (__glob_pattern_type): Likewise.
65610         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65611         (NS_GET32): Likewise.
65612         (NS_PUT16): Likewise.
65613         (NS_PUT32): Likewise.
65614         * resolv/gethnamaddr.c (getanswer): Likewise.
65615         (gethostbyname2): Likewise.
65616         (gethostbyaddr): Likewise.
65617         (_gethtent): Likewise.
65618         (_gethtbyname2): Likewise.
65619         (_gethtbyaddr): Likewise.
65620         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65621         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65622         * resolv/res_init.c (__res_vinit): Likewise.
65623         (net_mask): Likewise.
65624         * resolv/res_mkquery.c (outchar): Likewise.
65625         (PRINT): Likewise.
65626         * stdio-common/printf_fp.c (outchar): Likewise.
65627         (PRINT): Likewise.
65628         * stdio-common/printf_fphex.c (outchar): Likewise.
65629         (PRINT): Likewise.
65630         * stdio-common/printf_size.c (outchar): Likewise.
65631         (PRINT): Likewise.
65632         * stdio-common/test_rdwr.c (main): Likewise.
65633         * stdio-common/tfformat.c (matches): Likewise.
65634         * stdio-common/vfprintf.c (outchar): Likewise.
65635         (printf_unknown): Likewise.
65636         (buffered_vfprintf): Likewise.
65637         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65638         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65639         (ReadFile): Likewise.
65640         * stdlib/qsort.c (SWAP): Likewise.
65641         (_quicksort): Likewise.
65642         * stdlib/setenv.c (__add_to_environ): Likewise.
65643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65644         * stdlib/strtol_l.c (__strtol_l): Likewise.
65645         * stdlib/tst-strtod.c (main): Likewise.
65646         * stdlib/tst-strtol.c (main): Likewise.
65647         * stdlib/tst-strtoll.c (main): Likewise.
65648         * string/bits/string2.h (__strcmp_cc): Likewise.
65649         (__strcmp_cg): Likewise.
65650         (__strcspn_c1): Likewise.
65651         (__strcspn_c2): Likewise.
65652         (__strcspn_c3): Likewise.
65653         (__strspn_c1): Likewise.
65654         (__strspn_c2): Likewise.
65655         (__strspn_c3): Likewise.
65656         (__strsep_1c): Likewise.
65657         (__strsep_2c): Likewise.
65658         (__strsep_3c): Likewise.
65659         * string/memccpy.c (__memccpy): Likewise.
65660         * string/stpcpy.c (__stpcpy): Likewise.
65661         * string/strcmp.c (strcmp): Likewise.
65662         * string/strrchr.c (strrchr): Likewise.
65663         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65664         Likewise.
65665         * sysdeps/mach/hurd/getcwd.c
65666         (_hurd_canonicalize_directory_name_internal): Likewise.
65667         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65668         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65669         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65670         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65671         Likewise, in both definitions.
65672         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65673         definitions.
65674         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65675         64] (__bswap_64): Likewise.
65676         * time/test_time.c (main): Likewise.
65677         * time/tzfile.c (__tzfile_read): Likewise.
65678         (__tzfile_compute): Likewise.
65679         * time/tzset.c (__tzset_parse_tz): Likewise.
65680         (tzset_internal): Likewise.
65681         (compute_change): Likewise.
65682         * wcsmbs/wcscat.c (__wcscat): Likewise.
65683         * wcsmbs/wcschr.c (wcschr): Likewise.
65684         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65685         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65686         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65687         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65688         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65689         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65690         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65691         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65692         * wcsmbs/wmemset.c (wmemset): Likewise.
65694 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65696         * scripts/config.guess: Update to version 2013-05-16.
65697         * scripts/config.sub: Update to version 2013-04-24.
65698         * scripts/install-sh: Update to version 2011-11-20.07.
65699         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65700         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65702 2013-06-06   Ondƙej BĂ­lka  <neleai@seznam.cz>
65704         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65705         * elf/sln.c: Likewise.
65706         * hurd/hurd/ioctl.h: Likewise.
65707         * hurd/hurdmalloc.c: Likewise.
65708         * hurd/xattr.c: Likewise.
65709         * include/shlib-compat.h: Likewise.
65710         * inet/ruserpass.c: Likewise.
65711         * libio/iofgets_u.c: Likewise.
65712         * libio/iofgetws_u.c: Likewise.
65713         * locale/programs/ld-identification.c: Likewise.
65714         * locale/programs/ld-time.c: Likewise.
65715         * mach/msg-destroy.c: Likewise.
65716         * nss/nss_files/files-netgrp.c: Likewise.
65717         * resolv/res_data.c: Likewise.
65718         * soft-fp/op-1.h: Likewise.
65719         * soft-fp/op-2.h: Likewise.
65720         * soft-fp/op-4.h: Likewise.
65721         * soft-fp/op-common.h: Likewise.
65722         * stdio-common/printf_fphex.c: Likewise.
65723         * stdlib/strtod_l.c: Likewise.
65724         * sunrpc/rpc/clnt.h: Likewise.
65725         * sysdeps/generic/framestate.c: Likewise.
65726         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65727         * sysdeps/i386/bsd-setjmp.S: Likewise.
65728         * sysdeps/i386/__longjmp.S: Likewise.
65729         * sysdeps/i386/setjmp.S: Likewise.
65730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65731         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65732         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65733         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65735         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65737         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65740         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65741         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65742         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65743         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65744         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65746         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65747         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65748         * sysdeps/ieee754/support.c: Likewise.
65749         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65750         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65751         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65752         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65753         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65754         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65755         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65756         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65757         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65758         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65759         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65760         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65761         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65762         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65763         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65764         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65765         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65768 2013-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
65770         * posix/transbug.c: Remove executable mode.
65772 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65774         * crypt/speeds.c: Remove trailing whitespace.
65775         * dlfcn/default.c: Likewise.
65776         * elf/ifuncdep2.c: Likewise.
65777         * elf/ifuncmain1.c: Likewise.
65778         * elf/ifuncmain1vis.c: Likewise.
65779         * elf/testobj.h: Likewise.
65780         * elf/tst-stackguard1.c: Likewise.
65781         * gmon/sys/gmon.h: Likewise.
65782         * hurd/hurdmsg.c: Likewise.
65783         * hurd/new-fd.c: Likewise.
65784         * hurd/ports-get.c: Likewise.
65785         * iconvdata/ibm1008_420.c: Likewise.
65786         * inet/tst-getni1.c: Likewise.
65787         * inet/tst-getni2.c: Likewise.
65788         * libio/ioungetc.c: Likewise.
65789         * libio/wfiledoalloc.c: Likewise.
65790         * manual/libm-err-tab.pl: Likewise.
65791         * math/w_dremf.c: Likewise.
65792         * misc/ftruncate.c: Likewise.
65793         * posix/bug-glob2.c: Likewise.
65794         * posix/tst-pcre.c: Likewise.
65795         * posix/wait4.c: Likewise.
65796         * resolv/README: Likewise.
65797         * resolv/res_debug.h: Likewise.
65798         * resolv/tst-inet_ntop.c: Likewise.
65799         * setjmp/bug269-setjmp.c: Likewise.
65800         * soft-fp/extended.h: Likewise.
65801         * soft-fp/op-1.h: Likewise.
65802         * soft-fp/op-2.h: Likewise.
65803         * soft-fp/op-4.h: Likewise.
65804         * soft-fp/op-8.h: Likewise.
65805         * soft-fp/testit.c: Likewise.
65806         * stdio-common/bug16.c: Likewise.
65807         * stdlib/random.c: Likewise.
65808         * sunrpc/rpcsvc/rquota.x: Likewise.
65809         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65810         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65811         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65812         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65813         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65814         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65815         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65816         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65817         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65818         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65819         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65820         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65821         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65822         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65823         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65824         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65825         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65826         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65827         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65829         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65830         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65831         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65832         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65833         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65834         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65835         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65836         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65837         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65838         * sysdeps/ieee754/s_lib_version.c: Likewise.
65839         * sysdeps/mach/hurd/check_fds.c: Likewise.
65840         * sysdeps/mach/hurd/getsockname.c: Likewise.
65841         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65842         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65843         * sysdeps/powerpc/bits/link.h: Likewise.
65844         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65845         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65846         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65847         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65848         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65849         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65850         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65851         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65852         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65853         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65854         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65855         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65856         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65857         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65858         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65859         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65863         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65864         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65865         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65867         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65868         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65869         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65870         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65871         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65872         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65873         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65874         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65875         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65877         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65878         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65879         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65880         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65882         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65883         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65884         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65885         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65886         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65887         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65888         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65889         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65890         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65891         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65892         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65893         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65896         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65897         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65898         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65899         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65900         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65901         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65902         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65903         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65904         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65905         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65906         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65907         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65908         * sysdeps/powerpc/sysdep.h: Likewise.
65909         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65910         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65911         * sysdeps/sh/dl-trampoline.S: Likewise.
65912         * sysdeps/sh/memset.S: Likewise.
65913         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65914         * sysdeps/sh/strlen.S: Likewise.
65915         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65916         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65917         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65918         * sysdeps/sparc/sparc32/rem.S: Likewise.
65919         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65920         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65921         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65922         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65923         * sysdeps/sparc/sparc32/urem.S: Likewise.
65924         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65925         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65926         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65927         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65928         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65929         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65930         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65931         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65932         * sysdeps/unix/bsd/times.c: Likewise.
65933         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65934         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65938         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65939         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65940         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65941         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65942         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65943         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65944         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65945         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65946         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65947         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65948         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65949         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65950         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65951         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65952         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65953         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65954         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65955         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65956         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65957         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65958         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65959         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65960         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65961         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65962         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65963         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65964         * sysdeps/x86_64/strcspn.S: Likewise.
65966 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65968         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65969         generated file.  Regenerate properly from gen-translit.pl.
65970         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65971         locale/C-translit.h.
65973 2013-06-05  Andreas Schwab  <schwab@suse.de>
65975         [BZ #15100]
65976         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65977         week as 6 instead of -1.
65978         * time/tst-strptime.c (day_tests): Add test case.
65980 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65982         * sysdeps/generic/math_private.h
65983         (libc_feholdexcept_setround_53bit): Replace with
65984         libc_feholdsetround_53bit.
65985         (libc_feupdateenv_53bit): Replace with
65986         libc_feresetround_53bit.
65987         (SET_RESTORE_ROUND_53BIT): Adjust.
65989 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65991         * string/test-strchrnul.c: Add copyright header.
65993         * posix/tst-getaddrinfo4.c: Increase test timeout.
65995 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65997         [BZ #15536]
65998         * math/libm-test.inc (MAX_EXP): Remove
65999         (MIN_EXP): Define.
66000         (ulp): Use MIN_EXP - MANT_DIG.
66001         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
66003 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
66005         * po/be.po: Revert last change.
66006         * po/zh_CN.po: Likewise.
66007         * po/header.pot: Likewise.
66009 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
66011         * Makefile ($(common-objpfx)linkobj/libc.so): Define
66012         link-libc-deps to empty as target-specific variable.
66013         * Makerules (link-libc-args): New variable.
66014         (libc-for-link): Likewise.
66015         (link-libc-deps): Likewise.
66016         (lib%.so): Depend on $(link-libc-deps).  Link with
66017         $(link-libc-args).
66018         (build-module): Link with $(link-libc-args).
66019         (build-module-asneeded): Likewise.
66020         (build-module-helper-objlist): Filter out $(link-libc-deps) from
66021         list of objects.
66022         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
66023         target-specific variable.
66024         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
66025         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
66026         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
66027         libc.
66028         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
66029         libc and ld.so.
66030         ($(objpfx)libpcprofile.so): Likewise.
66031         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
66032         libc_nonshared.a.
66033         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
66034         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
66035         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
66036         $(link-libc-deps).
66037         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
66038         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
66039         * login/Makefile ($(objpfx)libutil.so): Likewise.
66040         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
66041         * math/Makefile ($(objpfx)libm.so): Likewise.
66042         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
66043         $(objpfx)libnsl.so): Define libc-for-link as target-specific
66044         variable instead of depending directly on libc.
66045         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
66046         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
66047         $(link-libc-deps).
66048         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
66049         libc.
66050         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
66051         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
66052         ($(objpfx)libanl.so): Likewise.
66053         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
66054         ld.so.
66055         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
66056         $(link-libc-deps).
66057         * sysdeps/i386/fpu/Makefile: Remove file.
66058         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
66059         ($(objpfx)libm.so): Remove dependency on ld.so.
66061 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
66063         [BZ # 15553]
66064         * nis/yp_xdr.c (XDRMAXNAME): Define.
66065         (XDRMAXRECORD): Define.
66066         (xdr_domainname): Use XDRMAXNAME.
66067         (xdr_mapname): Likewise.
66068         (xdr_peername): Likewise.
66069         (xdr_keydat): Use XDRMAXRECORD.
66070         (xdr_valdat): Likewise.
66072 2013-05-30  Jeff Law  <law@redhat.com>
66074         [BZ #14256]
66075         * manual/errno.texi (ESTALE): Update to account for more than
66076         just NFS file systems.
66077         * sysdeps/gnu/errlist.c: Regenerated.
66079 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66081         [BZ #15465]
66082         * elf/Makefile (tests): Add tst-null-argv.
66083         (modules-names):  Add tst-null-argv-lib.
66084         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66085         (tst-null-argv-ENV): Set environment for tst-null-argv.
66086         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66087         (RTLD_PROGNAME): New macro.
66088         * elf/tst-null-argv.c: New test case.
66089         * elf/tst-null-argv-lib.c: Library for test case.
66090         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66091         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66092         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66093         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66094         * elf/dl-init.c (call_init): Likewise.
66095         (_dl_init): Likewise.
66096         * elf/dl-load.c (print_search_path): Likewise.
66097         (_dl_map_object): Likewise.
66098         * elf/dl-lookup.c (do_lookup_x): Likewise.
66099         (add_dependency): Likewise.
66100         (_dl_lookup_symbol_x): Likewise.
66101         (_dl_debug_bindings): Likewise.
66102         * elf/dl-open.c (_dl_show_scope): Likewise.
66103         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66104         * elf/dl-version.c (match_symbol): Likewise.
66105         (_dl_check_map_versions): Likewise.
66106         * elf/rtld.c (dl_main): Likewise.
66107         (print_unresolved): Use RTLD_PROGNAME.
66108         (print_missing_version): Likewise.
66109         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66110         (elf_machine_rela): Likewise.
66111         * sysdeps/powerpc/powerpc32/dl-machine.c
66112         (__process_machine_rela): Likewise.
66113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66114         Likewise.
66115         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66116         Likewise.
66117         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66118         Likewise.
66119         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66120         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66121         Likewise.
66122         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66123         Likewise.
66124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66126 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
66128         * po/be.po: Add descriptive title.
66129         * po/zh_CN.po: Likewise.
66130         * po/header.pot: Likewise.
66132 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
66134         * locale/programs/locarchive.c (create_archive): Inlucde fname in
66135         error message.
66136         (enlarge_archive): Likewise.
66138 2013-05-28  Ben North  <ben@redfrontdoor.org>
66140         * manual/arith.texi (frexp): It is the magnitude of the return
66141         value which lies in [0.5, 1), not the return value itself.
66143 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66147 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
66149         * stdio-common/bug26.c (main): Correct fscanf template.
66151         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66152         declare _dl_skip_args.
66154         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66155         Don't declare.
66157         * manual/platform.texi: Add missing @end deftypefun.
66159 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66161         [BZ #15529]
66162         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66163         bit of mantissa of 2^16382.
66164         * math/libm-test.inc (hypot_test_data): Add more tests.
66166         * math/libm-test.inc: Add drem and pow10 to list of tested
66167         functions.
66168         (pow10_test): New function.
66169         (drem_test): Likewise.
66170         (drem_test_tonearest): Likewise.
66171         (drem_test_towardzero): Likewise.
66172         (drem_test_downward): Likewise.
66173         (drem_test_upward): Likewise.
66174         (main): Call the new functions.
66176         * math/libm-test.inc (finite_test_data): Remove.
66177         (finite_test): Run tests from isfinite_test_data.
66178         (gamma_test_data): Remove.
66179         (gamma_test): Run tests from lgamma_test_data.
66180         * sysdeps/i386/fpu/libm-test-ulps: Update.
66181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66183 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66185         * manual/platform.texi: Add PowerPC PPR function set documentation.
66186         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66187         implementation.
66189 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66191         * math/libm-test.inc (MAX_EXP): Define.
66192         (ULPDIFF): Define.
66193         (ulp): New function.
66194         (check_float_internal): Use ULPDIFF.
66195         (cpow_test): Disable failing test.
66196         (check_ulp): Test ulp() implementation.
66197         (main): Call check_ulp before starting tests.
66199 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66201         * math/gen-libm-test.pl (generate_testfile): Do not handle
66202         START_DATA and END_DATA.
66203         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66204         END_DATA.
66205         (acos_tonearest_test_data): Likewise.
66206         (acos_towardzero_test_data): Likewise.
66207         (acos_downward_test_data): Likewise.
66208         (acos_upward_test_data): Likewise.
66209         (acosh_test_data): Likewise.
66210         (asin_test_data): Likewise.
66211         (asin_tonearest_test_data): Likewise.
66212         (asin_towardzero_test_data): Likewise.
66213         (asin_downward_test_data): Likewise.
66214         (asin_upward_test_data): Likewise.
66215         (asinh_test_data): Likewise.
66216         (atan_test_data): Likewise.
66217         (atanh_test_data): Likewise.
66218         (atan2_test_data): Likewise.
66219         (cabs_test_data): Likewise.
66220         (cacos_test_data): Likewise.
66221         (cacosh_test_data): Likewise.
66222         (carg_test_data): Likewise.
66223         (casin_test_data): Likewise.
66224         (casinh_test_data): Likewise.
66225         (catan_test_data): Likewise.
66226         (catanh_test_data): Likewise.
66227         (cbrt_test_data): Likewise.
66228         (ccos_test_data): Likewise.
66229         (ccosh_test_data): Likewise.
66230         (ceil_test_data): Likewise.
66231         (cexp_test_data): Likewise.
66232         (cimag_test_data): Likewise.
66233         (clog_test_data): Likewise.
66234         (clog10_test_data): Likewise.
66235         (conj_test_data): Likewise.
66236         (copysign_test_data): Likewise.
66237         (cos_test_data): Likewise.
66238         (cos_tonearest_test_data): Likewise.
66239         (cos_towardzero_test_data): Likewise.
66240         (cos_downward_test_data): Likewise.
66241         (cos_upward_test_data): Likewise.
66242         (cosh_test_data): Likewise.
66243         (cosh_tonearest_test_data): Likewise.
66244         (cosh_towardzero_test_data): Likewise.
66245         (cosh_downward_test_data): Likewise.
66246         (cosh_upward_test_data): Likewise.
66247         (cpow_test_data): Likewise.
66248         (cproj_test_data): Likewise.
66249         (creal_test_data): Likewise.
66250         (csin_test_data): Likewise.
66251         (csinh_test_data): Likewise.
66252         (csqrt_test_data): Likewise.
66253         (ctan_test_data): Likewise.
66254         (ctan_tonearest_test_data): Likewise.
66255         (ctan_towardzero_test_data): Likewise.
66256         (ctan_downward_test_data): Likewise.
66257         (ctan_upward_test_data): Likewise.
66258         (ctanh_test_data): Likewise.
66259         (ctanh_tonearest_test_data): Likewise.
66260         (ctanh_towardzero_test_data): Likewise.
66261         (ctanh_downward_test_data): Likewise.
66262         (ctanh_upward_test_data): Likewise.
66263         (erf_test_data): Likewise.
66264         (erfc_test_data): Likewise.
66265         (exp_test_data): Likewise.
66266         (exp_tonearest_test_data): Likewise.
66267         (exp_towardzero_test_data): Likewise.
66268         (exp_downward_test_data): Likewise.
66269         (exp_upward_test_data): Likewise.
66270         (exp10_test_data): Likewise.
66271         (exp2_test_data): Likewise.
66272         (expm1_test_data): Likewise.
66273         (fabs_test_data): Likewise.
66274         (fdim_test_data): Likewise.
66275         (finite_test_data): Likewise.
66276         (floor_test_data): Likewise.
66277         (fma_test_data): Likewise.
66278         (fma_towardzero_test_data): Likewise.
66279         (fma_downward_test_data): Likewise.
66280         (fma_upward_test_data): Likewise.
66281         (fmax_test_data): Likewise.
66282         (fmin_test_data): Likewise.
66283         (fmod_test_data): Likewise.
66284         (fpclassify_test_data): Likewise.
66285         (frexp_test_data): Likewise.
66286         (gamma_test_data): Likewise.
66287         (hypot_test_data): Likewise.
66288         (ilogb_test_data): Likewise.
66289         (isfinite_test_data): Likewise.
66290         (isgreater_test_data): Likewise.
66291         (isgreaterequal_test_data): Likewise.
66292         (isinf_test_data): Likewise.
66293         (isless_test_data): Likewise.
66294         (islessequal_test_data): Likewise.
66295         (islessgreater_test_data): Likewise.
66296         (isnan_test_data): Likewise.
66297         (isnormal_test_data): Likewise.
66298         (issignaling_test_data): Likewise.
66299         (isunordered_test_data): Likewise.
66300         (j0_test_data): Likewise.
66301         (j1_test_data): Likewise.
66302         (jn_test_data): Likewise.
66303         (ldexp_test_data): Likewise.
66304         (lgamma_test_data): Likewise.
66305         (lrint_test_data): Likewise.
66306         (lrint_tonearest_test_data): Likewise.
66307         (lrint_towardzero_test_data): Likewise.
66308         (lrint_downward_test_data): Likewise.
66309         (lrint_upward_test_data): Likewise.
66310         (llrint_test_data): Likewise.
66311         (llrint_tonearest_test_data): Likewise.
66312         (llrint_towardzero_test_data): Likewise.
66313         (llrint_downward_test_data): Likewise.
66314         (llrint_upward_test_data): Likewise.
66315         (log_test_data): Likewise.
66316         (log10_test_data): Likewise.
66317         (log1p_test_data): Likewise.
66318         (log2_test_data): Likewise.
66319         (logb_test_data): Likewise.
66320         (logb_downward_test_data): Likewise.
66321         (lround_test_data): Likewise.
66322         (llround_test_data): Likewise.
66323         (modf_test_data): Likewise.
66324         (nearbyint_test_data): Likewise.
66325         (nextafter_test_data): Likewise.
66326         (nexttoward_test_data): Likewise.
66327         (pow_test_data): Likewise.
66328         (pow_tonearest_test_data): Likewise.
66329         (pow_towardzero_test_data): Likewise.
66330         (pow_downward_test_data): Likewise.
66331         (pow_upward_test_data): Likewise.
66332         (remainder_test_data): Likewise.
66333         (remainder_tonearest_test_data): Likewise.
66334         (remainder_towardzero_test_data): Likewise.
66335         (remainder_downward_test_data): Likewise.
66336         (remainder_upward_test_data): Likewise.
66337         (remquo_test_data): Likewise.
66338         (rint_test_data): Likewise.
66339         (rint_tonearest_test_data): Likewise.
66340         (rint_towardzero_test_data): Likewise.
66341         (rint_downward_test_data): Likewise.
66342         (rint_upward_test_data): Likewise.
66343         (round_test_data): Likewise.
66344         (scalb_test_data): Likewise.
66345         (scalbn_test_data): Likewise.
66346         (scalbln_test_data): Likewise.
66347         (signbit_test_data): Likewise.
66348         (sin_test_data): Likewise.
66349         (sin_tonearest_test_data): Likewise.
66350         (sin_towardzero_test_data): Likewise.
66351         (sin_downward_test_data): Likewise.
66352         (sin_upward_test_data): Likewise.
66353         (sincos_test_data): Likewise.
66354         (sinh_test_data): Likewise.
66355         (sinh_tonearest_test_data): Likewise.
66356         (sinh_towardzero_test_data): Likewise.
66357         (sinh_downward_test_data): Likewise.
66358         (sinh_upward_test_data): Likewise.
66359         (sqrt_test_data): Likewise.
66360         (tan_test_data): Likewise.
66361         (tan_tonearest_test_data): Likewise.
66362         (tan_towardzero_test_data): Likewise.
66363         (tan_downward_test_data): Likewise.
66364         (tan_upward_test_data): Likewise.
66365         (tanh_test_data): Likewise.
66366         (tgamma_test_data): Likewise.
66367         (trunc_test_data): Likewise.
66368         (y0_test_data): Likewise.
66369         (y1_test_data): Likewise.
66370         (yn_test_data): Likewise.
66371         (significand_test_data): Likewise.
66373         * math/gen-libm-test.pl (@functions): Remove variable.
66374         (generate_testfile): Don't handle START and END lines.
66375         * math/libm-test.inc (START): New macro.
66376         (END): Likewise.
66377         (END_COMPLEX): Likewise.
66378         (acos_test): Use END macro without arguments.
66379         (acos_test_tonearest): Likewise.
66380         (acos_test_towardzero): Likewise.
66381         (acos_test_downward): Likewise.
66382         (acos_test_upward): Likewise.
66383         (acosh_test): Likewise.
66384         (asin_test): Likewise.
66385         (asin_test_tonearest): Likewise.
66386         (asin_test_towardzero): Likewise.
66387         (asin_test_downward): Likewise.
66388         (asin_test_upward): Likewise.
66389         (asinh_test): Likewise.
66390         (atan_test): Likewise.
66391         (atanh_test): Likewise.
66392         (atan2_test): Likewise.
66393         (cabs_test): Likewise.
66394         (cacos_test): Use END_COMPLEX macro without arguments.
66395         (cacosh_test): Likewise.
66396         (carg_test): Use END macro without arguments.
66397         (casin_test): Use END_COMPLEX macro without arguments.
66398         (casinh_test): Likewise.
66399         (catan_test): Likewise.
66400         (catanh_test): Likewise.
66401         (cbrt_test): Use END macro without arguments.
66402         (ccos_test): Use END_COMPLEX macro without arguments.
66403         (ccosh_test): Likewise.
66404         (ceil_test): Use END macro without arguments.
66405         (cexp_test): Use END_COMPLEX macro without arguments.
66406         (cimag_test): Use END macro without arguments.
66407         (clog_test): Use END_COMPLEX macro without arguments.
66408         (clog10_test): Likewise.
66409         (conj_test): Likewise.
66410         (copysign_test): Use END macro without arguments.
66411         (cos_test): Likewise.
66412         (cos_test_tonearest): Likewise.
66413         (cos_test_towardzero): Likewise.
66414         (cos_test_downward): Likewise.
66415         (cos_test_upward): Likewise.
66416         (cosh_test): Likewise.
66417         (cosh_test_tonearest): Likewise.
66418         (cosh_test_towardzero): Likewise.
66419         (cosh_test_downward): Likewise.
66420         (cosh_test_upward): Likewise.
66421         (cpow_test): Use END_COMPLEX macro without arguments.
66422         (cproj_test): Likewise.
66423         (creal_test): Use END macro without arguments.
66424         (csin_test): Use END_COMPLEX macro without arguments.
66425         (csinh_test): Likewise.
66426         (csqrt_test): Likewise.
66427         (ctan_test): Likewise.
66428         (ctan_test_tonearest): Likewise.
66429         (ctan_test_towardzero): Likewise.
66430         (ctan_test_downward): Likewise.
66431         (ctan_test_upward): Likewise.
66432         (ctanh_test): Likewise.
66433         (ctanh_test_tonearest): Likewise.
66434         (ctanh_test_towardzero): Likewise.
66435         (ctanh_test_downward): Likewise.
66436         (ctanh_test_upward): Likewise.
66437         (erf_test): Use END macro without arguments.
66438         (erfc_test): Likewise.
66439         (exp_test): Likewise.
66440         (exp_test_tonearest): Likewise.
66441         (exp_test_towardzero): Likewise.
66442         (exp_test_downward): Likewise.
66443         (exp_test_upward): Likewise.
66444         (exp10_test): Likewise.
66445         (exp2_test): Likewise.
66446         (expm1_test): Likewise.
66447         (fabs_test): Likewise.
66448         (fdim_test): Likewise.
66449         (finite_test): Likewise.
66450         (floor_test): Likewise.
66451         (fma_test): Likewise.
66452         (fma_test_towardzero): Likewise.
66453         (fma_test_downward): Likewise.
66454         (fma_test_upward): Likewise.
66455         (fmax_test): Likewise.
66456         (fmin_test): Likewise.
66457         (fmod_test): Likewise.
66458         (fpclassify_test): Likewise.
66459         (frexp_test): Likewise.
66460         (gamma_test): Likewise.
66461         (hypot_test): Likewise.
66462         (ilogb_test): Likewise.
66463         (isfinite_test): Likewise.
66464         (isgreater_test): Likewise.
66465         (isgreaterequal_test): Likewise.
66466         (isinf_test): Likewise.
66467         (isless_test): Likewise.
66468         (islessequal_test): Likewise.
66469         (islessgreater_test): Likewise.
66470         (isnan_test): Likewise.
66471         (isnormal_test): Likewise.
66472         (issignaling_test): Likewise.
66473         (isunordered_test): Likewise.
66474         (j0_test): Likewise.
66475         (j1_test): Likewise.
66476         (jn_test): Likewise.
66477         (ldexp_test): Likewise.
66478         (lgamma_test): Likewise.
66479         (lrint_test): Likewise.
66480         (lrint_test_tonearest): Likewise.
66481         (lrint_test_towardzero): Likewise.
66482         (lrint_test_downward): Likewise.
66483         (lrint_test_upward): Likewise.
66484         (llrint_test): Likewise.
66485         (llrint_test_tonearest): Likewise.
66486         (llrint_test_towardzero): Likewise.
66487         (llrint_test_downward): Likewise.
66488         (llrint_test_upward): Likewise.
66489         (log_test): Likewise.
66490         (log10_test): Likewise.
66491         (log1p_test): Likewise.
66492         (log2_test): Likewise.
66493         (logb_test): Likewise.
66494         (logb_test_downward): Likewise.
66495         (lround_test): Likewise.
66496         (llround_test): Likewise.
66497         (modf_test): Likewise.
66498         (nearbyint_test): Likewise.
66499         (nextafter_test): Likewise.
66500         (nexttoward_test): Likewise.
66501         (pow_test): Likewise.
66502         (pow_test_tonearest): Likewise.
66503         (pow_test_towardzero): Likewise.
66504         (pow_test_downward): Likewise.
66505         (pow_test_upward): Likewise.
66506         (remainder_test): Likewise.
66507         (remainder_test_tonearest): Likewise.
66508         (remainder_test_towardzero): Likewise.
66509         (remainder_test_downward): Likewise.
66510         (remainder_test_upward): Likewise.
66511         (remquo_test): Likewise.
66512         (rint_test): Likewise.
66513         (rint_test_tonearest): Likewise.
66514         (rint_test_towardzero): Likewise.
66515         (rint_test_downward): Likewise.
66516         (rint_test_upward): Likewise.
66517         (round_test): Likewise.
66518         (scalb_test): Likewise.
66519         (scalbn_test): Likewise.
66520         (scalbln_test): Likewise.
66521         (signbit_test): Likewise.
66522         (sin_test): Likewise.
66523         (sin_test_tonearest): Likewise.
66524         (sin_test_towardzero): Likewise.
66525         (sin_test_downward): Likewise.
66526         (sin_test_upward): Likewise.
66527         (sincos_test): Likewise.
66528         (sinh_test): Likewise.
66529         (sinh_test_tonearest): Likewise.
66530         (sinh_test_towardzero): Likewise.
66531         (sinh_test_downward): Likewise.
66532         (sinh_test_upward): Likewise.
66533         (sqrt_test): Likewise.
66534         (tan_test): Likewise.
66535         (tan_test_tonearest): Likewise.
66536         (tan_test_towardzero): Likewise.
66537         (tan_test_downward): Likewise.
66538         (tan_test_upward): Likewise.
66539         (tanh_test): Likewise.
66540         (tgamma_test): Likewise.
66541         (trunc_test): Likewise.
66542         (y0_test): Likewise.
66543         (y1_test): Likewise.
66544         (yn_test): Likewise.
66545         (significand_test): Likewise.
66547 2013-05-24  Ondƙej BĂ­lka  <neleai@seznam.cz>
66549         [BZ #15381]
66550         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66552 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66554         [BZ #14894]
66555         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66556         __ppc_mdoio and __ppc_mdoom.
66557         * manual/platform.texi: Document new functions __ppc_yield,
66558         __ppc_mdoio and __ppc_mdoom.
66560 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66562         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66563         (main): Mention "tls" pseudo-hwcap is legacy.
66564         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66566 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66568         * math/gen-libm-test.pl (parse_args): Output only string of
66569         arguments as text for test name, not full call or descriptions of
66570         tests for extra outputs.
66571         (generate_testfile): Do not pass function name to parse_args.
66572         Generate this_func variable from START.
66573         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66574         field to arg_str.
66575         (struct test_ff_f_data): Likewise.
66576         (test_ff_f_data_nexttoward): Likewise.
66577         (struct test_fi_f_data): Likewise.
66578         (struct test_fl_f_data): Likewise.
66579         (struct test_if_f_data): Likewise.
66580         (struct test_fff_f_data): Likewise.
66581         (struct test_c_f_data): Likewise.
66582         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66583         (struct test_fF_f1_data): Likewise.
66584         (struct test_ffI_f1_data): Likewise.
66585         (struct test_c_c_data): Rename test_name field to arg_str.
66586         (struct test_cc_c_data): Likewise.
66587         (struct test_f_i_data): Likewise.
66588         (struct test_ff_i_data): Likewise.
66589         (struct test_f_l_data): Likewise.
66590         (struct test_f_L_data): Likewise.
66591         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66592         and extra2_name.
66593         (COMMON_TEST_SETUP): New macro.
66594         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66595         (COMMON_TEST_CLEANUP): Likewise.
66596         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66597         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66598         macros.
66599         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66600         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66601         macros.
66602         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66603         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66604         cleanup macros.
66605         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66606         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66607         macros.
66608         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66609         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66610         macros.
66611         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66612         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66613         cleanup macros.
66614         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66615         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66616         cleanup macros.
66617         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66618         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66619         cleanup macros.
66620         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66621         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66622         macros.
66623         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66624         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66625         macros.
66626         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66627         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66628         macros.
66629         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66630         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66631         cleanup macros.
66632         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66633         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66634         cleanup macros.
66635         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66636         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66637         macros.
66638         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66639         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66640         cleanup macros.
66641         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66642         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66643         macros.
66644         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66645         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66646         macros.
66647         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66648         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66649         cleanup macros.
66650         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66652 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66654         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66655         to _sifields.sigfault.
66656         (si_addr_lsb): Define new macro.
66657         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66659         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66661 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66663         [BZ #15441]
66664         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66665         returns -1.
66666         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66667         null return -1.
66668         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66669         loading the domain.
66671 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66673         * math/gen-libm-test.pl (parse_args): Do not include expected
66674         result in test name.
66675         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66676         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66677         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66678         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66679         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66682 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66684         * benchtests/Makefile: Sort function entries.
66686         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66687         tanh, asinh, acosh, atanh.
66688         * benchtests/acos-inputs: New file.
66689         * benchtests/acosh-inputs: New file.
66690         * benchtests/asin-inputs: New file.
66691         * benchtests/asinh-inputs: New file.
66692         * benchtests/atanh-inputs: New file.
66693         * benchtests/cosh-inputs: New file.
66694         * benchtests/log-inputs: New file.
66695         * benchtests/sinh-inputs: New file.
66696         * benchtests/tanh-inputs: New file.
66698 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66700         [BZ #15339]
66701         * posix/tst-getaddrinfo4.c: New test.
66702         * posix/Makefile (tests): Add it.
66704 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66706         [BZ #15339]
66707         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66708         when no services were used.
66709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66710         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66712 2013-05-21  Andreas Schwab  <schwab@suse.de>
66714         [BZ #15014]
66715         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66716         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66717         successful.
66718         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66719         redundant variable declarations and reallocation of buffer when
66720         parsing as IPv6 address.  Always set NSS status when called from
66721         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66722         buffer too small.  Correct computation of needed size.
66723         * nss/Makefile (tests): Add test-digits-dots.
66724         * nss/test-digits-dots.c: New test.
66726 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66728         * benchtests/Makefile: Remove instructions for adding
66729         benchmark tests.
66730         * benchtests/README: New file to explain how to execute and
66731         enhance the benchmark tests.
66733 2013-05-21  Andreas Schwab  <schwab@suse.de>
66735         [BZ #15493]
66736         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66737         * setjmp/tst-sigsetjmp.c: New test.
66739 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66741         * sysdeps/x86_64/memset.S (memset): New implementation.
66742         (__bzero): Likewise.
66743         (__memset_tail): New function.
66745 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66747         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66748         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66749         __memcpy_sse2_unaligned ifunc selection.
66750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66751         Add memcpy-sse2-unaligned.S.
66752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66753         Add: __memcpy_sse2_unaligned.
66755 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66757         [BZ #15490]
66758         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66759         math_force_eval before restoring floating-point envrionment.
66760         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66761         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66762         Likewise.
66763         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66764         <math_private.h>.
66765         (__nearbyintl): Use math_force_eval before restoring
66766         floating-point environment.
66767         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66769         * math/gen-libm-test.pl (special_functions): Remove.
66770         (parse_args): Don't handle TEST_extra.  Handle functions with no
66771         return value.
66772         * math/libm-test.inc (struct test_sincos_data): Replace with
66773         struct test_fFF_11_data.
66774         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66775         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66776         (sincos_test_data): Change element type to struct
66777         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66778         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66779         RUN_TEST_LOOP_sincos.
66780         * math/README.libm-test: Don't mention special handling of
66781         individual functions.
66782         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66783         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66784         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66786         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66789         * math/gen-libm-test.pl (get_variable): Remove function.
66790         (parse_args): Don't show pointer parameters to call in test
66791         names.  Use "extra output N" in test names for extra outputs
66792         rather than naming variables.
66794 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66796         [BZ #15488]
66797         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66798         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66799         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66800         double tests.
66801         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66802         disable.
66803         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66804         check_long_double.
66806         * math/gen-libm-test.pl (@tests): Remove variable.
66807         ($count): Likewise.
66808         (new_test): Remove function.
66809         (show_exceptions): New function.
66810         (special_functions): Use show_exceptions instead of new_test.
66811         (parse_args): Likewise.
66812         (generate_testfile): Pass only function name in generated call to
66813         print_max_error or print_complex_max_error.
66814         (get_ulps): Do not handle complex tests specially.
66815         (output_test): Rename to ...
66816         (get_all_ulps_for_test): ... this.  Return a string rather than
66817         printing to a file.  Require ulps to be present.
66818         (output_ulps): Generate arrays rather than #defines.
66819         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66820         (struct ulp_data): New type.
66821         (BUILD_COMPLEX_ULP): Remove macro.
66822         (compare_ulp_data): New function.
66823         (find_ulps): Likewise.
66824         (find_test_ulps): Likewise.
66825         (find_function_ulps): Likewise.
66826         (find_complex_function_ulps): Likewise.
66827         (print_max_error): Determine allowed ulps using
66828         find_function_ulps.
66829         (print_complex_max_error): Determine allowed ulps using
66830         find_complex_function_ulps.
66831         (check_float_internal): Determine max ulps using find_test_ulps.
66832         (check_float): Do not take max_ulp parameter.  Update call to
66833         check_float_internal.
66834         (check_complex): Likewise.
66835         (check_int): Do not take max_ulp parameter.
66836         (check_long): Likewise.
66837         (check_bool): Likewise.
66838         (check_longlong): Likewise.
66839         (struct test_f_f_data): Remove max_ulp field.
66840         (struct test_ff_f_data): Likewise.
66841         (struct test_ff_f_data_nexttoward): Likewise.
66842         (struct test_fi_f_data): Likewise.
66843         (struct test_fl_f_data): Likewise.
66844         (struct test_if_f_data): Likewise.
66845         (struct test_fff_f_data): Likewise.
66846         (struct test_c_f_data): Likewise.
66847         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66848         (struct test_fF_f1_data): Likewise.
66849         (struct test_ffI_f1_data): Likewise.
66850         (struct test_c_c_data): Remove max_ulp field.
66851         (struct test_cc_c_data): Likewise.
66852         (struct test_f_i_data): Likewise.
66853         (struct test_ff_i_data): Likewise.
66854         (struct test_f_l_data): Likewise.
66855         (struct test_f_L_data): Likewise.
66856         (struct test_sincos_data): Likewise.
66857         (RUN_TEST_f_f): Do not handle ulps.
66858         (RUN_TEST_LOOP_f_f): Likewise.
66859         (RUN_TEST_2_f): Likewise.
66860         (RUN_TEST_LOOP_2_f): Likewise.
66861         (RUN_TEST_fff_f): Likewise.
66862         (RUN_TEST_LOOP_fff_f): Likewise.
66863         (RUN_TEST_c_f): Likewise.
66864         (RUN_TEST_LOOP_c_f): Likewise.
66865         (RUN_TEST_f_f1): Likewise.
66866         (RUN_TEST_LOOP_f_f1): Likewise.
66867         (RUN_TEST_fF_f1): Likewise.
66868         (RUN_TEST_LOOP_fF_f1): Likewise.
66869         (RUN_TEST_fI_f1): Likewise.
66870         (RUN_TEST_LOOP_fI_f1): Likewise.
66871         (RUN_TEST_ffI_f1): Likewise.
66872         (RUN_TEST_LOOP_ffI_f1): Likewise.
66873         (RUN_TEST_c_c): Likewise.
66874         (RUN_TEST_LOOP_c_c): Likewise.
66875         (RUN_TEST_cc_c): Likewise.
66876         (RUN_TEST_LOOP_cc_c): Likewise.
66877         (RUN_TEST_f_i): Likewise.
66878         (RUN_TEST_LOOP_f_i): Likewise.
66879         (RUN_TEST_f_i_tg): Likewise.
66880         (RUN_TEST_LOOP_f_i_tg): Likewise.
66881         (RUN_TEST_ff_i_tg): Likewise.
66882         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66883         (RUN_TEST_f_b): Likewise.
66884         (RUN_TEST_LOOP_f_b): Likewise.
66885         (RUN_TEST_f_b_tg): Likewise.
66886         (RUN_TEST_LOOP_f_b_tg): Likewise.
66887         (RUN_TEST_f_l): Likewise.
66888         (RUN_TEST_LOOP_f_l): Likewise.
66889         (RUN_TEST_f_L): Likewise.
66890         (RUN_TEST_LOOP_f_L): Likewise.
66891         (RUN_TEST_sincos): Likewise.
66892         (RUN_TEST_LOOP_sincos): Likewise.
66894 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66896         [BZ #15480]
66897         [BZ #15485]
66898         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66899         main case of finite arguments, set rounding mode to FE_TONEAREST
66900         and discard exceptions.
66901         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66902         exceptions.
66903         (remainder_tonearest_test_data): New variable.
66904         (remainder_test_tonearest): New function.
66905         (remainder_towardzero_test_data): New variable.
66906         (remainder_test_towardzero): New function.
66907         (remainder_downward_test_data): New variable.
66908         (remainder_test_downward): New function.
66909         (remainder_upward_test_data): New variable.
66910         (remainder_test_upward): New function.
66911         (main): Call the new test functions.
66913         * math/libm-test.inc (struct test_f_f1_data): Remove field
66914         extra_init.
66915         (struct test_fF_f1_data): Likewise.
66916         (struct test_ffI_f1_data): Likewise.
66917         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66918         based on value of EXTRA_EXPECTED.
66919         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66920         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66921         EXTRA_VAR based on value of EXTRA_EXPECTED.
66922         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66923         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66924         EXTRA_VAR based on value of EXTRA_EXPECTED.
66925         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66926         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66927         EXTRA_VAR based on value of EXTRA_EXPECTED.
66928         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66929         * math/gen-libm-test.pl (parse_args): Don't output initializers
66930         for extra output values.
66932         * math/libm-test.inc (check_int): Expect result to be exactly
66933         equal to expected value and do not handle ulps.
66934         (check_long): Likewise.
66935         (check_longlong): Likewise.
66937         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66938         exceptions.
66939         (cimag_test_data): Likewise.
66940         (conj_test_data): Likewise.
66941         (copysign_test_data): Likewise.
66942         (cproj_test_data): Likewise.
66943         (creal_test_data): Likewise.
66944         (fabs_test_data): Likewise.
66945         (fdim_test_data): Likewise.
66946         (finite_test_data): Likewise.
66947         (floor_test_data): Likewise.
66948         (fmax_test_data): Likewise.
66949         (fmin_test_data): Likewise.
66950         (fmod_test_data): Likewise.
66951         (fpclassify_test_data): Likewise.
66952         (frexp_test_data): Likewise.
66953         (ilogb_test_data): Likewise.
66954         (isfinite_test_data): Likewise.
66955         (isgreater_test_data): Likewise.
66956         (isgreaterequal_test_data): Likewise.
66957         (isinf_test_data): Likewise.
66958         (isless_test_data): Likewise.
66959         (islessequal_test_data): Likewise.
66960         (islessgreater_test_data): Likewise.
66961         (isnan_test_data): Likewise.
66962         (isnormal_test_data): Likewise.
66963         (issignaling_test_data): Likewise.
66964         (isunordered_test_data): Likewise.
66965         (ldexp_test_data): Likewise.
66966         (lrint_test_data): Likewise.
66967         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66968         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66969         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66970         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66971         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66972         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66973         test input.
66974         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66975         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66976         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66977         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66978         that test input.
66979         (lrint_downward_test_data): Test for "inexact" exceptions.
66980         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66981         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66982         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66983         test input.
66984         (lrint_upward_test_data): Test for "inexact" exceptions.
66985         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66986         test input.
66987         (llrint_test_data): Test for "inexact" exceptions.
66988         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66989         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66990         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66991         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66992         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66993         (llrint_downward_test_data): Test for "inexact" exceptions.
66994         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66995         (llrint_upward_test_data): Test for "inexact" exceptions.
66996         (logb_test_data): Likewise.
66997         (logb_downward_test_data): Likewise.
66998         (nextafter_test_data): Likewise.
66999         (nexttoward_test_data): Likewise.
67000         (remainder_test_data): Likewise.
67001         (remquo_test_data): Likewise.
67002         (scalbn_test_data): Likewise.
67003         (scalbln_test_data): Likewise.
67004         (signbit_test_data): Likewise.
67005         (sqrt_test_data): Likewise.
67006         (significand_test_data): Likewise.
67008 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67010         [BZ #15424]
67011         * benchtests/bench-modf.c (struct args): Mark arg0 as
67012         volatile.
67013         * scripts/bench.pl: Mark members of struct args as volatile.
67015 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67017         [BZ # 15497]
67018         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
67019         negative infinity on POWER6 or lower.
67020         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
67022 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
67024         [BZ #15442]
67025         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
67026         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
67027         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
67028         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
67029         (_FP_SETQNAN): New macro.
67030         (_FP_SETQNAN_SEMIRAW): Likewise.
67031         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
67032         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
67033         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
67034         (FP_EXTEND): Use _FP_FRAC_SNANP.
67035         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
67036         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
67037         into account.
67038         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67039         New macro.
67040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67041         Likewise.
67043 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67045         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
67046         with DIVIDE_BY_ZERO_EXCEPTION.
67047         (gamma_test_data): Likewise.
67048         (lgamma_test_data): Likewise.
67049         (log_test_data): Likewise.
67050         (log10_test_data): Likewise.
67051         (log2_test_data): Likewise.
67052         (tgamma_test_data): Likewise.
67054         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
67055         (acos_test_tonearest): Likewise.
67056         (acos_test_towardzero): Likewise.
67057         (acos_test_downward): Likewise.
67058         (acos_test_upward): Likewise.
67059         (acosh_test): Likewise.
67060         (asin_test): Likewise.
67061         (asin_test_tonearest): Likewise.
67062         (asin_test_towardzero): Likewise.
67063         (asin_test_downward): Likewise.
67064         (asin_test_upward): Likewise.
67065         (asinh_test): Likewise.
67066         (atan_test): Likewise.
67067         (atanh_test): Likewise.
67068         (atan2_test): Likewise.
67069         (cabs_test): Likewise.
67070         (cacos_test): Likewise.
67071         (cacosh_test): Likewise.
67072         (casin_test): Likewise.
67073         (casinh_test): Likewise.
67074         (catan_test): Likewise.
67075         (catanh_test): Likewise.
67076         (cbrt_test): Likewise.
67077         (ccos_test): Likewise.
67078         (ccosh_test): Likewise.
67079         (cexp_test): Likewise.
67080         (clog_test): Likewise.
67081         (clog10_test): Likewise.
67082         (cos_test): Likewise.
67083         (cos_test_tonearest): Likewise.
67084         (cos_test_towardzero): Likewise.
67085         (cos_test_downward): Likewise.
67086         (cos_test_upward): Likewise.
67087         (cosh_test): Likewise.
67088         (cosh_test_tonearest): Likewise.
67089         (cosh_test_towardzero): Likewise.
67090         (cosh_test_downward): Likewise.
67091         (cosh_test_upward): Likewise.
67092         (cpow_test): Likewise.
67093         (csin_test): Likewise.
67094         (csinh_test): Likewise.
67095         (csqrt_test): Likewise.
67096         (ctan_test): Likewise.
67097         (ctan_test_tonearest): Likewise.
67098         (ctan_test_towardzero): Likewise.
67099         (ctan_test_downward): Likewise.
67100         (ctan_test_upward): Likewise.
67101         (ctanh_test): Likewise.
67102         (ctanh_test_tonearest): Likewise.
67103         (ctanh_test_towardzero): Likewise.
67104         (ctanh_test_downward): Likewise.
67105         (ctanh_test_upward): Likewise.
67106         (erf_test): Likewise.
67107         (erfc_test): Likewise.
67108         (exp_test): Likewise.
67109         (exp_test_tonearest): Likewise.
67110         (exp_test_towardzero): Likewise.
67111         (exp_test_downward): Likewise.
67112         (exp_test_upward): Likewise.
67113         (exp10_test): Likewise.
67114         (exp2_test): Likewise.
67115         (expm1_test): Likewise.
67116         (fmod_test): Likewise.
67117         (gamma_test): Likewise.
67118         (hypot_test): Likewise.
67119         (j0_test): Likewise.
67120         (j1_test): Likewise.
67121         (jn_test): Likewise.
67122         (lgamma_test): Likewise.
67123         (log_test): Likewise.
67124         (log10_test): Likewise.
67125         (log1p_test): Likewise.
67126         (log2_test): Likewise.
67127         (logb_test_downward): Likewise.
67128         (pow_test): Likewise.
67129         (pow_test_tonearest): Likewise.
67130         (pow_test_towardzero): Likewise.
67131         (pow_test_downward): Likewise.
67132         (pow_test_upward): Likewise.
67133         (remainder_test): Likewise.
67134         (remquo_test): Likewise.
67135         (sin_test): Likewise.
67136         (sin_test_tonearest): Likewise.
67137         (sin_test_towardzero): Likewise.
67138         (sin_test_downward): Likewise.
67139         (sin_test_upward): Likewise.
67140         (sincos_test): Likewise.
67141         (sinh_test): Likewise.
67142         (sinh_test_tonearest): Likewise.
67143         (sinh_test_towardzero): Likewise.
67144         (sinh_test_downward): Likewise.
67145         (sinh_test_upward): Likewise.
67146         (sqrt_test): Likewise.
67147         (tan_test): Likewise.
67148         (tan_test_tonearest): Likewise.
67149         (tan_test_towardzero): Likewise.
67150         (tan_test_downward): Likewise.
67151         (tan_test_upward): Likewise.
67152         (tanh_test): Likewise.
67153         (tgamma_test): Likewise.
67154         (y0_test): Likewise.
67155         (y1_test): Likewise.
67156         (yn_test): Likewise.
67158         * math/gen-libm-test.pl (adjust_arg): Remove function.
67159         (special_function): Remove argument $in_func.  Only handle
67160         generating output for tables of tests, not inside functions.
67161         (parse_args): Likewise.
67162         (generate_testfile): Remove variable $in_func.  Update call to
67163         parse_args.
67164         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67165         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67166         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67167         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67168         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67169         (MAX_VALUE_INIT): Rename macro to max_value.
67170         (MIN_VALUE_INIT): Rename macro to min_value.
67171         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67172         (plus_zero): Remove variable.
67173         (minus_zero): Likewise.
67174         (plus_infty): Likewise.
67175         (minus_infty): Likewise.
67176         (qnan_value): Likewise.
67177         (max_value): Likewise.
67178         (min_value): Likewise.
67179         (min_subnorm_value): Likewise.
67181 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67183         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67184         uint64_t or uint32_t usage.
67185         * crypt/sha256-block.c: Likewise.
67186         * crypt/sha256-crypt.c: Likewise.
67187         * crypt/sha256.c: Likewise.
67188         * crypt/sha512-block.c: Likewise.
67189         * crypt/sha512-crypt.c: Likewise.
67190         * crypt/sha512.c: Likewise.
67191         * debug/backtrace-tst.c: Likewise.
67192         * debug/pcprofiledump.c: Likewise.
67193         * elf/cache.c: Likewise.
67194         * elf/dl-cache.c: Likewise.
67195         * elf/dl-misc.c: Likewise.
67196         * elf/dl-profile.c: Likewise.
67197         * elf/dl-support.c: Likewise.
67198         * elf/ldconfig.c: Likewise.
67199         * elf/sprof.c: Likewise.
67200         * iconv/dummy-repertoire.c: Likewise.
67201         * iconv/iconv_charmap.c: Likewise.
67202         * iconv/skeleton.c: Likewise.
67203         * iconvdata/8bit-generic.c: Likewise.
67204         * iconvdata/cp737.h: Likewise.
67205         * iconvdata/cp775.h: Likewise.
67206         * iconvdata/ibm1008.h: Likewise.
67207         * iconvdata/ibm1025.h: Likewise.
67208         * iconvdata/ibm1046.h: Likewise.
67209         * iconvdata/ibm1097.h: Likewise.
67210         * iconvdata/ibm1112.h: Likewise.
67211         * iconvdata/ibm1122.h: Likewise.
67212         * iconvdata/ibm1123.h: Likewise.
67213         * iconvdata/ibm1124.h: Likewise.
67214         * iconvdata/ibm1129.h: Likewise.
67215         * iconvdata/ibm1130.h: Likewise.
67216         * iconvdata/ibm1132.h: Likewise.
67217         * iconvdata/ibm1133.h: Likewise.
67218         * iconvdata/ibm1137.h: Likewise.
67219         * iconvdata/ibm1140.h: Likewise.
67220         * iconvdata/ibm1141.h: Likewise.
67221         * iconvdata/ibm1142.h: Likewise.
67222         * iconvdata/ibm1143.h: Likewise.
67223         * iconvdata/ibm1144.h: Likewise.
67224         * iconvdata/ibm1145.h: Likewise.
67225         * iconvdata/ibm1146.h: Likewise.
67226         * iconvdata/ibm1147.h: Likewise.
67227         * iconvdata/ibm1148.h: Likewise.
67228         * iconvdata/ibm1149.h: Likewise.
67229         * iconvdata/ibm1153.h: Likewise.
67230         * iconvdata/ibm1154.h: Likewise.
67231         * iconvdata/ibm1155.h: Likewise.
67232         * iconvdata/ibm1156.h: Likewise.
67233         * iconvdata/ibm1157.h: Likewise.
67234         * iconvdata/ibm1158.h: Likewise.
67235         * iconvdata/ibm1160.h: Likewise.
67236         * iconvdata/ibm1161.h: Likewise.
67237         * iconvdata/ibm1162.h: Likewise.
67238         * iconvdata/ibm1163.h: Likewise.
67239         * iconvdata/ibm1164.h: Likewise.
67240         * iconvdata/ibm1166.h: Likewise.
67241         * iconvdata/ibm1167.h: Likewise.
67242         * iconvdata/ibm12712.h: Likewise.
67243         * iconvdata/ibm1390.h: Likewise.
67244         * iconvdata/ibm1399.h: Likewise.
67245         * iconvdata/ibm16804.h: Likewise.
67246         * iconvdata/ibm4517.h: Likewise.
67247         * iconvdata/ibm4899.h: Likewise.
67248         * iconvdata/ibm4909.h: Likewise.
67249         * iconvdata/ibm4971.h: Likewise.
67250         * iconvdata/ibm5347.h: Likewise.
67251         * iconvdata/ibm803.h: Likewise.
67252         * iconvdata/ibm856.h: Likewise.
67253         * iconvdata/ibm901.h: Likewise.
67254         * iconvdata/ibm902.h: Likewise.
67255         * iconvdata/ibm9030.h: Likewise.
67256         * iconvdata/ibm9066.h: Likewise.
67257         * iconvdata/ibm921.h: Likewise.
67258         * iconvdata/ibm922.h: Likewise.
67259         * iconvdata/ibm9448.h: Likewise.
67260         * iconvdata/isiri-3342.h: Likewise.
67261         * iconvdata/jis0201.h: Likewise.
67262         * include/link.h: Likewise.
67263         * include/netdb.h: Likewise.
67264         * inet/check_native.c: Likewise.
67265         * inet/check_pf.c: Likewise.
67266         * inet/getipv4sourcefilter.c: Likewise.
67267         * inet/getnameinfo.c: Likewise.
67268         * inet/getsourcefilter.c: Likewise.
67269         * inet/htonl.c: Likewise.
67270         * inet/setipv4sourcefilter.c: Likewise.
67271         * inet/setsourcefilter.c: Likewise.
67272         * inet/test-inet6_opt.c: Likewise.
67273         * inet/tst-network.c: Likewise.
67274         * locale/C-collate.c: Likewise.
67275         * locale/C-ctype.c: Likewise.
67276         * locale/C-time.c: Likewise.
67277         * locale/C-translit.h: Likewise.
67278         * locale/loadarchive.c: Likewise.
67279         * locale/programs/3level.h: Likewise.
67280         * locale/programs/charmap.c: Likewise.
67281         * locale/programs/charmap.h: Likewise.
67282         * locale/programs/ld-address.c: Likewise.
67283         * locale/programs/ld-collate.c: Likewise.
67284         * locale/programs/ld-ctype.c: Likewise.
67285         * locale/programs/ld-identification.c: Likewise.
67286         * locale/programs/ld-measurement.c: Likewise.
67287         * locale/programs/ld-messages.c: Likewise.
67288         * locale/programs/ld-monetary.c: Likewise.
67289         * locale/programs/ld-name.c: Likewise.
67290         * locale/programs/ld-numeric.c: Likewise.
67291         * locale/programs/ld-paper.c: Likewise.
67292         * locale/programs/ld-telephone.c: Likewise.
67293         * locale/programs/ld-time.c: Likewise.
67294         * locale/programs/linereader.c: Likewise.
67295         * locale/programs/locale.c: Likewise.
67296         * locale/programs/locarchive.c: Likewise.
67297         * locale/programs/locfile.h: Likewise.
67298         * locale/programs/repertoire.c: Likewise.
67299         * locale/programs/simple-hash.c: Likewise.
67300         * locale/programs/simple-hash.h: Likewise.
67301         * malloc/memusage.c: Likewise.
67302         * malloc/memusagestat.c: Likewise.
67303         * nis/nis_defaults.c: Likewise.
67304         * nis/nis_hash.c: Likewise.
67305         * nis/nis_print.c: Likewise.
67306         * nis/nis_xdr.c: Likewise.
67307         * nscd/connections.c: Likewise.
67308         * nscd/hstcache.c: Likewise.
67309         * nscd/nscd_gethst_r.c: Likewise.
67310         * nscd/nscd_getserv_r.c: Likewise.
67311         * nscd/nscd_helper.c: Likewise.
67312         * nscd/servicescache.c: Likewise.
67313         * nss/makedb.c: Likewise.
67314         * nss/nss_db/db-XXX.c: Likewise.
67315         * nss/nss_db/db-initgroups.c: Likewise.
67316         * nss/nss_db/db-netgrp.c: Likewise.
67317         * nss/nss_files/files-network.c: Likewise.
67318         * nss/nss_files/files-parse.c: Likewise.
67319         * posix/bug-regex5.c: Likewise.
67320         * posix/fnmatch_loop.c: Likewise.
67321         * posix/regcomp.c: Likewise.
67322         * posix/regexec.c: Likewise.
67323         * posix/tst-rfc3484-2.c: Likewise.
67324         * posix/tst-rfc3484-3.c: Likewise.
67325         * posix/tst-rfc3484.c: Likewise.
67326         * resolv/nss_dns/dns-canon.c: Likewise.
67327         * resolv/nss_dns/dns-network.c: Likewise.
67328         * resolv/res_init.c: Likewise.
67329         * resolv/res_mkquery.c: Likewise.
67330         * resolv/tst-aton.c: Likewise.
67331         * stdlib/cxa_atexit.c: Likewise.
67332         * stdlib/cxa_finalize.c: Likewise.
67333         * stdlib/gen-fpioconst.c: Likewise.
67334         * stdlib/strtol_l.c: Likewise.
67335         * string/tst-endian.c: Likewise.
67336         * sunrpc/auth_des.c: Likewise.
67337         * sunrpc/clnt_udp.c: Likewise.
67338         * sunrpc/rtime.c: Likewise.
67339         * sunrpc/svcauth_des.c: Likewise.
67340         * sunrpc/xdr.c: Likewise.
67341         * sunrpc/xdr_intXX_t.c: Likewise.
67342         * sunrpc/xdr_rec.c: Likewise.
67343         * sysdeps/generic/ldconfig.h: Likewise.
67344         * sysdeps/generic/ldsodefs.h: Likewise.
67345         * sysdeps/generic/memusage.h: Likewise.
67346         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67351         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67352         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67356         * sysdeps/posix/getaddrinfo.c: Likewise.
67357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67359         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67360         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67361         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67362         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67363         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67364         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67365         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67366         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67367         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67368         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67369         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67370         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67371         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67372         * sysdeps/x86_64/dl-tls.h: Likewise.
67373         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67374         * time/alt_digit.c: Likewise.
67375         * time/era.c: Likewise.
67376         * wcsmbs/tst-c16c32-1.c: Likewise.
67378 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67380         * math/libm-test.inc (struct test_sincos_data): New type.
67381         (RUN_TEST_LOOP_sincos): New macro.
67382         (sincos_test_data): New variable.
67383         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67385 2013-05-16  Richard Henderson  <rth@redhat.com>
67387         * math/atest-exp2.c (LIMB64): New macro.
67388         (CONSTSZ): New macro.
67389         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67390         (hexdig): Move ...
67391         (print_mpn_fp): ... to function scope.
67392         (read_mpn_hex): Remove.
67393         (get_log2): Remove.
67394         (exp2_mpn): Use mp_log2.
67395         (main): Use mp_exp1.
67397 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67399         * math/libm-test.inc: Remove comment about not testing "inexact"
67400         exceptions.
67401         (INEXACT_EXCEPTION): New macro.
67402         (NO_INEXACT_EXCEPTION): Likewise.
67403         (INVALID_EXCEPTION_OK): Update value.
67404         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67405         (OVERFLOW_EXCEPTION_OK): Likewise.
67406         (UNDERFLOW_EXCEPTION_OK): Likewise.
67407         (IGNORE_ZERO_INF_SIGN): Likewise.
67408         (ERRNO_UNCHANGED): Likewise.
67409         (ERRNO_EDOM): Likewise.
67410         (ERRNO_ERANGE): Likewise.
67411         (test_exceptions): Handle testing "inexact" exceptions.
67412         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67413         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67414         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67415         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67416         INEXACT_EXCEPTION.
67417         (rint_towardzero_test_data): Likewise.
67418         (rint_downward_test_data): Likewise.
67419         (rint_upward_test_data): Likewise.
67421         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67422         with OVERFLOW_EXCEPTION.
67423         (exp10_test_data): Likewise.
67424         (exp2_test_data): Likewise.
67425         (expm1_test_data): Likewise.
67426         (lgamma_test_data): Likewise.
67427         (pow_test_data): Likewise.
67428         (tgamma_test_data): Likewise.
67429         (yn_test_data): Remove duplicate test of overflow.
67431         * math/libm-test.inc (struct test_cc_c_data): New type.
67432         (RUN_TEST_LOOP_cc_c): New macro.
67433         (cpow_test_data): New variable.
67434         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67436         * math/libm-test.inc (struct test_f_L_data): New type.
67437         (RUN_TEST_LOOP_f_L): New macro.
67438         (llrint_test_data): New variable.
67439         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67440         (llrint_tonearest_test_data): New variable.
67441         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67442         (llrint_towardzero_test_data): New variable.
67443         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67444         (llrint_downward_test_data): New variable.
67445         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67446         (llrint_upward_test_data): New variable.
67447         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67448         (llround_test_data): New variable.
67449         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67451 2013-05-13  Peter Collingbourne  <pcc@google.com>
67453         * math/atest-exp2.c (get_log2): Remove const attribute.
67455 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67457         * math/libm-test.inc (struct test_f_l_data): New type.
67458         (RUN_TEST_LOOP_f_l): New macro.
67459         (lrint_test_data): New variable.
67460         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67461         (lrint_tonearest_test_data): New variable.
67462         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67463         (lrint_towardzero_test_data): New variable.
67464         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67465         (lrint_downward_test_data): New variable.
67466         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67467         (lrint_upward_test_data): New variable.
67468         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67469         (lround_test_data): New variable.
67470         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67472 2013-05-15  Peter Collingbourne  <pcc@google.com>
67474         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67475         (EXTRACT_WORDS64) Use where appropriate.
67476         (INSERT_WORDS64) Likewise.
67478         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67479         constraints with x constraints.
67480         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67482         * malloc/obstack.c (_obstack_compat): Add initializer.
67484 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67487         si_trapno and add si_addr_lsb to _sifields.sigfault.
67488         (si_trapno): Remove macro.
67489         (si_addr_lsb): Define new macro.
67490         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67492 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67494         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67495         instead of TEST_f_l.
67496         (llrint_test_tonearest): Likewise.
67497         (llrint_test_towardzero): Likewise.
67498         (llrint_test_downward): Likewise.
67499         (llrint_test_upward): Likewise.
67500         (llround_test): Likewise.
67502         * math/libm-test.inc (struct test_f_i_data): Add comment.
67503         (RUN_TEST_LOOP_f_b): New macro.
67504         (RUN_TEST_LOOP_f_b_tg): Likewise.
67505         (finite_test_data): New variable.
67506         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67507         (isfinite_test_data): New variable.
67508         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67509         (isinf_test_data): New variable.
67510         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67511         (isnan_test_data): New variable.
67512         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67513         (isnormal_test_data): New variable.
67514         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67515         (issignaling_test_data): New variable.
67516         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67517         (signbit_test_data): New variable.
67518         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67520         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67521         with INVALID_EXCEPTION.
67522         (acosh_test_data): Likewise.
67523         (asin_test_data): Likewise.
67524         (atanh_test_data): Likewise.
67525         (fmod_test_data): Likewise.
67526         (log_test_data): Likewise.
67527         (log10_test_data): Likewise.
67528         (log2_test_data): Likewise.
67529         (pow_test_data): Likewise.
67530         (sqrt_test_data): Likewise.
67531         (y0_test_data): Likewise.
67532         (y1_test_data): Likewise.
67533         (yn_test_data): Likewise.
67535         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67536         function contents.
67538         * math/libm-test.inc (struct test_ff_i_data): New type.
67539         (RUN_TEST_LOOP_ff_i_tg): New macro.
67540         (isgreater_test_data): New variable.
67541         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67542         (isgreaterequal_test_data): New variable.
67543         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67544         (isless_test_data): New variable.
67545         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67546         (islessequal_test_data): New variable.
67547         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67548         (islessgreater_test_data): New variable.
67549         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67550         (isunordered_test_data): New variable.
67551         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67553 2013-05-14  David S. Miller  <davem@davemloft.net>
67555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67557 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67559         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67561         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67562         extra_test to int.
67563         (struct test_f_i_data): Change type of max_ulp to int.
67565         * math/libm-test.inc (test_ffI_f1_data): New type.
67566         (RUN_TEST_LOOP_ffI_f1): New macro.
67567         (remquo_test_data): New variable.
67568         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67570         * setjmp/tst-setjmp-fp.c: New file.
67571         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67572         (link-libm): New variable.
67573         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67575         * math/libm-test.inc (struct test_f_i_data): New type.
67576         (RUN_TEST_LOOP_f_i): New macro.
67577         (RUN_TEST_LOOP_f_i_tg): Likewise.
67578         (fpclassify_test_data): New variable.
67579         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67580         (ilogb_test_data): New variable.
67581         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67583         * math/libm-test.inc (scalbln_test): Correct function name in END
67584         call.
67586         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67587         (RUN_TEST_LOOP_fI_f1): New macro.
67588         (frexp_test_data): New variable.
67589         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67591         * math/libm-test.inc (struct test_fF_f1_data): New type.
67592         (RUN_TEST_LOOP_fF_f1): New macro.
67593         (modf_test_data): New variable.
67594         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67596         * math/libm-test.inc (struct test_f_f1_data): New type.
67597         (RUN_TEST_LOOP_f_f1): New macro.
67598         (gamma_test_data): New variable.
67599         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67600         (lgamma_test_data): New variable.
67601         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67603 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67605         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67606         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67607         (main): Comment "tls" pseudo-hwcap.
67609 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67611         * math/libm-test.inc (struct test_fl_f_data): New type.
67612         (RUN_TEST_LOOP_fl_f): New variable.
67613         (scalbln_test_data): New variable.
67614         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67616         * math/libm-test.inc (struct test_fi_f_data): New type.
67617         (RUN_TEST_LOOP_fi_f): New macro.
67618         (ldexp_test_data): New variable.
67619         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67620         (scalbn_test_data): New variable.
67621         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67623         * math/libm-test.inc (struct test_c_f_data): New type.
67624         (RUN_TEST_LOOP_c_f): New macro.
67625         (cabs_test_data): New variable.
67626         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67627         (carg_test_data): New variable.
67628         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67629         (cimag_test_data): New variable.
67630         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67631         (creal_test_data): New variable.
67632         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67634         * math/libm-test.inc (struct test_if_f_data): New type.
67635         (RUN_TEST_LOOP_if_f): New macro.
67636         (jn_test_data): New variable.
67637         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67638         (yn_test_data): New variable.
67639         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67641         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67643 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67645         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67646         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67648 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67650         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67651         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67652         (bench-deps): Add bench-timing.h.
67653         * benchtests-bench-skeleton.c: Include bench-timing.h.
67654         (main): Use TIMING_* macros instead of clock_gettime.
67655         * benchtests/bench-timing.h: New file.
67657         [BZ #14582]
67658         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67659         Renamed from _LIB_VERSION.
67660         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67662 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67664         * math/libm-test.inc (struct test_fff_f_data): New type.
67665         (RUN_TEST_LOOP_fff_f): New macro.
67666         (fma_test_data): New variable.
67667         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67668         (fma_towardzero_test_data): New variable.
67669         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67670         (fma_downward_test_data): New variable.
67671         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67672         (fma_upward_test_data): New variable.
67673         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67675         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67676         (struct test_c_c_data): New type.
67677         (RUN_TEST_LOOP_c_c): New macro.
67678         (cacos_test_data): New variable.
67679         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67680         (cacosh_test_data): New variable.
67681         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67682         (casin_test_data): New variable.
67683         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67684         (casinh_test_data): New variable.
67685         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67686         (catan_test_data): New variable.
67687         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67688         (catanh_test_data): New variable.
67689         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67690         (ccos_test_data): New variable.
67691         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67692         (ccosh_test_data): New variable.
67693         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67694         (cexp_test_data): New variable.
67695         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67696         (clog_test_data): New variable.
67697         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67698         (clog10_test_data): New variable.
67699         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67700         (conj_test_data): New variable.
67701         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67702         (cproj_test_data): New variable.
67703         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67704         (csin_test_data): New variable.
67705         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67706         (csinh_test_data): New variable.
67707         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67708         (csqrt_test_data): New variable.
67709         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67710         (ctan_test_data): New variable.
67711         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67712         (ctan_tonearest_test_data): New variable.
67713         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67714         (ctan_towardzero_test_data): New variable.
67715         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67716         (ctan_downward_test_data): New variable.
67717         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67718         (ctan_upward_test_data): New variable.
67719         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67720         (ctanh_test_data): New variable.
67721         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67722         (ctanh_tonearest_test_data): New variable.
67723         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67724         (ctanh_towardzero_test_data): New variable.
67725         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67726         (ctanh_downward_test_data): New variable.
67727         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67728         (ctanh_upward_test_data): New variable.
67729         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67730         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67731         of BUILD_COMPLEX.
67733         * math/libm-test.inc (struct test_ff_f_data): New type.
67734         (struct test_ff_f_data_nexttoward): Likewise.
67735         (RUN_TEST_LOOP_2_f): New macro.
67736         (RUN_TEST_LOOP_ff_f): Likewise.
67737         (atan2_test_data): New variable.
67738         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67739         (copysign_test_data): New variable.
67740         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67741         (fdim_test_data): New variable.
67742         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67743         (fmax_test_data): New variable.
67744         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67745         (fmin_test_data): New variable.
67746         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67747         (fmod_test_data): New variable.
67748         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67749         (hypot_test_data): New variable.
67750         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67751         (nextafter_test_data): New variable.
67752         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67753         (nexttoward_test_data): New variable.
67754         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67755         (pow_test_data): New variable.
67756         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67757         (pow_tonearest_test_data): New variable.
67758         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67759         (pow_towardzero_test_data): New variable.
67760         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67761         (pow_downward_test_data): New variable.
67762         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67763         (pow_upward_test_data): New variable.
67764         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67765         (remainder_test_data): New variable.
67766         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67767         (scalb_test_data): New variable.
67768         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67769         * sysdeps/i386/fpu/libm-test-ulps: Update.
67771 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67773         * math/libm-test.inc (fma_test): Use max_value instead of local
67774         variable fltmax.
67775         (nextafter_test): Likewise.
67777         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67778         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67779         (acos_downward_test_data): New variable.
67780         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67781         (acos_upward_test_data): New variable.
67782         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67783         (acosh_test_data): New variable.
67784         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67785         (asin_test_data): New variable.
67786         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67787         (asin_tonearest_test_data): New variable.
67788         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67789         (asin_towardzero_test_data): New variable.
67790         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67791         (asin_downward_test_data): New variable.
67792         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67793         (asin_upward_test_data): New variable.
67794         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67795         (asinh_test_data): New variable.
67796         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67797         (atan_test_data): New variable.
67798         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67799         (atanh_test_data): New variable.
67800         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67801         (cbrt_test_data): New variable.
67802         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67803         (ceil_test_data): New variable.
67804         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67805         (cos_test_data): New variable.
67806         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67807         (cos_tonearest_test_data): New variable.
67808         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67809         (cos_towardzero_test_data): New variable.
67810         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67811         (cos_downward_test_data): New variable.
67812         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67813         (cos_upward_test_data): New variable.
67814         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67815         (cosh_test_data): New variable.
67816         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67817         (cosh_tonearest_test_data): New variable.
67818         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67819         (cosh_towardzero_test_data): New variable.
67820         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67821         (cosh_downward_test_data): New variable.
67822         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67823         (cosh_upward_test_data): New variable.
67824         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67825         (erf_test_data): New variable.
67826         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67827         (erfc_test_data): New variable.
67828         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67829         (exp_test_data): New variable.
67830         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67831         (exp_tonearest_test_data): New variable.
67832         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67833         (exp_towardzero_test_data): New variable.
67834         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67835         (exp_downward_test_data): New variable.
67836         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67837         (exp_upward_test_data): New variable.
67838         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67839         (exp10_test_data): New variable.
67840         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67841         (exp2_test_data): New variable.
67842         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67843         (expm1_test_data): New variable.
67844         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67845         (fabs_test_data): New variable.
67846         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67847         (floor_test_data): New variable.
67848         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67849         (j0_test_data): New variable.
67850         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67851         (j1_test_data): New variable.
67852         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67853         (log_test_data): New variable.
67854         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67855         (log10_test_data): New variable.
67856         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67857         (log1p_test_data): New variable.
67858         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67859         (log2_test_data): New variable.
67860         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67861         (logb_test_data): New variable.
67862         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67863         (logb_downward_test_data): New variable.
67864         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67865         (nearbyint_test_data): New variable.
67866         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67867         (rint_test_data): New variable.
67868         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67869         (rint_tonearest_test_data): New variable.
67870         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67871         (rint_towardzero_test_data): New variable.
67872         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67873         (rint_downward_test_data): New variable.
67874         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67875         (rint_upward_test_data): New variable.
67876         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67877         (round_test_data): New variable.
67878         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67879         (sin_test_data): New variable.
67880         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67881         (sin_tonearest_test_data): New variable.
67882         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67883         (sin_towardzero_test_data): New variable.
67884         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67885         (sin_downward_test_data): New variable.
67886         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67887         (sin_upward_test_data): New variable.
67888         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67889         (sinh_test_data): New variable.
67890         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67891         (sinh_tonearest_test_data): New variable.
67892         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67893         (sinh_towardzero_test_data): New variable.
67894         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67895         (sinh_downward_test_data): New variable.
67896         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67897         (sinh_upward_test_data): New variable.
67898         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67899         (sqrt_test_data): New variable.
67900         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67901         (tan_test_data): New variable.
67902         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67903         (tan_tonearest_test_data): New variable.
67904         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67905         (tan_towardzero_test_data): New variable.
67906         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67907         (tan_downward_test_data): New variable.
67908         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67909         (tan_upward_test_data): New variable.
67910         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67911         (tanh_test_data): New variable.
67912         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67913         (tgamma_test_data): New variable.
67914         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67915         (trunc_test_data): New variable.
67916         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67917         (y0_test_data): New variable.
67918         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67919         (y1_test_data): New variable.
67920         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67921         (significand_test_data): New variable.
67922         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67924 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67926         [BZ #12387]
67927         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67929 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67931         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67933 2013-05-10  Andreas Jaeger  <aj@suse.de>
67935         [BZ #15448]
67936         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67937         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67939 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67941         * math/gen-libm-test.pl (adjust_arg): New function.
67942         (special_functions): Handle generating output in both functions
67943         and arrays.
67944         (parse_args): Likewise.
67945         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67946         $in_func argument to parse_args.
67947         * math/libm-test.inc (struct test_f_f_data): New type.
67948         (IF_ROUND_INIT_): New macro.
67949         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67950         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67951         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67952         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67953         (ROUND_RESTORE_): Likewise.
67954         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67955         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67956         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67957         (ROUND_RESTORE_FE_UPWARD): Likewise.
67958         (RUN_TEST_LOOP_f_f): New macro.
67959         (acos_test_data): New variable.
67960         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67961         (acos_tonearest_test_data): New variable.
67962         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67964 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67966         * benchtests/bench-skeleton.c (startup): Fix coding style.
67968 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67970         [BZ #6809]
67971         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67972         negative infinity argument.
67973         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67974         negative infinity argument.
67975         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67976         negative infinity argument.
67977         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67978         domain errors.
67980 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67982         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67983         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67984         * iconv/iconv_prog.c (main): Likewise.
67985         * locale/programs/charmap-dir.c (charmap_readdir)
67986         (fopen_uncompressed): Likewise.
67987         * locale/programs/locfile.c (siblings_uncached)
67988         (write_locale_data): Use lstat64 instead of lstat.
67989         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67990         stat.
67992 2013-05-10  Andreas Jaeger  <aj@suse.de>
67994         [BZ #15395]
67995         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67996         localization.
67997         Include <locale.h>.
67999 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
68001         * elf/dl-close.c (_dl_close_worker): Add comments.
68003 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
68005         [BZ #15359]
68006         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
68007         high part of pi/2.
68008         (__ieee754_rem_pio2l): Update comments.
68010         [BZ #15429]
68011         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
68012         high part of pi/2.
68013         (__ieee754_rem_pio2l): Update comments.
68015         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
68016         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
68018         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
68019         M_PI_4l.
68021         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
68022         (M_PI_34_LOG10El): Likewise.
68023         (M_PI2_LOG10El): Likewise.
68024         (M_PI4_LOG10El): Likewise.
68025         (M_PI_LOG10El): Likewise.
68027 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68031 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
68033         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
68034         (MINUS_ZERO_INIT): Likewise.
68035         (PLUS_INFTY_INIT): Likewise.
68036         (MINUS_INFTY_INIT): Likewise.
68037         (QNAN_VALUE_INIT): Likewise.
68038         (MAX_VALUE_INIT): Likewise.
68039         (MIN_VALUE_INIT): Likewise.
68040         (MIN_SUBNORM_VALUE_INIT): Likewise.
68041         (plus_zero): Initialize with PLUS_ZERO_INIT.
68042         (minus_zero): Initialize with MINUS_ZERO_INIT.
68043         (plus_infty): Initialize with PLUS_INFTY_INIT.
68044         (minus_infty): Initialize with MINUS_INFTY_INIT.
68045         (qnan_value): Initialize with QNAN_VALUE_INIT.
68046         (max_value): Initialize with MAX_VALUE_INIT.
68047         (min_value): Initialize with MIN_VALUE_INIT.
68048         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
68050         * math/libm-test.inc (RUN_TEST_if_f): New macro.
68051         (jn_test): Use TEST_if_f instead of TEST_ff_f.
68052         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
68053         (yn_test): Use TEST_if_f instead of TEST_ff_f.
68055         * math/libm-test.inc (RUN_TEST_f_f): New macro.
68056         (RUN_TEST_2_f): Likewise.
68057         (RUN_TEST_ff_f): Likewise.
68058         (RUN_TEST_fi_f): Likewise.
68059         (RUN_TEST_fl_f): Likewise.
68060         (RUN_TEST_fff_f): Likewise.
68061         (RUN_TEST_c_f): Likewise.
68062         (RUN_TEST_f_f1): Likewise.
68063         (RUN_TEST_fF_f1): Likewise.
68064         (RUN_TEST_fI_f1): Likewise.
68065         (RUN_TEST_ffI_f1): Likewise.
68066         (RUN_TEST_c_c): Likewise.
68067         (RUN_TEST_cc_c): Likewise.
68068         (RUN_TEST_f_i): Likewise.
68069         (RUN_TEST_f_i_tg): Likewise.
68070         (RUN_TEST_ff_i_tg): Likewise.
68071         (RUN_TEST_f_b): Likewise.
68072         (RUN_TEST_f_b_tg): Likewise.
68073         (RUN_TEST_f_l): Likewise.
68074         (RUN_TEST_f_L): Likewise.
68075         (RUN_TEST_sincos): Likewise.
68076         * math/gen-libm-test.pl (new_test): Take new argument to indicate
68077         whether to show exceptions.  Do not include ");\n" in return
68078         value.
68079         (special_functions): Output call to RUN_TEST_sincos instead of
68080         check_float calls.  Update calls to new_test.
68081         (parse_args): Output call to single RUN_TEST_* macro instead of
68082         check_* calls and other assignments.  Update calls to new_test.
68084         [BZ #2546]
68085         [BZ #2560]
68086         [BZ #5159]
68087         [BZ #15426]
68088         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68089         input to result for tgamma overflow.
68090         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68091         (gamma_coeff): New variable.
68092         (NCOEFF): New macro.
68093         (gamma_positive): New function.
68094         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68095         underflow here.  Use gamma_positive instead of exp (lgamma) for
68096         other arguments.
68097         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68098         (gamma_coeff): New variable.
68099         (NCOEFF): New macro.
68100         (gammaf_positive): New function.
68101         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68102         underflow here.  Use gamma_positive instead of exp (lgamma) for
68103         other arguments.
68104         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68105         (gamma_coeff): New variable.
68106         (NCOEFF): New macro.
68107         (gammal_positive): New function.
68108         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68109         underflow here.  Use gamma_positive instead of exp (lgamma) for
68110         other arguments.
68111         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68112         (gamma_coeff): New variable.
68113         (NCOEFF): New macro.
68114         (gammal_positive): New function.
68115         (__ieee754_gammal_r): Handle positive infinity, overflow and
68116         underflow here.  Handle NaN the same as positive infinity.  Remove
68117         check x < 0xffffffff for negative integers.  Use gamma_positive
68118         instead of exp (lgamma) for other arguments.
68119         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68120         (gamma_coeff): New variable.
68121         (NCOEFF): New macro.
68122         (gammal_positive): New function.
68123         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68124         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68127         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68128         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68129         * sysdeps/generic/math_private.h (__gamma_productf): New
68130         prototype.
68131         (__gamma_product): Likewise.
68132         (__gamma_productl): Likewise.
68133         * math/Makefile (libm-calls): Add gamma_product.
68134         * math/libm-test.inc (tgamma_test): Add more tests.
68135         * sysdeps/i386/fpu/libm-test-ulps: Update.
68136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68138 2013-05-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
68140         * benchtests/bench-skeleton.c (main): Preheat CPU.
68142 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
68144         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68146 2013-05-07  Roland McGrath  <roland@hack.frob.com>
68148         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68149         and _dl_skip_args_internal.
68151 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
68153         * manual/message.texi (Message Translation): Talk about users.
68154         Message to key mapping impacts design.
68156 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68158         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68160         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68162         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68163         * sysdeps/wordsize-64/glob64.c: ... here.
68165         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68166         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68167         New macros.
68169         * debug/getlogin_r_chk.c: Moved to ...
68170         * login/getlogin_r_chk.c: ... here.
68171         * debug/Makefile (routines): Move getlogin_r_chk to ...
68172         * login/Makefile (routines): ... here.
68173         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68174         * login/Versions (libc: GLIBC_2.4): ... here.
68176         * io/poll.c (__poll): Renamed from poll.
68177         Add libc_hidden_def.
68178         (poll): Define as weak alias.
68180         * debug/ptsname_r_chk.c: Moved to ...
68181         * login/ptsname_r_chk.c: ... here.
68182         * debug/Makefile (routines): Move ptsname_r_chk to ...
68183         * login/Makefile (routines): ... here.
68184         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68185         * login/Versions (libc: GLIBC_2.4): ... here.
68187         * posix/getlogin.c: Moved to ...
68188         * login/getlogin.c: ... here.
68189         * posix/getlogin_r.c: Moved to ...
68190         * login/getlogin_r.c: ... here.
68191         * posix/getlogin_r.c: Moved to ...
68192         * login/getlogin_r.c: ... here.
68193         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68194         * login/Makefile (routines): ... here.
68195         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68196         * login/Versions (libc: GLIBC_2.0): ... here.
68198         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68199         (setrlimit): Define as weak alias.
68201         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68202         Call __ names for open, ftruncate, and close.
68203         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68204         (truncate): Define as weak alias.
68206 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68208         * math/gen-libm-test.pl (parse_args): Initialize x before each
68209         test of frexp, modf and remquo.
68211         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68212         test signgam value.
68214 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68216         [BZ #15418]
68217         [BZ #15419]
68218         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68219         internal tests.
68220         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68222 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68224         * elf/dl-writev.h: New file.
68225         * elf/dl-misc.c: Include it.
68226         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68227         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68229 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68231         * math/libm-test.inc (noXFails): Remove variable.
68232         (noXPasses): Likewise.
68233         (BUILD_COMPLEX_INT): Remove macro.
68234         (print_screen): Remove xfail argument.
68235         (print_screen_max_error): Likewise.
68236         (update_stats): Likewise.
68237         (print_max_error): Likewise.  Update calls to other affected
68238         functions.
68239         (print_complex_max_error): Likewise.
68240         (test_single_exception): Update calls to print_screen.
68241         (test_single_errno): Likewise.
68242         (check_float_internal): Remove xfail argument.  Update calls to
68243         other affected functions.
68244         (check_float): Likewise.
68245         (check_complex): Likewise.
68246         (check_int): Likewise.
68247         (check_long): Likewise.
68248         (check_bool): Likewise.
68249         (check_longlong): Likewise.
68250         (main): Don't print noXFails and noXPasses.
68251         * math/gen-libm-test.pl (top level): Don't mention expected
68252         failure handling in comment.
68253         (new_test): Don't handle expected failures.
68254         (parse_args): Don't mention expected failure handling in comment.
68255         (generate_testfile): Don't handle expected failures.
68256         (parse_ulps): Likewise.
68257         (print_ulps_file): Likewise.
68258         (get_failure): Remove function.
68259         (output_test): Don't handle expected failures.
68260         * make/README.libm-test: Don't mention expected failure handling.
68262         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68263         (minus_zero): Likewise.
68264         (plus_infty): Likewise.
68265         (minus_infty): Likewise.
68266         (qnan_value): Likewise.
68267         (max_value): Likewise.
68268         (min_value): Likewise.
68269         (min_subnorm_value): Likewise.
68270         (initialize): Do not initialize those variables dynamically.
68272 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68274         * io/open.c (__open_2): Moved to ...
68275         * io/open_2.c: ... this new file.
68276         * io/open64.c (__open64_2): Moved to ...
68277         * io/open64_2.c: ... this new file.
68278         * io/openat.c (__openat_2): Moved to ...
68279         * io/openat_2.c: ... this new file.
68280         * io/openat64.c (__openat64_2): Moved to ...
68281         * io/openat64_2.c: ... this new file.
68282         * io/Makefile (routines): Add them.
68283         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68284         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68285         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68286         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68287         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68288         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68289         (__openat64): Add hidden_ver.
68290         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68291         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68293         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68294         Separately conditionalize setting of GLRO(dl_sysinfo) so
68295         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68296         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68298 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68300         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68302         definition.
68303         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68304         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68305         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68306         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68307         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68309 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68311         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68312         test signgam value.
68314         * math/libm-test.inc (hypot_test): Do not use
68315         IGNORE_ZERO_INF_SIGN.
68317 2013-05-03  Andreas Jaeger  <aj@suse.de>
68319         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68320         Linux 3.9.
68321         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68322         (PF_MAX): Adjust for VSOCK change.
68324 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68328 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68330         [BZ #15264]
68331         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68332         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68333         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68335 2013-05-02  David S. Miller  <davem@davemloft.net>
68337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68339 2013-05-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
68341         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68343 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68345         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68347 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68349         [BZ #14952]
68350         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68351         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68352         Use __attribute__ ((__gnu_inline__)).
68353         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68354         Don't use __attribute__ ((__gnu_inline__)).
68356 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68358         [BZ #15423]
68359         * math/s_catan.c (__catan): Handle small real or imaginary part of
68360         input specially to avoid spurious underflow.
68361         * math/s_catanf.c (__catanf): Likewise.
68362         * math/s_catanh.c (__catanh): Likewise.
68363         * math/s_catanhf.c (__catanhf): Likewise.
68364         * math/s_catanhl.c (__catanhl): Likewise.
68365         * math/s_catanl.c (__catanl): Likewise.
68366         * math/libm-test.inc (catan_test): Add more tests.
68367         (catanh_test): Likewise.
68368         * sysdeps/i386/fpu/libm-test-ulps: Update.
68369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68371 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68375 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68377         [BZ #15416]
68378         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68379         accurately for denominator in atan2.
68380         * math/s_catanf.c (__catanf): Likewise.
68381         * math/s_catanh.c (__catanh): Likewise.
68382         * math/s_catanhf.c (__catanhf): Likewise.
68383         * math/s_catanhl.c (__catanhl): Likewise.
68384         * math/s_catanl.c (__catanl): Likewise.
68385         * math/libm-test.inc (catan_test): Add more tests.
68386         (catanh_test): Likewise.
68387         * sysdeps/i386/fpu/libm-test-ulps: Update.
68388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68390 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68392         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68394         * benchtests/Makefile (bench): Remove slow benchmarks.
68395         * benchtests/atan-inputs: Add slow benchmark inputs.
68396         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68397         (BENCH_FUNC): Accept variant offset.
68398         (VARIANT): Define.
68399         * benchtests/bench-skeleton.c (main): Run benchmark for each
68400         variant.
68401         * benchtests/cos-inputs: Add slow benchmark inputs.
68402         * benchtests/exp-inputs: Likewise.
68403         * benchtests/pow-inputs: Likewise.
68404         * benchtests/sin-inputs: Likewise.
68405         * benchtests/slowatan-inputs: Remove.
68406         * benchtests/slowatan.c: Remove.
68407         * benchtests/slowcos-inputs: Remove.
68408         * benchtests/slowcos.c: Remove.
68409         * benchtests/slowexp-inputs: Remove.
68410         * benchtests/slowexp.c: Remove.
68411         * benchtests/slowpow-inputs: Remove.
68412         * benchtests/slowpow.c: Remove.
68413         * benchtests/slowsin-inputs: Remove.
68414         * benchtests/slowsin.c: Remove.
68415         * benchtests/slowtan-inputs: Remove.
68416         * benchtests/slowtan.c: Remove.
68417         * benchtests/tan-inputs: Add slow benchmark inputs.
68418         * scripts/bench.pl: Parse comments and directives.
68420         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68421         in CPPFLAGS.
68422         ($(objpfx)bench-%.c): Remove *-ITER.
68423         * benchtests/bench-modf.c: Remove definition of ITER.
68424         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68425         (main): Loop for DURATION seconds instead of fixed number of
68426         iterations.
68427         * scripts/bench.pl: Don't expect iterations in parameters.
68429 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68431         * io/fchdir.c (__fchdir): Renamed from fchdir.
68432         (fchdir): Define as weak alias.
68434 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68436         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68437         (ERRNO_EDOM): Likewise.
68438         (ERRNO_ERANGE): Likewise.
68439         (noErrnoTests): New variable.
68440         (init_max_error): Set errno to 0.
68441         (test_single_errno): New function.
68442         (test_errno): Likewise.
68443         (check_float_internal): Call test_errno.  Set errno to 0.
68444         (check_complex): Refer to errno tests in comment.
68445         (check_int): Call test_errno.  Set errno to 0.
68446         (check_long): Likewise.
68447         (check_bool): Likewise.
68448         (check_longlong): Likewise.
68449         (cos_test): Use ERRNO_* flags for errno tests instead of
68450         check_int.
68451         (expm1_test): Likewise.
68452         (fmod_test): Likewise.
68453         (ilogb_test): Likewise.
68454         (lgamma_test): Likewise.
68455         (pow_test): Likewise.
68456         (remainder_test): Likewise.
68457         (sin_test): Likewise.
68458         (tan_test): Likewise.
68459         (yn_test): Likewise.
68460         (initialize): Set errno to 0.
68461         (main): Print number of errno tests.
68462         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68464 2013-04-29  Andreas Jaeger  <aj@suse.de>
68466         [BZ #15084]
68467         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68468         and RES_USEVC.
68470         [BZ #15085]
68471         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68472         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68473         unimplemented.
68475         [BZ #15380]
68476         * stdlib/random.c (__initstate): Return NULL if
68477         __initstate fails.
68479         [BZ #15086]
68480         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68481         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68482         RES_SNGLKUPREOP.
68484 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68488 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68490         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68491         of individual tests.
68492         (casin_test): Likewise.
68493         (casinh_test): Likewise.
68495 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68497         [BZ #15409]
68498         * math/s_catan.c (__catan): Handle arguments with large real or
68499         imaginary part separately without squaring.
68500         * math/s_catanf.c (__catanf): Likewise.
68501         * math/s_catanh.c (__catanh): Likewise.
68502         * math/s_catanhf.c (__catanhf): Likewise.
68503         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68504         and redefine.
68505         (__catanhl): Handle arguments with large real or imaginary part
68506         separately without squaring.
68507         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68508         and redefine.
68509         (__catanl): Handle arguments with large real or imaginary part
68510         separately without squaring.
68511         * math/libm-test.inc (catan_test): Add more tests.
68512         (catanh_test): Likewise.
68513         * sysdeps/i386/fpu/libm-test-ulps: Update.
68514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68516 2013-04-27  Andreas Jaeger  <aj@suse.de>
68518         [BZ #15007]
68519         * stdlib/stdlib.h: Update guards for qecvt.
68520         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68521         <stdlib.h>.
68523 2013-04-27  Allan McRae  <allan@archlinux.org>
68525         * sysdeps/i386/fpu/libm-test-ulps: Update.
68527 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68529         [BZ #15406]
68530         * math/s_catan.c: Include <float.h>.
68531         (__catan): Ensure underflow exception occurs for underflowed
68532         result.
68533         * math/s_catanf.c: Include <float.h>.
68534         (__catanf): Ensure underflow exception occurs for underflowed
68535         result.
68536         * math/s_catanh.c: Include <float.h>.
68537         (__catanh): Ensure underflow exception occurs for underflowed
68538         result.
68539         * math/s_catanhf.c: Include <float.h>.
68540         (__catanhf): Ensure underflow exception occurs for underflowed
68541         result.
68542         * math/s_catanhl.c: Include <float.h>.
68543         (__catanhl): Ensure underflow exception occurs for underflowed
68544         result.
68545         * math/s_catanl.c: Include <float.h>.
68546         (__catanl): Ensure underflow exception occurs for underflowed
68547         result.
68548         * math/libm-test.inc (catan_test): Add more tests.
68549         (catanh_test): Likewise.
68551         [BZ #15405]
68552         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68553         underflowed result.
68554         * math/s_ccoshf.c (__ccoshf): Likewise.
68555         * math/s_ccoshl.c (__ccoshl): Likewise.
68556         * math/s_csin.c (__csin): Likewise.
68557         * math/s_csinf.c (__csinf): Likewise.
68558         * math/s_csinh.c (__csinh): Likewise.
68559         * math/s_csinhf.c (__csinhf): Likewise.
68560         * math/s_csinhl.c (__csinhl): Likewise.
68561         * math/s_csinl.c (__csinl): Likewise.
68562         * math/libm-test.inc (ccos_test): Add more tests.
68563         (ccosh_test): Likewise.
68564         (csin_test): Likewise.
68565         (csinh_test): Likewise.
68567 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68569         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68570         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68571         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68572         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68573         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68574         powerpc/power5+/fpu folders.
68575         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68578 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68582 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68584         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68585         additions to variable.
68586         [$(config-machine) = x86_64] (modules-names): Likewise.
68587         ($(objpfx)tst-audit3): Remove dependency.
68588         ($(objpfx)tst-audit3.out): Likewise.
68589         ($(objpfx)tst-audit4): Likewise.
68590         ($(objpfx)tst-audit4.out): Likewise.
68591         ($(objpfx)tst-audit5): Likewise.
68592         ($(objpfx)tst-audit5.out): Likewise.
68593         ($(objpfx)tst-audit6): Likewise.
68594         ($(objpfx)tst-audit6.out): Likewise.
68595         ($(objpfx)tst-audit7): Likewise.
68596         ($(objpfx)tst-audit7.out): Likewise.
68597         (tst-audit3-ENV): Remove variable.
68598         (tst-audit4-ENV): Likewise.
68599         (tst-audit5-ENV): Likewise.
68600         (tst-audit6-ENV): Likewise.
68601         (tst-audit7-ENV): Likewise.
68602         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68603         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68604         addition to variable.
68605         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68606         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68607         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68609         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68610         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68611         tst-audit3, tst-audit4 and tst-audit5.
68612         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68613         tst-audit6 and tst-audit7.
68614         [$(subdir) = elf] (modules-names): Add audit modules for those
68615         tests.
68616         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68617         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68618         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68619         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68620         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68621         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68622         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68623         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68624         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68625         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68626         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68627         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68628         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68629         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68630         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68631         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68632         Likewise.
68633         [$(subdir) = elf && $(config-cflags-avx) = yes]
68634         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68635         [$(subdir) = elf && $(config-cflags-avx) = yes]
68636         (CFLAGS-tst-auditmod4a.c): Likewise.
68637         [$(subdir) = elf && $(config-cflags-avx) = yes]
68638         (CFLAGS-tst-auditmod4b.c): Likewise.
68639         [$(subdir) = elf && $(config-cflags-avx) = yes]
68640         (CFLAGS-tst-auditmod6b.c): Likewise.
68641         [$(subdir) = elf && $(config-cflags-avx) = yes]
68642         (CFLAGS-tst-auditmod6c.c): Likewise.
68643         [$(subdir) = elf && $(config-cflags-avx) = yes]
68644         (CFLAGS-tst-auditmod7b.c): Likewise.
68645         * elf/tst-audit3.c: Move to ...
68646         * sysdeps/x86_64/tst-audit3.c: ... here.
68647         * elf/tst-audit4.c: Move to ...
68648         * sysdeps/x86_64/tst-audit4.c: ... here.
68649         * elf/tst-audit5.c: Move to ...
68650         * sysdeps/x86_64/tst-audit5.c: ... here.
68651         * elf/tst-audit6.c: Move to ...
68652         * sysdeps/x86_64/tst-audit6.c: ... here.
68653         * elf/tst-audit7.c: Move to ...
68654         * sysdeps/x86_64/tst-audit7.c: ... here.
68655         * elf/tst-auditmod3a.c: Move to ...
68656         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68657         * elf/tst-auditmod3b.c: Move to ...
68658         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68659         * elf/tst-auditmod4a.c: Move to ...
68660         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68661         * elf/tst-auditmod4b.c: Move to ...
68662         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68663         * elf/tst-auditmod5a.c: Move to ...
68664         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68665         * elf/tst-auditmod5b.c: Move to ...
68666         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68667         * elf/tst-auditmod6a.c: Move to ...
68668         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68669         * elf/tst-auditmod6b.c: Move to ...
68670         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68671         * elf/tst-auditmod6c.c: Move to ...
68672         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68673         * elf/tst-auditmod7a.c: Move to ...
68674         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68675         * elf/tst-auditmod7b.c: Move to ...
68676         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68678 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68680         [BZ #15366]
68681         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68682         define unconditionally.
68683         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68684         define unconditionally.
68685         (INT8_C, INT16_C, etc.): Likewise.
68687 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68689         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68690         __ehdr_start with hidden visibility.
68692         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68694 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68696         * math/libm-test.inc (cos_test): Use accurate hex constants.
68697         (sincost_test): Likewise.
68699 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68701         * math/libm-test.inc (catan_test): Add more tests.
68702         (catanh_test): Likewise.
68704         * math/s_catanf.c (__catanf): Use suffixed floating-point
68705         constants.
68706         * math/s_catanhf.c (__catanhf): Likewise.
68707         * math/s_catanhl.c (__catanhl): Likewise.
68708         * math/s_catanl.c (__catanl): Likewise.
68710         [BZ #15394]
68711         * math/s_catan.c (__catan): Calculate imaginary part of result
68712         with log1p not log unless computing log of number close to 0.
68713         * math/s_catanf.c (__catanf): Likewise.
68714         * math/s_catanl.c (__catanl): Likewise.
68715         * math/s_catanh.c (__catanh): Calculate real part of result with
68716         log1p not log unless computing log of number close to 0.
68717         * math/s_catanhf.c (__catanhf): Likewise.
68718         * math/s_catanhl.c (__catanhl): Likewise.
68719         * math/libm-test.inc (catan_test): Add more tests.
68720         (catanh_test): Likewise.
68721         * sysdeps/i386/fpu/libm-test-ulps: Update.
68722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68724 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68726         * benchtests/Makefile: Mention files in which fast and slow
68727         paths of math functions are implemented.
68729 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68731         * sysdeps/posix/timespec_get.c: New file.
68733 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68735         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68736         POWER.
68737         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68738         for POWER.
68739         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68740         powerpc/power5/fpu folders.
68741         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68742         * benchtests/Makefile: Add modf testcase.
68743         * benchtests/bench-modf.c: New file: Benchmark test for mo
68745 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68747         [BZ #14888]
68748         * time/Makefile (tests): Add tst-strptime-whitespace.
68749         * time/strptime_l.c (get_number): Use ISSPACE.
68750         (__strptime_internal): Likewise.
68751         * time/tst-strptime-whitespace.c: New test case.
68753 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68755         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68756         member.
68757         (_nss_files_init): Set it here.
68759 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68761         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68762         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68763         unsigned.
68765 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68767         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68769 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68772         size just once.
68774 2013-04-21  David S. Miller  <davem@davemloft.net>
68776         * po/ru.po: Update Russion translation from translation project.
68778 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68780         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68781         and setfsgid.
68783 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68785         * configure.in: Remove i386 configure warning. Remove i386 case.
68786         * configure: Regenerate.
68787         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68788         Add example to error message.
68789         * sysdeps/i386/configure: Regenerate.
68791 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68793         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68794         slowtan.
68795         * benchtests/cos-inputs: New file.
68796         * benchtests/slowcos-inputs: New file.
68797         * benchtests/slowcos.c: New file.
68798         * benchtests/slowtan-inputs: New file.
68799         * benchtests/slowtan.c: New file.
68800         * benchtests/tan-inputs: New file.
68802 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68804         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68805         considered kosher.
68807 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68809         * benchtests/Makefile: Include cppflags-iterator.mk to add
68810         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68812         * Makefile.in (bench-clean): New target.
68813         * benchtests/Makefile (bench-clean): Likewise.
68815 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68817         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68819 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68821         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68823 2013-04-15  Andreas Schwab  <schwab@suse.de>
68825         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68827         * nscd/pwdcache.c (cache_addpw): Likewise.
68828         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68829         more than recsize.
68831 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68833         * benchtests/Makefile (bench): Write all output to
68834         bench-out.tmp together.
68836 2013-04-15  Andreas Schwab  <schwab@suse.de>
68838         * nscd/nscd.c (main): Don't fork again after closing files.
68840 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68842         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68844         * benchtests/Rules (bench-deps): Collect dependencies into a
68845         single variable.  Add Makefile to dependencies.
68846         ($(objpfx)bench-%.c): Depend on bench-deps.
68848 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68849             Xavier Roche  <roche+kml2@exalead.com>
68851         [BZ #15361]
68852         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68853         just that it's a file descriptor.
68854         * manual/llio.texi (Synchronizing AIO Operations): Update description
68855         for EBADF error from aio_fsync.
68857 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68859         * Rules (bench): Move target definition...
68860         * benchtests/Makefile: ... here.
68862 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68864         * math/libm-test.inc (cos_test): Fix PI/2 test.
68865         (sincos_test): Likewise.
68866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68867         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68869 2013-04-11  Andreas Schwab  <schwab@suse.de>
68871         [BZ #13988]
68872         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68873         accept exponent character only when digits were seen.
68874         * stdio-common/Makefile (tests): Add bug26.
68875         * stdio-common/bug26.c: New file.
68877         [BZ #14293]
68878         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68879         non-freeable.
68881 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68883         * Makeconfig (rtld-prefix): Define built linker prefix.
68884         * Rules (run-bench): Use it.
68885         * math/Makefile (run-regen-ulps): Likewise.
68887         * Rules (bench): Remove eval.
68889 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68890             Roland McGrath  <roland@hack.frob.com>
68891             Ondrej Bilka  <neleai@seznam.cz>
68893         [BZ #15346]
68894         * time/getdate.c: Include ctype.h and alloca.h.
68895         (__getdate_r): Trim leading and trailing spaces of input.
68896         * time/tst-getdate.c (tests): Add tests with leading and
68897         trailing spaces.
68899 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68901         [BZ #14280]
68902         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68903         when computing value.
68905 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68907         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68908         Use testrun.sh to run libm tests.
68910         [BZ #15309]
68911         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68913 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68915         [BZ #15264]
68916         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68918 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68920         * Makefile.in (regen-ulps): New target.
68921         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68922         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68923         [ifneq (no,$(PERL)] (regen-ulps): New target.
68924         [ifeq (no,$(PERL)] (regen-ulps): New target.
68925         * math/libm-test.inc (ulps_file_name): Define.
68926         (output_dir): New variable.
68927         (options): Add "output-dir" option.
68928         (parse_opt): Handle 'o' case.
68929         (main): If output_dir is non-NULL use it as a prefix
68930         otherwise use "".
68931         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68933 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68935         [BZ #10060, #10062]
68936         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68937         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68938         fail configure if __sync_val_compare_and_swap is not inlined.
68939         * sysdeps/i386/configure: Regenerate.
68940         * configure.in: Build for i686 when configured for i386.
68941         * configure: Regenerate.
68942         * README: Remove i386 reference.
68944 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68946         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68947         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68949 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68951         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68952         (lmsnanval): New variables.
68953         (F): Add conversion tests.
68954         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68955         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68957         * stdio-common/tstdiomisc.c (F): Properly collect individual
68958         tests' results.
68960         [BZ #14686, #15336]
68961         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68962         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68963         Instead, use input NaN values or generate a qNaN by arithmetic
68964         operation.  Also fix bugs to comply with the standard.
68965         * math/libm-test.inc (remainder_test): Add more tests.
68967         [BZ #15335, #15342]
68968         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68969         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68970         input NaN values or generate a qNaN by arithmetic operation.
68972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68973         unreachable code.
68975         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68976         definitions.
68978 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68980         [BZ #14478]
68981         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68982         underflowed result.
68983         * math/s_cexpf.c (__cexpf): Likewise.
68984         * math/s_cexpl.c (__cexpl): Likewise.
68985         * math/libm-test.inc (cexp_test): Add more tests.
68987 2013-04-03  Andreas Schwab  <schwab@suse.de>
68989         [BZ #15330]
68990         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68991         order arrays from heap if bigger than alloca cutoff.
68993 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68995         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68996         (SNAN_TESTS_double): Refer to GCC PR56831.
68997         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68998         GCC PR56828.
69000 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
69002         * Rules (bench): Move bench.out after the run is complete.
69004         * Rules (bench): Echo currently running benchmark.
69006         * benchtests/Makefile (bench): Add atan and slowatan.
69007         * benchtests/atan-inputs: New file.
69008         * benchtests/slowatan-inputs: New file.
69009         * benchtests/slowatan.c: New file.
69011         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
69013         its value.
69015         [BZ #15305]
69016         * sysdeps/unix/sysv/linux/kernel-features.h
69017         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
69018         __ASSUME_XFS_RESTRICTED_CHOWN.
69019         * sysdeps/unix/sysv/linux/pathconf.c
69020         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
69021         Save and restore errno.
69023 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
69025         [BZ #15327]
69026         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
69027         arguments using __kernel_casinh.
69028         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
69029         arguments using __kernel_casinhf.
69030         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
69031         arguments using __kernel_casinhl.
69032         * math/libm-test.inc (cacosh_test): Add more tests.
69033         * sysdeps/i386/fpu/libm-test-ulps: Update.
69034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69036 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69038         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
69039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69041         * bench/Makefile (bench): Add sin and slowsin.
69042         * benchtests/sin-inputs: New file.
69043         * benchtests/slowsin-inputs: New file.
69044         * benchtests/slowsin.c: New file.
69046         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
69047         (bench): Add slowexp and slowpow.
69048         (exp-ITER): Increase iterations.
69049         (pow-ITER): Likewise.
69050         * benchtests/exp-inputs: Change input.
69051         * benchtests/pow-inputs: Likewise.
69052         * benchtests/slowexp-inputs: New file.
69053         * benchtests/slowexp.c: New file.
69054         * benchtests/slowpow-inputs: New file.
69055         * benchtests/slowpow.c: New file.
69057 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69059         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
69060         instructions.
69061         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69062         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69063         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69064         * benchtests/Makefile: Add rint benchtest.
69065         * benchtests/rint-inputs: Input for rint benchtest.
69067 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69069         * Versions.def (libm): Add GLIBC_2.18.
69070         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69071         hidden libm prototypes.
69072         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69073         * math/Makefile (libm-calls): Add s_issignaling.
69074         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69075         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
69076         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69077         declaration.
69078         * math/math.h [__USE_GNU] (issignaling): New macro.
69079         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69080         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69081         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69082         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69083         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69084         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69085         * manual/arith.texi (issignaling): New section.
69086         * manual/libm-err-tab.pl (@all_functions): Update comment.
69087         * math/gen-libm-test.pl (parse_args): Apply special handling for
69088         issignaling.
69089         * math/libm-test.inc (print_float, issignaling_test): New
69090         functions.
69091         (check_float_internal): Add issignaling checks.
69092         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69093         default definition.
69094         * sysdeps/powerpc/math-tests.h: New file.
69095         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69096         tests.
69097         * math/test-snan.c (TEST_FUNC): Likewise.
69099 2013-03-30  David S. Miller  <davem@davemloft.net>
69101         * po/de.po: Update from translation team.
69103 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
69105         [BZ #10357]
69106         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69107         imaginary part less than 1.0 and real part less than 0.5
69108         specially.
69109         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69110         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69111         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69112         (cacos_test): Add more tests.
69113         (casin_test): Likewise.
69114         (casinh_test): Likewise.
69115         * sysdeps/i386/fpu/libm-test-ulps: Update.
69116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69118 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69120         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69121         ONE with its value.
69123         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69124         (__pow_mp): Replace ONE and MONE with their values.
69125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69127         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69128         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69129         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69130         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69132         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69134         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69135         (__pow_mp): Replace ZERO and MZERO with their values.
69136         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69138         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69140         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69141         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69142         (__sqr): Likewise.
69144         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69146         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69148 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69150         * include/stdlib.h [!SHARED] (__call_tls_dtors):
69151         Declare with __attribute__ ((weak)).
69152         * stdlib/exit.c (__libc_atexit) [!SHARED]:
69153         Call __call_tls_dtors only if it's not NULL.
69155 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69157         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69158         didn't do it already, then set _dl_phdr and _dl_phnum based on the
69159         magic __ehdr_start linker symbol if it's defined.
69160         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69161         them up here if it was already done.
69163         * elf/dl-support.c (_dl_phdr): Make pointer to const.
69164         (_dl_aux_init): Use const in cast when setting it.
69165         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69166         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69167         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69169         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69170         Declare them here.
69171         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69172         * csu/libc-tls.c: Nor here.
69173         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69175         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69176         (__libc_message): Never call vsyslog.
69178 2013-03-28  Alan Modra  <amodra@gmail.com>
69180         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69181         Define as empty.
69182         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69183         Likewise.
69185 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69187         [BZ #15214]
69188         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69189         underflow.
69190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69192 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69194         [BZ #15304]
69195         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69196         Don't add gid passed as argument.
69198         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69200 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69202         [BZ #15307]
69203         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69204         imaginary part between 1.0 and 1.5 and real part less than 0.5
69205         specially.
69206         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69207         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69208         * math/libm-test.inc (cacos_test): Add more tests.
69209         (casin_test): Likewise.
69210         (casinh_test): Likewise.
69211         * sysdeps/i386/fpu/libm-test-ulps: Update.
69212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69214 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69216         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69217         constants.
69218         (norm): Likewise.
69219         (denorm): Likewise.
69220         (__dbl_mp): Likewise.
69221         (add_magnitudes): Likewise.
69222         (sub_magnitudes): Likewise.
69223         (__add): Likewise.
69224         (__sub): Likewise.
69225         (__mul): Likewise.
69226         (__sqr): Likewise.
69227         (__inv): Likewise.
69228         (__dvd): Likewise.
69230         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69231         commented code.
69232         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69233         (__dubcos): Likewise.
69234         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69235         (__ieee754_acos): Likewise.
69236         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69237         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69238         (__exp1): Likewise.
69239         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69241         (log1): Likewise.
69242         (my_log2): Likewise.
69243         (checkint): Likewise.
69244         * sysdeps/ieee754/dbl-64/e_remainder.c
69245         (__ieee754_remainder): Likewise.
69246         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69247         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69248         (bsloww): Likewise.
69249         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69251         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69253         MANTISSA_STORE_T to store computations on mantissa.  Use
69254         macros for rounding and division.
69255         (denorm): Likewise.
69256         (__dbl_mp): Likewise.
69257         (add_magnitudes): Likewise.
69258         (sub_magnitudes): Likewise.
69259         (__mul): Likewise.
69260         (__sqr): Likewise.
69261         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69262         powers of two in terms of TWOPOW macro.
69263         (mp_no): Make type of mantissa as MANTISSA_T.
69264         [!RADIXI]: Define RADIXI.
69265         [!TWO52]: Define TWO52.
69266         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69268 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69270         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69271         llroundl symbol when building for PPC32.
69273 2013-03-24  Mark H Weaver  <mhw@netris.org>
69275         * manual/arith.texi (Normalization Functions): Fix prototypes for
69276         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69278 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69280         [BZ #13889]
69281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69282         high value to check if expl overflow.
69283         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69284         to check for underflow and overflow.
69285         * math/libm-test.inc: Add exp test.
69287 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69289         [BZ #11120]
69290         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69291         with NOT_IN_libc.
69293 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69295         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69296         symbol.
69298 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69300         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69301         wrap blocks consisting of several statements.
69303         * sysdeps/generic/math-tests.h: New file.
69304         * sysdeps/i386/fpu/math-tests.h: Likewise.
69305         * math/test-snan.c: Include it.
69306         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69308 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69310         [BZ #15285]
69311         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69312         (__ieee754_j0l): Do not improve calculations using cos of twice
69313         input for inputs above LDBL_MAX / 2.0L.
69314         (__ieee754_y0l): Likewise.
69315         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69316         (__ieee754_j1l): Do not improve calculations using cos of twice
69317         input for inputs above LDBL_MAX / 2.0L.
69318         (__ieee754_y1l): Likewise.
69319         * math/libm-test.inc (j0_test): Add another test.
69320         (j1_test): Likewise.
69321         (y0_test): Likewise.
69322         (y1_test): Likewise.
69323         * sysdeps/i386/fpu/libm-test-ulps: Update.
69325 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69327         * Rules ($(objpfx)bench-%.c): Include code from a C source
69328         file.
69330 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69332         [BZ #15287]
69333         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69334         imaginary part 1.0 and real part less than 0.5 specially.
69335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69337         * math/libm-test.inc (cacos_test): Add more tests.
69338         (casin_test): Likewise.
69339         (casinh_test): Likewise.
69340         * sysdeps/i386/fpu/libm-test-ulps: Update.
69341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69343 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69345         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69346         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69348 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69350         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69351         * config.make.in (config-cflags-sse4): Remove variable.
69352         (config-cflags-avx): Likewise.
69353         (config-cflags-sse2avx): Likewise.
69354         (config-cflags-novzeroupper): Likewise.
69355         (config-asflags-i686): Likewise.
69356         (have-mfma4): Likewise.
69357         (have-as-vis3): Likewise.
69358         (MIG): Likewise.
69359         * configure.in (MIG): Do not AC_SUBST.
69360         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69361         (libc_cv_cc_sse4): Do not AC_SUBST.
69362         (libc_cv_cc_avx): Likewise.
69363         (libc_cv_cc_sse2avx): Likewise.
69364         (libc_cv_cc_novzeroupper): Likewise.
69365         (libc_cv_cc_fma4): Likewise.
69366         (libc_cv_as_i686): Likewise.
69367         (libc_cv_sparc_as_vis3): Likewise.
69368         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69369         LIBC_CONFIG_VAR.
69370         (config-asflags-i686): Likewise.
69371         (config-cflags-avx): Likewise.
69372         (config-cflags-sse2avx): Likewise.
69373         (have-mfma4): Likewise.
69374         (config-cflags-novzeroupper): Likewise.
69375         * sysdeps/mach/configure.in (MIG): Likewise.
69376         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69377         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69378         LIBC_CONFIG_VAR.
69379         (config-cflags-avx): Likewise.
69380         (config-cflags-sse2avx): Likewise.
69381         (have-mfma4): Likewise.
69382         (config-cflags-novzeroupper): Likewise.
69383         * configure: Regenerated.
69384         * sysdeps/i386/configure: Likewise.
69385         * sysdeps/mach/configure: Likewise.
69386         * sysdeps/sparc/configure: Likewise.
69387         * sysdeps/x86_64/configure: Likewise.
69389 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69391         [BZ #14812]
69392         * locale/programs/localedef.c (options): Put N_ translation marker
69393         on argument names, not just descriptions.
69395 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69397         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69399 2013-03-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
69401         [BZ #14176]
69402         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69404 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69406         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69407         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69408         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69409         [!BEFORE_ABORT] (before_abort): New function.
69410         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69411         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69412         (writev_for_fatal): New function.
69413         (WRITEV_FOR_FATAL): New macro; call that.
69414         (backtrace_and_maps): New function.
69415         (BEFORE_ABORT): New macro; call that.
69416         (struct str_list): Type removed.
69417         (__libc_message, __libc_fatal): Functions removed.
69418         Include <sysdeps/posix/libc_fatal.c> instead.
69420 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69422         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69423         constants.
69424         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69425         double constants.
69427 2013-03-19  Andreas Schwab  <schwab@suse.de>
69429         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69430         * sysdeps/gnu/configure: Regenerate.
69432         * configure.in: Substitute libc_cv_rtlddir.
69433         * configure: Regenerate.
69434         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69435         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69436         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69437         * elf/Makefile (install-others, CFLAGS-interp.c)
69438         (ldso_install, common-ldd-rewrite): Likewise.
69439         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69440         $(inst_slibdir)/$(rtld-installed-name).
69441         * scripts/rellns-sh: Add -p option.
69442         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69443         for source.
69445 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69447         * manual/nptl.texi: Renamed to ...
69448         * manual/threads.texi: ... this.
69449         * manual/Makefile (chapters): Update.
69451 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69453         [BZ #14812]
69454         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69455         on argument names, not just descriptions.
69456         * malloc/memusagestat.c (options): Likewise.
69457         * nss/getent.c (options): Likewise.
69459 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69461         [BZ #14812]
69462         * iconv/iconv_prog.c (options): Put N_ translation marker
69463         on argument names, not just descriptions.
69464         * iconv/iconvconfig.c (options): Likewise.
69466 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69468         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69469         implementation which is faster on all x86_64 architectures.
69470         Tested on AMD, Intel Nehalem, SNB, IVB.
69471         * sysdeps/x86_64/strnlen.S: Likewise.
69473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69474         Remove all multiarch strlen and strnlen versions.
69475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69476         Remove strlen and strnlen related parts.
69478         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69479         Inline strlen part.
69480         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69482         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69483         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69484         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69485         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69486         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69487         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69489 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69491         * manual/memory.texi (Malloc Tunable Parameters):
69492         Sort parameters alphabetically. Add comments for missing entries.
69494 2013-03-17  David S. Miller  <davem@davemloft.net>
69496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69498 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69500         [BZ #15283]
69501         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69502         for arguments at most half maximum finite value.
69503         * math/libm-test.inc (j0_test): Add more tests.
69504         (j1_test): Likewise.
69505         (y0_test): Likewise.
69506         (y1_test): Likewise.
69507         * sysdeps/i386/fpu/libm-test-ulps: Update.
69508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69510         [BZ #14155]
69511         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69512         1 / x and functions P and Q for arguments above 0x1p256L.
69513         (__ieee754_y0l): Likewise.
69514         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69515         (__ieee754_y1l): Likewise.
69516         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69517         (j1_test): Likewise.
69518         (y0_test): Likewise.
69519         (y1_test): Likewise.
69521 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69523         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69524         variable.
69526 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69528         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69529         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69530         zero since it's initialized to EXEC_PAGESIZE.
69532         * sysdeps/unix/sysv/linux/ldsodefs.h
69533         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69534         * sysdeps/generic/ldsodefs.h: ... here.
69536 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69538         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69540         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69541         math/test-snan.c.
69542         * math/test-snan.c: Renamed from
69543         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69544         * math/Makefile (tests): Add test-snan.
69545         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69546         test-powerpc-snan.
69548         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69549         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69550         functions.
69551         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69552         __builtin_nan family of functions.
69553         * math/libm-test.inc (initialize): Initialize qnan_value with
69554         __builtin_nan family of functions.
69555         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69556         Remove variables.
69557         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69558         Remove functions.
69559         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69560         storage class.  Initialize qNaN_var and sNaN_var with
69561         __builtin_nan and __builtin_nans families of functions,
69562         respectively.
69564         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69565         (sqrt_test): Remove duplicate test with qNaN input.
69566         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69567         (round_test, signbit_test, significand_test): Note missing +/-Inf
69568         as well as qNaN tests.
69570         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69571         qNaN_var.  Fix a few strings, too.
69572         * math/libm-test.inc (nan_value): Rename to qnan_value.
69573         * math/gen-libm-test.pl (%beautify): Adjust to that.
69574         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69575         * math/test-misc.c (main): Likewise.
69576         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69577         to __qnan_bytes, and __qnan_union, respectively.
69578         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69579         Likewise.
69580         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69581         and lqnanval, respectively.
69582         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69583         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69584         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69585         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69587         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69588         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69589         doubles.
69591         * math/test-misc.c (main): Fix copy'n'pastos.
69592         * misc/tst-efgcvt.c (special): Likewise.
69594         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69595         Remove declarations.
69597 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69599         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69600         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69601         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69602         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69604 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69607         macro to return vdso values correctly in IFUNC implementations.
69608         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69609         Optimization by using IFUNC.
69611 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69612             Richard Henderson  <rth@redhat.com>
69613             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69615         * Makefile.in (bench): New target.
69616         * NEWS: Mention the benchmark framework.
69617         * Rules (bench): Likewise.
69618         (binaries-bench): Generate binaries for functions to
69619         benchmark.
69620         * benchtests/Makefile: New makefile for benchmark tests.
69621         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69622         programs.
69623         * benchtests/exp-inputs: New input file for EXP function.
69624         * benchtests/pow-inputs: New input file for POW function.
69625         * scripts/bench.pl: New script to generate source files for
69626         benchmark programs.
69628 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69630         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69631         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69632         computations on mantissa.  Use macros for rounding and
69633         division.
69634         (denorm): Likewise.
69635         (__dbl_mp): Likewise.
69636         (add_magnitudes): Likewise.
69637         (sub_magnitudes): Likewise.
69638         (__mul): Likewise.
69639         (__sqr): Likewise.
69640         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69641         powers of two in terms of TWOPOW macro.
69642         (mp_no): Make type of mantissa as MANTISSA_T.
69643         [!RADIXI]: Define RADIXI.
69644         [!TWO52]: Define TWO52.
69645         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69647         * manual/nptl.texi (cindex): Modify threads to pthreads.
69649 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69651         * sysdeps/x86_64/preconfigure: Regenerated.
69653 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69655         [BZ #14155]
69656         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69657         0x1p28 and above.
69658         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69659         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69660         0x1p28 and above.
69661         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69662         * math/libm-test.inc (j0_test): Do not allow one spurious
69663         underflow exception.
69664         (y1_test): Likewise.
69666 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69668         * manual/Makefile (chapters): Add nptl.
69669         * manual/debug.texi (Debugging Support): Add link to Threads
69670         chapter.
69671         * manual/nptl.texi: New file.
69673         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69675 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69677         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69678         for non-NULL pointer before the memory validity test. Pointed
69679         out by Holger Brunck <holger.brunck@keymile.com>.
69681 2013-03-13  Andreas Schwab  <schwab@suse.de>
69683         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69684         instead of .os.
69686 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69688         * timezone/zic.c: Update from tzcode 2013b.
69690 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69692         * manual/install.texi (Configuring and compiling):
69693         Mention i686 and i586.
69694         * INSTALL: Regenerate.
69696 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69698         * sysdeps/init_array/elf-init.c: New file.
69699         * csu/elf-init.c
69700         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69701         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69703         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69704         __gmon_start__ as global, but as static with a .preinit_array pointer.
69705         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69706         * sysdeps/init_array/crti.S: New file, empty except for comments.
69707         * sysdeps/init_array/crtn.S: Likewise.
69709 2013-03-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
69711         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69712         definining bcopy.
69713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69714         Remove Prefer_SSE_for_memop.
69715         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69716         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69717         HAS_PREFER_SSE_FOR_MEMOP.
69718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69719         memset-x86-64.
69720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69721         Remove bzero, memset ifunc support.
69722         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69723         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69727 2013-03-11  Andreas Schwab  <schwab@suse.de>
69729         [BZ #15234]
69730         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69731         by SHLIB_COMPAT.
69732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69733         (GLIBC_2.16): Remove pthread_atfork.
69735 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69737         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69738         (ptestcases.h): Likewise.
69740 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69742         * Makeconfig ($(common-objpfx)config.status): Depend on
69743         sysdeps/*/preconfigure{,.in} too.
69745 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69747         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69748         (__free_hook): Use void * instead of __malloc_ptr_t.
69749         (__malloc_hook): Likewise.
69750         (__realloc_hook): Likewise.
69751         (__memalign_hook): Likewise.
69752         (__after_morecore_hook): Likewise.
69753         * malloc/arena.c (save_malloc_hook): Likewise.
69754         (save_free_hook): Likewise.
69755         * malloc/hooks.c (malloc_hook_ini): Likewise.
69756         (realloc_hook_ini): Likewise.
69757         (memalign_hook_ini): Likewise.
69758         * malloc/malloc.c (malloc_hook_ini): Likewise.
69759         (realloc_hook_ini): Likewise.
69760         (memalign_hook_ini): Likewise.
69761         (__free_hook): Likewise.
69762         (__malloc_hook): Likewise.
69763         (__realloc_hook): Likewise.
69764         (__memalign_hook): Likewise.
69765         (__libc_malloc): Likewise.
69766         (__libc_free): Likewise.
69767         (__libc_realloc): Likewise.
69768         (__libc_memalign): Likewise.
69769         (__libc_valloc): Likewise.
69770         (__libc_pvalloc): Likewise.
69771         (__libc_calloc): Likewise.
69772         (__posix_memalign): Likewise.
69773         * malloc/morecore.c (__sbrk): Likewise.
69774         (__default_morecore): Likewise.
69776         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69778         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69779         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69780         __malloc_ptrdiff_t.
69782         * malloc/malloc.h (__malloc_size_t): Remove macro.
69783         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69784         __malloc_size_t.
69785         (old_memalign_hook): Likewise.
69786         (old_realloc_hook): Likewise.
69787         (struct hdr): Likewise.
69788         (flood): Likewise.
69789         (mallochook): Likewise.
69790         (memalignhook): Likewise.
69791         (reallochook): Likewise.
69792         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69793         (tr_old_realloc_hook): Likewise.
69794         (tr_old_memalign_hook): Likewise.
69795         (tr_mallochook): Likewise.
69796         (tr_reallochook): Likewise.
69797         (tr_memalignhook): Likewise.
69799 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69801         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69802         default_ldbl_pack and using as default implementation.
69803         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69804         implementation.
69805         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69806         redundant definition.
69807         (ldbl_insert_mantissa): Likewise.
69808         (ldbl_canonicalize): Likewise.
69809         (ldbl_nearbyint): Likewise.
69810         (ldbl_pack): Rename to ldbl_pack_ppc.
69811         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69812         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69813         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69815 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69818         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69819         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69820         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69822         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69823         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69824         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69826 2013-03-07  Andreas Jaeger  <aj@suse.de>
69828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69829         bits/mman-linux.h.
69831 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69833         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69834         Include mpa.h and declare __MPEXP.
69835         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69836         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69837         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69838         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69839         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69840         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69841         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69843         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69844         (__slowpow): Use long double EXPL and LOGL functions to
69845         compute POW.
69846         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69847         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69848         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69849         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69850         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69851         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69854         intermediate variable to calculate exponent.
69855         (__sqr): Likewise.
69856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69857         Likewise.
69858         (__sqr): Likewise.
69860         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69861         [!NO__SQR]: Define __sqr.
69862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69863         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69864         sysdeps/ieee754/dbl-64/mpa.c.
69865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69867         [BZ #12723]
69868         * posix/Makefile (tests): Add tst-pathconf.
69869         * posix/tst-pathconf.c: New test case.
69870         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69871         _PC_PIPE_BUF.
69872         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69874 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69876         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69878 2013-03-06  Andreas Jaeger  <aj@suse.de>
69880         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69881         definition via __MAP_ANONYMOUS.
69883         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69884         it's not part of Linux headers.
69886         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69887         (MAP_HUGE_MASK): Define.
69889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69890         Define.
69891         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69893         Define.
69894         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69895         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69896         Define.
69897         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69898         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69899         Define.
69900         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69902         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69903         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69904         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69905         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69906         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69907         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69909         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69910         Handle f2fs.
69912         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69913         Handle f2fs and efivarfs.
69915         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69916         f2fs.
69918         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69919         (EFIVARFS_MAGIC): Add.
69920         (F2FS_LINK_MAX): Add.
69922 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69924         * stdio-common/vfprintf.c: Replace __builtin_expect with
69925         __glibc_unlikely.
69927 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69929         [BZ #13550]
69930         * sysdeps/generic/bp-sym.h: Remove file.
69931         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69932         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69933         <bp-sym.h> and <bp-asm.h>.
69934         (__longjmp): Don't use BP_SYM.
69935         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69936         and <bp-asm.h>.
69937         (memcpy): Don't use BP_SYM.
69938         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69939         <bp-sym.h> and <bp-asm.h>.
69940         (memcpy): Don't use BP_SYM.
69941         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69942         <bp-asm.h>.
69943         (memcpy): Don't use BP_SYM.
69944         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69945         <bp-asm.h>.
69946         (memset): Don't use BP_SYM.
69947         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69948         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69949         (__bzero): Don't use BP_SYM.
69950         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69951         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69953         <bp-sym.h> and <bp-asm.h>.
69954         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69955         pointers.
69956         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69957         <bp-sym.h> and <bp-asm.h>.
69958         (memcpy): Don't use BP_SYM.
69959         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69960         <bp-sym.h> and <bp-asm.h>.
69961         (memset): Don't use BP_SYM.
69962         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69963         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69964         (__bzero): Don't use BP_SYM.
69965         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69966         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69967         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69968         <bp-sym.h> and <bp-asm.h>.
69969         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69970         pointers.
69971         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69972         <bp-sym.h> and <bp-asm.h>.
69973         (memcpy): Don't use BP_SYM.
69974         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69975         <bp-sym.h> and <bp-asm.h>.
69976         (memset): Don't use BP_SYM.
69977         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69978         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69979         (__bzero): Don't use BP_SYM.
69980         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69981         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69982         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69983         <bp-sym.h> and <bp-asm.h>.
69984         (__memchr): Don't use BP_SYM.
69985         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69986         <bp-sym.h> and <bp-asm.h>.
69987         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69988         pointers.
69989         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69990         <bp-sym.h> and <bp-asm.h>.
69991         (memcpy): Don't use BP_SYM.
69992         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69993         <bp-sym.h> and <bp-asm.h>.
69994         (__mempcpy): Don't use BP_SYM.
69995         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69996         <bp-sym.h> and <bp-asm.h>.
69997         (__memrchr): Don't use BP_SYM.
69998         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69999         <bp-sym.h> and <bp-asm.h>.
70000         (memset): Don't use BP_SYM.
70001         (__bzero): Likewise.
70002         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
70003         <bp-sym.h> and <bp-asm.h>.
70004         (__rawmemchr): Don't use BP_SYM.
70005         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
70006         <bp-sym.h> and <bp-asm.h>.
70007         (__STRCMP): Don't use BP_SYM.
70008         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
70009         <bp-sym.h> and <bp-asm.h>.
70010         (strchr): Don't use BP_SYM.
70011         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
70012         <bp-sym.h> and <bp-asm.h>.
70013         (__strchrnul): Don't use BP_SYM.
70014         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
70015         <bp-sym.h> and <bp-asm.h>.
70016         (strlen): Don't use BP_SYM.
70017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
70018         <bp-sym.h> and <bp-asm.h>.
70019         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70020         pointers.
70021         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
70022         <bp-sym.h> and <bp-asm.h>.
70023         (__strnlen): Don't use BP_SYM.
70024         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
70025         <bp-sym.h> and <bp-asm.h>.
70026         (__GI__setjmp): Don't use BP_SYM.
70027         (_setjmp): Likewise.
70028         (__sigsetjmp): Likewise.
70029         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
70030         (L(start_addresses)): Don't use BP_SYM.
70031         (_start): Likewise.
70032         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
70033         <bp-asm.h>.
70034         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
70035         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
70036         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70037         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70038         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
70039         <bp-asm.h>.
70040         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
70041         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
70042         about bounded pointers.
70043         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70044         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70045         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
70046         <bp-asm.h>.
70047         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
70048         about bounded pointers.  Remove GKM FIXME comments.
70049         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70050         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
70051         <bp-asm.h>.
70052         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
70053         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
70054         Remove GKM FIXME comments.
70055         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70056         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70057         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
70058         <bp-asm.h>.
70059         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
70060         about bounded pointers.  Remove GKM FIXME comment.
70061         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
70062         and <bp-asm.h>.
70063         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70064         pointers.
70065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70066         <bp-sym.h> and <bp-asm.h>.
70067         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70069         <bp-sym.h> and <bp-asm.h>.
70070         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70071         comment.
70073 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70075         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70076         call free(NULL).
70078 2013-03-05  David S. Miller  <davem@davemloft.net>
70080         * po/es.po: Update from translation team.
70082 2013-03-05  Andreas Jaeger  <aj@suse.de>
70084         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70085         <bits/mman-linux.h>.
70086         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70087         is fine.
70088         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70089         <bits/mman-linux.h> to end of file.
70090         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70091         is fine.
70092         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70093         <bits/mman-linux.h> to end of file.
70094         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70095         is fine.
70096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70097         <bits/mman-linux.h> to end of file.
70099         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70100         (MCL_CURRENT, MCL_FUTURE): Define here.
70102 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70104         [BZ #15232]
70105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70106         attribute_hidden.
70107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70109 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70111         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70112         fourth parameter needed for rt_sigprocmask syscall.
70113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70114         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70115         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70116         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70117         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70118         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70120 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
70122         [BZ #13550]
70123         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70124         comment about bounded pointers.
70125         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70126         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70128 2013-03-04  Andreas Jaeger  <aj@suse.de>
70130         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70131         common definitions.
70133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70134         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70135         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70136         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70140 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70142         [BZ #15055]
70143         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70144         __ieee754_sqrl instead of __sqrl.
70146 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
70148         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70149         * sysdeps/powerpc/fpu_control.h: ... here.
70150         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70151         * sysdeps/powerpc/bits/fenvinline.h: ... here.
70152         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70153         * sysdeps/powerpc/bits/mathinline.h: ... here.
70155 2013-03-01  Roland McGrath  <roland@hack.frob.com>
70157         * elf/dl-hwcaps.c (_dl_important_hwcaps):
70158         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70159         to just [NEED_DL_SYSINFO_DSO].
70160         * elf/dl-support.c: Likewise.
70161         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70162         * elf/rtld.c (dl_main): Likewise.
70163         * elf/setup-vdso.h (setup_vdso): Likewise.
70164         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70165         * sysdeps/unix/sysv/linux/dl-sysdep.c
70166         (_dl_discover_osversion): Likewise.
70168 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70170         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70171         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70173 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70175         * NEWS: Mention libm performance improvements and non-x86 PI
70176         futex support.
70178         * csu/libc-start.c (__pthread_initialize_minimal): Change
70179         function arguments.
70180         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70182 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70184         [BZ #13550]
70185         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70186         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70187         <bp-sym.h> and <bp-asm.h>.
70188         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70189         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70190         and <bp-asm.h>.
70191         (memcpy): Don't use BP_SYM.
70192         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70193         <bp-asm.h>.
70194         (__mpn_add_n): Don't use BP_SYM.
70195         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70196         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70197         and <bp-asm.h>.
70198         (__mpn_addmul_1): Don't use BP_SYM.
70199         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70200         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70201         <bp-sym.h>.
70202         (_setjmp): Don't use BP_SYM.
70203         (__novmx_setjmp): Likewise.
70204         (__GI__setjmp): Likewise.
70205         (__vmx_setjmp): Likewise.
70206         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70207         <bp-sym.h>.
70208         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70209         (__bzero): Don't use BP_SYM.
70210         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70211         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70212         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70213         <bp-sym.h> and <bp-asm.h>.
70214         (memcpy): Don't use BP_SYM.
70215         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70216         <bp-sym.h> and <bp-asm.h>.
70217         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70218         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70219         <bp-sym.h> and <bp-asm.h>.
70220         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70221         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70222         <bp-asm.h>.
70223         (__mpn_lshift): Don't use BP_SYM.
70224         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70225         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70226         <bp-asm.h>.
70227         (memset): Don't use BP_SYM.
70228         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70229         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70230         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70231         <bp-asm.h>.
70232         (__mpn_mul_1): Don't use BP_SYM.
70233         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70234         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70235         <bp-sym.h> and <bp-asm.h>.
70236         (memcmp): Don't use BP_SYM.
70237         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70238         <bp-sym.h> and <bp-asm.h>.
70239         (memcpy): Don't use BP_SYM.
70240         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70241         <bp-sym.h> and <bp-asm.h>.
70242         (memset): Don't use BP_SYM.
70243         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70244         <bp-sym.h> and <bp-asm.h>.
70245         (strncmp): Don't use BP_SYM.
70246         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70247         <bp-sym.h> and <bp-asm.h>.
70248         (memcpy): Don't use BP_SYM.
70249         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70250         <bp-sym.h> and <bp-asm.h>.
70251         (memset): Don't use BP_SYM.
70252         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70253         <bp-sym.h> and <bp-asm.h>.
70254         (__memchr): Don't use BP_SYM.
70255         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70256         <bp-sym.h> and <bp-asm.h>.
70257         (memcmp): Don't use BP_SYM.
70258         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70259         <bp-sym.h> and <bp-asm.h>.
70260         (memcpy): Don't use BP_SYM.
70261         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70262         <bp-sym.h> and <bp-asm.h>.
70263         (__mempcpy): Don't use BP_SYM.
70264         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70265         <bp-sym.h> and <bp-asm.h>.
70266         (__memrchr): Don't use BP_SYM.
70267         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70268         <bp-sym.h> and <bp-asm.h>.
70269         (memset): Don't use BP_SYM.
70270         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70271         <bp-sym.h> and <bp-asm.h>.
70272         (__rawmemchr): Don't use BP_SYM.
70273         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70274         <bp-sym.h> and <bp-asm.h>.
70275         (__STRCMP): Don't use BP_SYM.
70276         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70277         <bp-sym.h> and <bp-asm.h>.
70278         (strchr): Don't use BP_SYM.
70279         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70280         <bp-sym.h> and <bp-asm.h>.
70281         (__strchrnul): Don't use BP_SYM.
70282         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70283         <bp-sym.h> and <bp-asm.h>.
70284         (strlen): Don't use BP_SYM.
70285         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70286         <bp-sym.h> and <bp-asm.h>.
70287         (strncmp): Don't use BP_SYM.
70288         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70289         <bp-sym.h> and <bp-asm.h>.
70290         (__strnlen): Don't use BP_SYM.
70291         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70292         <bp-asm.h>.
70293         (__mpn_rshift): Don't use BP_SYM.
70294         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70295         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70296         <bp-sym.h> and <bp-asm.h>.
70297         (__sigsetjmp): Don't use BP_SYM.
70298         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70299         (L(start_addresses)): Don't use BP_SYM.
70300         (_start): Likewise.
70301         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70302         <bp-asm.h>.
70303         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70304         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70305         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70306         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70307         <bp-asm.h>.
70308         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70309         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70310         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70311         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70312         <bp-asm.h>.
70313         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70314         comments.
70315         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70316         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70317         <bp-asm.h>.
70318         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70319         FIXME comments.
70320         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70321         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70322         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70323         <bp-asm.h>.
70324         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70325         comment.
70326         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70327         and <bp-asm.h>.
70328         (strncmp): Don't use BP_SYM,
70329         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70330         <bp-asm.h>.
70331         (__mpn_sub_n): Don't use BP_SYM.
70332         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70333         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70334         and <bp-asm.h>.
70335         (__mpn_submul_1): Don't use BP_SYM.
70336         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70338         <bp-sym.h> and <bp-asm.h>.
70339         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70341         <bp-sym.h> and <bp-asm.h>.
70342         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70343         comment.
70345 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70348         Use ZK to minimize writes to Z.
70349         (sub_magnitudes): Simplify code a bit.
70350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70351         Use ZK to minimize writes to Z.
70352         (sub_magnitudes): Simplify code a bit.
70354 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70356         * csu/gmon-start.c: Add special exception to license text.
70358 2013-02-27  Richard Henderson  <rth@redhat.com>
70360         * scripts/config.guess: Update from config.git.
70361         * scripts/config.sub: Likewise.
70363 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70365         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70367         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70369         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70371         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70373         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70375 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70377         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70378         [$(build-shared = yes].
70380 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70382         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70383         (__mul): Reduce iterations for calculating mantissa.
70385         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70386         MPTWO.
70387         (__mpranred): Likewise.
70389         [BZ #15160]
70390         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70391         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70393 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70395         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70396         Define __attribute__.
70398 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70400         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70401         unused.
70402         * posix/regex_internal.h (__attribute): Remove.
70403         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70404         (re_string_context_at): Likewise.
70405         (bitset_not): Use __attribute__ and mark function as possibly
70406         unused.
70407         (bitset_merge): Likewise.
70408         (bitset_mask): Likewise.
70409         (re_string_char_size_at): Likewise.
70410         (re_string_wchar_at): Likewise.
70411         (re_string_elem_size_at): Likewise.
70413 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70415         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70416         code.
70417         (cc32): Likewise.
70419         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70420         (__acr): Likewise.
70421         (__cpy): Likewise.
70422         (norm): Likewise.
70423         (denorm): Likewise.
70424         (__dbl_mp): Likewise.
70425         (add_magnitudes): Likewise.
70426         (sub_magnitudes): Likewise.
70427         (__mul): Likewise.
70428         (__inv): Likewise.
70430         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70431         style.
70433         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70434         style.
70436         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70437         code.
70439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70440         up changes with default code.
70441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70442         Likewise.
70444 2013-02-24  Allan McRae  <allan@archlinux.org>
70446         * manual/socket.texi (The Internet Namespace): Order menu items
70447         to match that in the file.
70449         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70450         node listing of the info page menu.
70452 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70454         [BZ #13550]
70455         * sysdeps/i386/bp-asm.h: Remove file.
70456         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70457         (PARMS): Do not use macros from bp-asm.h.
70458         (S1): Likewise.
70459         (S2): Likewise.
70460         (SIZE): Likewise.
70461         (__mpn_add_n): Do not use BP_SYM
70462         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70463         "bp-asm.h".
70464         (PARMS): Do not use macros from bp-asm.h.
70465         (S1): Likewise.
70466         (SIZE): Likewise.
70467         (__mpn_addmul_1): Do not use BP_SYM
70468         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70469         "bp-asm.h".
70470         (PARMS): Do not use macros from bp-asm.h.
70471         (SIGMSK): Likewise.
70472         (_setjmp): Likewise.  Do not use BP_SYM.
70473         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70474         "bp-asm.h".
70475         (PARMS): Do not use macros from bp-asm.h.
70476         (SIGMSK): Likewise.
70477         (setjmp): Likewise.  Do not use BP_SYM.
70478         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70479         "bp-asm.h".
70480         (PARMS): Do not use macros from bp-asm.h.
70481         (__frexp): Do not use BP_SYM.
70482         (frexp): Likewise.
70483         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70484         "bp-asm.h".
70485         (PARMS): Do not use macros from bp-asm.h.
70486         (__frexpf): Do not use BP_SYM.
70487         (frexpf): Likewise.
70488         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70489         "bp-asm.h".
70490         (PARMS): Do not use macros from bp-asm.h.
70491         (__frexpl): Do not use BP_SYM.
70492         (frexpl): Likewise.
70493         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70494         "bp-asm.h".
70495         (PARMS): Do not use macros from bp-asm.h.
70496         (__remquo): Do not use BP_SYM.
70497         (remquo): Likewise.
70498         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70499         "bp-asm.h".
70500         (PARMS): Do not use macros from bp-asm.h.
70501         (__remquof): Do not use BP_SYM.
70502         (remquof): Likewise.
70503         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70504         "bp-asm.h".
70505         (PARMS): Do not use macros from bp-asm.h.
70506         (__remquol): Do not use BP_SYM.
70507         (remquol): Likewise.
70508         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70509         "bp-asm.h".
70510         (PARMS): Do not use macros from bp-asm.h.
70511         (DEST): Likewise.
70512         (SRC): Likewise.
70513         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70514         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70515         "bp-asm.h".
70516         (PARMS): Do not use macros from bp-asm.h.
70517         (strlen): Do not use BP_SYM.
70518         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70519         "bp-asm.h".
70520         (PARMS): Do not use macros from bp-asm.h.
70521         (S1): Likewise.
70522         (S2): Likewise.
70523         (SIZE): Likewise.
70524         (__mpn_add_n): Do not use BP_SYM.
70525         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70526         "bp-asm.h".
70527         (PARMS): Do not use macros from bp-asm.h.
70528         (S1): Likewise.
70529         (SIZE): Likewise.
70530         (__mpn_addmul_1): Do not use BP_SYM.
70531         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70532         weak_alias.
70533         (bzero): Likewise.
70534         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70535         "bp-asm.h".
70536         (PARMS): Do not use macros from bp-asm.h.
70537         (S): Likewise.
70538         (SIZE): Likewise.
70539         (__mpn_lshift): Do not use BP_SYM.
70540         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70541         "bp-asm.h".
70542         (PARMS): Do not use macros from bp-asm.h.
70543         (DEST): Likewise.
70544         (SRC): Likewise.
70545         (LEN): Likewise.
70546         (memcpy): Likewise.  Do not use BP_SYM.
70547         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70548         libc_hidden_def and weak_alias.
70549         (mempcpy): Do not use BP_SYM in weak_alias.
70550         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70551         "bp-asm.h".
70552         (PARMS): Do not use macros from bp-asm.h.
70553         (DEST): Likewise.
70554         (LEN): Likewise.
70555         [!BZERO_P] (CHR): Likewise.
70556         (memset): Likewise.  Do not use BP_SYM.
70557         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70558         "bp-asm.h".
70559         (PARMS): Do not use macros from bp-asm.h.
70560         (S1): Likewise.
70561         (SIZE): Likewise.
70562         (__mpn_mul_1): Do not use BP_SYM.
70563         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70564         "bp-asm.h".
70565         (PARMS): Do not use macros from bp-asm.h.
70566         (S): Likewise.
70567         (SIZE): Likewise.
70568         (__mpn_rshift): Do not use BP_SYM.
70569         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70570         "bp-asm.h".
70571         (PARMS): Do not use macros from bp-asm.h.
70572         (STR): Likewise.
70573         (CHR): Likewise.
70574         (strchr): Likewise.  Do not use BP_SYM.
70575         (index): Do not use BP_SYM in weak_alias.
70576         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70577         "bp-asm.h".
70578         (PARMS): Do not use macros from bp-asm.h.
70579         (DEST): Likewise.
70580         (SRC): Likewise.
70581         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70582         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70583         "bp-asm.h".
70584         (PARMS): Do not use macros from bp-asm.h.
70585         (strlen): Do not use BP_SYM.
70586         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70587         "bp-asm.h".
70588         (PARMS): Do not use macros from bp-asm.h.
70589         (S1): Likewise.
70590         (S2): Likewise.
70591         (SIZE): Likewise.
70592         (__mpn_sub_n): Do not use BP_SYM.
70593         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70594         "bp-asm.h".
70595         (PARMS): Do not use macros from bp-asm.h.
70596         (S1): Likewise.
70597         (SIZE): Likewise.
70598         (__mpn_submul_1): Do not use BP_SYM.
70599         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70600         "bp-asm.h".
70601         (PARMS): Do not use macros from bp-asm.h.
70602         (S1): Likewise.
70603         (S2): Likewise.
70604         (SIZE): Likewise.
70605         (__mpn_add_n): Do not use BP_SYM.
70606         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70607         weak_alias.
70608         (bzero): Likewise.
70609         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70610         "bp-asm.h".
70611         (PARMS): Do not use macros from bp-asm.h.
70612         (BLK2): Likewise.
70613         (LEN): Likewise.
70614         (memcmp): Do not use BP_SYM.
70615         (bcmp): Do not use BP_SYM in weak_alias.
70616         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70617         "bp-asm.h".
70618         (PARMS): Do not use macros from bp-asm.h.
70619         (DEST): Likewise.
70620         (SRC): Likewise.
70621         (LEN): Likewise.
70622         (memcpy): Likewise.  Do not use BP_SYM.
70623         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70624         "bp-asm.h".
70625         (PARMS): Do not use macros from bp-asm.h.
70626         (DEST): Likewise.
70627         (SRC): Likewise.
70628         (LEN): Likewise.
70629         (memmove): Likewise.  Do not use BP_SYM.
70630         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70631         "bp-asm.h".
70632         (PARMS): Do not use macros from bp-asm.h.
70633         (DEST): Likewise.
70634         (SRC): Likewise.
70635         (LEN): Likewise.
70636         (__mempcpy): Likewise.  Do not use BP_SYM.
70637         (mempcpy): Do not use BP_SYM in weak_alias.
70638         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70639         "bp-asm.h".
70640         (PARMS): Do not use macros from bp-asm.h.
70641         (DEST): Likewise.
70642         (LEN): Likewise.
70643         [!BZERO_P] (CHR): Likewise.
70644         (memset): Likewise.  Do not use BP_SYM.
70645         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70646         "bp-asm.h".
70647         (PARMS): Do not use macros from bp-asm.h.
70648         (STR2): Likewise.
70649         (strcmp): Do not use BP_SYM.
70650         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70651         "bp-asm.h".
70652         (PARMS): Do not use macros from bp-asm.h.
70653         (STR): Likewise.
70654         (DELIM): Likewise.
70655         [USE_AS_STRTOK_R] (SAVE): Likewise.
70656         (FUNCTION): Likewise.  Do not use BP_SYM.
70657         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70658         aliases.
70659         (strtok_r): Likewise.
70660         (__GI___strtok_r): Likewise.
70661         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70662         (PARMS): Do not use macros from bp-asm.h.
70663         (S): Likewise.
70664         (SIZE): Likewise.
70665         (__mpn_lshift): Do not use BP_SYM.
70666         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70667         (PARMS): Do not use macros from bp-asm.h.
70668         (STR): Likewise.
70669         (CHR): Likewise.
70670         (__memchr): Do not use BP_SYM.
70671         (memchr): Do not use BP_SYM in weak_alias.
70672         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70673         (PARMS): Do not use macros from bp-asm.h.
70674         (BLK2): Likewise.
70675         (LEN): Likewise.
70676         (memcmp): Do not use BP_SYM.
70677         (bcmp): Do not use BP_SYM in weak_alias.
70678         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70679         (PARMS): Do not use macros from bp-asm.h.
70680         (S1): Likewise.
70681         (SIZE): Likewise.
70682         (__mpn_mul_1): Do not use BP_SYM.
70683         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70684         "bp-asm.h".
70685         (PARMS): Do not use macros from bp-asm.h.
70686         (STR): Likewise.
70687         (CHR): Likewise.
70688         (__rawmemchr): Do not use BP_SYM.
70689         (rawmemchr): Do not use BP_SYM in weak_alias.
70690         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70691         (PARMS): Do not use macros from bp-asm.h.
70692         (S): Likewise.
70693         (SIZE): Likewise.
70694         (__mpn_rshift): Do not use BP_SYM.
70695         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70696         (PARMS): Do not use macros from bp-asm.h.
70697         (SIGMSK): Likewise.
70698         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70699         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70700         (_start): Do not use BP_SYM.
70701         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70702         (PARMS): Do not use macros from bp-asm.h.
70703         (DEST): Likewise.
70704         (SRC): Likewise.
70705         (__stpcpy): Likewise.  Do not use BP_SYM.
70706         (stpcpy): Do not use BP_SYM in weak_alias.
70707         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70708         "bp-asm.h".
70709         (PARMS): Do not use macros from bp-asm.h.
70710         (DEST): Likewise.
70711         (SRC): Likewise.
70712         (LEN): Likewise.
70713         (__stpncpy): Likewise.  Do not use BP_SYM.
70714         (stpncpy): Do not use BP_SYM in weak_alias.
70715         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70716         (PARMS): Do not use macros from bp-asm.h.
70717         (STR): Likewise.
70718         (CHR): Likewise.
70719         (strchr): Likewise.  Do not use BP_SYM.
70720         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70721         "bp-asm.h".
70722         (PARMS): Do not use macros from bp-asm.h.
70723         (STR): Likewise.
70724         (CHR): Likewise.
70725         (__strchrnul): Likewise.  Do not use BP_SYM.
70726         (strchrnul): Do not use BP_SYM in weak_alias.
70727         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70728         "bp-asm.h".
70729         (PARMS): Do not use macros from bp-asm.h.
70730         (STOP): Likewise.
70731         (strcspn): Do not use BP_SYM.
70732         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70733         "bp-asm.h".
70734         (PARMS): Do not use macros from bp-asm.h.
70735         (STR): Likewise.
70736         (STOP): Likewise.
70737         (strpbrk): Likewise.  Do not use BP_SYM.
70738         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70739         "bp-asm.h".
70740         (PARMS): Do not use macros from bp-asm.h.
70741         (STR): Likewise.
70742         (CHR): Likewise.
70743         (strrchr): Likewise.  Do not use BP_SYM.
70744         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70745         (PARMS): Do not use macros from bp-asm.h.
70746         (SKIP): Likewise.
70747         (strspn): Do not use BP_SYM.
70748         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70749         (PARMS): Do not use macros from bp-asm.h.
70750         (STR): Likewise.
70751         (DELIM): Likewise.
70752         (SAVE): Likewise.
70753         (FUNCTION): Likewise.  Do not use BP_SYM.
70754         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70755         aliases.
70756         (strtok_r): Likewise.
70757         (__GI___strtok_r): Likewise.
70758         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70759         (PARMS): Do not use macros from bp-asm.h.
70760         (S1): Likewise.
70761         (S2): Likewise.
70762         (SIZE): Likewise.
70763         (__mpn_sub_n): Do not use BP_SYM.
70764         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70765         "bp-asm.h".
70766         (PARMS): Do not use macros from bp-asm.h.
70767         (S1): Likewise.
70768         (SIZE): Likewise.
70769         (__mpn_submul_1): Do not use BP_SYM.
70770         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70771         <bp-sym.h>.
70772         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70773         and <bp-asm.h>.
70774         (PARMS): Do not use macros from bp-asm.h.
70775         (FLAGS): Likewise.
70776         (PTID): Likewise.
70777         (TLS): Likewise.
70778         (CTID): Likewise.
70779         (__clone): Do not use BP_SYM.
70780         (clone): Do not use BP_SYM in weak_alias.
70781         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70782         and <bp-asm.h>.
70783         (PARMS): Do not use macros from bp-asm.h.
70784         (LEN): Likewise.
70785         (__mmap64): Do not use BP_SYM.
70786         (mmap64): Do not use BP_SYM in weak_alias.
70787         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70788         <bp-sym.h> and <bp-asm.h>.
70789         (PARMS): Do not use macros from bp-asm.h.
70790         (__posix_fadvise64_l64): Do not use BP_SYM.
70791         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70792         (PARMS): Do not use macros from bp-asm.h.
70793         (NSOPS): Likewise.
70794         (semtimedop): Do not use BP_SYM.
70795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70796         and <bp-asm.h>.
70798 2013-02-21  Allan McRae  <allan@archlinux.org>
70800         * manual/message.texi (Charset conversion in gettext):
70801         Move @end statement to beginning of line.
70803 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70806         static.
70807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70808         Likewise.
70810         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70811         (denorm): Likewise.
70812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70815 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70817         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70818         tail-call to the resolved function if pltexit isn't needed.
70820 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70823         or Y being zero as being unlikely.
70824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70825         Likewise.
70827 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70829         * manual/nss.texi (System Databases and Name Service Switch):
70830         Remove frobnicate @pxref.
70832 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70834         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70835         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70837 2013-02-20  Petr Machata  <pmachata@redhat.com>
70839         * elf/elf.h (R_ARM_TARGET1): New macro.
70840         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70841         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70842         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70843         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70844         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70845         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70846         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70847         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70848         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70849         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70850         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70851         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70852         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70853         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70854         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70855         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70856         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70857         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70858         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70859         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70860         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70861         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70862         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70863         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70864         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70865         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70866         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70867         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70868         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70869         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70870         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70871         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70872         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70873         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70874         (R_ARM_THM_GOT_BREL12): Likewise.
70875         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70876         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70877         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70878         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70879         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70880         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70881         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70882         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70883         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70885 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70887         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70888         __attribute_used__ to __attribute__ ((unused)).
70890 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70892         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70893         powerpc mpa.c.
70894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70895         comment formatting.
70896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70898 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70900         [BZ #13550]
70901         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70902         Remove macro.
70903         (ENTER): Remove both macro definitions.
70904         (LEAVE): Likewise.
70905         (CHECK_BOUNDS_LOW): Likewise.
70906         (CHECK_BOUNDS_HIGH): Likewise.
70907         (CHECK_BOUNDS_BOTH): Likewise.
70908         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70909         (RETURN_BOUNDED_POINTER): Likewise.
70910         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70911         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70912         (POP_ERRNO_LOCATION_RETURN): Likewise.
70913         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70914         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70915         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70916         macros.
70917         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70918         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70919         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70920         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70921         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70922         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70923         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70924         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70925         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70926         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70927         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70928         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70929         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70930         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70931         removed macros.
70932         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70933         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70934         macros.
70935         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70936         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70937         * sysdeps/i386/i586/memset.S (memset): Likewise.
70938         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70939         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70940         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70941         macros.
70942         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70943         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70944         Change uses of L(2) to L(out).
70945         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70946         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70947         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70948         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70949         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70950         removed macros.
70951         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70952         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70953         macros.
70954         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70955         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70956         (RETURN): Do not use macro LEAVE.
70957         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70958         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70959         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70960         * sysdeps/i386/i686/memset.S (memset): Likewise.
70961         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70962         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70963         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70964         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70965         Likewise.
70966         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70967         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70968         L(1_2) and L(1_3) into L(1).
70969         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70970         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70971         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70972         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70973         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70974         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70975         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70976         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70977         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70978         macros.
70979         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70980         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70981         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70982         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70983         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70984         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70985         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70986         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70987         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70988         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70989         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70990         * sysdeps/i386/strspn.S (strspn): Likewise.
70991         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70992         conditional code.
70993         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70994         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70995         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70996         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70997         L(1_3) into L(1_1).
70998         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70999         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71000         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
71001         macros.
71002         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71004 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
71006         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
71007         macro.
71009 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71011         * math/atest-exp.c (exp_mpn): Remove ROUND.
71012         * math/atest-exp2.c (exp_mpn): Likewise.
71013         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
71015         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
71016         * stdlib/tst-tls-atexit-lib.c: Likewise.
71017         * stdlib/tst-tls-atexit.c: Likewise.
71019 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71021         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
71022         and __attribute_alloc_size__.
71024 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71026         * include/programs/xmalloc.h: Change __attribute_alloc_size to
71027         __attribute_alloc_size__.
71028         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
71029         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
71031 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71033         * include/programs/xmalloc.h: New file.
71034         * catgets/gencat.c: Include it.
71035         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
71036         * elf/pldd.c: Likewise.
71037         * iconv/iconv_charmap.c: Likewise.
71038         * iconv/iconvconfig.c: Likewise.
71039         * iconv/strtab.c: Likewise.
71040         * locale/programs/locale.c: Likewise.
71041         * locale/programs/localedef.h: Likewise.
71042         * locale/programs/simple-hash.c: Likewise.
71043         * nscd/nscd.h: Likewise.
71044         * nss/makedb.c: Likewise.
71045         * sysdeps/generic/ldconfig.h: Likewise.
71047 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71049         * Versions.def: Add GLIBC_2.18.
71050         * include/link.h (struct link_map): New member l_tls_dtor_count.
71051         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
71052         (__call_tls_dtors): Likewise.
71053         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
71054         __cxa_thread_atexit_impl.
71055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71056         Likewise.
71057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71058         Likewise.
71059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
71060         Likewise.
71061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
71062         Likewise.
71063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71065         Likewise.
71066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71067         Likewise.
71068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71070         Likewise.
71071         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71072         (tests): Add test case tst-tls-atexit.
71073         (modules-names): Add shared library for tst-tls-atexit.
71074         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71075         (GLIBC_PRIVATE): Add __call_tls_dtors.
71076         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71077         for libstdc++.
71078         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71079         * stdlib/tst-tls-atexit.c: New test case.
71080         * stdlib/tst-tls-atexit-lib.c: New test case.
71082         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71084         * elf/Versions (ld): Add _dl_find_dso_for_object.
71085         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71086         * elf/dl-open.c (_dl_find_dso_for_object): New function.
71087         (dl_open_worker): Use _dl_find_dso_for_object.
71088         * elf/dl-sym.c (do_sym): Likewise.
71089         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71091 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71093         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71094         Syntactic changes only.
71095         (_dl_runtime_profile): Do a tail-call to the resolved function.
71097 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
71099         [BZ #13550]
71100         * sysdeps/x86_64/bp-asm.h: Remove file.
71101         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71102         <bp-sym.h> and <bp-asm.h>.
71103         (__clone): Do not use BP_SYM.
71104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71105         <bp-sym.h> and <bp-asm.h>.
71106         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71107         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71108         "bp-asm.h".
71109         (_setjmp): Do not use BP_SYM.
71110         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71111         "bp-asm.h".
71112         (setjmp): Do not use BP_SYM.
71113         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71114         libc_hidden_def.
71115         (mempcpy): Do not use BP_SYM in weak_alias.
71116         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71117         "bp-asm.h".
71118         (strchr): Do not use BP_SYM.
71119         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71120         "bp-asm.h".
71121         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71122         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71123         (_start): Do not use BP_SYM.
71124         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71125         "bp-asm.h".
71126         (strcat): Do not use BP_SYM.
71127         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71128         "bp-asm.h".
71129         (STRCMP): Do not use BP_SYM.
71130         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71131         "bp-asm.h".
71132         (STRCPY): Do not use BP_SYM.
71133         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71134         "bp-asm.h".
71135         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71136         "bp-asm.h".
71137         (FUNCTION): Do not use BP_SYM.
71138         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71139         weak_alias.
71140         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71142 2013-02-17  Andreas Jaeger  <aj@suse.de>
71144         * time/Versions: Sort entries.
71145         * string/Versions: Likewise.
71146         * resolv/Versions: Likewise.
71147         * posix/Versions: Likewise.
71148         * iconv/Versions: Likewise.
71149         * elf/Versions: Likewise.
71150         * wcsmbs/Versions: Likewise.
71152 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
71154         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71155         loop termination condition.
71157         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71158         variable to calculate EZ.
71159         (__sqr): Likewise.
71161         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71162         the lower precision input.
71164 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71166         [BZ #13550]
71167         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71168         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71169         (run-via-rtld-prefix): Do not handle %-bp tests.
71170         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71171         (all-object-suffixes): Remove .ob.
71172         (bppfx): Remove variable.
71173         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71174         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71175         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71176         [$(build-bounded) = yes] (libtype.ob): Likewise.
71177         * Makerules (elide-routines.ob): Remove variable.
71178         (do-tests-clean): Do not handle *-bp.out.
71179         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71180         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71181         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71182         (tests): Do not include $(tests-bp.out).
71183         (xtests): Do not include $(xtests-bp.out).
71184         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71185         [$(build-bounded) = yes] ($(addprefix
71186         $(objpfx),$(binaries-bounded))): Remove rule.
71187         ($(objpfx)%-bp.out): Remove rule.
71188         * config.make.in (build-bounded): Remove variable.
71189         * crypt/Makefile [$(build-bounded) = yes]
71190         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71191         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71192         append to variable.
71193         [$(build-bounded) = yes] (install-lib): Likewise.
71194         [$(build-bounded) = yes] (generated): Likewise.
71195         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71196         Remove rule.
71197         * intl/Makefile [$(build-bounded) = yes]
71198         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71199         * math/Makefile [$(build-bounded) = yes]
71200         ($(tests:%=$(objpfx)%-bp): Likewise.
71201         * misc/Makefile [$(build-bounded) = yes]
71202         ($(objpfx)tst-tsearch-bp): Likewise.
71203         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71204         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71205         Remove dependency.
71206         * string/Makefile (o-objects.ob): Remove variable.
71207         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71208         (CFLAGS-.ob): Remove variable.
71209         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71210         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71211         both definitions of variable.
71212         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71213         (ASFLAGS-.ob): Remove variable.
71215 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71217         [BZ #13550]
71218         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71219         Remove __BOUNDED_POINTERS__ from condition.
71220         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71221         * string/bits/string2.h [!__NO_STRING_INLINES &&
71222         !__BOUNDED_POINTERS__]: Likewise.
71223         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71224         Likewise.
71225         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71226         Remove conditional code.
71227         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71228         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71229         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71230         condition.
71232         [BZ #13550]
71233         * csu/libc-start.c: Do not include <bp-sym.h>.
71234         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71235         * elf/dl-open.c: Do not include <bp-sym.h>.
71236         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71237         * math/fegetenv.c: Do not include <bp-sym.h>.
71238         (fegetenv): Do not use BP_SYM in versioned symbols.
71239         * nptl/sysdeps/pthread/bits/libc-lockP.h
71240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71241         <bp-sym.h>.
71242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71243         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71245         (__pthread_mutex_destroy): Likewise.
71246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71247         (__pthread_mutex_lock): Likewise.
71248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71249         (__pthread_mutex_trylock): Likewise.
71250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71251         (__pthread_mutex_unlock): Likewise.
71252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71253         (__pthread_mutexattr_init): Likewise.
71254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71255         (__pthread_mutexattr_destroy): Likewise.
71256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71257         (__pthread_mutexattr_settype): Likewise.
71258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71259         (__pthread_rwlock_init): Likewise.
71260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71261         (__pthread_rwlock_destroy): Likewise.
71262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71263         (__pthread_rwlock_rdlock): Likewise.
71264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71265         (__pthread_rwlock_tryrdlock): Likewise.
71266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71267         (__pthread_rwlock_wrlock): Likewise.
71268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71269         (__pthread_rwlock_trywrlock): Likewise.
71270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71271         (__pthread_rwlock_unlock): Likewise.
71272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71273         (__pthread_key_create): Likewise.
71274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71275         (__pthread_setspecific): Likewise.
71276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71277         (__pthread_getspecific): Likewise.
71278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71279         Likewise.
71280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71281         (_pthread_cleanup_push_defer): Likewise.
71282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71283         (_pthread_cleanup_pop_restore): Likewise.
71284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71285         (pthread_setcancelstate): Likewise.
71286         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71287         <bp-sym.h>.
71288         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71289         (memchr): Do not use BP_SYM in weak_alias.
71290         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71291         (fegetenv): Do not use BP_SYM in versioned symbols.
71292         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71293         (fesetenv): Do not use BP_SYM in versioned symbols.
71294         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71295         (feupdateenv): Do not use BP_SYM in versioned symbols.
71296         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71297         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71298         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71299         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71300         (open64): Do not use BP_SYM in weak_alias.
71301         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71302         (fegetenv): Do not use BP_SYM in versioned symbols.
71303         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71304         (fesetenv): Do not use BP_SYM in versioned symbols.
71305         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71306         (feupdateenv): Do not use BP_SYM in versioned symbols.
71307         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71308         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71309         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71310         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71311         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71312         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71313         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71314         <bp-sym.h>.
71315         (__libc_start_main): Do not use BP_SYM.
71317 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71320         redundant return line.
71321         (norm): Likewise.
71322         (denorm): Likewise.
71323         (dbl_mp): Likewise.
71324         (sub_magnitudes): Likewise.
71325         (__add): Likewise.
71326         (__sub): Likewise.
71327         (__mul): Likewise.
71328         (__inv): Likewise.
71329         (__dvd): Likewise.
71330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71331         (norm): Likewise.
71332         (denorm): Likewise.
71333         (dbl_mp): Likewise.
71334         (sub_magnitudes): Likewise.
71335         (__add): Likewise.
71336         (__sub): Likewise.
71337         (__mul): Likewise.
71338         (__inv): Likewise.
71339         (__dvd): Likewise.
71341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71342         instead of __mul.
71343         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71344         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71345         (cc32): Likewise.
71347         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71348         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71350         of __mul for squares.
71351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71352         function
71353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71354         Likewise.
71355         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71356         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71358 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71360         [BZ #13550]
71361         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71362         code.
71363         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71364         prototype or function definition.  Rename ubp_* variables and
71365         parameters.  Remove argv definitions conditional on
71366         [__BOUNDED_POINTERS__].
71367         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71368         * elf/dl-runtime.c (_dl_fixup): Likewise.
71369         * include/set-hooks.h (RUN_HOOK): Likewise.
71370         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71371         definition.
71372         * string/strcpy.c (strcpy): Do not use __unbounded.
71373         * sysdeps/generic/frame.h (struct layout): Likewise.
71374         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71375         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71376         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71377         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71378         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71379         (__backtrace): Likewise.
71380         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71381         use __ptrvalue.
71382         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71383         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71384         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71385         Likewise.
71386         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71387         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71388         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71389         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71390         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71391         Do not use __unbounded.
71392         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71393         Rename __unboundedrlimits parameter to rlimits in prototype.
71394         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71395         Do not use __unbounded.
71396         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71397         not use __ptrvalue.
71398         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71399         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71400         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71401         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71402         __ptrvalue or __unbounded.
71403         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71404         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71405         use __unbounded.
71406         (__new_msgctl): Do not use __ptrvalue.
71407         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71408         __unbounded.
71409         (__libc_msgrcv): Do not use __ptrvalue.
71410         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71411         startup_info): Do not use __unbounded.
71412         (__libc_start_main): Likewise.  Rename ubp_* variables and
71413         parameters.  Remove argv definitions conditional on
71414         [__BOUNDED_POINTERS__].
71415         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71416         __ptrvalue.
71417         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71418         use __unbounded.
71419         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71420         or __ptrvalue.
71421         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71422         use __unbounded.
71423         (__new_shmctl): Do not use __ptrvalue.
71424         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71425         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71426         Likewise.
71427         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71429         (__libc_sigaction): Likewise.
71430         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71431         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71432         Likewise.
71433         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71435 2013-02-13   Ondƙej BĂ­lka  <neleai@seznam.cz>
71437         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71439         * string/mempcpy.c: Implement by calling memcpy.
71441 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71446         evaluation.
71448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71449         values in the mantissa.
71451         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71452         minimize writes to Z.
71453         (sub_magnitudes): Simplify code a bit.
71455 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71457         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71458         from the message.  The linker prefixes all warnings with that already.
71460 2013-02-12  Andreas Schwab  <schwab@suse.de>
71462         [BZ #15078]
71463         * posix/regexec.c (extend_buffers): Add parameter min_len.
71464         (check_matching): Pass minimum needed length.
71465         (clean_state_log_if_needed): Likewise.
71466         (get_subexp): Likewise.
71467         * posix/Makefile (tests): Add bug-regex34.
71468         (bug-regex34-ENV): Define.
71469         * posix/bug-regex34.c: New file.
71471         [BZ #11561]
71472         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71473         elements compare against the byte sequence of it, not its name.
71474         * posix/Makefile (tests): Add bug-regex35.
71475         (bug-regex35-ENV): Define.
71476         * posix/bug-regex35.c: New file.
71478 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71480         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71481         comment.
71482         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71483         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71484         (CHECK_EOL): Add undef.
71486 2013-02-11   Ondƙej BĂ­lka  <neleai@seznam.cz>
71488         * bits/stdlib-bsearch.h: New file.
71489         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71490         * stdlib/stdlib.h: Likewise.
71492 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71494         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71495         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71496         declaration.
71497         * manual/search.texi (Array Search Function): Add missing const in
71498         lfind prototype.
71499         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71500         declaration to use rlim_t.
71501         (Basic Scheduling Functions): Remove erroneous const from
71502         sched_getparam prototype.  Remove erroneous * from
71503         sched_get_priority_max and sched_get_priority_min prototypes.
71504         (Resource Usage): Fix summary @comment on vtimes to refer to
71505         sys/vtimes.h rather than vtimes.h.
71506         Add missing *s in vtimes prototype.
71507         (Limits on Resources): Fix ulimit prototype to return long int.
71508         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71509         prototypes to use long int rather than double.
71510         (BSD Random): Fix initstate and setstate to use char *, not void *.
71511         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71512         prototype to make second argument 'struct aiocb64 *const[]'.
71513         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71514         (Status of AIO Operations): Remove erroneous const in aio_return and
71515         aio_return64 prototypes.
71516         (Synchronizing I/O): Fix sync prototype to return void.
71517         * manual/startup.texi (Suboptions): Remove an erroneous const in
71518         getsubopt prototype.
71519         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71520         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71521         use size_t rather than int.
71522         (Scanning All Users): Likewise for getpwent_r.
71523         (Setting Groups): Add missing const to setgroups prototype.
71524         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71525         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71526         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71527         'const void *' rather than 'const char *'.
71528         (Host Address Functions): Likewise for inet_ntop.
71529         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71530         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71531         ssize_t for return value.
71532         (Sending Data): Likewise for send, sendto, sendmsg.
71533         (Socket Option Functions): Add a missing const in setsockopt prototype.
71534         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71535         use wchar_t for the argument.
71536         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71537         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71538         take no arguments.
71539         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71540         double/float/long double for second argument.
71541         Fix return types of significand, significandf, significandl.
71542         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71543         argument in fchmod prototype.
71544         (File Owner): Use uid_t and gid_t in fchown prototype.
71545         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71546         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71547         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71548         use 'const struct dirent **' as argument types to CMP function pointer
71549         argument.
71550         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71551         (File Times): Fix summary magic @comment for struct utimbuf and utime
71552         to refer to utime.h, not time.h.
71553         * manual/string.texi (Argz Functions): Add missing const in
71554         argz_extract and argz_next prototypes.
71555         (Finding Tokens in a String): Likewise for basename.
71556         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71557         (Copying and Concatenation): Fix typo in wmemmove prototype.
71558         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71559         (Signal Stack): Remove erroneous const in sigstack prototype.
71560         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71561         prototype.
71562         (Simple Calendar Time): Likewise for stime.
71563         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71564         prototype.
71565         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71566         say sys/sysctl.h instead.
71567         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71568         and vsyslog prototypes.
71570 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71572         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71573         Remove.
71575 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71577         * misc/sys/mman.h: Fix typo in mremap comment.
71579 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71581         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71582         the '\0' terminator.
71584 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71586         [BZ #13550]
71587         * debug/segfault.c: Don't include <bp-checks.h>.
71588         * sysdeps/generic/bp-checks.h: Remove file.
71589         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71590         (__GETDENTS): Don't use CHECK_N.
71591         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71592         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71593         (__getgroups): Don't use CHECK_N.
71594         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71595         (setgroups): Don't use CHECK_N.
71596         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71597         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71598         (__libc_msgrcv): Don't use CHECK_N.
71599         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71600         (__libc_msgsnd): Don't use CHECK_N.
71601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71602         <bp-checks.h>.
71603         (__libc_pread): Don't use CHECK_N.
71604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71605         include <bp-checks.h>.
71606         (__libc_pread64): Don't use CHECK_N.
71607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71608         include <bp-checks.h>.
71609         (__libc_pwrite): Don't use CHECK_N.
71610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71611         include <bp-checks.h>.
71612         (__libc_pwrite64): Don't use CHECK_N.
71613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71614         <bp-checks.h>.
71615         (__libc_pread): Don't use CHECK_N.
71616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71617         include <bp-checks.h>.
71618         (__libc_pread64): Don't use CHECK_N.
71619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71620         include <bp-checks.h>.
71621         (__libc_pwrite): Don't use CHECK_N.
71622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71623         include <bp-checks.h>.
71624         (__libc_pwrite64): Don't use CHECK_N.
71625         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71626         (do_pread): Don't use CHECK_N.
71627         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71628         (do_pread64): Don't use CHECK_N.
71629         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71630         (do_pwrite): Don't use CHECK_N.
71631         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71632         (do_pwrite64): Don't use CHECK_N.
71633         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71634         (__libc_readv): Don't use CHECK_N.
71635         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71636         (semop): Don't use CHECK_N.
71637         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71638         <bp-checks.h>.
71639         (semtimedop): Don't use CHECK_N.
71640         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71641         (__libc_pread): Don't use CHECK_N.
71642         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71643         <bp-checks.h>.
71644         (__libc_pread64): Don't use CHECK_N.
71645         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71646         <bp-checks.h>.
71647         (__libc_pwrite): Don't use CHECK_N.
71648         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71649         <bp-checks.h>.
71650         (__libc_pwrite64): Don't use CHECK_N.
71651         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71652         <bp-checks.h>.
71653         (__libc_msgrcv): Don't use CHECK_N.
71654         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71655         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71656         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71657         (__libc_writev): Don't use CHECK_N.
71659 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71661         * string/strcpy.c: Removed unused variable.
71663         * Makeconfig (+sysdep-includes): Define with := rather than =.
71664         Use an existing include/ subdir of each sysdeps dir before it.
71666 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71668         * nscd/connection.c (register_traced_file): Comment function.
71669         [HAVE_INOTIFY] (union __inev): Define.
71670         [HAVE_INOTIFY] (inotify_check_files): New function.
71671         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71672         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71673         clear_db_cache.
71674         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71676 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71678         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71679         loaded if not already and that a failure is permanent.
71681 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71683         [BZ #15006]
71684         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71685         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71687 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71689         [BZ #13550]
71690         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71691         (CHECK_1_NULL_OK): Likewise.
71692         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71693         (__fxstat): Do not use CHECK_1.
71694         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71695         <bp-checks.h>.
71696         (___fxstat64): Do not use CHECK_1.
71697         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71698         <bp-checks.h>.
71699         (__fxstatat): Do not use CHECK_1.
71700         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71701         <bp-checks.h>.
71702         (__fxstatat64): Do not use CHECK_1.
71703         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71704         <bp-checks.h>.
71705         (__fxstat): Do not use CHECK_1.
71706         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71707         <bp-checks.h>.
71708         (__fxstatat): Do not use CHECK_1.
71709         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71710         <bp-checks.h>.
71711         (__getresgid): Do not use CHECK_1.
71712         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71713         <bp-checks.h>.
71714         (__getresuid): Do not use CHECK_1.
71715         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71716         <bp-checks.h>.
71717         (__lxstat): Do not use CHECK_1.
71718         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71719         <bp-checks.h>.
71720         (__old_msgctl): Do not use CHECK_1.
71721         (__new_msgctl): Likewise.
71722         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71723         <bp-checks.h>.
71724         (__new_setrlimit): Do not use CHECK_1.
71725         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71726         <bp-checks.h>.
71727         (__old_shmctl): Do not use CHECK_1.
71728         (__new_shmctl): Likewise.
71729         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71730         <bp-checks.h>.
71731         (__xstat): Do not use CHECK_1.
71732         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71733         (__lxstat): Do not use CHECK_1.
71734         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71735         <bp-checks.h>.
71736         (___lxstat64): Do not use CHECK_1.
71737         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71738         (__old_msgctl): Do not use CHECK_1.
71739         (__new_msgctl): Likewise.
71740         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71741         <bp-checks.h>.
71742         (__gettimeofday): Do not use CHECK_1.
71743         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71744         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71745         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71746         <bp-checks.h>.
71747         (__gettimeofday): Do not use CHECK_1.
71748         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71749         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71750         (__new_shmctl): Do not use CHECK_1.
71751         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71752         <bp-checks.h>.
71753         (do_sigtimedwait): Do not use CHECK_1.
71754         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71755         <bp-checks.h>.
71756         (do_sigwaitinfo): Do not use CHECK_1.
71757         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71758         <bp-checks.h>.
71759         (msgctl): Do not use CHECK_1.
71760         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71761         <bp-checks.h>.
71762         (shmctl): Do not use CHECK_1.
71763         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71764         (ustat): Do not use CHECK_1.
71765         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71766         <bp-checks.h>.
71767         (__fxstat): Do not use CHECK_1.
71768         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71769         <bp-checks.h>.
71770         (__fxstatat): Do not use CHECK_1.
71771         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71772         <bp-checks.h>.
71773         (__lxstat): Do not use CHECK_1.
71774         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71775         <bp-checks.h>.
71776         (__xstat): Do not use CHECK_1.
71777         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71778         (__xstat): Do not use CHECK_1.
71779         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71780         (___xstat64): Do not use CHECK_1.
71782         [BZ #13550]
71783         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71784         definitions.
71785         (CHECK_BOUNDS_HIGH): Likewise.
71786         * string/strcpy.c: Do not include <bp-checks.h>.
71787         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71789 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71791         * nscd/nscd-client.h (__nscd_drop_map_ref):
71792         Add __attribute__ ((unused)).
71793         * nis/nss-nisplus.h (niserr2nss): Likewise.
71795         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71796         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71798         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71799         Remove inline keyword.
71800         * include/rounding-mode.h (round_away): Likewise.
71801         * libio/wfileops.c (adjust_wide_data): Likewise.
71802         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71803         (__m128i_strloadu_tolower): Likewise.
71804         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71805         (__m128i_strloadu_tolower): Likewise.
71806         * time/mktime.c (ydhms_diff): Likewise.
71807         * locale/elem-hash.h (elem_hash): Likewise.
71808         * locale/setlocale.c (setdata): Likewise.
71809         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71810         (re_string_wchar_at): Likewise.
71811         (bitset_not, bitset_merge, bitset_mask): Likewise.
71812         [!(__GNUC__ > 3)] (inline): Remove macro.
71813         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71814         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71815         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71816         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71817         * string/memcmp.c (memcmp_bytes): Likewise.
71818         * locale/programs/locarchive.c (compute_hashval): Likewise.
71819         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71820         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71821         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71822         * nss/getent.c (print_rpc, print_protocols): Likewise.
71823         (print_passwd, print_group, print_aliases): Likewise.
71824         * nis/nss-nisplus.h (niserr2nss): Likewise.
71825         * nscd/connections.c (restart_p): Likewise.
71826         Change return type to bool.
71828 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71830         * Makeconfig (all-Depend-files): Add existing
71831         $(sorted-subdirs:=/Depend) files.
71832         (all-subdirs): Remove nss.
71833         * sysdeps/unix/inet/Subdirs: Add it here instead.
71834         * hesiod/Depend: New file.
71836         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71837         instead of calling alloca.
71839         * io/lseek.c (__lseek): Rename to __libc_lseek.
71840         Define __lseek as an alias.
71842         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71844 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71846         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71847         else clause and remove check for non-standard endianness.
71849 2013-02-04  David S. Miller  <davem@davemloft.net>
71851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71853 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71855         [BZ #13550]
71856         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71857         (__ubp_memchr): Remove prototype.
71858         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71859         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71860         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71861         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71862         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71863         Remove alias.
71864         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71865         (__ubp_memchr): Likewise.
71866         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71867         (__ubp_memchr): Likewise.
71868         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71869         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71870         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71871         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71872         CHECK_STRING.
71873         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71874         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71875         (__getcwd): Do not use CHECK_STRING.
71876         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71877         <bp-checks.h>.
71878         (__real_chown): Do not use CHECK_STRING.
71879         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71880         <bp-checks.h>.
71881         (fchownat): Do not use CHECK_STRING.
71882         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71883         CHECK_STRING.
71884         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71885         <bp-checks.h>.
71886         (__lchown): Do not use CHECK_STRING.
71887         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71888         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71889         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71890         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71892         include <bp-checks.h>.
71893         (truncate64): Do not use CHECK_STRING.
71894         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71895         <bp-checks.h>.
71896         (__real_chown): Do not use CHECK_STRING.
71897         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71898         <bp-checks.h>.
71899         (__lchown): Do not use CHECK_STRING.
71900         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71901         <bp-checks.h>.
71902         (__chown): Do not use CHECK_STRING.
71903         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71904         <bp-checks.h>.
71905         (truncate64): Do not use CHECK_STRING.
71906         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71907         Likewise.
71908         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71909         (__xmknod): Do not use CHECK_STRING.
71910         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71911         <bp-checks.h>.
71912         (__xmknodat): Do not use CHECK_STRING.
71913         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71914         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71916 2013-02-04  Andreas Schwab  <schwab@suse.de>
71918         [BZ #14142]
71919         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71920         * include/netdb.h: Likewise for h_errno.
71921         * elf/tst-stackguard1.c: Include <tls.h>.
71923 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71925         * elf/link.h (struct link_map): Extend the l_addr comment.
71926         * include/link.h (struct link_map): Likewise.
71928 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71930         [BZ #13550]
71931         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71932         (BOUNDED_1): Remove macro.
71933         * debug/backtrace.c: Don't include <bp-checks.h>.
71934         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71935         (__backtrace): Likewise.
71936         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71937         <bp-checks.h>.
71938         (__backtrace): Don't use BOUNDED_1.
71939         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71940         <bp-checks.h>.
71941         (__backtrace): Don't use BOUNDED_1.
71942         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71943         (__backtrace): Don't use BOUNDED_1.
71944         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71945         (shmat): Don't use BOUNDED_N.
71947 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71949         [BZ #13550]
71950         * sysdeps/generic/bp-start.h: Remove file.
71951         * csu/libc-start.c: Don't include <bp-start.h>.
71952         (LIBC_START_MAIN): Set up __environ directly instead of using
71953         INIT_ARGV_and_ENVIRON.
71954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71955         <bp-start.h>.
71957         [BZ #13550]
71958         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71959         definitions.
71960         (CHECK_FCNTL): Likewise.
71961         (CHECK_N_PAGES): Likewise.
71963         [BZ #13550]
71964         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71965         definitions.
71966         (CHECK_SIGSET_NULL_OK): Likewise.
71967         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71968         <bp-checks.h>.
71969         (sigpending): Don't use CHECK_SIGSET.
71970         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71971         <bp-checks.h>.
71972         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71973         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71974         <bp-checks.h>.
71975         (do_sigsuspend): Don't use CHECK_SIGSET.
71976         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71977         use CHECK_SIGSET.
71978         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71979         (do_sigwait): Don't use CHECK_SIGSET.
71980         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71981         use CHECK_SIGSET.
71982         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71983         include <bp-checks.h>.
71984         (sigpending): Don't use CHECK_SIGSET.
71985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71986         include <bp-checks.h>.
71987         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71988         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71989         <bp-checks.h>.
71990         (sigpending): Don't use CHECK_SIGSET.
71991         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71992         <bp-checks.h>.
71993         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71995         [BZ #13550]
71996         * sysdeps/generic/bp-semctl.h: Remove file.
71997         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71998         <bp-checks.h> and <bp-semctl.h>.
71999         (__old_semctl): Don't use CHECK_SEMCTL.
72000         (__new_semctl): Likewise.
72001         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
72002         and <bp-semctl.h>.
72003         (__old_semctl): Don't use CHECK_SEMCTL.
72004         (__new_semctl): Likewise.
72005         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
72006         <bp-checks.h> and <bp-semctl.h>.
72007         (__old_semctl): Don't use CHECK_SEMCTL.
72008         (__new_semctl): Likewise.
72009         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
72010         <bp-checks.h> and <bp-semctl.h>.
72011         (semctl): Don't use CHECK_SEMCTL.
72013         [BZ #13550]
72014         * Makerules (elide-bp-thunks): Remove variable.
72015         (elide-routines.oS): Don't use $(elide-bp-thunks).
72016         (elide-routines.os): Likewise.
72017         (elide-routines.o): Likewise.
72018         (elide-routines.op): Likewise.
72019         (elide-routines.og): Likewise.
72020         (objects): Don't use $(bp-thunks).
72021         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
72022         include.
72023         (common-generated): Do not add s-proto-bp.d.
72024         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
72025         (int): Likewise.
72026         (typ): Likewise.
72027         Do not generate makefile rules for bounded-pointer thunks.
72028         * sysdeps/generic/bp-thunks.h: Remove file.
72029         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
72030         * sysdeps/unix/s-proto-bp.S: Likewise.
72032         [BZ #15062]
72033         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
72034         parts of result separately when argument is not close to line from
72035         -i to i and one part of argument is small.
72036         * math/k_casinhf.c (__kernel_casinhf): Likewise.
72037         * math/k_casinhl.c (__kernel_casinhl): Likewise.
72038         * math/libm-test.inc (cacos_test): Add more tests.
72039         (casin_test): Likewise.
72040         (casinh_test): Likewise.
72041         * sysdeps/i386/fpu/libm-test-ulps: Update.
72042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72044 2013-01-31  David S. Miller  <davem@davemloft.net>
72046         * po/de.po: Update from translation team.
72048 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
72050         * time/tzfile.c: Include stdint.h for SIZE_MAX.
72052 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
72054         * configure.in (_AC_PROG_CC_C89): New definition.
72055         * configure: Regenerate.
72057         * configure.in (AC_PROG_CPP): New definition.
72058         * configure: Regenerate.
72060 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72062         * debug/tst-backtrace.h: New file.
72063         * debug/tst-backtrace2.c: Include tst-backtrace.h.
72064         (ret): Remove variable.
72065         (x): Likewise.
72066         (FAIL): Remove macro.
72067         (NO_INLINE): Likewise.
72068         (fn1): Use match function instead of strstr.
72069         * debug/tst-backtrace3.c: Include tst-backtrace.h.
72070         (ret): Remove variable.
72071         (x): Likewise.
72072         (FAIL): Remove macro.
72073         (NO_INLINE): Likewise.
72074         (fn): Use match function instead of strstr.
72075         * debug/tst-backtrace4.c: Include tst-backtrace.h.
72076         (ret): Remove variable.
72077         (x): Likewise.
72078         (FAIL): Remove macro.
72079         (NO_INLINE): Likewise.
72080         (handle_signal): Use match function instead of strstr.
72081         * debug/tst-backtrace5.c: Include tst-backtrace.h.
72082         (ret): Remove variable.
72083         (x): Likewise.
72084         (FAIL): Remove macro.
72085         (NO_INLINE): Likewise.
72086         (handle_signal): Use match function instead of strstr.
72088 2013-01-23  Roland McGrath  <roland@hack.frob.com>
72090         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72092 2013-01-23  David S. Miller  <davem@davemloft.net>
72094         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72095         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72096         argument of CAS if possible.
72097         * sysdeps/sparc/sparc64/bits/atomic.h
72098         (__arch_compare_and_exchange_val_32_acq): Likewise.
72099         (__arch_compare_and_exchange_val_64_acq): Likewise.
72101 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
72103         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72104         * sysdeps/posix/ulimit.c: ... this.
72105         Include <limits.h>.
72106         * sysdeps/unix/bsd/ulimit.c: Remove file.
72108 2013-01-23  Adam Conrad  <adconrad@0c3.net>
72110         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72111         (LDFLAGS-tst-array5): Likewise.
72113 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72115         [BZ #15036]
72116         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72117         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72118         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72119         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72121 2013-01-21  David S. Miller  <davem@davemloft.net>
72123         * sysdeps/sparc/backtrace.c: New file.
72124         * sysdeps/sparc/sparc32/backtrace.h: New file.
72125         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72126         * sysdeps/sparc/sparc64/backtrace.h: New file.
72127         * sysdeps/sparc/sparc64/backtrace.c: Delete.
72128         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72129         -funwind-tables.
72131 2013-01-21  Andreas Schwab  <schwab@suse.de>
72133         [BZ #15020]
72134         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72135         closed its stdout.
72137 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
72139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72140         "mpa2.h".
72141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72143 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
72144             Mark Mitchell  <mark@codesourcery.com>
72145             Tom de Vries  <tom@codesourcery.com>
72146             Paul Pluzhnikov  <ppluzhnikov@google.com>
72148         * debug/tst-backtrace2.c: New file.
72149         * debug/tst-backtrace3.c: Likewise.
72150         * debug/tst-backtrace4.c: Likewise.
72151         * debug/tst-backtrace5.c: Likewise.
72152         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72153         (CFLAGS-tst-backtrace3.c): Likewise.
72154         (CFLAGS-tst-backtrace4.c): Likewise.
72155         (CFLAGS-tst-backtrace5.c): Likewise.
72156         (LDFLAGS-tst-backtrace2): Likewise.
72157         (LDFLAGS-tst-backtrace3): Likewise.
72158         (LDFLAGS-tst-backtrace4): Likewise.
72159         (LDFLAGS-tst-backtrace5): Likewise.
72160         (tests): Add new tests tst-backtrace2, tst-backtrace3,
72161         tst-backtrace4 and tst-backtrace5.
72163 2013-01-18  Anton Blanchard  <anton@samba.org>
72164             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72166         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72167         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72169         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72171         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72172         "+r" and remove output regs list as redundant.  Add explicit inline
72173         asm to specify register of return val to work around compiler codegen
72174         bug.  Remove (int) cast on return value.  Add return type parameter to
72175         use in macro so that this macro does not truncate return value for
72176         64-bit values.
72177         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72178         pass to INTERNAL_VSYSCALL_NCS.
72179         (INLINE_VSYSCALL): Add 'long int' as return type to
72180         INTERNAL_VSYSCALL_NCS macro invocation.
72181         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72182         INTERNAL_VSYSCALL_NCS macro invocation.
72183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72185 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72187         [BZ #14496]
72188         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72189         Fix application of SIMD FP exception mask.
72191         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72192         mp_no from a power of two.
72193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72194         __mpexp_twomm1.  Use __pow_mp.
72196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72197         multiplication.
72199 2013-01-17  David S. Miller  <davem@davemloft.net>
72201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72203 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72205         [BZ #15023]
72206         * include/complex.h: Condition contents on [!_COMPLEX_H].
72207         (__kernel_casinhf): New prototype.
72208         (__kernel_casinh): Likewise.
72209         (__kernel_casinhl): Likewise.
72210         * math/Makefile (libm_calls): Add k_casinh.
72211         * math/k_casinh.c: New file.
72212         * math/k_casinhf.c: Likewise.
72213         * math/k_casinhl.c: Likewise.
72214         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72215         finite nonzero arguments.
72216         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72217         finite nonzero arguments.
72218         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72219         finite nonzero arguments.
72220         * math/s_casinh.c: Do not include <float.h>.
72221         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72222         * math/s_casinhf.c: Do not include <float.h>.
72223         (__casinhf): Move code for finite nonzero arguments to
72224         k_casinhf.c.
72225         * math/s_casinhl.c: Do not include <float.h>.
72226         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72227         redefine.
72228         (__casinhl): Move code for finite nonzero arguments to
72229         k_casinhl.c.
72230         * math/libm-test.inc (cacos_test): Add more tests.
72231         * sysdeps/i386/fpu/libm-test-ulps: Update.
72232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72234 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72236         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72237         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72238         [!HAVE_MREMAP]: Remove [defined linux] case.
72239         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72241 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72243         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72245 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72247         * elf/elf.h (R_386_SIZE32): New relocation.
72248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72249         R_386_SIZE32.
72250         (elf_machine_rela): Likewise.
72251         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72252         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72254 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72256         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72257         (FP_FAST_FMA): Do not define.
72258         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72259         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72260         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72261         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72262         !_SOFT_FLOAT]: Likewise.
72263         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72264         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72265         value.
72266         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72267         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72268         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72270         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72271         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72272         file.
72274 2013-01-16  Andreas Schwab  <schwab@suse.de>
72276         [BZ #14327]
72277         * include/stdlib.h (__mktemp): Add declaration.
72278         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72279         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72281 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72283         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72284         definitions.
72285         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72286         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72287         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72288         definitions here.
72289         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72290         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72291         definitions.
72292         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72293         and ONE.
72294         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72295         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72296         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72297         definitions.
72298         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72299         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72300         definitions.
72301         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72303         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72305 2013-01-15  David S. Miller  <davem@davemloft.net>
72307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72308         trunc{,f} to libm-sysdep_routes.
72309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72311         file.
72312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72314         file.
72315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72316         file.
72317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72319         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72320         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72321         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72322         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72323         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72324         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72327         nearbyint{,f} to libm-sysdep_routes.
72328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72330         New file.
72331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72332         file.
72333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72334         New file.
72335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72336         file.
72337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72339         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72340         file.
72341         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72342         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72343         file.
72344         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72345         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72346         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72348         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72349         libc_feholdexcept and libc_fesetenv.
72351 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72353         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72355 2013-01-14  David S. Miller  <davem@davemloft.net>
72357         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72358         (SPARC_ASM_VIS2_IFUNC): Likewise.
72359         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72361         use of 'siam' instruction.
72362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72363         Likewise.
72364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72365         Likewise.
72366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72367         Likewise.
72368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72373         file.
72374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72375         file.
72376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72377         file.
72378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72379         file.
72380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72385         new VIS2 routines.
72386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72389         Likewise.
72390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72395         routines to libm-sysdep_routines.
72396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72399         fdim/fdimf to libm-sysdep_routines.
72400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72401         file.
72402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72404         file.
72405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72408         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72409         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72410         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72411         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72413 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72416         to optimize copies.
72418         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72423         local variable MPTWO.
72424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72425         Likewise.
72427 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72429         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72430         GLOB_NOESCAPE.
72432 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72434         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72436 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72438         * manual/pattern.texi (glob_t): Document gl_flags.
72439         (glob64_t): Likewise.
72441 2013-01-11  David S. Miller  <davem@davemloft.net>
72443         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72444         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72445         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72446         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72447         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72448         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72449         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72450         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72451         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72452         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72453         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72454         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72455         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72457         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72458         sparc V9 rather than using V8 code.
72459         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72460         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72462         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72463         Move to...
72464         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72465         Here.
72467 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72469         [BZ #14941]
72470         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72471         not in the main loop.
72472         * configure: Regenerated.
72474 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72476         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72477         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72478         to just #else.
72479         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72480         [!__GLIBC_HAVE_LONG_LONG] case.
72481         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72482         condition to just #else.
72483         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72484         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72485         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72486         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72487         unconditional.
72488         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72489         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72490         #elif condition to just #else.
72491         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72492         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72493         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72494         #elif condition to just #else.
72496 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72498         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72499         (EF_MIPS_ARCH_64): Fix value.
72500         (EF_MIPS_ARCH_32R2): New.
72501         (EF_MIPS_ARCH_64R2): New.
72503 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72505         * Makeconfig (+link-pie-before-libc): New.
72506         (+link-pie-after-libc): Likewise.
72507         (+link-pie-tests): Likewise.
72508         (+link-pie): Rewritten.
72509         (link-before-libc): Remove $(config-LDFLAGS).
72510         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72511         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72512         (config-LDFLAGS): Renamed to ...
72513         (rtld-LDFLAGS): This.
72514         (rtld-tests-LDFLAGS): New macro.
72515         (link-libc-rpath-link): Likewise.
72516         (link-libc-tests-rpath-link): Likewise.
72517         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72518         (link-libc): Prepand $(link-libc-rpath-link).
72519         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72520         (test-program-prefix): New macro.
72521         (test-via-rtld-prefix): Likewise.
72522         (test-program-cmd): Likewise.
72523         (host-test-program-cmd): Likewise.
72524         * Makefile ($(common-objpfx)testrun.sh): Replace
72525         $(run-program-prefix) with $(test-program-prefix).
72526         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72527         $(rtld-LDFLAGS).
72528         ($(common-objpfx)shlib.lds): Likewise.
72529         (build-module-helper): Likewise.
72530         ($(common-objpfx)format.lds): Likewise.
72531         * Rules (binaries-pie-tests): New.
72532         (binaries-pie-notests): Likewise.
72533         (binaries-pie): Rewritten.
72534         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72535         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72536         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72537         (make-test-out): Replace $(host-built-program-cmd) with
72538         $(host-test-program-cmd).
72539         * config.make.in (build-hardcoded-path-in-tests): New variable.
72540         * configure.in (--enable-hardcoded-path-in-tests): New configure
72541         option.
72542         (hardcoded_path_in_tests): New AC_SUBST.
72543         * configure: Regenerated.
72544         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72545         $(built-program-cmd) with $(test-program-cmd).
72546         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72547         (test_program_cmd): This.
72548         * elf/Makefile ($(objpfx)order.out): Run test with
72549         $(test-program-prefix).
72550         ($(objpfx)order2.out): Likewise.
72551         ($(objpfx)tst-initorder.out): Likewise.
72552         ($(objpfx)tst-initorder2.out): Likewise.
72553         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72554         $(test-program-cmd).
72555         ($(objpfx)tst-array1-static.out): Likewise.
72556         ($(objpfx)tst-array2.out): Likewise.
72557         ($(objpfx)tst-array3.out): Likewise.
72558         ($(objpfx)tst-array4.out): Likewise.
72559         ($(objpfx)tst-array5.out): Likewise.
72560         ($(objpfx)tst-array5-static.out): Likewise.
72561         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72562         $(test-program-cmd).
72563         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72564         $(run-program-prefix) with $(test-program-prefix).
72565         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72566         (test_program_prefix): This.
72567         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72568         $(run-program-prefix) with $(test-program-prefix).
72569         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72570         (test_program_prefix): This.
72571         * iconvdata/tst-tables.sh: Likewise.
72572         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72573         $(run-program-prefix) with $(test-program-prefix).
72574         ($(objpfx)tst-translit.out): Likewise.
72575         ($(objpfx)tst-gettext2.out): Likewise.
72576         ($(objpfx)tst-gettext4.out): Likewise.
72577         ($(objpfx)tst-gettext6.out): Likewise.
72578         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72579         (test_program_prefix): This.
72580         * intl/tst-gettext2.sh: Likewise.
72581         * intl/tst-gettext4.sh  Likewise.
72582         * intl/tst-gettext6.sh: Likewise.
72583         * intl/tst-translit.sh: Likewise.
72584         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72585         with $(test-program-cmd).
72586         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72587         $(run-program-prefix) with $(test-program-prefix).
72588         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72589         (test_program_prefix): This.
72590         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72591         $(run-program-prefix) with $(test-program-prefix).
72592         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72593         (test_program_prefix): This.
72594         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72595         * posix/Makefile ($(objpfx)globtest.out): Replace
72596         $(run-via-rtld-prefix) and $(test-wrapper) with
72597         $(test-program-prefix) and $(test-via-rtld-prefix).
72598         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72599         $(test-program-prefix).
72600         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72601         $(host-test-program-cmd).
72602         (tst-spawn-ARGS): Likewise.
72603         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72604         $(test-program-prefix).
72605         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72606         (test_via_rtld_prefix): This.
72607         (test_wrapper): Renamed to ...
72608         (test_program_prefix): This.
72609         (run_program_prefix): Replaced by test_program_prefix.
72610         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72611         (test_program_prefix): This.
72612         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72613         with $(host-test-program-cmd).
72614         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72615         $(run-program-prefix) with $(test-program-prefix).
72616         ($(objpfx)tst-printf.out): Likewise.
72617         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72618         $(test-program-cmd).
72619         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72620         (test_program_prefix): This.
72621         * stdio-common/tst-unbputc.sh: Likewise.
72622         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72623         $(run-program-prefix) with $(test-program-prefix).
72624         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72625         (test_program_prefix): This.
72626         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72627         $(built-program-cmd) with $(test-program-cmd).
72629 2013-01-11  Andreas Jaeger  <aj@suse.de>
72631         [BZ #15003]
72632         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72633         value. Sync with Linux 3.7.
72635 2013-01-10  David S. Miller  <davem@davemloft.net>
72637         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72638         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72639         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72641 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72643         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72644         never set.
72645         * configure: Regenerated.
72647 2013-01-10  David S. Miller  <davem@davemloft.net>
72649         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72650         sparc V9 rather than using V8 code.
72651         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72652         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72654 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72656         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72657         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72658         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72659         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72660         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72661         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72662         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72663         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72664         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72665         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72666         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72667         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72668         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72669         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72670         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72671         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72672         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72673         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72674         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72675         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72676         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72677         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72678         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72679         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72680         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72681         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72682         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72684 2013-01-10  David S. Miller  <davem@davemloft.net>
72686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72688 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72690         * posix/Makefile (tests-static): New variable.
72691         (tests): Add $(tests-static).
72692         (tst-exec-static-ARGS): New variable.
72693         (tst-spawn-static-ARGS): Likewise.
72694         * posix/tst-exec-static.c: New file.
72695         * posix/tst-spawn-static.c: Likewise.
72696         * posix/tst-exec.c: Support run directly.
72697         * posix/tst-spawn.c: Likewise.
72699 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72701         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72702         long.
72703         * math/bits/mathcalls.h (llrint): Likewise.
72704         (llround): Likewise.
72705         * stdlib/stdlib.h (struct drand48_data): Likewise.
72706         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72707         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72708         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72709         Likewise.
72710         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72711         Likewise.
72712         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72713         (elf_greg_t): Likewise.
72714         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72715         (__jmp_buf): Likewise.
72716         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72717         definitions.
72718         (llrint): Likewise, for all definitions.
72719         (llrintl): Likewise.
72721         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72722         Remove [__GNUC__] condition.
72723         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72724         condition to just [__USE_ISOC99].
72725         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72727 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72729         [BZ #14200]
72730         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72731         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72732         defined.
72733         (_POSIX_V6_ILP32_OFF32): Likewise.
72734         (_XBS5_ILP32_OFF32): Likewise.
72735         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72736         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72738 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72740         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72743         doubles __mpexp_twomm1.  Adjust usage.
72744         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72745         Remove.
72747 2013-01-10  Andreas Schwab  <schwab@suse.de>
72749         [BZ #14964]
72750         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72751         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72753 2013-01-09  David S. Miller  <davem@davemloft.net>
72755         [BZ #15003]
72756         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72757         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72758         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72759         (TCP_FASTOPEN): Define.
72760         (tcp_repair_opt): New structure.
72761         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72762         enum values.
72763         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72764         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72765         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72766         (tcp_cookie_transactions): New structure.
72768 2013-01-09  Anton Blanchard  <anton@samba.org>
72770         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72771         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72773         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72775 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72777         * include/features.h (__USE_ANSI): Remove.
72779 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72781         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72783         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72785 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72787         * sysdeps/s390/fpu/libm-test-ulps: Update.
72789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72791         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72792         (__acr): Likewise.
72793         (__cpy): Likewise.
72794         (norm): Likewise.
72795         (denorm): Likewise.
72796         (__mp_dbl): Likewise.
72797         (__dbl_mp): Likewise.
72798         (add_magnitudes): Likewise.
72799         (sub_magnitudes): Likewise.
72800         (__add): Likewise.
72801         (__sub): Likewise.
72802         (__mul): Likewise.
72803         (__inv): Likewise.
72804         (__dvd): Likewise.
72805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72806         (__acr): Likewise.
72807         (__cpy): Likewise.
72808         (norm): Likewise.
72809         (denorm): Likewise.
72810         (__mp_dbl): Likewise.
72811         (__dbl_mp): Likewise.
72812         (add_magnitudes): Likewise.
72813         (sub_magnitudes): Likewise.
72814         (__add): Likewise.
72815         (__sub): Likewise.
72816         (__mul): Likewise.
72817         (__inv): Likewise.
72818         (__dvd): Likewise.
72819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72820         (__acr): Likewise.
72821         (__cpy): Likewise.
72822         (norm): Likewise.
72823         (denorm): Likewise.
72824         (__mp_dbl): Likewise.
72825         (__dbl_mp): Likewise.
72826         (add_magnitudes): Likewise.
72827         (sub_magnitudes): Likewise.
72828         (__add): Likewise.
72829         (__sub): Likewise.
72830         (__mul): Likewise.
72831         (__inv): Likewise.
72832         (__dvd): Likewise.
72834 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72836         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72837         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72838         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72839         2 && __USE_EXTERN_INLINES]: Likewise.
72841 2013-01-08  Andreas Jaeger  <aj@suse.de>
72843         [BZ #14985]
72844         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72845         Remove.
72846         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72847         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72849 2013-01-07  Anton Blanchard  <anton@samba.org>
72851         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72852         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72853         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72854         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72856         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72857         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72858         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72860         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72861         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72862         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72863         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72864         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72865         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72866         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72867         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72869         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72870         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72871         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72872         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72873         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72874         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72875         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72876         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72877         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72878         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72880         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72881         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72883         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72884         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72885         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72886         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72888         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72889         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72890         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72891         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72893         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72895 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72897         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72898         (__MALLOC_PMT): Likewise.
72899         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72900         [__GNUC__], only on [_LIBC].
72901         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72902         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72903         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72904         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72905         forward declaration.
72906         (realloc_hook_ini): Likewise.
72907         (memalign_hook_ini): Likewise.
72908         (__libc_memalign): Do not use __MALLOC_PMT in variable
72909         declaration.
72910         (__libc_valloc): Likewise.
72911         (__libc_pvalloc): Likewise.
72912         (__libc_calloc): Likewise.
72913         (__posix_memalign): Likewise.
72915         [BZ #14996]
72916         * math/s_casinh.c: Include <float.h>.
72917         (__casinh): Do not do computation with squaring and square root
72918         for large arguments.
72919         * math/s_casinhf.c: Include <float.h>.
72920         (__casinhf): Do not do computation with squaring and square root
72921         for large arguments.
72922         * math/s_casinhl.c: Include <float.h>.
72923         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72924         (__casinhl): Do not do computation with squaring and square root
72925         for large arguments.
72926         * math/libm-test.inc (casin_test): Add more tests.
72927         (casinh_test): Likewise.
72928         * sysdeps/i386/fpu/libm-test-ulps: Update.
72929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72931 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72933         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72934         (__x86_64_raw_data_cache_size): Likewise.
72935         (__x86_64_data_cache_size_half): Likewise.
72936         (__x86_64_raw_data_cache_size_half): Likewise.
72937         (__x86_64_shared_cache_size): Likewise.
72938         (__x86_64_raw_shared_cache_size): Likewise.
72939         (__x86_64_shared_cache_size_half): Likewise.
72940         (__x86_64_raw_shared_cache_size_half): Likewise.
72941         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72942         to ...
72943         (__x86_data_cache_size): This.
72944         (__x86_64_raw_data_cache_size): Renamed to ...
72945         (__x86_raw_data_cache_size): This.
72946         (__x86_64_data_cache_size_half): Renamed to ...
72947         (__x86_data_cache_size_half): This.
72948         (__x86_64_raw_data_cache_size_half): Renamed to ...
72949         (__x86_raw_data_cache_size_half): This.
72950         (__x86_64_shared_cache_size): Renamed to ...
72951         (__x86_shared_cache_size): This.
72952         (__x86_64_raw_shared_cache_size): Renamed to ...
72953         (__x86_raw_shared_cache_size): This.
72954         (__x86_64_shared_cache_size_half): Renamed to ...
72955         (__x86_shared_cache_size_half): This.
72956         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72957         (__x86_raw_shared_cache_size_half): This.
72958         * sysdeps/x86_64/memcpy.S: Updated.
72959         * sysdeps/x86_64/memset.S: Likewise.
72960         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72961         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72964 2013-01-04  David S. Miller  <davem@davemloft.net>
72966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72968 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72970         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72971         1 to avoid redefinition warning.
72972         (__USE_GNU): Don't define.
72973         (init_signaling_nan): Protoize.
72975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72977 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72979         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72981         (__cpymn): Likewise.
72982         (norm): Remove commented code.
72983         (denorm): Likewise.
72984         (__mp_dbl): Likewise.
72985         (__inv): Likewise.
72986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72987         (__cpymn): Likewise.
72988         (norm): Remove commented code.
72989         (denorm): Likewise.
72990         (__mp_dbl): Likewise.
72991         (__inv): Likewise.
72993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72994         mp_no value for 1.0 and 2.0.
72995         (norm): Use RADIXI instead of radixi.d.
72996         (denorm): Likewise.
72997         (__mul): Use 0.0 instead of zero.d.
72998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72999         mp_no value for 1.0 and 2.0.
73000         (norm): Use RADIXI instead of radixi.d.
73001         (denorm): Likewise.
73002         (__mul): Use 0.0 instead of zero.d.
73004 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
73006         [BZ #14994]
73007         * math/s_casinh.c (__casinh): Reduce finite argument to first
73008         quadrant then set signs of results at the end.
73009         * math/s_casinhf.c (__casinhf): Likewise.
73010         * math/s_casinhl.c (__casinhl): Likewise.
73011         * math/libm-test.inc (casin_test): Add more tests.
73012         (casinh_test): Likewise.
73013         * sysdeps/i386/fpu/libm-test-ulps: Update.
73014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73016 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73018         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
73020         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
73022         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
73023         declarations.
73024         (denorm): Likewise.
73025         (__mp_dbl): Likewise.
73026         (__inv): Likewise.
73028         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
73029         and adjust the header comment.
73031         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
73032         variable name from declaration.
73034 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
73036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73037         Initialize COMMON_CPUID_INDEX_7 element.
73038         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
73039         (CPUID_RTM): Likewise.
73040         (HAS_RTM): Likewise.
73041         (COMMON_CPUID_INDEX_7): New enum.
73043 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
73045         [BZ #14981]
73046         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
73047         size is zero, record memory as freed.
73049 2013-01-03  Andreas Jaeger  <aj@suse.de>
73051         * po/ia.po: Add new Interlingua translation.
73053 2012-01-03  Allan McRae  <allan@archlinux.org>
73055         * locale/programs/localedef.c: Fix description of '--posix' flag.
73057 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
73059         * NEWS: Update dates in second copyright notice.
73060         * README: Update copyright dates in example.
73061         * manual/libc.texinfo: Update copyright dates.
73062         * scripts/test-installation.pl: Update copyright date in --version
73063         output.
73065         * hurd/ctty-input.c: Fix copyright notice formatting.
73066         * hurd/ctty-output.c: Likewise.
73067         * hurd/dtable.c: Likewise.
73068         * hurd/hurd-raise.c: Likewise.
73069         * hurd/hurdprio.c: Likewise.
73070         * hurd/msgportdemux.c: Likewise.
73071         * misc/sys/file.h: Likewise.
73072         * misc/sys/ioctl.h: Likewise.
73073         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73074         * sysdeps/mach/hurd/chdir.c: Likewise.
73075         * sysdeps/mach/hurd/fchdir.c: Likewise.
73076         * sysdeps/mach/hurd/rename.c: Likewise.
73077         * sysdeps/mach/hurd/rmdir.c: Likewise.
73078         * sysdeps/mach/hurd/seekdir.c: Likewise.
73079         * sysdeps/mach/hurd/setsid.c: Likewise.
73080         * sysdeps/posix/wait3.c: Likewise.
73082         * All files with FSF copyright notices: Update copyright dates
73083         using scripts/update-copyrights.
73084         * intl/plural.c: Regenerated.
73085         * locale/programs/charmap-kw.h: Likewise.
73086         * locale/programs/locfile-kw.h: Likewise.
73088 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
73090         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73091         four values.
73093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73094         calculation loop and add branch prediction.
73096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73097         check access beyond bounds of m1np.
73099         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73100         MPTWO.
73101         (__inv): Remove local variable MPTWO to use the global
73102         constant.
73103         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73104         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73105         variable MPTWO.
73106         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73107         MP3HALFS static const.
73109 2013-01-01  David S. Miller  <davem@davemloft.net>
73111         * po/ca.po: Update from translation team.
73113 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
73115         * scripts/update-copyrights: New file.
73116         * Makeconfig: Reformat copyright notice.
73117         * ctype/ctype.h: Likewise.
73118         * debug/swprintf_chk.c: Likewise.
73119         * elf/dl-cache.c: Likewise.
73120         * elf/dl-debug.c: Likewise.
73121         * elf/dl-object.c: Likewise.
73122         * grp/initgroups.c: Likewise.
73123         * hurd/Makefile: Likewise.
73124         * hurd/hurd/signal.h: Likewise.
73125         * hurd/hurdfault.c: Likewise.
73126         * hurd/hurdioctl.c: Likewise.
73127         * hurd/hurdlookup.c: Likewise.
73128         * hurd/intr-msg.c: Likewise.
73129         * iconv/gconv_open.c: Likewise.
73130         * libio/swprintf.c: Likewise.
73131         * locale/lc-ctype.c: Likewise.
73132         * locale/nl_langinfo.c: Likewise.
73133         * mach/Machrules: Likewise.
73134         * mach/Makefile: Likewise.
73135         * malloc/obstack.h: Likewise.
73136         * manual/Makefile: Likewise.
73137         * manual/tsort.awk: Likewise.
73138         * misc/bits/stab.def: Likewise.
73139         * nis/nis_print_group_entry.c: Likewise.
73140         * nis/nis_table.c: Likewise.
73141         * nis/nss_compat/compat-pwd.c: Likewise.
73142         * nis/nss_compat/compat-spwd.c: Likewise.
73143         * po/Makefile: Likewise.
73144         * posix/fnmatch.c: Likewise.
73145         * posix/regex.h: Likewise.
73146         * resolv/Makefile: Likewise.
73147         * resolv/nss_dns/dns-network.c: Likewise.
73148         * resolv/res_hconf.c: Likewise.
73149         * scripts/gen-sorted.awk: Likewise.
73150         * soft-fp/soft-fp.h: Likewise.
73151         * stdio-common/printf.h: Likewise.
73152         * stdlib/monetary.h: Likewise.
73153         * stdlib/random.c: Likewise.
73154         * stdlib/random_r.c: Likewise.
73155         * sysdeps/generic/Makefile: Likewise.
73156         * sysdeps/gnu/Makefile: Likewise.
73157         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73158         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73159         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73160         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73161         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73162         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73164         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73165         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73166         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73167         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73168         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73169         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73170         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73171         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73172         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73173         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73174         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73175         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73176         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73177         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73178         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73179         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73180         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73181         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73183         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73184         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73185         * sysdeps/mach/hurd/errnos.awk: Likewise.
73186         * sysdeps/mach/hurd/fork.c: Likewise.
73187         * sysdeps/mach/hurd/getcwd.c: Likewise.
73188         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73189         * sysdeps/mach/hurd/mmap.c: Likewise.
73190         * sysdeps/mach/hurd/utimes.c: Likewise.
73191         * sysdeps/mach/hurd/xmknod.c: Likewise.
73192         * sysdeps/posix/profil.c: Likewise.
73193         * sysdeps/posix/readdir_r.c: Likewise.
73194         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73195         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73196         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73197         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73199         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73200         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73201         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73203         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73204         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73205         * sysdeps/pthread/lio_listio.c: Likewise.
73206         * sysdeps/sparc/dl-procinfo.h: Likewise.
73207         * sysdeps/unix/i386/sysdep.S: Likewise.
73208         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73209         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73210         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73211         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73213         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73214         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73215         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73216         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73217         * sysdeps/wordsize-32/divdi3.c: Likewise.
73218         * time/sys/time.h: Likewise.
73219         * wcsmbs/Makefile: Likewise.
73221 2013-01-01  David S. Miller  <davem@davemloft.net>
73223         * po/fr.po: Update from translation team.
73225         * catgets/gencat.c: Update copyright year.
73226         * csu/version.c: Likewise.
73227         * debug/catchsegv.sh: Likewise.
73228         * debug/pcprofiledump.c: Likewise.
73229         * debug/xtrace.sh: Likewise.
73230         * elf/ldconfig.c: Likewise.
73231         * elf/ldd.bash.in: Likewise.
73232         * elf/pldd.c: Likewise.
73233         * elf/sotruss.ksh: Likewise.
73234         * elf/sprof.c: Likewise.
73235         * iconv/iconv_prog.c: Likewise.
73236         * iconv/iconvconfig.c: Likewise.
73237         * locale/programs/locale.c: Likewise.
73238         * locale/programs/localedef.c: Likewise.
73239         * login/programs/pt_chown.c: Likewise.
73240         * malloc/memusage.sh: Likewise.
73241         * malloc/memusagestat.c: Likewise.
73242         * malloc/mtrace.pl: Likewise.
73243         * nscd/nscd.c: Likewise.
73244         * nss/getent.c: Likewise.
73245         * nss/makedb.c: Likewise.
73246         * posix/getconf.c: Likewise.
73248 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73250         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73251         numbers.
73253 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73255         * math/bits/mathcalls.h (modf): Use __nonnull.
73257 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73259         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73260         (split): Use macro CN instead of the bare value.
73261         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73262         could be used.
73263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73264         instead of the bare value.
73265         (power1): Likewise.
73267 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73269         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73270         __ATAN_TWOM.
73271         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73273         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73274         their values.
73275         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73276         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73277         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73278         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73280 2012-12-28  Andreas Jaeger  <aj@suse.de>
73282         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73283         values are from Linux 3.7.
73285         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73286         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73288 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73290         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73291         TRUE case.
73293         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73294         (norm): Likewise.
73295         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73296         variables with preprocessor constants.
73297         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73298         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73299         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73301 2012-12-27  Bruno Haible  <bruno@clisp.org>
73303         [BZ #14317]
73304         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73305         only if needed.
73307 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73309         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73310         and use variable directly.
73311         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73313         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73314         MPONE.
73315         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73316         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73317         variable MPONE.
73318         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73320         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73321         include directive.  Remove local variable MPONE.
73322         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73323         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73324         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73326 2012-12-25  David S. Miller  <davem@davemloft.net>
73328         * version.h (RELEASE): Set to "development".
73329         (VERSION): Set to "2.17.90".
73330         * NEWS: Add 2.18 section.
73332 2012-12-21  David S. Miller  <davem@davemloft.net>
73334         * po/hr.po: Update from translation team.
73336 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73338         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73340 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73342         * NEWS:  Mention new memcpy for MIPS.
73344 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73346         * manual/contrib.texi (Contributors): Spelling correction.
73348 2012-12-15  David S. Miller  <davem@davemloft.net>
73350         * po/ru.po: Update from translation team.
73352 2012-12-13  David S. Miller  <davem@davemloft.net>
73354         * NEWS: Mention IFUNC testsuite enhancements.
73356         * po/pl.po: Update from translation team.
73357         * po/bg.po: Likewise.
73359         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73360         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73362 2012-12-11  David S. Miller  <davem@davemloft.net>
73364         * po/sv.po: Update from translation team.
73366         * po/vi.po: Update from translation team.
73368         * po/cs.po: Update from translation team.
73370         * po/de.po: Update from translation team.
73371         * po/eo.po: Likewise.
73372         * po/nl.po: Likewise.
73374 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73376         [BZ #14246]
73377         * manual/argp.texi (Argp Helper Functions): Move node to follow
73378         Argp Parsing State.
73380         [BZ #14872]
73381         * manual/conf.texi (Limits on File System Capacity): Mention if
73382         terminating null is included in the max size.
73384 2012-12-10  Andreas Jaeger  <aj@suse.de>
73386         * po/cs.po: Update from translation team.
73388 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73390         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73391         void pointer and cast to uintptr_t.
73392         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73393         path.
73394         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73395         * sysdeps/s390/s390-64/memset.S: Likewise.
73397 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73399         [BZ #14833]
73400         * menual/message.texi (Message Translation): Fix typos.
73401         (Helper programs for gettext): Likewise.
73403 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73405         [BZ #14898]
73406         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73407         Change to -1.
73409 2012-12-07  David S. Miller  <davem@davemloft.net>
73411         * po/libc.pot: Update.
73413 2012-12-07  Richard Henderson  <rth@redhat.com>
73415         [BZ #10114]
73416         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73417         normal/normal case to before the switch.
73418         (_FP_DIV): Likewise.
73420 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73421             Mike Frysinger  <vapier@gentoo.org>
73423         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73424         check for __NR_fadvise64_64.
73426 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73428         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73429         0, not just to plain "0" as a statement.
73430         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73431         with cw.
73433 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73435         * NEWS: Use sourceware.org in Bugzilla URL.
73437 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73440         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73442         * stdio-common/tst-put-error.c (do_test): Add newline to the
73443         padded test to ensure flush.
73445 2012-12-05  Jeff Law  <law@redhat.com>
73447         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73449 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73451         * README: Don't refer to ports add-on as distributed separately.
73452         Mention AArch64 in list of systems supported in the ports add-on.
73454         * LICENSES: Add more non-FSF copyright and license notices.
73456         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73457         ((unused)).
73459         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73461         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73462         10000 as width of padded output.
73464 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73466         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73468         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73469         variable LX with __attribute__ ((unused)).
73470         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73471         Likewise.
73472         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73473         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73474         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73475         with __attribute__ ((unused)).
73477 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73479         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73481 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73483         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73484         (CFLAGS-nldbl-acos.c): New variable.
73485         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73486         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73487         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73488         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73489         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73490         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73491         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73492         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73493         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73494         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73495         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73496         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73497         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73498         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73499         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73500         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73501         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73502         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73503         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73504         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73505         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73506         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73507         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73508         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73509         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73510         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73511         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73512         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73513         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73514         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73515         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73516         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73517         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73518         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73519         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73520         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73521         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73522         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73523         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73524         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73525         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73526         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73527         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73528         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73529         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73530         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73531         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73532         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73533         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73534         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73535         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73536         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73537         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73538         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73539         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73540         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73541         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73542         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73543         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73544         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73545         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73546         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73547         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73548         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73549         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73550         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73551         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73552         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73553         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73554         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73555         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73556         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73557         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73558         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73559         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73560         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73561         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73562         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73563         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73564         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73565         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73566         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73567         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73568         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73569         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73570         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73571         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73572         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73573         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73574         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73575         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73576         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73577         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73578         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73579         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73580         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73581         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73584         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73586         [BZ #14914]
73587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73588         whole low double instead of just low 47 bits when splitting values
73589         into two parts.
73591 2012-12-03  Allan McRae  <allan@archlinux.org>
73593         * manual/stdio.texi (Predefined Printf Handlers): Remove
73594         @hsep and @vsep usage.
73596 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73598         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73599         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73601 2012-12-03  Jeff Law  <law@redhat.com>
73603         * time/sys/time.h (settimeofday): Do not mark TV argument
73604         as __nonnull.
73606 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73608         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73609         when currently writing and seek to current position when not.
73610         * libio/Makefile (tests): Remove bug-fclose1.
73611         * libio/bug-fclose1.c: Delete.
73613 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73615         * manual/arith.texi (feenableexcept): Fix typo.
73616         (fedisableexcept): Likewise.
73618 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73620         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73621         second, differently-typed declaration, rather than a cast.
73623 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73625         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73626         * include/rpc/svc.h: ... here.
73628 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73630         [BZ #13013]
73631         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73632         depending n and resplen2 to catch cases where answer
73633         equals answerp2.
73635 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73637         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73638         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73640 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73642         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73644 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73646         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73648 2012-11-28  Jeff Law  <law@redhat.com>
73650         [BZ #13761]
73651         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73652         dataset_temporary.  Track alloca usage into alloca_used.
73653         If dataset is large allocate and release it via malloc/free.
73655 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73657         [BZ #14197]
73658         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73660 2012-11-28  David S. Miller  <davem@davemloft.net>
73662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73664 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73666         [BZ #14803]
73667         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73668         of pi/2 rounded to nearest to 64 bits.
73669         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73670         nearest to 64 bits.
73671         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73672         bits.
73674 2012-11-28  Jeff Law <law@redhat.com>
73675             Martin Osvald <mosvald@redhat.com>
73677         [BZ #14889]
73678         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73679         * sunrpc/svc.c: Include time.h.
73680         (__svc_accept_failed): New function.
73681         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73682         any reason other than EINTR, call __svc_accept_failed.
73683         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73684         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73686 2012-11-28  Andreas Schwab  <schwab@suse.de>
73688         * scripts/abilist.awk: Also handle indirect functions in .opd
73689         section.
73691 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73693         [BZ #13881]
73694         * sysdeps/x86/fpu/powl_helper.c: New file.
73695         * sysdeps/x86/fpu/Makefile: Likewise.
73696         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73697         (p3): New object.
73698         (__ieee754_powl): Use __powl_helper for finite arguments except
73699         integer exponents below 8.
73700         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73701         (p3): New object.
73702         (__ieee754_powl): Use __powl_helper for finite arguments except
73703         integer exponents below 8.
73704         * math/libm-test.inc (pow_test): Add more tests and enable some
73705         previously disabled tests.
73706         * sysdeps/i386/fpu/libm-test-ulps: Update.
73707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73709 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73710             Carlos O'Donell  <carlos_odonell@mentor.com>
73712         * nss/makedb.c (is_prime): Assert that input is odd and greater
73713         than 4.  Note that fact in a comment too.
73714         (next_prime): Add 4 to input.
73716 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73718         [BZ #11741]
73719         * libio/Makefile (tests): Add test case tst-fwrite-error.
73720         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73721         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73722         * libio/tst-fwrite-error.c: New test case.
73724 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73726         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73727         before casting to void *.
73728         * include/libc-internal.h (__pointer_type): New macro.
73729         (__integer_if_pointer_type_sub): Likewise.
73730         (__integer_if_pointer_type): Likewise.
73731         (cast_to_integer): Likewise.
73732         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73733         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73734         before casting to atomic64_t.
73735         (atomic_exchange_acq): Likewise.
73736         (__arch_exchange_and_add_body): Likewise.
73737         (__arch_add_body): Likewise.
73738         (atomic_add_negative): Likewise.
73739         (atomic_add_zero): Likewise.
73741 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73743         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73744         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73745         (add_fdes): Likewise.
73746         (linear_search_fdes): Likewise.
73747         (binary_search_unencoded_fdes): Likewise.
73749 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73751         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73753 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73755         * configure.in: Autodetect C++ header directories.
73756         * configure: Regenerated.
73758 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73760         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73762 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73766 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73768         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73769         LDBL_MANT_DIG == 106]: Disable some tests.
73770         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73771         Likewise.
73772         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73773         Likewise.
73775         [BZ #14871]
73776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73777         input for small inputs.  Return +/- pi/2 for large inputs.
73778         * math/libm-test.inc (atan_test): Add more tests.
73780         * sysdeps/generic/unwind-dw2-fde-glibc.c
73781         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73782         __attribute__ ((unused)).
73784         [BZ #14645]
73785         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73786         x * y if x and y are nonzero and z is zero.
73788         [BZ #14811]
73789         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73790         nonzero exponents with absolute value below 0x1p-117 to +/-
73791         0x1p-117.
73793         [BZ #14869]
73794         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73795         up arguments below 2**-450, not just those below 2**-500.
73796         * math/libm-test.inc (hypot_test): Add another test.
73798         [BZ #14868]
73799         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73800         Return a+b for ratio over 2**120, not 2**60.
73801         * math/libm-test.inc (hypot_test): Add another test.
73803         * math/libm-test.inc (clog_test): Use
73804         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73805         (clog10_test): Likewise.
73807         [BZ #6778]
73808         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73810 2012-11-22  Andreas Schwab  <schwab@suse.de>
73812         * sysdeps/i386/fpu/libm-test-ulps: Update.
73814 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73816         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73817         printf output with newline.
73819 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73821         [BZ #14865]
73822         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73823         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73824         -z nodlopen, -z initfirst and -z execstack support.
73825         * configure: Regenerated.
73827         * elf/elf.h (DF_1_NODIRECT): New macro.
73828         (DF_1_IGNMULDEF): Likewise.
73829         (DF_1_NOKSYMS): Likewise.
73830         (DF_1_NOHDR): Likewise.
73831         (DF_1_EDITED): Likewise.
73832         (DF_1_NORELOC): Likewise.
73833         (DF_1_SYMINTPOSE): Likewise.
73834         (DF_1_GLOBAUDIT): Likewise.
73835         (DF_1_SINGLETON): Likewise.
73836         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73837         DT_1_SUPPORTED_MASK bits.
73838         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73840 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73842         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73844 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73846         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73847         macro.
73849         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73850         (sendmmsg): Move declarations...
73851         * socket/sys/socket.h: ... here.
73852         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73853         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73854         include it from...
73855         * socket/recvmmsg.c: ... this new file.
73856         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73857         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73858         definition of __sendmmsg hidden.
73859         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73860         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73861         Move ENOSYS stub into and include it from...
73862         * socket/sendmmsg.c: ... this new file.
73863         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73864         (sysdep_routines): Move recvmmsg and sendmmsg...
73865         * socket/Makefile (routines): ... here.
73866         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73867         (GLIBC_PRIVATE): Add __sendmmsg.
73868         * include/sys/socket.h (__sendmmsg): Add declarations.
73869         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73870         sendmmsg.
73872 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73874         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73875         variable I1 with __attribute__ ((unused)).
73876         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73878 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73880         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73881         DUMMY variables with __attribute__ ((unused)).
73883         * bits/byteswap.h: Include <bits/types.h>.
73884         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73886 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73888         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73889         string_t.  Do not manually set errno.
73890         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73891         length with __strnlen.  Make sure to both set errno and return it on
73892         failure.
73894 2012-11-19  David S. Miller  <davem@davemloft.net>
73896         With help from Joseph Myers.
73897         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73898         very large arguments properly.
73899         * math/libm-test.inc (atan_test): New tests.
73900         (atan2_test): New tests.
73901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73904 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73906         [BZ #14856]
73907         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73908         Define to 3.
73910         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73911         [POSIX] (EADDRNOTAVAIL): Likewise.
73912         [POSIX] (EAFNOSUPPORT): Likewise.
73913         [POSIX] (EALREADY): Likewise.
73914         [POSIX] (ECONNABORTED): Likewise.
73915         [POSIX] (ECONNREFUSED): Likewise.
73916         [POSIX] (ECONNRESET): Likewise.
73917         [POSIX] (EDESTADDRREQ): Likewise.
73918         [POSIX] (EDQUOT): Likewise.
73919         [POSIX] (EHOSTUNREACH): Likewise.
73920         [POSIX] (EIDRM): Likewise.
73921         [POSIX] (EISCONN): Likewise.
73922         [POSIX] (ELOOP): Likewise.
73923         [POSIX] (EMULTIHOP): Likewise.
73924         [POSIX] (ENETDOWN): Likewise.
73925         [POSIX] (ENETUNREACH): Likewise.
73926         [POSIX] (ENOBUFS): Likewise.
73927         [POSIX] (ENODATA): Likewise.
73928         [POSIX] (ENOLINK): Likewise.
73929         [POSIX] (ENOMSG): Likewise.
73930         [POSIX] (ENOPROTOOPT): Likewise.
73931         [POSIX] (ENOSR): Likewise.
73932         [POSIX] (ENOSTR): Likewise.
73933         [POSIX] (ENOTCONN): Likewise.
73934         [POSIX] (ENOTSOCK): Likewise.
73935         [POSIX] (EOPNOTSUPP): Likewise.
73936         [POSIX] (EOVERFLOW): Likewise.
73937         [POSIX] (EPROTO): Likewise.
73938         [POSIX] (EPROTONOSUPPORT): Likewise.
73939         [POSIX] (EPROTOTYPE): Likewise.
73940         [POSIX] (ESTALE): Likewise.
73941         [POSIX] (ETIME): Likewise.
73942         [POSIX] (ETXTBSY): Likewise.
73943         [POSIX] (EWOULDBLOCK): Likewise.
73944         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73945         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73946         [POSIX] (SEEK_CUR): Likewise.
73947         [POSIX] (SEEK_END): Likewise.
73948         [POSIX || UNIX98] (mode_t): Do not require.
73949         [POSIX] (off_t): Likewise.
73950         [POSIX] (pid_t): Likewise.
73951         [POSIX] (sys/stat.h): Do not allow header.
73952         [POSIX] (unistd.h): Likewise.
73953         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73954         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73955         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73956         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73957         require.
73958         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73959         sigevent): Specify elements.
73960         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73961         entry.
73962         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73963         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73965         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73966         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73967         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73968         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73969         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73970         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73971         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73972         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73973         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73974         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73975         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73976         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73977         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73978         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73979         Likewise.
73980         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73981         Likewise.
73982         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73983         Likewise.
73984         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73985         Likewise.
73986         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73987         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73988         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73989         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73990         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73991         Specify lower bound on value.
73992         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73993         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73994         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73995         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73996         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73997         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73998         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73999         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
74000         value.
74001         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
74002         as optional.
74003         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
74004         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
74005         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
74006         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
74007         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
74008         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
74009         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
74010         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
74011         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
74012         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
74013         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
74014         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
74015         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
74016         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
74017         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
74018         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
74019         entry.
74020         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
74021         optional.
74022         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
74023         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
74024         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
74025         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
74026         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
74027         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
74028         Likewise.
74029         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
74030         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
74031         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
74032         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
74033         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
74034         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
74035         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
74036         as optional.
74037         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
74038         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
74039         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
74040         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
74041         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
74042         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
74043         specify as optional.
74044         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
74045         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
74046         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
74047         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
74048         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
74049         [XPG3] (NL_LANGMAX): Likewise.
74050         [POSIX || XPG3] (NL_MSGMAX): Likewise.
74051         [POSIX || XPG3] (NL_NMAX): Likewise.
74052         [POSIX || XPG3] (NL_SETMAX): Likewise.
74053         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
74054         [XPG3] (NZERO): Likewise.
74055         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
74056         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
74057         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
74058         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
74059         (REG_ERANGE): Expect.
74060         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
74061         optional-constant.
74062         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74063         Use (void) in prototype.
74064         [POSIX] (*_t): Allow.
74065         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74066         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74067         (WRDE_BADVAL): Expect.
74069         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74070         expect.
74071         [XPG3 || XPG4] (O_RSYNC): Likewise.
74072         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74073         Likewise.
74074         [XPG3 || XPG4] (pthread_sigmask): Likewise.
74075         [XPG3 || XPG4] (sigqueue): Likewise.
74076         [XPG3 || XPG4] (sigtimedwait): Likewise.
74077         [XPG3 || XPG4] (sigwaitinfo): Likewise.
74078         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74079         [XPG3 || XPG4] (vsnprintf): Likewise.
74080         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74081         Likewise.
74082         [XPG3 || XPG4] (blksize_t): Likewise.
74083         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74084         Likewise.
74085         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74086         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74087         [XPG3 || XPG4] (struct itimerspec): Likewise.
74088         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74089         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74090         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74091         [XPG3 || XPG4] (clockid_t): Likewise.
74092         [XPG3 || XPG4] (timer_t): Likewise.
74093         [XPG3 || XPG4] (clock_getres): Likewise.
74094         [XPG3 || XPG4] (clock_gettime): Likewise.
74095         [XPG3 || XPG4] (clock_settime): Likewise.
74096         [XPG3 || XPG4] (nanosleep): Likewise.
74097         [XPG3 || XPG4] (timer_create): Likewise.
74098         [XPG3 || XPG4] (timer_delete): Likewise.
74099         [XPG3 || XPG4] (timer_gettime): Likewise.
74100         [XPG3 || XPG4] (timer_getoverrun): Likewise.
74101         [XPG3 || XPG4] (timer_settime): Likewise.
74102         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74103         [XPG3 || XPG4] (getlogin_r): Likewise.
74104         [XPG3 || XPG4] (pread): Likewise.
74105         [XPG3 || XPG4] (pthread_atfork): Likewise.
74106         [XPG3 || XPG4] (pwrite): Likewise.
74108         [BZ #14835]
74109         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74110         <bits/siginfo.h>.
74112 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
74114         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74115         finalizing MALLSTREAM.
74117         * sysdeps/mach/hurd/syncfs.c: New file.
74119 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
74121         [BZ #14719]
74122         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74123         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74125         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74126         (_nss_dns_gethostbyname4_r): Likewise.
74127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74128         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74130 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
74132         [BZ #13763]
74133         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74135 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
74137         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74138         * elf/cache.c (print_entry): Print ",AArch64" for
74139         FLAG_AARCH64_LIB64
74141         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74142         * elf/cache.c (print_entry): Print ",hard-float" for
74143         FLAG_ARM_LIBHF.
74145 2012-11-18  David S. Miller  <davem@davemloft.net>
74147         With help from Joseph Myers.
74148         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74149         cutoff to 2**-13.
74150         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74151         cutoff to 2**-25.
74152         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74153         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74154         small.
74155         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74156         * math/libm-test.inc (y0_test): New tests.
74157         (y1_test): New tests.
74158         * sysdeps/i386/fpu/libm-test-ulps: Update.
74159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74162 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
74164         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74165         64-bit targets.
74166         * configure: Regenerated.
74168 2012-11-17  David S. Miller  <davem@davemloft.net>
74170         [BZ #14811]
74171         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74172         nonzero exponents with absolute value below 0x1p-128 to +/-
74173         0x1p-128.
74175 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74177         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74179         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74181         * posix/getconf-speclist.c: New file.
74182         * posix/posix-envs.def: Likewise.
74183         * posix/confstr.c (START_ENV_GROUP): New macro.
74184         (END_ENV_GROUP): Likewise.
74185         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74186         (KNOWN_PRESENT_ENV_STRING): Likewise.
74187         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74188         (UNKNOWN_ENVIRONMENT): Likewise.
74189         (confstr): Include posix-envs.def instead of handling
74190         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74191         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74192         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74193         (END_ENV_GROUP): Likewise.
74194         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74195         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74196         (UNKNOWN_ENVIRONMENT): Likewise.
74197         (__sysconf): Include posix-envs.def instead of handling associated
74198         cases directly here.
74199         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74200         preprocessing getconf-speclist.c rather than running getconf or
74201         generating empty file.
74203 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74205         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74207 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74209         [BZ #14672]
74210         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74212 2012-11-16  David S. Miller  <davem@davemloft.net>
74214         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74215         smaller than LDBL_EPSILON/2.0L, just return xm1.
74217 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74219         * elf/tst-array1.c (init): Set constructor priority to 1000.
74220         (fini): Set destructor priority to 1000.
74221         * elf/tst-array2dep.c: Likewise.
74223 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74225         [BZ #11741]
74226         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74227         (_IO_new_file_xsputn): Also return EOF if none of the input
74228         data was written when overflow failed.
74229         * libio/iopadn.c (_IO_padn): Likewise.
74230         * libio/iowpadn.c (_IO_wpadn): Likewise.
74231         * stdio-common/tst-put-error.c: Add copyright notice.
74232         (do_test): Add case for printing padded string.
74233         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74234         _IO_padn returned error.
74235         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74236         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74237         return EOF.
74239 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74241         * libio/libioP.h: Add comment note that the references to C++
74242         bits are now obsolete.
74244 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74246         * math/libm-test.inc (check_complex): Use asprintf.
74248 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74250         * debug/pcprofiledump.c (print_version): Update copyright year.
74251         * malloc/memusagestat.c (print_version): Likewise.
74253 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74255         [BZ #14831]
74256         * elf/Makefile (tests): Add tst-audit8.
74257         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74258         ($(objpfx)tst-audit8.out): New target.
74259         (tst-audit8-ENV): New variable.
74260         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74261         audit if l_reloc_result is NULL.
74262         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74263         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74264         * elf/tst-audit8.c: New file.
74266 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74268         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74269         * misc/Makefile (CFLAGS-select.c): Define.
74270         * posix/Makefile (CFLAGS-pause.c): Define.
74272 2012-11-13  David S. Miller  <davem@davemloft.net>
74274         * crypt/Makefile: Move test targets after toplevel Rules
74275         inclusion.  Grab any necessary sysdep routines when linking.
74276         * crypt/md5.c (md5_process_block): Remove define, we will always
74277         name it __md5_process_block.
74278         (md5_finish_ctx): Update md5_process_block call.
74279         (md5_stream): Likewise.
74280         (md5_process_bytes): Likewise.
74281         (md5_process_block): Rename to __md5_process_block and move to ...
74282         * crypt/md5-block.c: ... here.
74283         * crypt/sha256.c (sha256_process_block): Move to ...
74284         * crypt/sha256-block.c: ... here.
74285         * crypt/sha512.c (sha512_process_block): Move to ...
74286         * crypt/sha512-block.c: ... here.
74287         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74288         path.
74289         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74290         * sysdeps/sparc/sparc64/multiarch/Makefile
74291         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74292         crypt subdir.
74293         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74294         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74295         multiarch changes.
74296         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74297         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74298         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74299         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74300         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74301         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74302         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74303         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74304         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74305         file.
74306         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74307         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74308         file.
74309         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74311 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74313         * timezone/tzselect.ksh: Update from tzcode git revision
74314         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74315         * timezone/zdump.c: Likewise.
74316         * timezone/zic.c: Likewise.
74317         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74318         in TZVERSION setting, not $(PKGVERSION).
74319         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74320         REPORT_BUGS_TO settings.
74322         [BZ #14838]
74323         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74324         macro.
74326 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74328         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74329         detection to immediately after _FP_ROUND().
74330         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74331         bits are 0.
74333 2012-11-11  David S. Miller  <davem@davemloft.net>
74335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74336         inttypes.h
74337         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74338         __close rather than their public counterparts.
74340 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74342         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74343         file.
74344         [UNIX98] (sem_timedwait): Do not expect.
74345         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74346         [XPG4 || UNIX98] (sockatmark): Do not expect.
74347         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74348         (clock_getcpuclockid): Do not expect.
74349         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74350         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74351         Do not expect.
74352         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74353         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74354         [UNIX98] (vwscanf): Likewise.
74355         [UNIX98] (vswscanf): Likewise.
74357 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74359         * timezone/version.h: Remove file.
74360         * timezone/README: Do not refer to version.h.
74361         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74362         $(objpfx)version.h.
74363         ($(objpfx)zdump.o): Likewise.
74364         ($(objpfx)version.h): New target.
74366         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74367         2012i.
74368         * timezone/README: Don't mention modification to tzselect.ksh.
74369         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74370         work on unmodified tzselect.ksh.  Substitute version numbers in
74371         tzselect.ksh.
74373         * Makefile (format-me): Remove.
74374         (INSTALL): Adjust indentation.  Use commands directly instead of
74375         using $(format-me).
74377         * aclocal.m4 (ACX_PKGVERSION): New macro.
74378         (ACX_BUGURL): Likewise.
74379         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74380         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74381         (REPORT_BUGS_TO): Likewise.
74382         * configure: Regenerated.
74383         * config.h.in (PKGVERSION): New macro.
74384         (REPORT_BUGS_TO): Likewise.
74385         * config.make.in (PKGVERSION): New variable.
74386         (PKGVERSION_TEXI): Likewise.
74387         (REPORT_BUGS_TO): Likewise.
74388         (REPORT_BUGS_TEXI): Likewise.
74389         * Makefile (format-me): Use -I$(common-objpfx)manual.
74390         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74391         ($(common-objpfx)manual/%): New target.
74392         (manual/%): Remove target.
74393         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74394         (print_version): Use PKGVERSION.
74395         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74396         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74397         and REPORT_BUGS_TO.
74398         ($(objpfx)xtrace): Likewise.
74399         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74400         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74401         (print_version): Use PKGVERSION.
74402         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74403         (do_version): Use PKGVERSION.
74404         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74405         REPORT_BUGS_TO.
74406         (common-ldd-rewrite): Likewise.
74407         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74408         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74409         (print_version): Use PKGVERSION.
74410         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74411         * elf/pldd.c (argp_program_bug_address): Remove variable.
74412         (more_help): New function.
74413         (argp): Use more_help.
74414         (print_version): Use PKGVERSION.
74415         * elf/sln.c (main): Use PKGVERSION.
74416         (usage): Use REPORT_BUGS_TO.
74417         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74418         (top level): Use PKGVERSION.
74419         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74420         (print_version): Use PKGVERSION.
74421         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74422         (print_version): Use PKGVERSION.
74423         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74424         (print_version): Use PKGVERSION.
74425         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74426         (print_version): Use PKGVERSION.
74427         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74428         (print_version): Use PKGVERSION.
74429         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74430         (print_version): Use PKGVERSION.
74431         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74432         and BUGURL.
74433         ($(objpfx)memusage): Likewise.
74434         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74435         (do_version): Use PKGVERSION.
74436         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74437         (print_version): Use PKGVERSION.
74438         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74439         ($PKGVERSION): New variable.
74440         ($REPORT_BUGS_TO): Likewise.
74441         (usage): Use $REPORT_BUGS_TO.
74442         (top level): Use $PKGVERSION.
74443         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74444         ($(objpfx)pkgvers.texi): New rule.
74445         ($(objpfx)stamp-pkgvers): Likewise.
74446         * manual/install.texi: Include pkgvers.texi.
74447         (--with-pkgversion): Document new configure option.
74448         (--with-bugurl): Likewise.
74449         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74450         than necessarily for this particular distribution.  Use
74451         REPORT_BUGS_TO for where to report bugs.
74452         * INSTALL: Regenerated.
74453         * manual/libc.texinfo: Include pkgvers.texi.
74454         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74455         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74456         (print_version): Use PKGVERSION.
74457         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74458         (print_version): Use PKGVERSION.
74459         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74460         (print_version): Use PKGVERSION.
74461         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74462         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74463         macro.
74464         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74465         (print_version): Use PKGVERSION.
74466         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74467         (print_version): Use PKGVERSION.
74468         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74469         and PKGVERSION.
74471         * timezone/checktab.awk: Update from tzcode 2012i.
74472         * timezone/ialloc.c: Likewise.
74473         * timezone/private.h: Likewise.
74474         * timezone/scheck.c: Likewise.
74475         * timezone/tzfile.h: Likewise.
74476         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74477         (TZVERSION): Hardcode tzcode version number.
74478         * timezone/zdump.c: Update from tzcode 2012i.
74479         * timezone/zic.c: Likewise.
74480         * timezone/version.h: New file.
74481         * timezone/README: Describe version.h.  Update upstream location.
74483         [BZ #14824]
74484         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74485         (mktemp): Enable declaration.
74486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74487         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74489         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74490         Likewise.
74491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74492         Likewise.
74493         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74494         Likewise.
74495         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74496         Likewise.
74497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74498         Likewise.
74499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74500         Likewise.
74502         [BZ #14821]
74503         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74504         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74505         for copies of such integer values.
74506         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74507         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74509 2012-11-09  Andreas Jaeger  <aj@suse.de>
74511         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74512         definitions and declarations that are provided by
74513         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74515 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74517         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74518         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74519         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74520         definition.
74522 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74524         * elf/elf.h: Update comment before AArch64 relocations.
74526 2012-11-07  David S. Miller  <davem@davemloft.net>
74528         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74529         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74530         (__start_context): Declare.
74531         (__makecontext_ret): Delete.
74532         (__makecontext): Hook up __start_context instead of
74533         __makecontext_ret.
74534         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74535         (sysdep_routines): Add __start_context when in stdlib.
74537 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74539         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74540         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74541         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74542         hardcoded "nm".
74543         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74544         (READELF): New variable.  Use it instead of hardcoded "readelf".
74546 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74548         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74549         * sysdeps/x86/Makefile: Here.
74550         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74551         * sysdeps/x86/tst-xmmymm.sh: This.
74553 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74555         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74556         expectations.
74557         [UNIX98] (pthread_barrier_t): Do not expect.
74558         [UNIX98] (pthread_barrierattr_t): Likewise.
74559         [UNIX98] (pthread_spinlock_t): Likewise.
74560         [UNIX98] (pthread_barrier_destroy): Likewise.
74561         [UNIX98] (pthread_barrier_init): Likewise.
74562         [UNIX98] (pthread_barrier_wait): Likewise.
74563         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74564         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74565         [UNIX98] (pthread_barrierattr_init): Likewise.
74566         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74567         [UNIX98] (pthread_getcpuclockid): Likewise.
74568         [UNIX98] (pthread_mutex_timedlock): Likewise.
74569         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74570         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74571         [UNIX98] (pthread_sigmask): Likewise.
74572         [UNIX98] (pthread_spin_destroy): Likewise.
74573         [UNIX98] (pthread_spin_init): Likewise.
74574         [UNIX98] (pthread_spin_lock): Likewise.
74575         [UNIX98] (pthread_spin_trylock): Likewise.
74576         [UNIX98] (pthread_spin_unlock): Likewise.
74577         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74578         Do not expect.
74579         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74580         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74581         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74582         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74583         [XPG3 || XPG4] (pthread_key_t): Likewise.
74584         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74585         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74586         [XPG3 || XPG4] (pthread_once_t): Likewise.
74587         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74588         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74589         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74590         [XPG3 || XPG4] (pthread_t): Likewise.
74592         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74593         not expect.
74594         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74596         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74597         Change function return type to int.
74599         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74600         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74601         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74602         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74603         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74604         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74605         [!POSIX] (posix_madvise): Likewise.
74606         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74607         && !UNIX98].
74608         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74609         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74610         (mode_t): Likewise.
74611         (posix_mem_offset): Likewise.
74612         (posix_typed_mem_get_info): Likewise.
74613         (posix_typed_mem_open): Likewise.
74615         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74616         Change condition to [XOPEN2K8].
74618         * conform/conformtest.pl: Preprocess allow-header data with -x c
74619         instead of from stdin.
74620         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74621         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74622         [C99-based standards] (cerfc): Likewise.
74623         [C99-based standards] (cexp2): Likewise.
74624         [C99-based standards] (cexpm1): Likewise.
74625         [C99-based standards] (clog10): Likewise.
74626         [C99-based standards] (clog1p): Likewise.
74627         [C99-based standards] (clog2): Likewise.
74628         [C99-based standards] (clgamma): Likewise.
74629         [C99-based standards] (ctgamma): Likewise.
74630         [C99-based standards] (cerff): Likewise.
74631         [C99-based standards] (cerfcf): Likewise.
74632         [C99-based standards] (cexp2f): Likewise.
74633         [C99-based standards] (cexpm1f): Likewise.
74634         [C99-based standards] (clog10f): Likewise.
74635         [C99-based standards] (clog1pf): Likewise.
74636         [C99-based standards] (clog2f): Likewise.
74637         [C99-based standards] (clgammaf): Likewise.
74638         [C99-based standards] (ctgammaf): Likewise.
74639         [C99-based standards] (cerfl): Likewise.
74640         [C99-based standards] (cerfcl): Likewise.
74641         [C99-based standards] (cexp2l): Likewise.
74642         [C99-based standards] (cexpm1l): Likewise.
74643         [C99-based standards] (clog10l): Likewise.
74644         [C99-based standards] (clog1pl): Likewise.
74645         [C99-based standards] (clog2l): Likewise.
74646         [C99-based standards] (clgammal): Likewise.
74647         [C99-based standards] (ctgammal): Likewise.
74648         * conform/data/inttypes.h-data [C99-based standards]: Include
74649         stdint.h-data.  Remove all expectations for stdint.h contents.
74650         [C99-based standards] (PRI*): Do not allow.
74651         [C99-based standards] (SCN*): Likewise.
74652         [C99-based standards] (*_t): Likewise.
74653         [C99-based-standards] (PRId8): Expect macro.
74654         [C99-based-standards] (PRIi8): Likewise.
74655         [C99-based-standards] (PRIo8): Likewise.
74656         [C99-based-standards] (PRIu8): Likewise.
74657         [C99-based-standards] (PRIx8): Likewise.
74658         [C99-based-standards] (PRIX8): Likewise.
74659         [C99-based-standards] (SCNd8): Likewise.
74660         [C99-based-standards] (SCNi8): Likewise.
74661         [C99-based-standards] (SCNo8): Likewise.
74662         [C99-based-standards] (SCNu8): Likewise.
74663         [C99-based-standards] (SCNx8): Likewise.
74664         [C99-based-standards] (PRIdLEAST8): Likewise.
74665         [C99-based-standards] (PRIiLEAST8): Likewise.
74666         [C99-based-standards] (PRIoLEAST8): Likewise.
74667         [C99-based-standards] (PRIuLEAST8): Likewise.
74668         [C99-based-standards] (PRIxLEAST8): Likewise.
74669         [C99-based-standards] (PRIXLEAST8): Likewise.
74670         [C99-based-standards] (SCNdLEAST8): Likewise.
74671         [C99-based-standards] (SCNiLEAST8): Likewise.
74672         [C99-based-standards] (SCNoLEAST8): Likewise.
74673         [C99-based-standards] (SCNuLEAST8): Likewise.
74674         [C99-based-standards] (SCNxLEAST8): Likewise.
74675         [C99-based-standards] (PRIdFAST8): Likewise.
74676         [C99-based-standards] (PRIiFAST8): Likewise.
74677         [C99-based-standards] (PRIoFAST8): Likewise.
74678         [C99-based-standards] (PRIuFAST8): Likewise.
74679         [C99-based-standards] (PRIxFAST8): Likewise.
74680         [C99-based-standards] (PRIXFAST8): Likewise.
74681         [C99-based-standards] (SCNdFAST8): Likewise.
74682         [C99-based-standards] (SCNiFAST8): Likewise.
74683         [C99-based-standards] (SCNoFAST8): Likewise.
74684         [C99-based-standards] (SCNuFAST8): Likewise.
74685         [C99-based-standards] (SCNxFAST8): Likewise.
74686         [C99-based-standards] (PRId16): Likewise.
74687         [C99-based-standards] (PRIi16): Likewise.
74688         [C99-based-standards] (PRIo16): Likewise.
74689         [C99-based-standards] (PRIu16): Likewise.
74690         [C99-based-standards] (PRIx16): Likewise.
74691         [C99-based-standards] (PRIX16): Likewise.
74692         [C99-based-standards] (SCNd16): Likewise.
74693         [C99-based-standards] (SCNi16): Likewise.
74694         [C99-based-standards] (SCNo16): Likewise.
74695         [C99-based-standards] (SCNu16): Likewise.
74696         [C99-based-standards] (SCNx16): Likewise.
74697         [C99-based-standards] (PRIdLEAST16): Likewise.
74698         [C99-based-standards] (PRIiLEAST16): Likewise.
74699         [C99-based-standards] (PRIoLEAST16): Likewise.
74700         [C99-based-standards] (PRIuLEAST16): Likewise.
74701         [C99-based-standards] (PRIxLEAST16): Likewise.
74702         [C99-based-standards] (PRIXLEAST16): Likewise.
74703         [C99-based-standards] (SCNdLEAST16): Likewise.
74704         [C99-based-standards] (SCNiLEAST16): Likewise.
74705         [C99-based-standards] (SCNoLEAST16): Likewise.
74706         [C99-based-standards] (SCNuLEAST16): Likewise.
74707         [C99-based-standards] (SCNxLEAST16): Likewise.
74708         [C99-based-standards] (PRIdFAST16): Likewise.
74709         [C99-based-standards] (PRIiFAST16): Likewise.
74710         [C99-based-standards] (PRIoFAST16): Likewise.
74711         [C99-based-standards] (PRIuFAST16): Likewise.
74712         [C99-based-standards] (PRIxFAST16): Likewise.
74713         [C99-based-standards] (PRIXFAST16): Likewise.
74714         [C99-based-standards] (SCNdFAST16): Likewise.
74715         [C99-based-standards] (SCNiFAST16): Likewise.
74716         [C99-based-standards] (SCNoFAST16): Likewise.
74717         [C99-based-standards] (SCNuFAST16): Likewise.
74718         [C99-based-standards] (SCNxFAST16): Likewise.
74719         [C99-based-standards] (PRId32): Likewise.
74720         [C99-based-standards] (PRIi32): Likewise.
74721         [C99-based-standards] (PRIo32): Likewise.
74722         [C99-based-standards] (PRIu32): Likewise.
74723         [C99-based-standards] (PRIx32): Likewise.
74724         [C99-based-standards] (PRIX32): Likewise.
74725         [C99-based-standards] (SCNd32): Likewise.
74726         [C99-based-standards] (SCNi32): Likewise.
74727         [C99-based-standards] (SCNo32): Likewise.
74728         [C99-based-standards] (SCNu32): Likewise.
74729         [C99-based-standards] (SCNx32): Likewise.
74730         [C99-based-standards] (PRIdLEAST32): Likewise.
74731         [C99-based-standards] (PRIiLEAST32): Likewise.
74732         [C99-based-standards] (PRIoLEAST32): Likewise.
74733         [C99-based-standards] (PRIuLEAST32): Likewise.
74734         [C99-based-standards] (PRIxLEAST32): Likewise.
74735         [C99-based-standards] (PRIXLEAST32): Likewise.
74736         [C99-based-standards] (SCNdLEAST32): Likewise.
74737         [C99-based-standards] (SCNiLEAST32): Likewise.
74738         [C99-based-standards] (SCNoLEAST32): Likewise.
74739         [C99-based-standards] (SCNuLEAST32): Likewise.
74740         [C99-based-standards] (SCNxLEAST32): Likewise.
74741         [C99-based-standards] (PRIdFAST32): Likewise.
74742         [C99-based-standards] (PRIiFAST32): Likewise.
74743         [C99-based-standards] (PRIoFAST32): Likewise.
74744         [C99-based-standards] (PRIuFAST32): Likewise.
74745         [C99-based-standards] (PRIxFAST32): Likewise.
74746         [C99-based-standards] (PRIXFAST32): Likewise.
74747         [C99-based-standards] (SCNdFAST32): Likewise.
74748         [C99-based-standards] (SCNiFAST32): Likewise.
74749         [C99-based-standards] (SCNoFAST32): Likewise.
74750         [C99-based-standards] (SCNuFAST32): Likewise.
74751         [C99-based-standards] (SCNxFAST32): Likewise.
74752         [C99-based-standards] (PRId64): Likewise.
74753         [C99-based-standards] (PRIi64): Likewise.
74754         [C99-based-standards] (PRIo64): Likewise.
74755         [C99-based-standards] (PRIu64): Likewise.
74756         [C99-based-standards] (PRIx64): Likewise.
74757         [C99-based-standards] (PRIX64): Likewise.
74758         [C99-based-standards] (SCNd64): Likewise.
74759         [C99-based-standards] (SCNi64): Likewise.
74760         [C99-based-standards] (SCNo64): Likewise.
74761         [C99-based-standards] (SCNu64): Likewise.
74762         [C99-based-standards] (SCNx64): Likewise.
74763         [C99-based-standards] (PRIdLEAST64): Likewise.
74764         [C99-based-standards] (PRIiLEAST64): Likewise.
74765         [C99-based-standards] (PRIoLEAST64): Likewise.
74766         [C99-based-standards] (PRIuLEAST64): Likewise.
74767         [C99-based-standards] (PRIxLEAST64): Likewise.
74768         [C99-based-standards] (PRIXLEAST64): Likewise.
74769         [C99-based-standards] (SCNdLEAST64): Likewise.
74770         [C99-based-standards] (SCNiLEAST64): Likewise.
74771         [C99-based-standards] (SCNoLEAST64): Likewise.
74772         [C99-based-standards] (SCNuLEAST64): Likewise.
74773         [C99-based-standards] (SCNxLEAST64): Likewise.
74774         [C99-based-standards] (PRIdFAST64): Likewise.
74775         [C99-based-standards] (PRIiFAST64): Likewise.
74776         [C99-based-standards] (PRIoFAST64): Likewise.
74777         [C99-based-standards] (PRIuFAST64): Likewise.
74778         [C99-based-standards] (PRIxFAST64): Likewise.
74779         [C99-based-standards] (PRIXFAST64): Likewise.
74780         [C99-based-standards] (SCNdFAST64): Likewise.
74781         [C99-based-standards] (SCNiFAST64): Likewise.
74782         [C99-based-standards] (SCNoFAST64): Likewise.
74783         [C99-based-standards] (SCNuFAST64): Likewise.
74784         [C99-based-standards] (SCNxFAST64): Likewise.
74785         [C99-based-standards] (PRIdMAX): Likewise.
74786         [C99-based-standards] (PRIiMAX): Likewise.
74787         [C99-based-standards] (PRIoMAX): Likewise.
74788         [C99-based-standards] (PRIuMAX): Likewise.
74789         [C99-based-standards] (PRIxMAX): Likewise.
74790         [C99-based-standards] (PRIXMAX): Likewise.
74791         [C99-based-standards] (SCNdMAX): Likewise.
74792         [C99-based-standards] (SCNiMAX): Likewise.
74793         [C99-based-standards] (SCNoMAX): Likewise.
74794         [C99-based-standards] (SCNuMAX): Likewise.
74795         [C99-based-standards] (SCNxMAX): Likewise.
74796         [C99-based-standards] (PRIdPTR): Likewise.
74797         [C99-based-standards] (PRIiPTR): Likewise.
74798         [C99-based-standards] (PRIoPTR): Likewise.
74799         [C99-based-standards] (PRIuPTR): Likewise.
74800         [C99-based-standards] (PRIxPTR): Likewise.
74801         [C99-based-standards] (PRIXPTR): Likewise.
74802         [C99-based-standards] (SCNdPTR): Likewise.
74803         [C99-based-standards] (SCNiPTR): Likewise.
74804         [C99-based-standards] (SCNoPTR): Likewise.
74805         [C99-based-standards] (SCNuPTR): Likewise.
74806         [C99-based-standards] (SCNxPTR): Likewise.
74807         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74808         allow.
74809         * conform/data/stdint.h-data: Update comments to clarify
74810         requirements.
74811         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74812         type.
74813         [C99-based standards] (INT8_MAX): Likewise.
74814         [C99-based standards] (INT16_MIN): Likewise.
74815         [C99-based standards] (INT16_MAX): Likewise.
74816         [C99-based standards] (INT32_MIN): Likewise.
74817         [C99-based standards] (INT32_MAX): Likewise.
74818         [C99-based standards] (INT64_MIN): Likewise.
74819         [C99-based standards] (INT64_MAX): Likewise.
74820         [C99-based standards] (UINT8_MAX): Likewise.
74821         [C99-based standards] (UINT16_MAX): Likewise.
74822         [C99-based standards] (UINT32_MAX): Likewise.
74823         [C99-based standards] (UINT64_MAX): Likewise.
74824         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74825         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74826         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74827         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74828         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74829         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74830         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74831         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74832         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74833         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74834         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74835         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74836         [C99-based standards] (INT_FAST8_MIN): Likewise.
74837         [C99-based standards] (INT_FAST8_MAX): Likewise.
74838         [C99-based standards] (INT_FAST16_MIN): Likewise.
74839         [C99-based standards] (INT_FAST16_MAX): Likewise.
74840         [C99-based standards] (INT_FAST32_MIN): Likewise.
74841         [C99-based standards] (INT_FAST32_MAX): Likewise.
74842         [C99-based standards] (INT_FAST64_MIN): Likewise.
74843         [C99-based standards] (INT_FAST64_MAX): Likewise.
74844         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74845         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74846         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74847         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74848         [C99-based standards] (INTPTR_MIN): Likewise.
74849         [C99-based standards] (INTPTR_MAX): Likewise.
74850         [C99-based standards] (UINTPTR_MAX): Likewise.
74851         [C99-based standards] (INTMAX_MIN): Likewise.
74852         [C99-based standards] (INTMAX_MAX): Likewise.
74853         [C99-based standards] (UINTMAX_MAX): Likewise.
74854         [C99-based standards] (PTRDIFF_MIN): Likewise.
74855         [C99-based standards] (PTRDIFF_MAX): Likewise.
74856         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74857         [C99-based standards] (SIZE_MAX): Likewise.
74858         [C99-based standards] (WCHAR_MAX): Likewise.
74859         [C99-based standards] (WINT_MAX): Likewise.
74860         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74861         constraint on value.
74862         [C99-based standards] (WCHAR_MIN): Likewise.
74863         [C99-based standards] (WINT_MIN): Likewise.
74864         [C99-based standards] (*_t): Allow.
74865         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74866         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74867         Include math.h-data and complex.h-data.  Remove all expectations
74868         of math.h and complex.h contents.
74869         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74870         at end of line.
74871         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74872         (struct tm): Expect tag.
74873         [C99-based-standards] (wcstof): Expect function.
74874         [C99-based-standards] (wcstold): Likewise.
74875         [C99-based-standards] (wcstoll): Likewise.
74876         [C99-based-standards] (wcstoull): Likewise.
74877         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74878         macro-int-constant.  Specify type.
74879         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74880         constraint on value.
74881         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74882         Specify type.
74883         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74884         Specify value.
74885         [ISO C standards]: Do not allow headers.
74886         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74887         wcs[abcdefghijklmnopqrstuvwxyz]*.
74888         [ISO C standards] (*_t): Do not allow.
74889         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74890         Expect function.
74891         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74892         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74893         Specify type.
74894         [ISO C standards]: Do not allow headers.
74895         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74896         is[abcdefghijklmnopqrstuvwxyz]*.
74897         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74898         to[abcdefghijklmnopqrstuvwxyz]*.
74899         [ISO C standards] (*_t): Do not allow.
74900         * conform/data/stdalign.h-data: New file.
74901         * conform/data/stdbool.h-data: Likewise.
74902         * conform/data/stdnoreturn.h-data: Likewise.
74904 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74906         [BZ #14815]
74907         * manual/filesys.texi (Directory Entries): Typo fix.
74908         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74910 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74912         * elf/elf.h (EM_AARCH64): New macro.
74913         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74914         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74915         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74916         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74917         (R_AARCH64_TLSDESC): Likewise.
74918         (NT_ARM_TLS): Likewise.
74919         (NT_ARM_HW_BREAK): Likewise.
74920         (NT_ARM_HW_WATCH): Likewise.
74922 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74924         [BZ #14811]
74925         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74926         (__ieee754_powl): Saturate nonzero exponents with absolute value
74927         below 0x1p-79 to +/- 0x1p-79.
74928         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74929         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74930         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74931         nonzero exponents with absolute value below 0x1p-32 to +/-
74932         0x1p-32.
74933         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74934         (__ieee754_powl): Saturate nonzero exponents with absolute value
74935         below 0x1p-79 to +/- 0x1p-79.
74936         * math/libm-test.inc (pow_test): Add more tests.
74938 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74940         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74941         _dl_s390_cap_flags with kernel. Increase string length.
74942         (_dl_s390_platforms): Add z196 and zEC12.
74944 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74946         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74947         Change XOPEN21K to XOPEN2K.
74949 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74951         * string/memmove.c: Use memcpy when possible.
74953 2012-11-06  Andreas Jaeger  <aj@suse.de>
74955         * po/eo.po: Update from translation team.
74957 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74959         [BZ #14793]
74960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74961         exponent and small x and y exponents, scale x or y up.  Increase
74962         by 2 the exponent used in scaling up.
74963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74965         * math/libm-test.inc (fma_test): Add more tests.
74966         (fma_test_towardzero): Likewise.
74967         (fma_test_downward): Likewise.
74968         (fma_test_upward): Likewise.
74970 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74972         [BZ #14805]
74973         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74974         fenv_t *.
74976         [BZ #14801]
74977         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74978         namespace for names of struct fields.
74979         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74980         fenv_t fields.
74981         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74982         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74984 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74986         [BZ #3665]
74987         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74989 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74991         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74992         PTR_DEMANGLE.
74994         [BZ #5246]
74995         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74996         PTR_DEMANGLE.
74998 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
75000         [BZ #14797]
75001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
75002         definitely overflow as x * y not x * y + z.
75003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75005         * math/libm-test.inc (fma_test): Add more tests.
75006         (fma_test_towardzero): Likewise.
75007         (fma_test_downward): Likewise.
75008         (fma_test_upward): Likewise.
75010 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
75012         [BZ #157]
75014         * include/stub-tag.h: Remove file.
75015         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
75016         '#include' of it.
75017         * manual/maint.texi (Porting): Don't reference it.
75018         * Makerules ($(objpfx)stubs): Likewise.
75019         * dirent/closedir.c: Don't include <stub-tag.h>.
75020         * dirent/dirfd.c: Likewise.
75021         * dirent/fdopendir.c: Likewise.
75022         * dirent/getdents.c: Likewise.
75023         * dirent/getdents64.c: Likewise.
75024         * dirent/opendir.c: Likewise.
75025         * dirent/readdir.c: Likewise.
75026         * dirent/readdir64.c: Likewise.
75027         * dirent/readdir64_r.c: Likewise.
75028         * dirent/readdir_r.c: Likewise.
75029         * dirent/rewinddir.c: Likewise.
75030         * dirent/seekdir.c: Likewise.
75031         * dirent/telldir.c: Likewise.
75032         * gmon/profil.c: Likewise.
75033         * grp/setgroups.c: Likewise.
75034         * inet/if_index.c: Likewise.
75035         * io/access.c: Likewise.
75036         * io/chdir.c: Likewise.
75037         * io/chmod.c: Likewise.
75038         * io/chown.c: Likewise.
75039         * io/close.c: Likewise.
75040         * io/dup.c: Likewise.
75041         * io/dup2.c: Likewise.
75042         * io/dup3.c: Likewise.
75043         * io/euidaccess.c: Likewise.
75044         * io/faccessat.c: Likewise.
75045         * io/fchdir.c: Likewise.
75046         * io/fchmod.c: Likewise.
75047         * io/fchmodat.c: Likewise.
75048         * io/fchown.c: Likewise.
75049         * io/fchownat.c: Likewise.
75050         * io/fcntl.c: Likewise.
75051         * io/flock.c: Likewise.
75052         * io/fstatfs.c: Likewise.
75053         * io/fstatfs64.c: Likewise.
75054         * io/fstatvfs.c: Likewise.
75055         * io/fstatvfs64.c: Likewise.
75056         * io/futimens.c: Likewise.
75057         * io/fxstat.c: Likewise.
75058         * io/fxstat64.c: Likewise.
75059         * io/fxstatat.c: Likewise.
75060         * io/fxstatat64.c: Likewise.
75061         * io/getcwd.c: Likewise.
75062         * io/isatty.c: Likewise.
75063         * io/lchmod.c: Likewise.
75064         * io/lchown.c: Likewise.
75065         * io/link.c: Likewise.
75066         * io/linkat.c: Likewise.
75067         * io/lseek.c: Likewise.
75068         * io/lseek64.c: Likewise.
75069         * io/lxstat64.c: Likewise.
75070         * io/mkdir.c: Likewise.
75071         * io/mkdirat.c: Likewise.
75072         * io/mkfifo.c: Likewise.
75073         * io/mkfifoat.c: Likewise.
75074         * io/open.c: Likewise.
75075         * io/open64.c: Likewise.
75076         * io/openat.c: Likewise.
75077         * io/openat64.c: Likewise.
75078         * io/pipe.c: Likewise.
75079         * io/pipe2.c: Likewise.
75080         * io/poll.c: Likewise.
75081         * io/posix_fadvise.c: Likewise.
75082         * io/posix_fadvise64.c: Likewise.
75083         * io/posix_fallocate.c: Likewise.
75084         * io/posix_fallocate64.c: Likewise.
75085         * io/read.c: Likewise.
75086         * io/readlink.c: Likewise.
75087         * io/readlinkat.c: Likewise.
75088         * io/rmdir.c: Likewise.
75089         * io/sendfile.c: Likewise.
75090         * io/sendfile64.c: Likewise.
75091         * io/statfs.c: Likewise.
75092         * io/statfs64.c: Likewise.
75093         * io/statvfs.c: Likewise.
75094         * io/statvfs64.c: Likewise.
75095         * io/symlink.c: Likewise.
75096         * io/symlinkat.c: Likewise.
75097         * io/ttyname.c: Likewise.
75098         * io/ttyname_r.c: Likewise.
75099         * io/umask.c: Likewise.
75100         * io/unlink.c: Likewise.
75101         * io/unlinkat.c: Likewise.
75102         * io/utime.c: Likewise.
75103         * io/utimensat.c: Likewise.
75104         * io/write.c: Likewise.
75105         * io/xmknod.c: Likewise.
75106         * io/xmknodat.c: Likewise.
75107         * io/xstat.c: Likewise.
75108         * io/xstat64.c: Likewise.
75109         * login/getpt.c: Likewise.
75110         * login/grantpt.c: Likewise.
75111         * login/unlockpt.c: Likewise.
75112         * math/e_acoshl.c: Likewise.
75113         * math/e_acosl.c: Likewise.
75114         * math/e_asinl.c: Likewise.
75115         * math/e_atan2l.c: Likewise.
75116         * math/e_atanhl.c: Likewise.
75117         * math/e_coshl.c: Likewise.
75118         * math/e_expl.c: Likewise.
75119         * math/e_fmodl.c: Likewise.
75120         * math/e_gammal_r.c: Likewise.
75121         * math/e_hypotl.c: Likewise.
75122         * math/e_j0l.c: Likewise.
75123         * math/e_j1l.c: Likewise.
75124         * math/e_jnl.c: Likewise.
75125         * math/e_lgammal_r.c: Likewise.
75126         * math/e_log10l.c: Likewise.
75127         * math/e_log2l.c: Likewise.
75128         * math/e_logl.c: Likewise.
75129         * math/e_powl.c: Likewise.
75130         * math/e_rem_pio2l.c: Likewise.
75131         * math/e_sinhl.c: Likewise.
75132         * math/e_sqrtl.c: Likewise.
75133         * math/fclrexcpt.c: Likewise.
75134         * math/fedisblxcpt.c: Likewise.
75135         * math/feenablxcpt.c: Likewise.
75136         * math/fegetenv.c: Likewise.
75137         * math/fegetexcept.c: Likewise.
75138         * math/fegetround.c: Likewise.
75139         * math/feholdexcpt.c: Likewise.
75140         * math/fesetenv.c: Likewise.
75141         * math/fesetround.c: Likewise.
75142         * math/feupdateenv.c: Likewise.
75143         * math/fgetexcptflg.c: Likewise.
75144         * math/fraiseexcpt.c: Likewise.
75145         * math/fsetexcptflg.c: Likewise.
75146         * math/ftestexcept.c: Likewise.
75147         * math/k_cosl.c: Likewise.
75148         * math/k_rem_pio2l.c: Likewise.
75149         * math/k_sinl.c: Likewise.
75150         * math/k_tanl.c: Likewise.
75151         * math/s_asinhl.c: Likewise.
75152         * math/s_atanl.c: Likewise.
75153         * math/s_cbrtl.c: Likewise.
75154         * math/s_erfl.c: Likewise.
75155         * math/s_expm1l.c: Likewise.
75156         * math/s_log1pl.c: Likewise.
75157         * math/s_tanhl.c: Likewise.
75158         * misc/acct.c: Likewise.
75159         * misc/brk.c: Likewise.
75160         * misc/chflags.c: Likewise.
75161         * misc/chroot.c: Likewise.
75162         * misc/fchflags.c: Likewise.
75163         * misc/fgetxattr.c: Likewise.
75164         * misc/flistxattr.c: Likewise.
75165         * misc/fremovexattr.c: Likewise.
75166         * misc/fsetxattr.c: Likewise.
75167         * misc/fsync.c: Likewise.
75168         * misc/ftruncate.c: Likewise.
75169         * misc/futimes.c: Likewise.
75170         * misc/futimesat.c: Likewise.
75171         * misc/getdomain.c: Likewise.
75172         * misc/getdtsz.c: Likewise.
75173         * misc/gethostid.c: Likewise.
75174         * misc/gethostname.c: Likewise.
75175         * misc/getloadavg.c: Likewise.
75176         * misc/getpagesize.c: Likewise.
75177         * misc/getsysstats.c: Likewise.
75178         * misc/getxattr.c: Likewise.
75179         * misc/gtty.c: Likewise.
75180         * misc/ioctl.c: Likewise.
75181         * misc/lgetxattr.c: Likewise.
75182         * misc/listxattr.c: Likewise.
75183         * misc/llistxattr.c: Likewise.
75184         * misc/lremovexattr.c: Likewise.
75185         * misc/lsetxattr.c: Likewise.
75186         * misc/lutimes.c: Likewise.
75187         * misc/madvise.c: Likewise.
75188         * misc/mincore.c: Likewise.
75189         * misc/mlock.c: Likewise.
75190         * misc/mlockall.c: Likewise.
75191         * misc/mmap.c: Likewise.
75192         * misc/mprotect.c: Likewise.
75193         * misc/msync.c: Likewise.
75194         * misc/munlock.c: Likewise.
75195         * misc/munlockall.c: Likewise.
75196         * misc/munmap.c: Likewise.
75197         * misc/preadv.c: Likewise.
75198         * misc/preadv64.c: Likewise.
75199         * misc/ptrace.c: Likewise.
75200         * misc/pwritev.c: Likewise.
75201         * misc/pwritev64.c: Likewise.
75202         * misc/readv.c: Likewise.
75203         * misc/reboot.c: Likewise.
75204         * misc/remap_file_pages.c: Likewise.
75205         * misc/removexattr.c: Likewise.
75206         * misc/revoke.c: Likewise.
75207         * misc/select.c: Likewise.
75208         * misc/setdomain.c: Likewise.
75209         * misc/setegid.c: Likewise.
75210         * misc/seteuid.c: Likewise.
75211         * misc/sethostid.c: Likewise.
75212         * misc/sethostname.c: Likewise.
75213         * misc/setregid.c: Likewise.
75214         * misc/setreuid.c: Likewise.
75215         * misc/setxattr.c: Likewise.
75216         * misc/sstk.c: Likewise.
75217         * misc/stty.c: Likewise.
75218         * misc/swapoff.c: Likewise.
75219         * misc/swapon.c: Likewise.
75220         * misc/sync.c: Likewise.
75221         * misc/syncfs.c: Likewise.
75222         * misc/syscall.c: Likewise.
75223         * misc/truncate.c: Likewise.
75224         * misc/ualarm.c: Likewise.
75225         * misc/usleep.c: Likewise.
75226         * misc/ustat.c: Likewise.
75227         * misc/utimes.c: Likewise.
75228         * misc/vhangup.c: Likewise.
75229         * misc/writev.c: Likewise.
75230         * posix/_exit.c: Likewise.
75231         * posix/alarm.c: Likewise.
75232         * posix/execve.c: Likewise.
75233         * posix/fexecve.c: Likewise.
75234         * posix/fork.c: Likewise.
75235         * posix/fpathconf.c: Likewise.
75236         * posix/getaddrinfo.c: Likewise.
75237         * posix/getegid.c: Likewise.
75238         * posix/geteuid.c: Likewise.
75239         * posix/getgid.c: Likewise.
75240         * posix/getgroups.c: Likewise.
75241         * posix/getlogin.c: Likewise.
75242         * posix/getlogin_r.c: Likewise.
75243         * posix/getpgid.c: Likewise.
75244         * posix/getpid.c: Likewise.
75245         * posix/getppid.c: Likewise.
75246         * posix/getresgid.c: Likewise.
75247         * posix/getresuid.c: Likewise.
75248         * posix/getsid.c: Likewise.
75249         * posix/getuid.c: Likewise.
75250         * posix/glob64.c: Likewise.
75251         * posix/nanosleep.c: Likewise.
75252         * posix/pathconf.c: Likewise.
75253         * posix/pause.c: Likewise.
75254         * posix/posix_madvise.c: Likewise.
75255         * posix/pread.c: Likewise.
75256         * posix/pread64.c: Likewise.
75257         * posix/pwrite.c: Likewise.
75258         * posix/pwrite64.c: Likewise.
75259         * posix/sched_getaffinity.c: Likewise.
75260         * posix/sched_getp.c: Likewise.
75261         * posix/sched_gets.c: Likewise.
75262         * posix/sched_primax.c: Likewise.
75263         * posix/sched_primin.c: Likewise.
75264         * posix/sched_rr_gi.c: Likewise.
75265         * posix/sched_setaffinity.c: Likewise.
75266         * posix/sched_setp.c: Likewise.
75267         * posix/sched_sets.c: Likewise.
75268         * posix/sched_yield.c: Likewise.
75269         * posix/setgid.c: Likewise.
75270         * posix/setlogin.c: Likewise.
75271         * posix/setpgid.c: Likewise.
75272         * posix/setresgid.c: Likewise.
75273         * posix/setresuid.c: Likewise.
75274         * posix/setsid.c: Likewise.
75275         * posix/setuid.c: Likewise.
75276         * posix/sleep.c: Likewise.
75277         * posix/spawni.c: Likewise.
75278         * posix/sysconf.c: Likewise.
75279         * posix/times.c: Likewise.
75280         * posix/wait.c: Likewise.
75281         * posix/wait3.c: Likewise.
75282         * posix/wait4.c: Likewise.
75283         * posix/waitpid.c: Likewise.
75284         * resolv/gai_sigqueue.c: Likewise.
75285         * resource/getpriority.c: Likewise.
75286         * resource/getrlimit.c: Likewise.
75287         * resource/getrusage.c: Likewise.
75288         * resource/nice.c: Likewise.
75289         * resource/setpriority.c: Likewise.
75290         * resource/setrlimit.c: Likewise.
75291         * resource/ulimit.c: Likewise.
75292         * rt/aio_cancel.c: Likewise.
75293         * rt/aio_fsync.c: Likewise.
75294         * rt/aio_read.c: Likewise.
75295         * rt/aio_sigqueue.c: Likewise.
75296         * rt/aio_suspend.c: Likewise.
75297         * rt/aio_write.c: Likewise.
75298         * rt/clock_getres.c: Likewise.
75299         * rt/clock_gettime.c: Likewise.
75300         * rt/clock_nanosleep.c: Likewise.
75301         * rt/clock_settime.c: Likewise.
75302         * rt/lio_listio.c: Likewise.
75303         * rt/mq_close.c: Likewise.
75304         * rt/mq_getattr.c: Likewise.
75305         * rt/mq_notify.c: Likewise.
75306         * rt/mq_open.c: Likewise.
75307         * rt/mq_receive.c: Likewise.
75308         * rt/mq_send.c: Likewise.
75309         * rt/mq_setattr.c: Likewise.
75310         * rt/mq_timedreceive.c: Likewise.
75311         * rt/mq_timedsend.c: Likewise.
75312         * rt/mq_unlink.c: Likewise.
75313         * rt/shm_open.c: Likewise.
75314         * rt/shm_unlink.c: Likewise.
75315         * rt/timer_create.c: Likewise.
75316         * rt/timer_delete.c: Likewise.
75317         * rt/timer_getoverr.c: Likewise.
75318         * rt/timer_gettime.c: Likewise.
75319         * rt/timer_settime.c: Likewise.
75320         * setjmp/__longjmp.c: Likewise.
75321         * setjmp/setjmp.c: Likewise.
75322         * signal/kill.c: Likewise.
75323         * signal/killpg.c: Likewise.
75324         * signal/raise.c: Likewise.
75325         * signal/sigaction.c: Likewise.
75326         * signal/sigaltstack.c: Likewise.
75327         * signal/sigblock.c: Likewise.
75328         * signal/sigignore.c: Likewise.
75329         * signal/sigintr.c: Likewise.
75330         * signal/signal.c: Likewise.
75331         * signal/sigpause.c: Likewise.
75332         * signal/sigpending.c: Likewise.
75333         * signal/sigqueue.c: Likewise.
75334         * signal/sigreturn.c: Likewise.
75335         * signal/sigset.c: Likewise.
75336         * signal/sigsetmask.c: Likewise.
75337         * signal/sigstack.c: Likewise.
75338         * signal/sigsuspend.c: Likewise.
75339         * signal/sigtimedwait.c: Likewise.
75340         * signal/sigvec.c: Likewise.
75341         * signal/sigwait.c: Likewise.
75342         * signal/sigwaitinfo.c: Likewise.
75343         * signal/sysv_signal.c: Likewise.
75344         * socket/accept.c: Likewise.
75345         * socket/accept4.c: Likewise.
75346         * socket/bind.c: Likewise.
75347         * socket/connect.c: Likewise.
75348         * socket/getpeername.c: Likewise.
75349         * socket/getsockname.c: Likewise.
75350         * socket/getsockopt.c: Likewise.
75351         * socket/isfdtype.c: Likewise.
75352         * socket/listen.c: Likewise.
75353         * socket/recv.c: Likewise.
75354         * socket/recvfrom.c: Likewise.
75355         * socket/recvmsg.c: Likewise.
75356         * socket/send.c: Likewise.
75357         * socket/sendmsg.c: Likewise.
75358         * socket/sendto.c: Likewise.
75359         * socket/setsockopt.c: Likewise.
75360         * socket/shutdown.c: Likewise.
75361         * socket/sockatmark.c: Likewise.
75362         * socket/socket.c: Likewise.
75363         * socket/socketpair.c: Likewise.
75364         * stdio-common/ctermid.c: Likewise.
75365         * stdio-common/cuserid.c: Likewise.
75366         * stdio-common/remove.c: Likewise.
75367         * stdio-common/rename.c: Likewise.
75368         * stdio-common/renameat.c: Likewise.
75369         * stdio-common/tempname.c: Likewise.
75370         * stdlib/getcontext.c: Likewise.
75371         * stdlib/makecontext.c: Likewise.
75372         * stdlib/setcontext.c: Likewise.
75373         * stdlib/swapcontext.c: Likewise.
75374         * stdlib/system.c: Likewise.
75375         * streams/fattach.c: Likewise.
75376         * streams/fdetach.c: Likewise.
75377         * streams/getmsg.c: Likewise.
75378         * streams/getpmsg.c: Likewise.
75379         * streams/putmsg.c: Likewise.
75380         * streams/putpmsg.c: Likewise.
75381         * sysdeps/unix/bsd/getpt.c: Likewise.
75382         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75383         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75384         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75386         Likewise.
75387         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75388         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75389         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75390         * sysvipc/msgctl.c: Likewise.
75391         * sysvipc/msgget.c: Likewise.
75392         * sysvipc/msgrcv.c: Likewise.
75393         * sysvipc/msgsnd.c: Likewise.
75394         * sysvipc/semctl.c: Likewise.
75395         * sysvipc/semget.c: Likewise.
75396         * sysvipc/semop.c: Likewise.
75397         * sysvipc/semtimedop.c: Likewise.
75398         * sysvipc/shmat.c: Likewise.
75399         * sysvipc/shmctl.c: Likewise.
75400         * sysvipc/shmdt.c: Likewise.
75401         * sysvipc/shmget.c: Likewise.
75402         * termios/tcdrain.c: Likewise.
75403         * termios/tcflow.c: Likewise.
75404         * termios/tcflush.c: Likewise.
75405         * termios/tcgetattr.c: Likewise.
75406         * termios/tcgetpgrp.c: Likewise.
75407         * termios/tcsendbrk.c: Likewise.
75408         * termios/tcsetattr.c: Likewise.
75409         * termios/tcsetpgrp.c: Likewise.
75410         * time/adjtime.c: Likewise.
75411         * time/clock.c: Likewise.
75412         * time/getitimer.c: Likewise.
75413         * time/gettimeofday.c: Likewise.
75414         * time/setitimer.c: Likewise.
75415         * time/settimeofday.c: Likewise.
75416         * time/stime.c: Likewise.
75417         * time/time.c: Likewise.
75419 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75421         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75422         /usr/old/bin.
75424         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75425         instead of spaces.
75426         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75428 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75430         [BZ #14796]
75431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75432         FE_TONEAREST before applying Dekker multiplication and Knuth
75433         addition.  Clear inexact exceptions and check for exact zero
75434         results afterwards.
75435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75436         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75438         * math/libm-test.inc (fma_test): Add more tests.
75439         (fma_test_towardzero): Likewise.
75440         (fma_test_downward): Likewise.
75441         (fma_test_upward): Likewise.
75442         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75443         function.
75444         (libc_fesetround): New macro.
75445         (libc_fesetroundf): Likewise.
75446         (libc_fesetroundl): Likewise.
75447         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75448         function.
75449         (libc_fesetround_387): Likewise.
75450         (libc_fesetroundf): New macro.
75451         (libc_fesetround): Likewise.
75452         (libc_fesetroundl): Likewise.
75453         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75454         function.
75455         (libc_fesetroundf): New macro.
75456         (libc_fesetround): Likewise.
75457         (libc_fesetroundl): Likewise.
75458         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75459         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75460         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75461         libm_hidden_ver.
75462         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75463         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75464         libm_hidden_def.
75465         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75466         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75467         libm_hidden_ver.
75468         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75469         libm_hidden_def.
75471         [BZ #3439]
75472         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75473         integer constant usable in #if and use that to give value to enum
75474         constant.
75475         (FE_DIVBYZERO): Likewise.
75476         (FE_UNDERFLOW): Likewise.
75477         (FE_OVERFLOW): Likewise.
75478         (FE_INVALID): Likewise.
75479         (FE_INVALID_SNAN): Likewise.
75480         (FE_INVALID_ISI): Likewise.
75481         (FE_INVALID_IDI): Likewise.
75482         (FE_INVALID_ZDZ): Likewise.
75483         (FE_INVALID_IMZ): Likewise.
75484         (FE_INVALID_COMPARE): Likewise.
75485         (FE_INVALID_SOFTWARE): Likewise.
75486         (FE_INVALID_SQRT): Likewise.
75487         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75488         (FE_TONEAREST): Likewise.
75489         (FE_TOWARDZERO): Likewise.
75490         (FE_UPWARD): Likewise.
75491         (FE_DOWNWARD): Likewise.
75492         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75493         (FE_DIVBYZERO): Likewise.
75494         (FE_OVERFLOW): Likewise.
75495         (FE_UNDERFLOW): Likewise.
75496         (FE_INEXACT): Likewise.
75497         (FE_TONEAREST): Likewise.
75498         (FE_DOWNWARD): Likewise.
75499         (FE_UPWARD): Likewise.
75500         (FE_TOWARDZERO): Likewise.
75501         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75502         (FE_UNDERFLOW): Likewise.
75503         (FE_OVERFLOW): Likewise.
75504         (FE_DIVBYZERO): Likewise.
75505         (FE_INVALID): Likewise.
75506         (FE_TONEAREST): Likewise.
75507         (FE_TOWARDZERO): Likewise.
75508         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75509         (FE_OVERFLOW): Likewise.
75510         (FE_UNDERFLOW): Likewise.
75511         (FE_DIVBYZERO): Likewise.
75512         (FE_INEXACT): Likewise.
75513         (FE_TONEAREST): Likewise.
75514         (FE_TOWARDZERO): Likewise.
75515         (FE_UPWARD): Likewise.
75516         (FE_DOWNWARD): Likewise.
75517         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75518         (FE_DIVBYZERO): Likewise.
75519         (FE_OVERFLOW): Likewise.
75520         (FE_UNDERFLOW): Likewise.
75521         (FE_INEXACT): Likewise.
75522         (FE_TONEAREST): Likewise.
75523         (FE_DOWNWARD): Likewise.
75524         (FE_UPWARD): Likewise.
75525         (FE_TOWARDZERO): Likewise.
75527 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75529         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75531 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75533         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75534         commands.  Quote $PWD.
75535         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75536         -x" by "export".
75537         (remove_newlines): Remove.
75539 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75541         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75542         * stdlib/stdlib.h (atof): Moved to ...
75543         * include/bits/stdlib-float.h: Here.  New file.
75544         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75545         * stdlib/bits/stdlib-float.h: New file.
75546         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75547         -mno-sse -mno-mmx.
75548         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75549         <xmmintrin.h>.
75551 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75553         * conform/conformtest.pl (@headers): Add fenv.h.
75554         * conform/data/fenv.h-data: New file.
75555         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75556         include of <math/fenv.h>.
75558         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75559         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75560         && !UNIX98].  Enables tests for XOPEN2K8.
75561         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75562         POSIX2008]: Likewise.
75564         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75565         (struct rusage): Do not expect type or its members.
75567         [BZ #3439]
75568         * math/math.h (FP_NAN): Define macro to integer constant usable in
75569         #if and use that to give value to enum constant.
75570         (FP_INFINITE): Likewise.
75571         (FP_ZERO): Likewise.
75572         (FP_SUBNORMAL): Likewise.
75573         (FP_NORMAL): Likewise.
75575 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75577         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75578         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75579         arguments.
75581 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75583         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75584         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75585         autoconf-time if not.
75586         * configure.in: Remove AC_PREREQ.
75588 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75590         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75591         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75592         of the internal implementation.
75594 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75596         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75597         except include of <misc/sys/syslog.h>.
75599 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75602         function returns with a NULL context exit with zero.
75604 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75606         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75608 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75610         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75611         (run_program_cmd): This.
75612         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75613         (tst_langinfo): New variable.  Use it.
75615 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75617         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75618         floating point opcodes.
75620 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75622         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75623         variable.
75625         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75627         * sysdeps/mach/hurd/powerpc: Remove directory.
75628         * sysdeps/mach/powerpc: Likewise.
75630 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75632         * scripts/check-local-headers.sh: Ignore c++ headers.
75634 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75636         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75637         __libc_cleanup_region_start argument.
75639 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75641         [BZ #14784]
75642         [BZ #14785]
75643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75644         x * y using scaling, not as x * y + z.
75645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75647         * math/libm-test.inc (fma_test): Add more tests.
75648         (fma_test_towardzero): Likewise.
75649         (fma_test_downward): Likewise.
75650         (fma_test_upward): Likewise.
75652 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75654         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75656 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75658         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75659         New variable.
75661 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75663         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75665 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75668         Fix sort order.
75669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75670         Likewise.
75672 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75675         Fix the order of the list for glibc 2.17.
75676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75677         Likewise.
75679 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75683 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75685         [BZ #14610]
75686         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75687         for low part of x being zero before using __atanl (y).
75688         * math/libm-test.inc (atan2_test): Add another test.
75690         * manual/install.texi (Configuring and compiling): Document
75691         general use of test-wrapper and test-wrapper-env.
75692         * INSTALL: Regenerated.
75694         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75695         (__fma): Do not extract and scale down low bits on after-rounding
75696         systems when result rounded to normal precision would have normal
75697         exponent.
75698         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75699         (__fmal): Do not extract and scale down low bits on after-rounding
75700         systems when result rounded to normal precision would have normal
75701         exponent.
75702         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75703         (__fmal): Do not extract and scale down low bits on after-rounding
75704         systems when result rounded to normal precision would have normal
75705         exponent.
75706         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75707         macro.
75708         (fma_test): Add more tests.
75709         (fma_test_towardzero): Likewise.
75710         (fma_test_downward): Likewise.
75711         (fma_test_upward): Likewise.
75713 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75715         * sysdeps/i386/tininess.h: Renamed to ...
75716         * sysdeps/x86/tininess.h: This.
75717         * sysdeps/x86_64/tininess.h: Removed.
75719 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75721         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75722         input.  Use $(build-program-cmd).
75723         ($(objpfx)tst-array1-static.out): Likewise.
75724         ($(objpfx)tst-array2.out): Likewise.
75725         ($(objpfx)tst-array3.out): Likewise.
75726         ($(objpfx)tst-array4.out): Likewise.
75727         ($(objpfx)tst-array5.out): Likewise.
75728         ($(objpfx)tst-array5-static.out): Likewise.
75730 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75732         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75733         if defined.
75735         * nss/nsswitch.h (nss_interface_function): Provide new
75736         macro for use with NSS functions.
75737         * grp/initgroups.c: Use new macro.
75738         * nss/getXXbyYY.c: Likewise.
75739         * nss/getXXbyYY_r.c: Likewise.
75740         * nss/getXXent.c: Likewise.
75741         * nss/getXXent_r.c: Likewise.
75742         * sysdeps/posix/getaddrinfo.c: Likewise.
75744 2012-10-30  Andreas Jaeger  <aj@suse.de>
75746         * po/ru.po: Update Russion translation from translation project.
75748 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75750         [BZ #14152]
75751         [BZ #14783]
75752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75753         result and shift together with sticky bit instead of replicating
75754         round-to-nearest rounding.
75755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75757         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75758         missing underflow exceptions.
75759         (fma_test_towardzero): Add more tests.
75760         (fma_test_downward): Likewise.
75761         (fma_test_upward): Likewise.
75763         [BZ #14047]
75764         * sysdeps/generic/tininess.h: New file.
75765         * sysdeps/i386/tininess.h: Likewise.
75766         * sysdeps/sh/tininess.h: Likewise.
75767         * sysdeps/x86_64/tininess.h: Likewise.
75768         * stdlib/tst-strtod-underflow.c: Likewise.
75769         * stdlib/tst-tininess.c: Likewise.
75770         * stdlib/strtod_l.c: Include <tininess.h>.
75771         (round_and_return): Do not set errno for exact underflow cases.
75772         Force an underflow exception when setting errno for underflow.
75773         Determine underflow based on rounding to normal precision if
75774         TININESS_AFTER_ROUNDING.
75775         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75776         ERANGE for exact underflow cases.
75777         * stdlib/Makefile (tests): Add tst-tininess and
75778         tst-strtod-underflow.
75779         ($(objpfx)tst-tininess): Use $(link-libm).
75780         ($(objpfx)tst-strtod-underflow): Likewise.
75782 2012-10-30  Andreas Jaeger  <aj@suse.de>
75784         [BZ #14767]
75785         * elf/Makefile (tests): Remove conditional for have-initfini-array
75786         since this is now always required and the variable does not exist
75787         anymore.
75788         (tests-static): Likewise.
75789         (modules-names): Likewise.
75791         * po/eo.po: Add Esperanto translation from translation project.
75793         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75794         merged with constructor/destructor.
75795         (init_array): Likewise.
75796         * elf/tst-array2dep.c (fini_array): Likewise.
75797         (init_array): Likewise.
75799 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75801         * manual/message.texi: Delete @cartouche tags.
75803 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75805         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75806         EOPNOTSUPP.
75807         * sysdeps/mach/hurd/fsync.c: Likewise.
75809         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75810         [_POSIX_REALTIME_SIGNALS]: Change condition to
75811         [_POSIX_REALTIME_SIGNALS > 0].
75813 2012-10-27  Andreas Jaeger  <aj@suse.de>
75815         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75816         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75817         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75818         [__WORDSIZE != 64]: Likewise.
75820 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75822         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75823         *  iconvdata/tst-tables.sh: Likewise.
75825 2012-10-25  David S. Miller  <davem@davemloft.net>
75827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75828         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75829         of strtoull.
75831         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75832         ifunc-impl-list.c
75833         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75834         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75835         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75836         file.
75838 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75841         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75842         __getdirentries.
75844 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75845             Jim Blandy  <jimb@codesourcery.com>
75847         * scripts/cross-test-ssh.sh: New file.
75848         * manual/install.texi (Configuring and compiling): Document use of
75849         cross-test-ssh.sh.
75850         * INSTALL: Regenerated.
75852 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75854         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75855         EOPNOTSUPP.
75857 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75859         * Makeconfig (run-program-prefix): Fix comment.
75861 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75862             Jim Blandy  <jimb@codesourcery.com>
75864         * Makeconfig (test-wrapper): New variable,
75865         (test-wrapper-env): Likewise.
75866         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75867         (run-built-tests): Define to yes.
75868         (run-program-prefix): Use $(test-wrapper).
75869         (built-program-cmd): Likewise.
75870         * Rules (make-test-out): Use $(test-wrapper-env) and
75871         $(host-built-program-cmd).
75872         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75873         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75874         tst-pathopt.sh.
75875         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75876         $(test-wrapper-env) to tst-rtld-load-self.sh.
75877         ($(objpfx)order2.out): Use $(test-wrapper).
75878         ($(objpfx)tst-initorder.out): Likewise.
75879         ($(objpfx)tst-initorder2.out): Likewise.
75880         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75881         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75882         (test_wrapper_env): New variable.  Use it to run ld.so.
75883         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75884         Use it to run ld.so.
75885         (test_wrapper_env): Likewise.
75886         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75887         $(test-wrapper) to run-iconv-test.sh.
75888         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75889         (ICONV): Use $test_wrapper.
75890         * posix/Makefile ($(objpfx)globtest.out): Pass
75891         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75892         globtest.sh, not $(run-program-prefix).
75893         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75894         (test_wrapper): Likewise.
75895         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75896         set together with run_via_rtld_prefix.
75897         (run_program_prefix): Define in terms of test_wrapper and
75898         run_via_rtld_prefix.
75900 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75902         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75903         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75904         Targets removed.
75906         [BZ #14743]
75907         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75908         Declare __clock_getres, __clock_gettime, __clock_settime,
75909         __clock_nanosleep, and __clock_getcpuclockid.
75910         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75911         Remove librt_hidden_def (clock_gettime).
75912         * sysdeps/unix/clock_gettime.c: Likewise.
75913         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75914         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75915         * rt/clock_getres.c: Define __clock_getres as an alias.
75916         * sysdeps/posix/clock_getres.c: Likewise.
75917         * rt/clock_settime.c: Define __clock_settime as an alias.
75918         * sysdeps/unix/clock_settime.c: Likewise.
75919         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75920         * sysdeps/unix/clock_nanosleep.c: Likewise.
75921         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75922         * rt/clock-compat.c: New file.
75923         * rt/Makefile (librt-routines): Add clock-compat and move
75924         $(clock-routines) to ...
75925         (routines): ... here, new variable.
75926         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75927         Don't add get_clockfreq here.
75928         * rt/Versions (libc: GLIBC_2.17): New version set.
75929         Add clock_* symbols here.
75930         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75931         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75932         (GLIBC_2.17): Add clock_* symbols.
75933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75935         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75937         Likewise.
75938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75939         Likewise.
75940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75944         * NEWS: Mention the move.
75946         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75947         Use __open, __read, __close rather than their public counterparts.
75948         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75949         (__get_clockfreq_via_cpuinfo): Likewise.
75950         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75951         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75953         * config.h.in (HAVE_IFUNC): New #undef.
75954         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75955         was successful.
75956         * configure: Regenerated.
75958 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75960         * configure.in: Move READELF check to start of file.
75961         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75962         libc_cv_asm_gnu_indirect_function in the process.
75963         * configure: Regenerated.
75965 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75967         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75968         send the output to /dev/null.
75969         (libc_cv_cc_with_libunwind): Likewise.
75970         (libc_cv_as_noexecstack): Likewise.
75971         * configure: Regenerate.
75973 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75975         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75977         * posix/globtest.sh (TMPDIR): Do not set.
75978         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75979         (testout): Likewise.
75981 2012-10-24  Andreas Jaeger  <aj@suse.de>
75983         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75984         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75985         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75986         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75987         posix_fadvise64, posix_fallocate64.
75989         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75990         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75991         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75992         Likewise.
75993         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75994         Likewise.
75995         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75998         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75999         <bits/fcntl-linux.h>.
76000         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
76002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
76003         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
76004         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
76005         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
76006         [__WORDSIZE != 64]: Likewise.
76008 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
76010         * Makeconfig (run-built-tests): New variable.
76011         * Rules [$(cross-compiling) = yes]: Change condition to
76012         [$(run-built-tests) = no].
76013         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
76014         to [$(run-built-tests) = yes].
76015         * elf/Makefile [$(cross-compiling) = no]: Likewise.
76016         * grp/Makefile [$(cross-compiling) = no]: Likewise.
76017         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
76018         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
76019         * intl/Makefile [$(cross-compiling) = no]: Likewise.
76020         * io/Makefile [$(cross-compiling) = no]: Likewise.
76021         * libio/Makefile [$(cross-compiling) = no]: Likewise.
76022         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
76023         * misc/Makefile [$(cross-compiling) = no]: Likewise.
76024         * posix/Makefile [$(cross-compiling) = no]: Likewise.
76025         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
76026         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
76027         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
76028         * string/Makefile [$(cross-compiling) = no]: Likewise.
76030         * posix/Makefile ($(objpfx)globtest.out): Pass
76031         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
76032         $(rtld-installed-name).
76033         * posix/globtest.sh (elf_objpfx): Remove variable.
76034         (rtld_installed_name): Likewise.
76035         (library_path): Likewise.
76036         (run_program_prefix): New variable.  Use for running globtest
76037         binary.
76039 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
76040             Joseph Myers  <joseph@codesourcery.com>
76042         * Makeconfig (host-built-program-cmd): New variable.
76043         * elf/Makefile (tst-stackguard1-ARGS): Use
76044         $(host-built-program-cmd).
76045         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
76046         (tst-spawn-ARGS): Likewise.
76047         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76049 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
76050             Jim Blandy  <jimb@codesourcery.com>
76052         * Makeconfig (run-via-rtld-prefix): New variable.
76053         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
76054         (built-program-cmd): Likewise.
76056 2012-10-22  Andreas Jaeger  <aj@suse.de>
76058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
76059         __O_RSYNC if it exists, otherwise to O_SYNC.
76061 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
76062             Joseph Myers  <joseph@codesourcery.com>
76064         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76065         /dev/null.
76066         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76067         from /dev/null
76068         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76069         /dev/null.
76071 2012-10-22  Andreas Jaeger  <aj@suse.de>
76073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76074         Define always.
76075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76078         bits/fcntl-linux.h.
76080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76081         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76084         to __O_LARGEFILE.
76085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76086         to __O_LARGEFILE.
76088 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
76089             Joseph Myers  <joseph@codesourcery.com>
76091         * config.make.in (NM): New variable.
76093 2012-10-21  Andreas Jaeger  <aj@suse.de>
76095         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76096         definitions and declarations that are provided by
76097         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76099 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76101         [BZ #14683]
76102         * elf/Makefile (tests-static): Add tst-leaks1-static.
76103         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76104         ($(objpfx)tst-leaks1-static): New rule.
76105         ($(objpfx)tst-leaks1-static-mem): Likewise.
76106         (tst-leaks1-static-ENV): New macro.
76107         * elf/dl-open.c (dl_open_worker): Check the main application
76108         only if SHARED is defined.
76109         * elf/tst-leaks1-static.c: New file.
76111 2012-10-20  Andreas Jaeger  <aj@suse.de>
76113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76114         generic values for Linux.
76115         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76116         and declarations that are provided by <bits/fcntl-linux.h> and
76117         include <bits/fcntl-linux.h>.
76118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76119         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76121 2012-10-20  Roland McGrath  <roland@hack.frob.com>
76123         * io/fcntl.h: Move include of <bits/types.h> to the top and
76124         include it unconditionally.
76126 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76128         * wcsmbs/Makefile (tests-ifunc): New variable.
76129         (tests): Add $(tests-ifunc).
76130         * wcsmbs/test-wcschr-ifunc.c: New file.
76131         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76132         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76133         * wcsmbs/test-wcslen-ifunc.c: Likewise.
76134         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76135         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76137         * string/Makefile (tests-ifunc): New variable.
76138         (tests): Add $(tests-ifunc).
76139         * string/test-memccpy.c (TEST_NAME): New macro.
76140         * string/test-memchr.c (TEST_NAME): Likewise.
76141         * string/test-memcmp.c (TEST_NAME): Likewise.
76142         * string/test-memcpy.c (TEST_NAME): Likewise.
76143         * string/test-memmem.c (TEST_NAME): Likewise.
76144         * string/test-memmove.c (TEST_NAME): Likewise.
76145         * string/test-memset.c (TEST_NAME): Likewise.
76146         * string/test-rawmemchr.c (TEST_NAME): Likewise.
76147         * string/test-stpcpy.c (TEST_NAME): Likewise.
76148         * string/test-stpncpy.c (TEST_NAME): Likewise.
76149         * string/test-strcasecmp.c (TEST_NAME): Likewise.
76150         * string/test-strcasestr.c (TEST_NAME): Likewise.
76151         * string/test-strcat.c (TEST_NAME): Likewise.
76152         * string/test-strchr.c (TEST_NAME): Likewise.
76153         * string/test-strcmp.c(TEST_NAME): Likewise.
76154         * string/test-strcpy.c (TEST_NAME): Likewise.
76155         * string/test-strcspn.c (TEST_NAME): Likewise.
76156         * string/test-strlen.c (TEST_NAME): Likewise.
76157         * string/test-strncasecmp.c (TEST_NAME): Likewise.
76158         * string/test-strncmp.c (TEST_NAME): Likewise.
76159         * string/test-strncpy.c (TEST_NAME): Likewise.
76160         * string/test-strnlen.c (TEST_NAME): Likewise.
76161         * string/test-strpbrk.c (TEST_NAME): Likewise.
76162         * string/test-strrchr.c (TEST_NAME): Likewise.
76163         * string/test-strspn.c (TEST_NAME): Likewise.
76164         * string/test-strstr.c (TEST_NAME): Likewise.
76165         * string/test-bcopy-ifunc.c: New file.
76166         * string/test-bzero-ifunc.c: Likewise.
76167         * string/test-memccpy-ifunc.c: Likewise.
76168         * string/test-memchr-ifunc.c: Likewise.
76169         * string/test-memcmp-ifunc.c: Likewise.
76170         * string/test-memcpy-ifunc.c: Likewise.
76171         * string/test-memmem-ifunc.c: Likewise.
76172         * string/test-memmove-ifunc.c: Likewise.
76173         * string/test-mempcpy-ifunc.c: Likewise.
76174         * string/test-memset-ifunc.c: Likewise.
76175         * string/test-rawmemchr-ifunc.c: Likewise.
76176         * string/test-stpcpy-ifunc.c: Likewise.
76177         * string/test-stpncpy-ifunc.c: Likewise.
76178         * string/test-strcasecmp-ifunc.c: Likewise.
76179         * string/test-strcasestr-ifunc.c: Likewise.
76180         * string/test-strcat-ifunc.c: Likewise.
76181         * string/test-strchr-ifunc.c: Likewise.
76182         * string/test-strchrnul-ifunc.c: Likewise.
76183         * string/test-strcmp-ifunc.c: Likewise.
76184         * string/test-strcpy-ifunc.c: Likewise.
76185         * string/test-strcspn-ifunc.c: Likewise.
76186         * string/test-strlen-ifunc.c: Likewise.
76187         * string/test-strncasecmp-ifunc.c: Likewise.
76188         * string/test-strncat-ifunc.c: Likewise.
76189         * string/test-strncmp-ifunc.c: Likewise.
76190         * string/test-strncpy-ifunc.c: Likewise.
76191         * string/test-strnlen-ifunc.c: Likewise.
76192         * string/test-strpbrk-ifunc.c: Likewise.
76193         * string/test-strrchr-ifunc.c: Likewise.
76194         * string/test-strspn-ifunc.c: Likewise.
76195         * string/test-strstr-ifunc.c: Likewise.
76197         * debug/Makefile (tests-ifunc): New variable.
76198         (tests): Add $(tests-ifunc).
76199         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76200         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76201         * debug/test-stpcpy_chk-ifunc.c: New file.
76202         * debug/test-strcpy_chk-ifunc.c: Likewise.
76204 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76206         [BZ #13601]
76207         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76208         header is not read in.
76210 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76212         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76213         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76214         directly.  Pass built executable to script as
76215         $(built-program-cmd).
76216         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76217         $testprogram without using LD_LIBRARY_PATH and $ldso.
76219         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76220         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76221         $(rtld-installed-name).
76222         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76223         (rtld_installed_name): Likewise.
76224         (library_path): Likewise.
76225         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76226         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76227         $(run-program-prefix) to tst-tables.sh.
76228         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76229         it to run tst-table-from and tst-table-to.
76230         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76231         Pass it to tst-table.sh.
76232         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76233         $(run-program-prefix) to tst-gettext.sh.
76234         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76235         tst-translit.sh.
76236         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76237         tst-gettext2.sh.
76238         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76239         to run tst-gettext.
76240         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76241         to run tst-gettext2.
76242         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76243         to run tst-translit.
76244         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76245         $(run-program-prefix) to tst-mtrace.sh.
76246         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76247         to run tst-mtrace.
76248         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76249         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76250         $(rtld-installed-name).
76251         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76252         (rtld_installed_name): Likewise.
76253         (run_program_prefix): New variable.  Use it to run wordexp-test.
76255         * Makeconfig (ARCH): Remove all definitions.
76256         (machine): Likewise.
76257         [ARCH]: Remove conditional code.
76258         [!objdir]: Give error.
76259         [!objdir] (objpfx): Remove.
76260         [!objdir] (common-objpfx): Likewise.
76261         [!objdir] (common-objdir): Likewise.
76262         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76263         AC_CONFIG_FILES call.
76264         * configure: Regenerated.
76266         [BZ #13888]
76267         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76268         or TMPDIR.
76269         (testout): Likewise.
76271         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76272         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76273         $(rtld-installed-name).
76274         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76275         (rtld_installed_name): Likewise.
76276         (runit): Remove function.
76277         (run_getconf): New variable,  Use it for running getconf binary.
76279 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76281         [BZ #14716]
76282         * string/test-memmem.c (check_result): New function.
76283         (do_one_test): Use it.
76284         (check1): New function.
76285         (test_main): Use it.
76287 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76289         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76291 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76293         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76294         (_G_LSEEK64): Likewise.
76295         (_G_MMAP64): Likewise.
76296         (_G_FSTAT64): Likewise.
76297         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76298         (_G_LSEEK64): Likewise.
76299         (_G_MMAP64): Likewise.
76300         (_G_FSTAT64): Likewise.
76301         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76302         unconditional.  Call __mmap64 directly.
76303         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76304         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76305         __lseek64 directly.
76306         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76307         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76308         __mmap64 directly.
76309         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76310         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76311         __lseek64 directly.
76312         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76313         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76314         __lseek64 directly.
76315         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76316         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76317         __lseek64 directly.
76318         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76319         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76320         __fxstat64 directly.
76321         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76322         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76323         unconditional.
76324         (freopen64) [!_G_OPEN64]: Remove conditional code.
76325         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76326         unconditional.
76327         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76328         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76329         unconditional.
76330         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76331         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76332         unconditional.
76333         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76334         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76335         unconditional.
76336         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76337         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76338         unconditional.
76339         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76340         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76341         unconditional.
76342         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76343         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76344         unconditional.
76345         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76347 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76349         [BZ #12140]
76350         * manual/memory.texi (Malloc Tunable Parameters): Add note
76351         about free list pointers overwriting some perturb bytes.
76352         Wording suggested by Roland McGrath.
76354 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76356         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76357         (lgamma_test): Likewise.
76358         (tgamma_test): Likewise.
76360 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76362         [BZ #14700]
76363         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76364         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76366 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76368         * NEWS: Mention BZ #14716.
76369         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76370         when removing AVAILABLE1_USES_J macro.
76372 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76374         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76375         (__bswap_64): __uint64_t for unsigned 64-bit int.
76377 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76379         * include/string.h (memmem): Declare libc hidden alias.
76380         * string/memmem.c (memmem): Define libc hidden alias.
76381         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76382         __read, __close instead of open, read, close.
76384 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76387         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76388         global and hidden.
76389         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76390         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76391         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76392         Likewise.
76393         (__rawmemchr_sse2): Likewise.
76394         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76395         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76396         (__strchr_sse2): Likewise.
76397         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76398         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76399         (__strcasecmp_sse2): Likewise.
76400         (__strncasecmp_sse2): Likewise.
76401         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76402         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76403         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76404         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76405         (__strrchr_sse2): Likewise.
76406         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76407         ifunc-impl-list.c.
76408         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76409         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76410         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76411         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76412         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76413         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76414         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76415         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76416         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76417         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76418         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76419         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76420         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76421         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76422         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76423         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76424         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76425         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76426         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76427         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76428         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76429         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76430         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76431         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76432         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76433         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76434         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76435         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76436         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76437         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76439         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76440         global and hidden.
76441         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76442         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76443         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76444         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76445         Likewise.
76446         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76447         Likewise.
76448         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76449         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76450         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76451         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76452         ifunc-impl-list.c.
76453         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76454         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76455         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76456         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76457         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76458         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76459         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76460         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76461         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76462         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76463         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76464         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76465         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76466         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76467         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76468         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76469         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76470         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76471         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76472         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76473         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76474         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76475         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76476         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76477         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76478         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76479         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76480         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76481         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76482         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76483         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76484         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76485         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76486         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76487         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76488         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76489         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76490         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76491         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76492         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76493         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76495         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76496         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76497         * include/ifunc-impl-list.h: New file.
76498         * misc/ifunc-impl-list.c: Likewise.
76499         * misc/Makefile (routines): Add ifunc-impl-list.
76500         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76501         * string/test-string.h: Include <ifunc-impl-list.h>.
76502         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76503         TEST_NAME]: New variables.
76504         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76505         are defined.
76506         (test_init): Call __libc_ifunc_impl_list to initialize
76507         func_list if TEST_IFUNC and TEST_NAME are defined.
76509         * string/Makefile (strop-tests): Add bcopy and bzero.
76510         * string/test-bcopy.c: New file.
76511         * string/test-bzero.c: Likewise.
76512         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76513         defined.
76514         * string/test-memset.c: Support bzero test if TEST_BZERO is
76515         defined.
76516         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76517         __libc_memmove.
76518         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76519         __libc_memset.
76520         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76521         of memset.
76523 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76525         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76526         * configure: Regenerated.
76528         * Makeconfig (+link-static-before-libc): Don't include
76529         $(link-static-libc).
76531         * libio/libio.h (_IO_pos_t): Remove.
76533 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76535         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76536         McGrath.
76538 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76540         * crypt/crypt-entry.c: Include fips-private.h.
76541         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76542         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76543         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76544         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76546 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76548         * crypt/crypt-private.h: Include stdbool.h.
76549         (_ufc_setup_salt_r): Return bool.
76550         * crypt/crypt-entry.c: Include errno.h.
76551         (__crypt_r): Return NULL with EINVAL for bad salt.
76552         * crypt/crypt_util.c (bad_for_salt): New.
76553         (_ufc_setup_salt_r): Check that salt is long enough and within
76554         the specified alphabet.
76555         * crypt/badsalttest.c: New file.
76556         * crypt/Makefile (tests): Add it.
76557         ($(objpfx)badsalttest): New.
76559 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76561         * NEWS: Add entry for BZ #14602.
76563 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76565         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76566         type-generic.
76567         * math/libm-test.inc: Update comment listing what functions and
76568         macros are tested.
76569         (isgreater_test): New function.
76570         (isgreaterequal_test): Likewise.
76571         (isless_test): Likewise.
76572         (islessequal_test): Likewise.
76573         (islessgreater_test): Likewise.
76574         (isunordered_test): Likewise.
76575         (main): Call the new functions.
76577 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76579         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76580         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76581         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76582         * sysdeps/i386/configure: Regenerated.
76583         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76584         * sysdeps/mach/configure: Regenerated.
76585         * sysdeps/mach/hurd/configure: Regenerated.
76586         * sysdeps/powerpc/configure: Regenerated.
76587         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76588         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76589         * sysdeps/s390/s390-32/configure: Regenerated.
76590         * sysdeps/s390/s390-64/configure: Regenerated.
76591         * sysdeps/sh/configure: Regenerated.
76592         * sysdeps/sparc/configure: Regenerated.
76593         * sysdeps/unix/sysv/linux/configure: Regenerated.
76594         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76595         * sysdeps/x86_64/configure: Regenerated.
76597         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76598         defined.  Don't check if MAP is NULL.
76600 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76602         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76603         (_G_stat64): Likewise.
76604         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76605         (_G_stat64): Likewise.
76606         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76607         instead of struct _G_stat64.
76608         * libio/fileops.c (mmap_remap_check): Likewise.
76609         (decide_maybe_mmap): Likewise.
76610         (_IO_new_file_seekoff): Likewise.
76611         (_IO_file_stat): Likewise.
76612         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76613         _G_off64_t.
76614         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76615         instead of struct _G_stat64.
76616         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76618 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76620         [BZ #14602]
76621         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76622         Replace with ...
76623         (CHECK_EOL): New macro.
76624         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76625         CHECK_EOL.
76626         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76627         Replace with CHECK_EOL.
76628         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76629         Replace with CHECK_EOL.
76631 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76633         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76634         type-generic.
76635         * math/libm-test.inc: Update comment listing what functions and
76636         macros are tested.
76637         (finite_test): New function.
76638         (isinf_test): Likewise.
76639         (isnan_test): Likewise.
76640         (fpclassify_test): Test subnormal input.
76641         (isfinite_test): Likewise.
76642         (isnormal_test): Likewise.
76643         (main): Call the new functions.
76645 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76647         [BZ #14660]
76648         * Makerules (%.dynsym): Force C locale when running
76649         $(OBJDUMP) --dynamic-syms.
76651 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76653         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76654         <stdint.h>.
76656 2012-10-06  David S. Miller  <davem@davemloft.net>
76658         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76659         upper 32-bits of the length value in %o2 since we use branch-on-register
76660         tests which consider the entire 64-bit register.
76662 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76664         * string/test-strstr.c (check2): Add a test for page boundary.
76666 2012-10-05  David S. Miller  <davem@davemloft.net>
76668         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76669         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76670         file.
76671         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76672         sysdep_routines.
76673         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76674         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76675         and bzero when HWCAP_SPARC_CRYPTO is present.
76677 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76679         [BZ #14602]
76680         * string/test-strstr.c (check2): New function.
76681         (test_main): Call check2.
76683         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76684         and bug-strchr1.
76685         * string/bug-strcasestr1.c (do_test): Moved to ...
76686         * string/test-strcasestr.c (check1): Here.  New function.
76687         (do_one_test): Break out result checking code into ...
76688         (check_result): This.  New function.
76689         (do_one_test): Call check_result.
76690         (test_main): Call check1.
76691         * string/bug-strchr1.c (do_test): Moved to ...
76692         * string/test-strchr.c (check1): Here.  New function.
76693         (do_one_test): Break out result checking code into ...
76694         (check_result): This.  New function.
76695         (do_one_test): Call check_result.
76696         (test_main): Call check1.
76697         * string/bug-strstr1.c (main): Moved to ...
76698         * string/test-strstr.c (check1): Here.  New function.
76699         (do_one_test): Break out result checking code into ...
76700         (check_result): This.  New function.
76701         (do_one_test): Call check_result.
76702         (test_main): Call check1.
76703         * string/bug-strcasestr1.c: Removed.
76704         * string/bug-strchr1.c: Likewise.
76705         * string/bug-strstr1.c: Likewise.
76707         * elf/Makefile (dl-routines): Add hwcaps.
76708         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76709         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76710         (_dl_important_hwcaps): Moved to ...
76711         * elf/dl-hwcaps.c: Here.  New file.
76712         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76714         [BZ #14557]
76715         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76716         if IS_IN_rtld isn't defined.
76718         * elf/dl-support.c (_dl_sysinfo_map): New.
76719         Include "get-dynamic-info.h" and "setup-vdso.h".
76720         (_dl_non_dynamic_init): Call setup_vdso.
76721         * elf/dynamic-link.h: Don't include <assert.h>.
76722         (elf_get_dynamic_info): Moved to ...
76723         * elf/get-dynamic-info.h: Here.  New file.
76724         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76725         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76726         * elf/setup-vdso.h: Here.  New file.
76727         * elf/rtld.c: Include "setup-vdso.h".
76728         (dl_main): Call setup_vdso.
76730 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76732         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76733         creal in comment listing functions tested.  List finite, isinf,
76734         isnan, isless, islessequal, isgreater, isgreaterequal,
76735         islessgreater, isunordered, lgamma_r and pow10 as functions and
76736         macros not tested.  Mention which functions not tested are aliases
76737         for other functions.  Fix typo.  Note that signs of NaNs are not
76738         tested.
76740         * scripts/config.guess: Update from config.git.
76741         * scripts/config.sub: Likewise.
76743 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76745         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76746         * misc/madvise.c (madvise): Renamed to __madvise.
76747         Make madvise a weak alias.
76748         * include/sys/mman.h: Declare __madvise.
76749         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76750         * sysdeps/unix/syscalls.list
76751         (madvise): Make __madvise the strong name, and madvise a weak alias.
76752         * sysdeps/unix/sysv/linux/syscalls.list
76753         (madvise, mmap): Remove redundant entries.
76754         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76755         * malloc/malloc.c (mtrim): Likewise.
76756         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76758 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76760         * sysdeps/mach/hurd/dl-cache.c: File removed.
76761         * config.h.in (USE_LDCONFIG): New #undef.
76762         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76763         * configure: Regenerated.
76764         * elf/Makefile (dl-routines): Add dl-cache only under
76765         [$(use-ldconfig) = yes].
76766         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76767         cache on [USE_LDCONFIG].
76768         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76769         [USE_LDCONFIG].
76770         * elf/rtld.c (dl_main): Likewise.
76772 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76774         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76775         _SC_LEVEL4_CACHE_LINESIZE.
76777 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76779         * sysdeps/unix/bsd/confstr.h: File removed.
76781 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76783         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76784         sys/sdt-config.h.
76786 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76788         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76789         Make 'mapoff' field ElfW(Off) rather than off_t.
76791 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76793         * nscd/Makefile: Remove nscd-cflags and all its users.
76794         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76795         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76797         [BZ #10631]
76798         * malloc.c (malloc_printerr): Clarify error message.
76800 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76802         [BZ #14648]
76803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76804         Set bit_FMA_Usable if FMA is supported.
76805         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76806         macro.
76807         (bit_FMA4_Usable): Updated.
76808         (index_FMA_Usable): New macro.
76809         (CPUID_FMA): Likewise.
76810         (HAS_FMA): Defined with bit_FMA_Usable.
76812 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76814         * bits/types.h (__swblk_t): Type removed.
76815         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76816         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76818         (__SWBLK_T_TYPE): Likewise.
76819         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76820         (__SWBLK_T_TYPE): Likewise.
76821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76822         (__SWBLK_T_TYPE): Likewise.
76823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76824         (__SWBLK_T_TYPE): Likewise.
76826 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76827             Honza Horak <hhorak@redhat.com>
76829         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76830         (xdr_mapname): Use YPMAXMAP as maxsize.
76831         (xdr_peername): Use YPMAXPEER as maxsize.
76832         (xdr_keydat): Use YPAXRECORD as maxsize.
76833         (xdr_valdat): Use YPMAXRECORD as maxsize.
76835 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76837         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76839         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76840         * csu/init-first.c: ... here.
76841         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76842         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76843         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76844         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76845         * sysdeps/i386/init-first.c: File removed.
76846         * sysdeps/sh/init-first.c: File removed.
76848 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76850         [BZ #14645]
76851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76852         if x * y might underflow to zero and z is zero.
76853         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76855         * math/libm-test.inc (min_subnorm_value): New variable.
76856         (fma_test): Add more tests.
76857         (fma_test_towardzero): Likewise.
76858         (fma_test_downward): Likewise.
76859         (fma_test_upward): Likewise.
76860         (initialize): Set min_subnorm_value.
76862 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76864         [BZ #14638]
76865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76866         0 + 0.
76867         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76868         mode for addition resulting in exact zero.
76869         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76871         exact 0 + 0.
76872         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76873         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76874         * math/libm-test.inc (fma_test): Add more tests.
76875         (fma_test_towardzero): New function.
76876         (fma_test_downward): Likewise.
76877         (fma_test_upward): Likewise.
76878         (main): Call the new functions.
76880 2012-09-28  David S. Miller  <davem@davemloft.net>
76882         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76884 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76886         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76887         instead of SIGALRM.
76889         * sysdeps/gnu/_G_config.h: Moved to ...
76890         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76891         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76892         * sysdeps/generic/_G_config.h: ... here.
76894         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76896         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76898         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76899         Conditionalize target on [libnss_test1.so-version].
76901         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76903         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76904         (elfobjdir): Move out of conditionals.
76906         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76907         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76908         (__nss_lookup_function): Conditionalize label remove_from_tree on
76909         [!DO_STATIC_NSS || SHARED], matching its only use.
76911 2012-09-28  David S. Miller  <davem@davemloft.net>
76913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76914         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76915         file.
76916         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76917         sysdep_routines.
76918         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76920         when HWCAP_SPARC_CRYPTO is present.
76922 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76924         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76926 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76928         [BZ #6530]
76929         * stdio-common/vfprintf.c (process_string_arg): Revert
76930         2000-07-22 change.
76932 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76934         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76935         for testcase.
76936         * stdio-common/tst-sprintf.c: Include <locale.h>
76937         (main): Test sprintf's handling of incomplete multibyte
76938         characters.
76940 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76942         * elf/dl-runtime.c (VERSYMIDX): Removed.
76943         * elf/dl-version.c (VERSYMIDX): Likewise.
76944         * elf/do-rel.h (VERSYMIDX): Likewise.
76945         (VALIDX): Likewise.
76946         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76947         * elf/rtld.c (VALIDX): Likewise.
76948         (ADDRIDX): Likewise.
76949         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76950         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76951         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76952         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76953         (VALIDX): Likewise.
76954         (ADDRIDX): Likewise.
76956 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76958         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76960 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76962         [BZ #11438]
76963         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76964         to global scope.
76965         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76966         addresses are in the same scope as 192.0.2/24.
76967         * posix/gai.conf: Document new scope table defaults.
76969 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76971         [BZ #5298]
76972         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76973         for ftell.  Compute offsets from write pointers instead.
76974         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76976 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76978         [BZ #14543]
76979         * libio/Makefile (tests): New test case tst-fseek.
76980         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76981         combination works in wide mode.
76982         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76983         state when the external buffer state changes.
76985 2012-09-27  David S. Miller  <davem@davemloft.net>
76987         [BZ #14376]
76988         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76989         pass reloc->r_addend in as the 'high' argument to
76990         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76994 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76996         * rt/tst-aio2.c: Include <pthread.h>.
76997         * rt/tst-aio3.c: Likewise.
76999 2012-09-27  Steve Ellcey  <sellcey@mips.com>
77001         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
77003 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
77005         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
77006         contents on [SHARED].
77008 2012-09-26  Marek Polacek  <polacek@redhat.com>
77010         [BZ #14530]
77011         [BZ #13741]
77012         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
77013         for C++ and GCC <4.3 as well as for non GCC compilers.
77015 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
77017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77019 2012-09-25  Roland McGrath  <roland@hack.frob.com>
77021         * Makefile.in (all, install): Declare with .PHONY.
77022         Reported by Michael Hope <michael.hope@linaro.org>.
77024 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77026         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
77027         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
77028         system header.
77029         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
77030         Likewise.
77031         (sydep_routines): Add the new and the internal functions.
77032         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
77033         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
77034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
77035         (GLIBC_2.17): Add the new function.
77036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77037         (GLIBC_2.17): Likewise.
77038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
77039         (GLIBC_2.17): Likewise.
77040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
77041         (GLIBC_2.17): Likewise.
77042         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
77044 2012-09-25  Alan Modra  <amodra@gmail.com>
77046         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
77047         Add release barrier before setting once_control to say
77048         initialisation is done.  Add hints on lwarx.  Use macro in
77049         place of isync.
77050         (clear_once_control): Add release barrier.
77052 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77054         [BZ #13629]
77055         * math/s_clog.c (__clog): Handle more values close to |z| = 1
77056         specially.
77057         * math/s_clog10.c (__clog10): Likewise.
77058         * math/s_clog10f.c (__clog10f): Likewise.
77059         * math/s_clog10l.c (__clog10l): Likewise.
77060         * math/s_clogf.c (__clogf): Likewise.
77061         * math/s_clogl.c (__clogl): Likewise.
77062         * math/Makefile (libm-calls): Add x2y2m1.
77063         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77064         (__x2y2m1): Likewise.
77065         (__x2y2m1l): Likewise.
77066         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77067         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77068         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77069         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77070         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77071         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77072         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77073         * sysdeps/i386/fpu/libm-test-ulps: Update.
77074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77076         [BZ #14621]
77077         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77078         int as type of variable DEPTH.
77079         (glob): Use size_t instead of int as type of variables NEWCOUNT
77080         and OLD_PATHC.
77082 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77084         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77085         Add s_sincosf-sse2.
77086         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77087         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77088         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77089         macros for using routine as __sincosf_ia32.
77090         Use macro for function declaration and weak_alias.
77091         * sysdeps/i386/fpu/libm-test-ulps: Update.
77093         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77096         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77097         subnormal argument.
77098         * math/s_cexpf.c (__cexpf): Likewise.
77099         * math/s_csinf.c (__csinf): Likewise.
77100         * math/s_csinhf.c (__csinhf): Likewise.
77101         * math/s_ctanf.c (__ctanf): Likewise.
77102         * math/s_ctanhf.c (__ctanhf): Likewise.
77103         * math/s_ccosh.c (__ccoshf): Likewise.
77104         * math/s_cexp.c (__cexpl): Likewise.
77105         * math/s_csin.c (__csin): Likewise.
77106         * math/s_csinh.c (__csinh): Likewise.
77107         * math/s_ctan.c (__ctan): Likewise.
77108         * math/s_ctanh.c (ctanh): Likewise.
77109         * math/s_ccoshl.c (__ccoshl): Likewise.
77110         * math/s_cexpl.c (__cexpl): Likewise.
77111         * math/s_csinl.c (__csinl): Likewise.
77112         * math/s_csinhl.c (__csinhl): Likewise.
77113         * math/s_ctanl.c (__ctanl): Likewise.
77114         * math/s_ctanhl.c (__ctanhl): Likewise.
77116 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77118         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77119         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77120         (_IO_off_t): Define to __off_t, not _G_off_t.
77121         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77122         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77123         (_IO_wint_t): Define to wint_t, not _G_wint_t.
77124         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77125         type of __dummy and __dummy2 fields.
77126         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77127         (_G_ssize_t): Likewise.
77128         (_G_off_t): Likewise.
77129         (_G_pid_t): Likewise.
77130         (_G_uid_t): Likewise.
77131         (_G_wchar_t): Likewise.
77132         (_G_wint_t): Likewise.
77133         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77134         (_G_ssize_t): Likewise.
77135         (_G_off_t): Likewise.
77136         (_G_pid_t): Likewise.
77137         (_G_uid_t): Likewise.
77138         (_G_wchar_t): Likewise.
77139         (_G_wint_t): Likewise.
77140         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77141         (_G_ssize_t): Likewise.
77142         (_G_off_t): Likewise.
77143         (_G_pid_t): Likewise.
77144         (_G_uid_t): Likewise.
77145         (_G_wchar_t): Likewise.
77146         (_G_wint_t): Likewise.
77148 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77150         * malloc/arena.c: Include malloc-sysdep.h.
77151         (shrink_heap): Use check_may_shrink_heap to decide if madvise
77152         is sufficient to shrink the heap or an unmap is needed.
77153         * sysdeps/generic/malloc-sysdep.h: New file.  Define
77154         new function check_may_shrink_heap.
77155         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
77156         new function check_may_shrink_heap.
77158 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77160         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77161         comments.
77163 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
77165         * catgets/test-gencat.sh: Add "set -e".
77166         * elf/tst-pathopt.sh: Likewise.
77167         * grp/tst_fgetgrent.sh: Likewise.
77168         * iconvdata/run-iconv-test.sh: Likewise.
77169         * intl/tst-gettext.sh: Likewise.
77170         * intl/tst-gettext2.sh: Likewise.
77171         * intl/tst-gettext4.sh: Likewise.
77172         * intl/tst-gettext6.sh: Likewise.
77173         * intl/tst-translit.sh: Likewise.
77174         * io/ftwtest-sh: Likewise.
77175         * libio/test-freopen.sh: Likewise.
77176         * malloc/tst-mtrace.sh: Likewise.
77177         * posix/globtest.sh: Likewise.
77178         * posix/tst-getconf.sh: Likewise.
77179         * posix/wordexp-tst.sh: Likewise.
77180         * stdio-common/tst-printf.sh: Likewise.
77181         * stdio-common/tst-unbputc.sh: Likewise.
77182         * stdlib/tst-fmtmsg.sh: Likewise.
77183         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77184         * catgets/Makefile: Do not specify -e option when running
77185         testsuite shell scripts.
77186         * elf/Makefile: Likewise.
77187         * grp/Makefile: Likewise.
77188         * iconvdata/Makefile: Likewise.
77189         * intl/Makefile: Likewise.
77190         * io/Makefile: Likewise.
77191         * libio/Makefile: Likewise.
77192         * malloc/Makefile: Likewise.
77193         * posix/Makefile: Likewise.
77194         * stdio-common/Makefile: Likewise.
77195         * stdlib/Makefile: Likewise.
77196         * sysdeps/x86_64/Makefile: Likewise.
77198         * io/ftwtest-sh: Add copyright header.
77199         * posix/globtest.sh: Likewise.
77200         * posix/tst-getconf.sh: Likewise.
77201         * posix/wordexp-tst.sh: Likewise.
77202         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77204 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77206         [BZ #13679]
77207         * Makeconfig (+link): Defined as $(+link-static) if
77208         $(build-shared) isn't yes.
77209         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77210         isn't yes.
77211         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77213         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77215         [BZ #14562]
77216         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77217         new chunk size with MALLOC_ALIGN_MASK.
77219 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77221         [BZ #5044]
77222         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77223         <rounding-mode.h>.
77224         (__printf_fphex): Determine rounding using get_rounding_mode and
77225         round_away.
77226         * stdio-common/tst-printf-round.c (struct hex_test): New
77227         structure.
77228         (hex_tests): New variable.
77229         (test_hex_in_one_mode): New function.
77230         (do_test): Also run tests for hex float output.
77232 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77234         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77235         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77236         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77237         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77238         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77239         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77240         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77241         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77243 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77245         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77246         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77247         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77248         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77250 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77252         [BZ #14579]
77253         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77254         mode only.
77255         * elf/tst-rtld-load-self.sh: New test.
77256         * elf/Makefile: Run it.
77258 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77260         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77261         (tst-writev-ENV): Remove.
77262         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77264 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77266         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77268 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77270         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77271         unconditional.
77272         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77273         Likewise.
77274         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77275         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77276         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77277         Likewise.
77279 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77281         [BZ #14587]
77282         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77283         * config.make.in (have-cpp-asm-debuginfo): Removed.
77284         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77285         * configure: Regenerated.
77287 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77289         [BZ #5044]
77290         * stdio-common/printf_fp.c: Include <stdbool.h> and
77291         <rounding-mode.h>.
77292         (___printf_fp): Determine rounding using get_rounding_mode and
77293         round_away.
77294         * stdio-common/tst-printf-round.c: New file.
77295         * stdio-common/Makefile (tests): Add tst-printf-round.
77296         (link-libm): New variable.
77297         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77299 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77301         [BZ #14576]
77302         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77303         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77304         Likewise.
77305         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77306         Likewise.
77308 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77310         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77311         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77312         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77313         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77315 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77317         [BZ #14518]
77318         * include/rounding-mode.h: New file.
77319         * sysdeps/generic/get-rounding-mode.h: Likewise.
77320         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77321         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77322         (MAX_VALUE): New macro.
77323         (MIN_VALUE): Likewise.
77324         (overflow_value): New function.
77325         (underflow_value): Likewise.
77326         (round_and_return): Use overflow_value and underflow_value to
77327         determine return values in overflow and underflow cases.  Use
77328         round_away to determine rounding depending on rounding mode.
77329         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77330         determine return values in overflow and underflow cases.
77331         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77332         (struct test_results): New structure.
77333         (struct test): Use struct test_results to store expected results
77334         for all rounding modes.
77335         (TEST): Include expected results for all rounding modes.
77336         (test_in_one_mode): New function.
77337         (do_test): Use test_in_one_mode to compute and check results.
77338         Check results for all rounding modes.
77339         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77340         $(link-libm).
77342 2012-12-09  Allan McRae  <allan@archlinux.org>
77344         * sysdeps/i386/fpu/libm-test-ulps: Update
77346 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77348         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77349         (_G_int32_t): Likewise.
77350         (_G_uint16_t): Likewise.
77351         (_G_uint32_t): Likewise.
77352         (_G_HAVE_BOOL): Likewise.
77353         (_G_HAVE_ATEXIT): Likewise.
77354         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77355         (_G_HAVE_IO_FILE_OPEN): Likewise.
77356         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77357         (_G_int32_t): Likewise.
77358         (_G_uint16_t): Likewise.
77359         (_G_uint32_t): Likewise.
77360         (_G_HAVE_BOOL): Likewise.
77361         (_G_HAVE_ATEXIT): Likewise.
77362         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77363         (_G_HAVE_IO_FILE_OPEN): Likewise.
77364         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77365         (_G_int32_t): Likewise.
77366         (_G_uint16_t): Likewise.
77367         (_G_uint32_t): Likewise.
77368         (_G_HAVE_BOOL): Likewise.
77369         (_G_HAVE_ATEXIT): Likewise.
77370         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77371         (_G_HAVE_IO_FILE_OPEN): Likewise.
77373 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77375         * csu/libc-tls.c: Update copyright years.
77377 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77379         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77380         [!_G_USING_THUNKS]: Remove conditional code.
77381         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77382         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77384         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77385         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77386         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77387         (_G_VTABLE_LABEL_PREFIX): Likewise.
77388         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77389         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77390         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77391         (_G_VTABLE_LABEL_PREFIX): Likewise.
77392         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77393         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77394         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77395         (_G_VTABLE_LABEL_PREFIX): Likewise.
77396         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77398 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77400         * libio/Makefile: Include ../Makeconfig before tests.
77401         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77402         only if $(build-shared) is yes.
77404         * iconv/gconv_db.c: Update copyright years.
77406 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77408         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77409         unwind info if defined PIC. Fix special cases description.
77410         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77412         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77413         DP_HI_MASK entry.
77414         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77416 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77418         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77420         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77421         is NULL.
77423         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77424         (LDLIBS-tst-chk4): This.
77425         (LDFLAGS-tst-chk5): Renamed to ...
77426         (LDLIBS-tst-chk5): This.
77427         (LDFLAGS-tst-chk6): Renamed to ...
77428         (LDLIBS-tst-chk6): This.
77429         (LDFLAGS-tst-lfschk4): Renamed to ...
77430         (LDLIBS-tst-lfschk4): This.
77431         (LDFLAGS-tst-lfschk5): Renamed to ...
77432         (LDLIBS-tst-lfschk5): This.
77433         (LDFLAGS-tst-lfschk6): Renamed to ...
77434         (LDLIBS-tst-lfschk6): This.
77436         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77437         on $(common-objpfx)soversions.mk.
77439 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77441         [BZ #10014]
77442         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77443         example host name.
77445 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77447         * malloc/arena.c (arena_get_retry): New function that gets
77448         another arena for the caller to try its request on.
77449         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77450         current arena cannot fulfill the request.
77451         (__libc_memalign): Likewise.
77452         (__libc_memalign): Likewise.
77453         (__libc_pvalloc): Likewise.
77454         (__libc_calloc): Likewise.
77456 2012-09-05  John Tobey  <john.tobey@gmail.com>
77458         [BZ #13542]
77459         * manual/arith.texi (Operations on Complex): Fix description
77460         of carg branch cut.
77462 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77464         [BZ #10014]
77465         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77466         host name.
77468         [BZ #10038]
77469         * manual/memory.texi (Memory): Make order of menu items match
77470         order of sections.
77472 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77474         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77475         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77476         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77478 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77480         * csu/libc-tls.c (static_dtv): Renamed to ...
77481         (_dl_static_dtv): This.  Make it global.
77482         (_dl_initial_dtv): Removed.
77483         (__libc_setup_tls): Updated.
77484         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77485         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77486         DL_INITIAL_DTV.
77488 2012-09-06  Petr Machata  <pmachata@redhat.com>
77490         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77491         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77492         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77493         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77495 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77497         [BZ #14545]
77498         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77499         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77500         freeing dtv[-1].
77502 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77504         [BZ #14544]
77505         * Makeconfig (link-static-before-libc): Replace $(+prector)
77506         with $(+prectorT).
77507         (link-static-after-libc): Replace $(+postctor) with
77508         $(+postctorT).
77509         (link-bounded): Replace $(+prector)/$(+postctor) with
77510         $(+prectorT)/$(+postctorT).
77511         (+prectorT): New macro.
77512         (+postctorT): Likewise.
77514 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77516         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77517         (round_str): Handle values above the maximum for IBM long double
77518         as inexact.
77519         * stdlib/tst-strtod-round.c (tests): Regenerated.
77521 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77523         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77524         assembler flag.
77525         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77526         zarch_nohighgprs around the zarch optimized routines.
77527         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77528         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77529         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77530         for zarch.
77532 2012-09-05  David S. Miller  <davem@davemloft.net>
77534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77536         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77537         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77538         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77539         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77540         entries.
77542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77544         * malloc/arena.c: Fold copyright years.
77545         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77549         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77551 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77553         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77555 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77557         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77558         change internal state upon failure.
77560 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77562         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77563         * malloc/memusage.c (mmap): Likewise.
77564         (mmap64, mremap): Likewise.  Adjust name in comment.
77566 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77568         * libio/fileops.c: Fix typos in comments.
77569         * libio/oldfileops.c: Likewise.
77570         * libio/wfileops.c: Likewise.
77572 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77574         [BZ #1349]
77575         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77576         (tst-malloc-usable-ENV): Set environment for test case.
77577         * malloc/hooks.c (malloc_check_get_size): New function to get
77578         requested size.
77579         * malloc/malloc.c (musable): Use malloc_check_get_size.
77580         * malloc/tst-malloc-usable.c: New test case.
77582 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77584         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77586 2012-09-05  Allan McRae  <allan@archlinux.org>
77588         [BZ #13966]
77589         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77590         determine header location.
77591         * configure: Regenerated.
77593 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77595         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77596         float format.
77597         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77598         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77599         format.
77600         (test): Regenerate.
77602 2012-09-04  David S. Miller  <davem@davemloft.net>
77604         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77605         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77606         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77608 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77610         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77611         failures.
77613         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77615 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77617         [BZ #9914]
77618         * libio/iogetdelim.c: Include <limits.h>.
77619         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77620         + len + 1 would overflow.
77622 2012-09-03  Andreas Jaeger  <aj@suse.de>
77624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77625         * sysdeps/i386/fpu/libm-test-ulps: Update.
77627 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77629         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77630         Add s_sinf-sse2, s_conf-sse2.
77632         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77633         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77634         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77635         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77637         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77638         for using routine as __sinf_ia32.
77639         Use macro for function declaration and weak_alias.
77640         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77641         for using routine as __cosf_ia32.
77642         Use macro for function declaration and weak_alias.
77644         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77645         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77647         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77648         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77651         * math/libm-test.inc (cos_test): Add more test cases.
77652         (sin_test): Likewise.
77653         (sincos_test): Likewise.
77655 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77658         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77659         hidden.
77660         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77662 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77664         [BZ #14538]
77665         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77666         first element of the GOT.
77667         (elf_machine_load_address): Return the difference between
77668         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77670 2012-09-01  Allan McRae  <allan@archlinux.org>
77672         [BZ #13412]
77673         * configure.in (AWK): Require gawk version 3.0 or later.
77674         * configure: Regenerated.
77676 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77678         * sysdeps/unix/sysv/linux/kernel-features.h
77679         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77680         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77681         [__NR_clock_getres]: Make code unconditional.
77682         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77683         (clock_getcpuclockid): Remove code left unreachable by removal of
77684         conditionals.
77685         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77686         code unconditional.
77687         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77688         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77689         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77690         Make code unconditional.
77691         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77692         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77693         * sysdeps/unix/sysv/linux/clock_settime.c
77694         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77695         conditional code.
77696         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77697         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77699 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77701         [BZ #14476]
77702         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77703         scripts/test-installation.pl.
77705         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77706         and $ld_so_version if it is set.
77708 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77710         [BZ #14516]
77711         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77712         failure if reading from procfs failed.
77713         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77715 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77717         * sysdeps/unix/sysv/linux/kernel-features.h
77718         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77719         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77720         Remove conditional code.
77721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77722         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77723         Remove conditional code.
77724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77725         * sysdeps/unix/sysv/linux/i386/fxstat.c
77726         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77728         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77729         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77730         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77731         * sysdeps/unix/sysv/linux/i386/lxstat.c
77732         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77733         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77734         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77735         Remove conditional code.
77736         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77737         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77738         Remove conditional code.
77739         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77740         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77741         <kernel-features.h>.
77742         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77743         Remove.
77744         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77745         Remove conditional code.
77746         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77747         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77748         Remove conditional.
77750 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77752         [BZ #5400]
77753         * NEWS: Add fixed bug number.
77755 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77757         [BZ #14519]
77758         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77759         underflowing exponent in case of negative sign.
77760         * stdlib/tst-strtod-round-data: Add more tests.
77761         * stdlib/tst-strtod-round.c (tests): Regenerated.
77763         [BZ #3479]
77764         * stdlib/strtod_l.c (NDIG): Remove.
77765         (HEXNDIG): Likewise.
77766         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77767         smallest representable value.
77768         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77769         lie within an exact representation of 1/2 ulp of the result.
77770         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77771         unconditionally.
77772         (TENS_P9_IDX): Define unconditionally.
77773         (TENS_P9_SIZE): Likewise.
77774         (TENS_P10_IDX): Likewise.
77775         (TENS_P10_SIZE): Likewise.
77776         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77777         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77778         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77779         entries for 10^2^13 and 10^2^14.
77780         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77781         (TENS_P13_IDX): Define.
77782         (TENS_P13_SIZE): Likewise.
77783         (TENS_P14_IDX): Likewise.
77784         (TENS_P14_SIZE): Likewise.
77785         (_fpioconst_pow10): Change array size to
77786         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77787         unconditional.
77788         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77789         1024]: Add entries for 10^2^13 and 10^2^14.
77790         [LAST_POW10 > _LAST_POW10]: Remove #error.
77791         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77792         (_fpioconst_pow10): Change array size to
77793         FPIOCONST_POW10_ARRAY_SIZE.
77794         * stdlib/gen-fpioconst.c: New file.
77795         * stdlib/gen-tst-strtod-round.c: Likewise.
77796         * stdlib/tst-strtod-round-data: Likewise.
77797         * stdlib/tst-strtod-round.c: Likewise.
77798         * stdlib/Makefile (tests): Add tst-strtod-round.
77800         [BZ #14459]
77801         * stdlib/strtod_l.c: Include <stdint.h>.
77802         (NDEBUG): Do not define.
77803         (round_and_return): Change EXPONENT parameter to type intmax_t.
77804         Rearrange calculations to avoid internal overflow possibilities.
77805         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77806         Rearrange calculations to avoid internal overflow possibilities.
77807         Assert that number fits inside MPNSIZE limbs.
77808         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77809         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77810         calculations and add assertions to avoid internal overflow
77811         possibilities.  Add casts to avoid signed/unsigned operations.
77812         * stdlib/tst-strtod-overflow.c: New file.
77813         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77815 2012-08-25  Marek Polacek  <polacek@redhat.com>
77817         * time/time.h: Fix some typos in comments.
77819 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77821         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77822         * posix/tst-rfc3484-2.c: Likewise.
77823         * posix/tst-rfc3484-3.c: Likewise.
77825 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77827         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77828         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77830 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77832         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77833         #include of fxstatat64.c.
77835 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77837         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77838         * shadow/getspent_r.c: Likewise.
77839         * shadow/getspnam.c: Likewise.
77840         * shadow/getspnam_r.c: Likewise.
77841         * gshadow/getsgent.c: Likewise.
77842         * gshadow/getsgent_r.c: Likewise.
77843         * gshadow/getsgnam.c: Likewise.
77844         * gshadow/getsgnam_r.c: Likewise.
77845         * inet/getnetbyad.c: Likewise.
77846         * inet/getnetbyad_r.c: Likewise.
77847         * inet/getnetbynm.c: Likewise.
77848         * inet/getnetbynm_r.c: Likewise.
77849         * inet/getnetent.c: Likewise.
77850         * inet/getnetent_r.c: Likewise.
77851         * inet/getproto.c: Likewise.
77852         * inet/getproto_r.c: Likewise.
77853         * inet/getprtent.c: Likewise.
77854         * inet/getprtent_r.c: Likewise.
77855         * inet/getprtname.c: Likewise.
77856         * inet/getprtname_r.c: Likewise.
77857         * inet/getrpcbyname.c: Likewise.
77858         * inet/getrpcbyname_r.c: Likewise.
77859         * inet/getrpcbynumber.c: Likewise.
77860         * inet/getrpcbynumber_r.c: Likewise.
77861         * inet/getrpcent.c: Likewise.
77862         * inet/getrpcent_r.c: Likewise.
77863         * inet/getaliasent.c: Likewise.
77864         * inet/getaliasent_r.c: Likewise.
77865         * inet/getaliasname.c: Likewise.
77866         * inet/getaliasname_r.c: Likewise.
77867         * nscd/getgrgid_r.c: Likewise.
77868         * nscd/getgrnam_r.c: Likewise.
77869         * nscd/gethstbyad_r.c: Likewise.
77870         * nscd/gethstbynm3_r.c: Likewise.
77871         * nscd/getpwnam_r.c: Likewise.
77872         * nscd/getpwuid_r.c: Likewise.
77873         * nscd/getsrvbynm_r.c: Likewise.
77874         * nscd/getsrvbypt_r.c: Likewise.
77875         * nscd/gai.c: Likewise.
77877         * configure.in (build_nscd): New substituted variable, set
77878         by --disable-build-nscd and defaults to $use_nscd.
77879         * configure: Regenerated.
77880         * config.make.in (build-nscd): New substituted variable.
77881         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77882         Change conditional to require [$(build-nscd) = yes] as well.
77883         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77885         [BZ #13696]
77886         * configure.in (use_nscd): New substituted variable, set by
77887         --disable-nscd.  If enabled, define USE_NSCD.
77888         * configure: Regenerated.
77889         * config.h.in: Add USE_NSCD.
77890         * config.make.in (use-nscd): New substituted variable.
77891         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77892         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77893         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77894         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77895         (CFLAGS-getgrnam_r.c): Likewise.
77896         (CFLAGS-initgroups.c): Likewise.
77897         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77898         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77899         Variables removed.
77900         * inet/getnetgrent_r.c
77901         (nscd_setnetgrent): New function, broken out of ...
77902         (setnetgrent): ... here.  Call it.
77903         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77904         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77905         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77906         * nscd/Makefile (routines, aux): Move definitions after include of
77907         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77908         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77909         Conditionalize on [USE_NSCD].
77910         (is_nscd, nscd_init_cb): Likewise.
77911         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77912         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77913         * nss/nss_db/db-init.c: Likewise.
77914         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77915         [USE_NSCD].
77916         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77917         (make_request): Use it.
77918         (cache_valid_p): New function.
77919         (__check_pf): Use it.
77920         * NEWS: Add item for --disable-nscd.
77922 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77924         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77925         to support sed >= 4.2.1-20-ga9bf076.
77926         * configure: Regenerated.
77928 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77930         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77931         Conditionalize whole body on [IREL].
77933 2012-08-22  Jeff Law <law@redhat.com>
77935         [BZ #14505]
77936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77937         if the family is PF_UNSPEC.
77939 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77941         * Makerules (lib-version): Rename from V.
77942         (install-lib-nosubdir): Change V to lib-version.
77944 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77946         [BZ #14252]
77947         * powerpc32/power6/wcschr.c: New file.
77948         * powerpc32/power6/wcscpy.c: New file.
77949         * powerpc32/power6/wcsrchr.c: New file.
77950         * powerpc64/power6/wcschr.c: New file.
77951         * powerpc64/power6/wcscpy.c: New file.
77952         * powerpc64/power6/wcsrchr.c: New file.
77954 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77956         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77957         (two_way_short_needle): Use it.
77958         * string/strstr.c (AVAILABLE1_USES_J): Define.
77959         * string/strcasestr.c: Likewise.
77961         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77962         array references.
77963         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77965         [BZ #11607]
77966         * NEWS: Add an entry.
77967         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77968         define their defaults.
77969         (two_way_short_needle): Detect end-of-string on-the-fly.
77970         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77971         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77972         * string/bug-strcasestr1.c: New test.
77973         * string/Makefile: Run it.
77975 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77977         [BZ #11607]
77978         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77979         the first character.
77981 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77983         * csu/elf-init.c (__libc_csu_irel): Function removed.
77984         * csu/libc-start.c (apply_irel): New function.
77985         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77987 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77989         * sysdeps/unix/sysv/linux/kernel-features.h
77990         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77991         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77992         <kernel-features.h>.
77993         [__NR_fadvise64_64]: Make code unconditional.
77994         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77995         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77996         !__NR_fadvise64_64)]: Likewise.
77997         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77998         !__NR_fadvise64_64))]: Likewise.
77999         [__NR_fadvise64]: Make code unconditional.
78000         [!__NR_fadvise64]: Remove conditional code.
78001         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
78002         <kernel-features.h>.
78003         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78004         unconditional.
78005         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78006         conditional code.
78007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
78008         not include <kernel-features.h>.
78009         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78010         unconditional.
78011         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78012         conditional code.
78013         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
78014         include <kernel-features.h>.
78015         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78016         unconditional.
78017         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78018         conditional code.
78020 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78022         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
78023         slight instruction rearrangements per scrollpipe analysis.
78024         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
78026 2012-08-20  Roland McGrath  <roland@hack.frob.com>
78028         * manual/syslog.texi (syslog; vsyslog, closelog):
78029         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
78030         Reported by Ricardo Catalinas JimĂ©nez <jimenezrick@gmail.com>.
78032         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
78033         DSOCAPS to match condition on defining it.
78035 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
78037         * sysdeps/unix/sysv/linux/kernel-features.h
78038         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
78039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
78040         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78041         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
78043         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78044         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
78046         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78047         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78049         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
78050         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
78052         * sysdeps/unix/sysv/linux/kernel-features.h
78053         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
78054         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
78055         unconditional.
78056         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78057         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
78058         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78059         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78060         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
78061         Make code unconditional.
78062         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78063         (__mmap64) [!__NR_mmap2]: Likewise.
78064         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78065         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78066         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78067         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78068         [__NR_mmap2]: Make code unconditional.
78069         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78070         (__mmap64) [!__NR_mmap2]: Likewise.
78072 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78074         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78076 2012-08-18  Andreas Jaeger  <aj@suse.de>
78078         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78080 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78082         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78083         * include/unistd.h (__have_sock_cloexec): Likewise.
78084         (__have_pipe2): Likewise.
78085         (__have_dup3): Likewise.
78087 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78089         [BZ #9685]
78090         * include/unistd.h (__have_pipe2): Change define into an extern int.
78091         (__have_dup3): Likewise.
78092         * socket/have_sock_cloexec.c: Include fcntl.h.
78093         (__have_pipe2): New variable.
78094         (__have_dup3): Likewise.
78096 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
78098         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78100 2012-08-17  Marek Polacek  <polacek@redhat.com>
78102         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78103         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78105 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78107         * configure.in: Add AC_SUBST for sysheaders.
78108         * configure: Regenerated.
78109         * config.make.in (sysheaders): New substituted variable.
78111         * sysdeps/unix/mkfifo.c: Moved ...
78112         * sysdeps/posix/mkfifo.c: ... here.
78113         * sysdeps/unix/mkfifoat.c: Moved ...
78114         * sysdeps/posix/mkfifoat.c: ... here.
78116         * sysdeps/unix/utime.c: Moved ...
78117         * sysdeps/posix/utime.c: ... here.
78119         * sysdeps/unix/time.c: Moved ...
78120         * sysdeps/posix/time.c: ... here.
78121         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78122         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78124         * sysdeps/unix/nice.c: Moved ...
78125         * sysdeps/posix/nice.c: ... here.
78127         * sysdeps/unix/alarm.c: Moved ...
78128         * sysdeps/posix/alarm.c: ... here.
78130         * intl/Makefile ($(codeset_mo)): Depend on the input file.
78132 2012-08-17  Jeff Law <law@redhat.com>
78134         * intl/Makefile (codeset_mo): New variable.
78135         ($(codeset_mo)): New target.
78136         (tst-codeset.out): Depend on that.  Remove explicit rule.
78137         (tst-gettext3.out, tst-gettext5.out): Likewise.
78138         (LOCPATH-ENV, tst-codeset-ENV): New variables.
78139         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78140         * intl/tst-codeset.sh: Remove.
78141         * intl/tst-gettext3.sh: Likewise.
78142         * intl/tst-gettext5.sh: Likewise.
78144 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78146         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
78147         * sysdeps/unix/syscalls.list: ... here.
78149         * sysdeps/posix/getaddrinfo.c
78150         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78151         (gaiconf_init, gaiconf_reload): Use them.
78152         [!_STATBUF_ST_NSEC]
78153         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78154         Define using time_t rather than struct timespec.
78156         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78157         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78158         Macros removed.
78159         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78160         [!NO_THREADS].
78161         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78162         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78163         Likewise.
78165         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78166         __libc_cleanup_push argument.
78168         * bits/param.h: New file.
78169         * misc/sys/param.h: New file.
78170         * include/sys/param.h: New file.
78171         * misc/Makefile (headers): Add bits/param.h.
78172         * sysdeps/generic/sys/param.h: File removed.
78173         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78174         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78175         * sysdeps/mach/hurd/bits/param.h: New file.
78176         * sysdeps/mach/hurd/sys/param.h: File removed.
78178         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78179         last change.
78181         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78182         [_IO_MTSAFE_IO].
78183         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78184         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78185         New macros.
78187         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78188         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78189         rather than -D_IO_MTSAFE_IO conditionally.
78190         * stdio-common/Makefile (CPPFLAGS): Likewise.
78191         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78192         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78193         Use $(libio-mtsafe).
78194         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78195         of -D_IO_MTSAFE_IO.
78196         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78197         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78198         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78199         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78200         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78201         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78202         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78203         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78204         (CFLAGS-fread_u_chk.c): Likewise.
78205         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78206         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78207         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78208         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78209         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78210         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78211         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78212         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78213         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78215         * libio/Makefile: Test [$(libc-reentrant) = yes]
78216         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78218         * Makeconfig
78219         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78220         * sysdeps/pthread/configure: File removed.
78221         * sysdeps/pthread/Makeconfig: New file.
78222         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78223         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78225 2012-08-16  Gary Benson  <gbenson@redhat.com>
78227         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78228         unmapping the first object in a namespace.
78230 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78232         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78233         (__internal_setnetgrent): ... this.  Add internal_function to
78234         definition.  Add libc_hidden_def.
78235         (setnetgrent): Update caller.
78236         (internal_endnetgrent): Renamed to ...
78237         (__internal_endnetgrent): ... this.  Add internal_function to
78238         definition.  Add libc_hidden_def.
78239         (endnetgrent): Update caller.
78240         (internal_getnetgrent_r): Renamed to ...
78241         (__internal_getnetgrent_r): ... this.  Add internal_function to
78242         definition.  Add libc_hidden_def.
78243         (__getnetgrent_r): Update caller.
78244         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78246 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78248         * stdlib/longlong.h: Update from GCC.
78250 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78252         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78253         on _QL, which is set by umul_ppmm but never used.
78254         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78255         variables, which are set by GMP macros but never used.
78256         * stdio-common/_itowa.c (_itowa): Likewise.
78257         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78258         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78260 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78262         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78263         struct La_sh_regs is not constant.
78264         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78265         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78266         and struct La_sparc64_regs are not constant.
78268 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78270         * sysdeps/unix/sysv/linux/kernel-features.h
78271         (__ASSUME_POSIX_TIMERS): Remove.
78272         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78273         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78274         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78275         Make code unconditional.
78276         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78277         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78278         Make code unconditional.
78279         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78280         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78281         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78282         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78283         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78284         Make code unconditional.
78285         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78286         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78287         (__libc_missing_posix_timers): Remove.
78289 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78291         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78292         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78294         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78296         * elf/dl-sym.c: Include <stdlib.h>.
78298         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78299         constants, which avoids warnings in 32-bit builds.
78301         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78302         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78304         * misc/lseek.c: File moved to ...
78305         * io/lseek.c: ... here.
78307         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78309         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78310         shifting LEN more than 31 bits at once.
78312 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78314         [BZ #14195]
78315         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78316         segmentation fault for a case of two empty input strings.
78317         * string/test-strncasecmp.c (check1): Renamed to...
78318         (bz12205): ...this.
78319         (bz14195): Add new testcase for two empty input strings and N > 0.
78320         (test_main): Call new testcase, adapt for renamed function.
78322 2012-08-15  Andreas Jaeger  <aj@suse.de>
78324         [BZ #14090]
78325         * crypt/md5test2.c: New test, based on test supplied by Serge
78326         Belyshev <belyshev@depni.sinp.msu.ru>.
78327         * crypt/Makefile (xtests): Add md5test-giant..
78328         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78330 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78332         [BZ #14090]
78333         * crypt/md5.c (md5_process_block): Don't assume the buffer
78334         length is less than 2**32.
78335         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78336         length is less than 2**64.
78338 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78340         * string/str-two-way.h: Include <sys/param.h>.
78341         (MAX): Macro removed.
78343         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78344         Move #define and #undef of memmove to just before and after
78345         including <string.h>.
78347         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78348         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78349         and after including <string.h>.  Move declarations of
78350         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78351         to before #include "string/memmove.c".
78353         * include/dirent.h: Declare __getdirentries.
78355         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78356         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78358 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78360         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78361         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78362         * sysdeps/i386/configure: Regenerated.
78363         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78364         STABS_CURRENT_FILE, and STABS_FUN.
78365         (END): Remove call to STABS_FUN_END.
78366         (STABS_CURRENT_FILE1): Delete.
78367         (STABS_CURRENT_FILE): Likewise.
78368         (STABS_FUN): Likewise.
78369         (STABS_FUN_END): Likewise.
78370         (STABS_FUN2): Likewise.
78371         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78372         * sysdeps/x86_64/configure: Regenerated.
78374 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78376         * elf/dl-open.c: Include <atomic.h>.
78377         * elf/dl-lookup.c: Likewise.
78379 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78381         * sysdeps/unix/sysv/linux/kernel-features.h
78382         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78383         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78384         unconditionally.
78385         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78386         unconditionally.
78387         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78388         condition on __ASSUME_CLONE_THREAD_FLAGS.
78390 2012-08-14  Andreas Jaeger  <aj@suse.de>
78392         * sysdeps/i386/fpu/libm-test-ulps: Update.
78394 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78396         * include/atomic.h (atomic_exchange_and_add): Split into ...
78397         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78398         New atomic macros.
78400 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78404 2012-08-13  Jeff Law <law@redhat.com>
78406         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78407         null byte in the output string.
78409 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78411         * sysdeps/unix/sysv/linux/kernel-features.h
78412         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78413         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78414         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78415         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78416         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78417         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78418         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78420 2012-08-09  Jeff Law <law@redhat.com>
78422         [BZ #13939]
78423         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78424         When avoid_arena is set, don't retry in the that arena.  Pick the
78425         next one, whatever it might be.
78426         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78427         (arena_lock): Pass in new parameter to arena_get2.
78428         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78429         arena_get2.
78430         (__libc_malloc): Unify retrying after main arena failure with
78431         __libc_memalign version.
78432         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78434 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78436         [BZ #14166]
78437         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78438         to __redirect_strstr.
78439         (__strstr_sse42): Use typeof __redirect_strstr.
78440         (__strstr_ia32): Likewise.
78441         (__libc_strstr): New prototype.
78442         (strstr): Renamed to ...
78443         (__libc_strstr): This.
78444         (strstr): New strong alias of __libc_strstr.
78445         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78446         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78447         __redirect_time.
78448         Include <time.h>.
78449         (__libc_time): New prototype.
78450         (time_ifunc): Replace time with __libc_time.
78451         (time): New strong alias and hidden definition of __libc_time.
78452         (__GI_time): Remove strong alias.
78453         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78454         Include <stddef.h>.
78455         (memmove): Redefined to __redirect_memmove.
78456         (__memmove_sse2): Use typeof __redirect_memmove.
78457         (__memmove_ssse3): Likewise.
78458         (__memmove_ssse3_back): Likewise.
78459         (__libc_memmove): New prototype.
78460         (memmove): Renamed to ...
78461         (__libc_memmove): This.
78462         (memmove): New strong alias of __libc_memmove.
78464 2012-08-08  Mark Salter  <msalter@redhat.com>
78466         * elf/elf.h
78467         (R_MN10300_TLS_GD): Define.
78468         (R_MN10300_TLS_LD): Likewise.
78469         (R_MN10300_TLS_LDO): Likewise.
78470         (R_MN10300_TLS_GOTIE): Likewise.
78471         (R_MN10300_TLS_IE): Likewise.
78472         (R_MN10300_TLS_LE): Likewise.
78473         (R_MN10300_TLS_DTPMOD): Likewise.
78474         (R_MN10300_TLS_DTPOFF): Likewise.
78475         (R_MN10300_TLS_TPOFF): Likewise.
78476         (R_MN10300_SYM_DIFF): Likewise.
78477         (R_MN10300_ALIGN): Likewise.
78478         (R_MN10300_NUM): Update.
78480 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78482         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78483         Remove.
78485 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78487         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78489         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78490         sysdeps/unix -> sysdeps/posix move.
78491         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78493 2012-08-07      Allan McRae     <allan@archlinux.org>
78495         [BZ #14303]
78496         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78497         (SUNOS_CPP): Likewise.
78498         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78499         not found.
78500         (open_input): Call CPP using execvp.
78502 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78504         * sysdeps/unix/sysv/linux/kernel-features.h
78505         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78506         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78507         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78508         (__ASSUME_WAITID_SYSCALL): Likewise.
78509         * sysdeps/unix/sysv/linux/dl-execstack.c
78510         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78511         code unconditional.
78512         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78513         conditional code.
78514         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78515         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78516         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78517         code.
78518         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78519         unconditional.
78520         [__ASSUME_WAITID_SYSCALL]: Likewise.
78521         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78523 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78525         * sysdeps/unix/closedir.c: Renamed to ...
78526         * sysdeps/posix/closedir.c: ... here.
78527         * sysdeps/unix/dirfd.c: Renamed to ...
78528         * sysdeps/posix/dirfd.c: ... here.
78529         * sysdeps/unix/dirstream.h: Renamed to ...
78530         * sysdeps/posix/dirstream.h: ... here.
78531         * sysdeps/unix/fdopendir.c: Renamed to ...
78532         * sysdeps/posix/fdopendir.c: ... here.
78533         * sysdeps/unix/opendir.c: Renamed to ...
78534         * sysdeps/posix/opendir.c: ... here.
78535         * sysdeps/unix/readdir.c: Renamed to ...
78536         * sysdeps/posix/readdir.c: ... here.
78537         * sysdeps/unix/readdir_r.c: Renamed to ...
78538         * sysdeps/posix/readdir_r.c: ... here.
78539         * sysdeps/unix/rewinddir.c: Renamed to ...
78540         * sysdeps/posix/rewinddir.c: ... here.
78541         * sysdeps/unix/seekdir.c: Renamed to ...
78542         * sysdeps/posix/seekdir.c: ... here.
78543         * sysdeps/unix/telldir.c: Renamed to ...
78544         * sysdeps/posix/telldir.c: ... here.
78545         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78546         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78547         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78548         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78550         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78551         * bits/fcntl.h: ... here.
78553         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78554         not 0.
78555         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78556         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78557         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78558         (struct flock): Move l_start, l_len to the beginning.
78559         Use __pid_t for l_pid.
78560         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78561         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78562         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78563         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78564         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78565         [__USE_LARGEFILE64] (struct flock64): New type.
78566         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78568         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78569         * bits/dirent.h: ... here.
78571         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78572         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78574 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78577         Change from 2.6.0 to 2.6.16.
78578         * sysdeps/unix/sysv/linux/configure: Regenerated.
78579         * sysdeps/unix/sysv/linux/kernel-features.h
78580         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78581         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78582         version.
78583         (__ASSUME_UTIMES): Likewise.
78584         (__ASSUME_CLONE_STOPPED): Remove.
78585         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78586         architectures, not kernel version.
78587         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78588         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78589         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78590         (__ASSUME_WAITID_SYSCALL): Likewise.
78591         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78592         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78593         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78594         refer to older versions.
78596 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78598         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78599         Define alphasort64 as an alias.
78600         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78601         Define versionsort64 as an alias.
78602         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78603         Define scandir64 as an alias.
78604         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78605         Define scandirat64 as an alias.
78606         * dirent/alphasort64.c (alphasort64):
78607         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78608         * dirent/versionsort64.c: Likewise.
78609         * dirent/scandir64.c: Likewise.
78610         * dirent/scandirat64.c: Likewise.
78611         * sysdeps/wordsize-64/alphasort.c: File removed.
78612         * sysdeps/wordsize-64/alphasort64.c: File removed.
78613         * sysdeps/wordsize-64/scandir.c: File removed.
78614         * sysdeps/wordsize-64/scandir64.c: File removed.
78615         * sysdeps/wordsize-64/scandirat.c: File removed.
78616         * sysdeps/wordsize-64/scandirat64.c: File removed.
78617         * sysdeps/wordsize-64/versionsort.c: File removed.
78618         * sysdeps/wordsize-64/versionsort64.c: File removed.
78619         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78620         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78621         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78622         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78623         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78624         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78625         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78626         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78628         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78630         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78632         [defined __arch64__ || defined __sparcv9]
78633         (__INO_T_MATCHES_INO64_T): New macro.
78634         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78635         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78636         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78637         * sysdeps/unix/sysv/linux/bits/dirent.h
78638         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78639         (_DIRENT_MATCHES_DIRENT64): New macro.
78641         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78642         Define lockf64 as an alias.
78643         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78644         Define fseeko64 as an alias.
78645         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78646         Define ftello64 as an alias.
78647         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78648         Define _IO_fgetpos64 and fgetpos64 as aliases.
78649         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78650         Define _IO_fsetpos64 and fsetpos64 as aliases.
78651         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78652         Conditionalize body on this.
78653         * libio/fseeko64.c: Likewise.
78654         * libio/ftello64.c: Likewise.
78655         * libio/iofgetpos64.c: Likewise.
78656         * libio/iofsetpos64.c: Likewise.
78657         * sysdeps/wordsize-64/lockf.c: File removed.
78658         * sysdeps/wordsize-64/lockf64.c: File removed.
78659         * sysdeps/wordsize-64/fseeko.c: File removed.
78660         * sysdeps/wordsize-64/fseeko64.c: File removed.
78661         * sysdeps/wordsize-64/ftello.c: File removed.
78662         * sysdeps/wordsize-64/ftello64.c: File removed.
78663         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78664         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78665         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78666         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78669         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78670         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78671         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78672         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78673         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78674         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78676         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78678         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78679         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78680         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78681         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78682         [defined __arch64__ || defined __sparcv9]
78683         (__OFF_T_MATCHES_OFF64_T): New macro.
78684         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78685         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78687         (__OFF_T_MATCHES_OFF64_T): New macro.
78689 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78691         * stdlib/secure-getenv.c (__secure_getenv): Replace
78692         GLIBC_2_16 with GLIBC_2_17.
78694 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78697         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78699 2012-08-03  David S. Miller  <davem@davemloft.net>
78701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78703 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78706         Remove.
78707         (__ASSUME_CORRECT_SI_PID): Likewise.
78708         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78709         (__ASSUME_TMPFS_NAME): Likewise.
78710         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78711         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78712         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78713         (HAVE_AUX_SECURE): Make definition unconditional.
78714         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78715         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78717 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78719         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78720         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78721         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78722         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78723         __eloop_threshold instead of SYMLOOP_MAX.
78725         * sysdeps/generic/eloop-threshold.h: New file.
78726         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78727         of MAXSYMLINKS.
78728         * elf/chroot_canon.c (chroot_canon): Likewise.
78730 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78732         [BZ #13717]
78733         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78734         Change to 2.6.0 everywhere.
78735         * sysdeps/unix/sysv/linux/configure: Regenerated.
78736         * sysdeps/unix/sysv/linux/kernel-features.h
78737         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78738         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78739         kernel versions.
78740         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78741         (__ASSUME_FUTEX_REQUEUE): Remove.
78742         (__ASSUME_STATFS64): Define unconditionally.
78743         (__ASSUME_AT_SECURE): Likewise.
78744         (__ASSUME_CORRECT_SI_PID): Likewise.
78745         (__ASSUME_TGKILL): Define without depending on kernel version for
78746         i386.
78747         (__ASSUME_UTIMES): Likewise.
78748         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78749         kernel version.
78750         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78751         (__ASSUME_TMPFS_NAME): Likewise.
78752         * README: Update reference to Linux kernel versions.
78754 2012-08-02  Marek Polacek  <polacek@redhat.com>
78756         [BZ #14150]
78757         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78758         libc_cv_asm_type_prefix with %.
78759         * configure: Regenerated.
78760         * include/libc-symbols.h: Remove comment about
78761         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78762         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78763         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78764         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78765         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78766         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78767         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78768         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78769         * elf/tst-unique2mod1.c: Likewise.
78770         * elf/tst-unique1mod2.c: Likewise.
78771         * elf/tst-unique1mod1.c: Likewise.
78772         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78773         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78774         Replace ASM_TYPE_DIRECTIVE with .type.
78775         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78776         * sysdeps/i386/sysdep.h: Likewise.
78777         * sysdeps/x86_64/sysdep.h: Likewise.
78778         * sysdeps/sh/sysdep.h: Likewise.
78779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78780         Do not define ASM_TYPE_DIRECTIVE.
78781         * sysdeps/powerpc/sysdep.h: Likewise.
78782         * sysdeps/powerpc/powerpc32/sysdep.h:
78783         Replace ASM_TYPE_DIRECTIVE with .type.
78784         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78785         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78786         * sysdeps/i386/fpu/e_powf.S: Likewise.
78787         * sysdeps/i386/fpu/e_expl.S: Likewise.
78788         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78789         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78790         * sysdeps/i386/fpu/e_pow.S: Likewise.
78791         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78792         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78793         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78794         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78795         * sysdeps/i386/fpu/e_log2.S: Likewise.
78796         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78797         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78798         * sysdeps/i386/fpu/e_powl.S: Likewise.
78799         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78800         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78801         * sysdeps/i386/fpu/e_logl.S: Likewise.
78802         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78803         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78804         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78805         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78806         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78807         * sysdeps/i386/fpu/e_log.S: Likewise.
78808         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78809         * sysdeps/i386/fpu/e_logf.S: Likewise.
78810         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78811         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78812         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78813         * sysdeps/i386/fpu/e_log10.S: Likewise.
78814         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78815         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78816         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78817         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78818         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78819         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78820         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78821         * sysdeps/i386/i686/strtok.S: Likewise.
78822         * sysdeps/i386/i386-mcount.S: Likewise.
78823         * sysdeps/i386/strtok.S: Likewise.
78824         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78825         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78826         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78827         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78828         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78829         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78830         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78831         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78832         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78833         * sysdeps/x86_64/_mcount.S: Likewise.
78834         * sysdeps/x86_64/strtok.S: Likewise.
78835         * sysdeps/sh/_mcount.S: Likewise.
78837 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78839         * libio/iofopen.c: Include <fcntl.h>.
78840         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78841         (_IO_fopen64, fopen64): Define as aliases.
78842         * libio/iofopen64.c: Include <fcntl.h>.
78843         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78844         Conditionalize body on this.
78845         * sysdeps/wordsize-64/iofopen.c: File removed.
78846         * sysdeps/wordsize-64/iofopen64.c: File removed.
78848 2012-08-01  Marek Polacek  <polacek@redhat.com>
78850         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78851         Use dlfcn directly instead of a variable.
78852         (binfmt-subdir): Do not define.
78853         (dlfcn): Likewise.
78855 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78857         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78858         Remove all definitions.
78859         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78860         <kernel-features.h>.
78861         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78862         (miss_F_GETOWN_EX): Remove all definitions.
78863         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78864         macro definition.
78865         [!__ASSUME_FCNTL64]: Remove conditional code.
78866         [__ASSUME_FCNTL64]: Make code unconditional.
78867         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78868         <kernel-features.h>.
78869         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78870         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78871         (lockf64) [__NR_fcntl64]: Make code unconditional.
78872         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78874         * sysdeps/unix/sysv/linux/kernel-features.h
78875         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78876         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78877         Make code unconditional.
78878         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78879         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78881         [__NR_vfork]: Make code unconditional.
78882         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78883         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78885         [__NR_vfork]: Make code unconditional.
78886         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78887         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78889 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78891         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78892         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78894         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78895         Define mkstemp64 as an alias.
78896         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78897         Define mkstemps64 as an alias.
78898         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78899         Define mkostemp64 as an alias.
78900         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78901         Define mkostemps64 as an alias.
78902         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78903         Conditionalize body on this.
78904         * misc/mkostemp64.c: Likewise.
78905         * misc/mkostemps64.c: Likewise.
78906         * misc/mkstemps64.c: Likewise.
78907         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78908         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78909         * sysdeps/wordsize-64/mkostemp.c: File removed.
78910         * sysdeps/wordsize-64/mkstemp.c: File removed.
78911         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78913         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78914         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78916         [BZ #14138]
78917         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78918         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78919         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78920         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78922         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78923         compat_symbol macros from <shlib-compat.h> rather than the underlying
78924         default_symbol_version and symbol_version macros, so that DEFAULT
78925         lines in shlib-versions are respected.
78926         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78928 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78930         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78931         Declare with warn_unused_result.
78932         (setgid, setregid, setegid, setresgid): Likewise.
78933         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78934         Likewise.
78935         * WUR-REPORT: Remove set*id functions.
78937 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78939         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78941 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78943         [BZ #10191]
78944         * include/sys/socket.h (__libc_accept, __libc_accept4):
78945         Add attribute_hidden.
78946         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78948         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78949         use of PTR_MANGLE.
78950         * inet/getnetgrent_r.c (setup): Likewise.
78952         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78954 2012-07-31  David S. Miller  <davem@davemloft.net>
78956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78958 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78960         [BZ #13629]
78961         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78962         value between 1.0 and 2.0 and smaller part has absolute value less
78963         than 1.0.
78964         * math/s_clog10.c (__clog10): Likewise.
78965         * math/s_clog10f.c (__clog10f): Likewise.
78966         * math/s_clog10l.c (__clog10l): Likewise.
78967         * math/s_clogf.c (__clogf): Likewise.
78968         * math/s_clogl.c (__clogl): Likewise.
78969         * math/libm-test.inc (clog_test): Add more tests.
78970         (clog10_test): Likewise.
78971         * sysdeps/i386/fpu/libm-test-ulps: Update.
78972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78974 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78976         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78977         Exit with zero in case no suitable GID is found, and write a
78978         message to standard error.
78980 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78982         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78983         rather than to 1.
78984         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78985         (MAXPATHLEN): Removed.
78986         (NOGROUP, NODEV): New macros.
78987         (setbit, clrbit, isset, isclr): New macros.
78988         (howmany, roundup, powerof2): New macros.
78989         (DEV_BSIZE): New macro.
78991         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78992         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78994         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78995         definition on [!__NO_LONG_DOUBLE_MATH].
78997         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78998         PTR_MANGLE and PTR_DEMANGLE.
79000         * socket/accept4.c (accept4): Rename to __libc_accept4.
79001         Define accept4 as a weak alias.
79003         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
79004         on [_DIRENT_HAVE_D_TYPE].
79005         * io/ftw.c (ftw_dir): Likewise.
79007         * io/xmknod.c (__xmknod): Don't check PATH for being null.
79009         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
79011         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
79012         Use the BSD numbers rather than the arbitrary ones we had.
79013         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
79014         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
79015         (SIGXCPU, SIGXFSZ): New macros.
79016         (_NSIG): Now 32.
79018         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
79019         initializer on [_LIBC_REENTRANT].
79021         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
79022         definitions inside [_POSIX_MAPPED_FILES].
79024         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
79026         * dirent/opendir.c: Include <fcntl.h>.
79028         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
79029         (__libc_getspecific): Likewise.
79030         (__libc_key_create): Likewise.
79032         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
79033         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
79034         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
79035         (tmpfile64): Define as alias.
79036         * sysdeps/wordsize-64/tmpfile.c: File removed.
79037         * sysdeps/wordsize-64/tmpfile64.c: File removed.
79038         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
79039         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
79041         * stdio-common/vfscanf.c: Include <stdbool.h>.
79042         * nss/makedb.c: Likewise.
79043         * stdio-common/_i18n_number.h: Likewise.
79044         * argp/argp-help.c: Likewise.
79045         * posix/wordexp.c: Likewise.
79046         * sysdeps/posix/spawni.c: Likewise.
79047         * nss/nss_files/files-initgroups.c: Likewise.
79048         * stdio-common/reg-modifier.c: Include <stdlib.h>.
79049         * nss/nss_files/files-initgroups.c: Likewise.
79050         * nss/nss_db/db-netgrp.c: Likewise.
79051         * nss/nss_db/db-initgroups.c: Likewise.
79052         * io/fchmodat.c: Include <sys/stat.h>.
79054         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
79055         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
79057         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
79058         [HAVE_MMAP].
79060         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
79061         Add multiple inclusion protection.
79063 2012-07-27  David S. Miller  <davem@davemloft.net>
79065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79067 2012-07-27  Gary Benson  <gbenson@redhat.com>
79069         [BZ #14298]
79070         * elf/rtld.c: Include <stap-probe.h>.
79071         (dl_main): Added static probes "init_start" and "init_complete".
79072         * elf/dl-load.c: Include <stap-probe.h>.
79073         (lose): Take new parameter "nsid".
79074         Added static probe "map_failed".
79075         (_dl_map_object_from_fd): Pass namespace id to lose.
79076         Added static probe "map_start".
79077         (open_verify): Pass namespace id to lose.
79078         * elf/dl-open.c: Include <stap-probe.h>.
79079         (dl_open_worker) Added static probes "map_complete", "reloc_start"
79080         and "reloc_complete".
79081         * elf/dl-close.c: Include <stap-probe.h>.
79082         (_dl_close_worker): Added static probes "unmap_start" and
79083         "unmap_complete".
79084         * elf/rtld-debugger-interface.txt: New file documenting the above.
79086 2012-07-26  Roland McGrath  <roland@hack.frob.com>
79088         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79089         rather than a string variable.
79090         * sunrpc/rpc_main.c (h_output): Likewise.
79091         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79093 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
79095         * inet/check_native.c: New file.
79097 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
79099         [BZ #13629]
79100         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79101         if larger part has absolute value 1.0.
79102         * math/s_clog10.c (__clog10): Likewise.
79103         * math/s_clog10f.c (__clog10f): Likewise.
79104         * math/s_clog10l.c (__clog10l): Likewise.
79105         * math/s_clogf.c (__clogf): Likewise.
79106         * math/s_clogl.c (__clogl): Likewise.
79107         * math/libm-test.inc (clog_test): Add more tests.
79108         (clog10_test): Likewise.
79109         * sysdeps/i386/fpu/libm-test-ulps: Update.
79110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79112         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79113         (pltexit): Likewise.
79114         (La_regs): Likewise.
79115         (La_retval): Likewise.
79116         (int_retval): Likewise.
79117         Update #error for removed macros to refer only to definitions in
79118         tst-audit.h.
79119         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79120         macro.
79121         (pltexit): Likewise.
79122         (La_regs): Likewise.
79123         (La_retval): Likewise.
79124         (int_retval): Likewise.
79125         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79126         macro.
79127         (pltexit): Likewise.
79128         (La_regs): Likewise.
79129         (La_retval): Likewise.
79130         (int_retval): Likewise.
79131         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79132         macro.
79133         (pltexit): Likewise.
79134         (La_regs): Likewise.
79135         (La_retval): Likewise.
79136         (int_retval): Likewise.
79137         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79138         macro.
79139         (pltexit): Likewise.
79140         (La_regs): Likewise.
79141         (La_retval): Likewise.
79142         (int_retval): Likewise.
79143         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79144         macro.
79145         (pltexit): Likewise.
79146         (La_regs): Likewise.
79147         (La_retval): Likewise.
79148         (int_retval): Likewise.
79149         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79150         macro.
79151         (pltexit): Likewise.
79152         (La_regs): Likewise.
79153         (La_retval): Likewise.
79154         (int_retval): Likewise.
79155         * sysdeps/generic/tst-audit.h: Update comment to refer only to
79156         macro definitions in tst-audit.h.
79157         * sysdeps/i386/tst-audit.h: New file.
79158         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79159         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79160         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79161         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79162         * sysdeps/sh/tst-audit.h: Likewise.
79163         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79164         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79165         * sysdeps/x86_64/tst-audit.h: Likewise.
79167 2012-07-26  Andreas Jaeger  <aj@suse.de>
79169         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79170         ptrace.
79172         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79173         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79174         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79175         PTRACE_O_MASK.
79176         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79177         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79178         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79180         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79181         value.
79183         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79184         _sigsys.
79185         (si_call_addr, si_syscall, si_arch): Define new macro.
79186         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79187         _sigsys.
79188         (si_call_addr, si_syscall, si_arch): Define new marcro.
79189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79190         _sigsys.
79191         (si_call_addr, si_syscall, si_arch): Define new macro.
79192         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79193         _sigsys.
79194         (si_call_addr, si_syscall, si_arch): Define new macro.
79196 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79198         [BZ #13717]
79199         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79200         Change to 2.4.21 where previously 2.4.1.
79201         * sysdeps/unix/sysv/linux/configure: Regenerated.
79202         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79203         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79204         Linux kernel version.
79205         (__ASSUME_STD_AUXV): Remove.
79206         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79207         kernel version.
79208         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79209         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79210         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79211         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79212         (__ASSUME_NETLINK_SUPPORT): Likewise.
79213         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79214         (__no_netlink_support): Remove conditional definition.
79215         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79216         Remove.
79217         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79218         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79219         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79220         (if_nameindex_ioctl): Remove.
79221         (if_nameindex_netlink): Do not handle __no_netlink_support.
79222         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79223         code.
79224         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79225         Remove conditional code.
79226         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79227         code.
79228         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79229         unconditional.
79230         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79231         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79232         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79233         Remove.
79234         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79235         [!__ASSUME_STD_AUXV]: Remove conditional code.
79236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79237         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79238         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79240         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79241         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79242         code.
79243         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79245         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79246         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79247         conditional code.
79248         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79250         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79251         code.
79252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79253         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79254         conditional code.
79255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79256         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79257         code unconditional.
79258         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79259         conditional code.
79260         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79261         unconditional.
79262         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79263         conditional code.
79264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79265         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79266         unconditional.
79267         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79268         conditional code.
79269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79270         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79271         code unconditional.
79272         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79273         conditional code.
79274         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79275         unconditional.
79276         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79277         conditional code.
79278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79279         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79280         code unconditional.
79281         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79282         conditional code.
79283         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79284         unconditional.
79285         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79286         conditional code.
79288 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79290         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79291         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79292         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79293         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79294         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79295         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79296         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79297         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79298         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79299         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79300         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79301         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79302         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79303         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79304         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79305         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79306         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79307         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79308         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79310         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79311         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79312         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79314 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79316         * Versions.def: Add GLIBC_2.17.
79317         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79318         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79319         Introduce __libc_secure_getenv.
79320         * stdlib/Versions (2.17): Add secure_getenv
79321         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79322         * stdlib/secure-getenv.c: Rename __secure_getenv to
79323         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79324         symbol __secure_getenv for GLIBC_2.0.
79325         * stdlib/tst-secure-getenv.c: New.
79326         * stdlib/Makefile (tests): Add testcase.
79327         * manual/startup.texi (Environment Access): Document
79328         secure_getenv.
79329         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79330         __libc_secure_getenv.
79331         * inet/ruserpass.c (ruserpass): Likewise.
79332         * malloc/mtrace.c (mtrace): Likewise.
79333         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79334         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79335         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79336         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79337         HAVE_SECURE_GETENV.
79338         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79339         __secure_getenv to __libc_secure_getenv.
79340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79342         Likewise.
79343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79344         Likewise.
79345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79347         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79353 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79355         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79356         (struct La_i86_retval): Likewise.
79357         (struct La_x86_64_regs): Likewise.
79358         (struct La_x86_64_retval): Likewise.
79359         (struct La_x32_regs): Likewise.
79360         (struct La_x32_retval): Likewise.
79361         (struct La_ppc32_regs): Likewise.
79362         (struct La_ppc32_retval): Likewise.
79363         (struct La_ppc64_regs): Likewise.
79364         (struct La_ppc64_retval): Likewise.
79365         (struct La_sh_regs): Likewise.
79366         (struct La_sh_retval): Likewise.
79367         (struct La_s390_32_regs): Likewise.
79368         (struct La_s390_32_retval): Likewise.
79369         (struct La_s390_64_regs): Likewise.
79370         (struct La_s390_64_retval): Likewise.
79371         (struct La_sparc32_regs): Likewise.
79372         (struct La_sparc32_retval): Likewise.
79373         (struct La_sparc64_regs): Likewise.
79374         (struct La_sparc64_retval): Likewise.
79375         (struct audit_ifaces): Remove architecture-specific pltenter and
79376         pltexit members.
79377         * sysdeps/i386/ldsodefs.h: New file.
79378         * sysdeps/powerpc/ldsodefs.h: Likewise.
79379         * sysdeps/s390/ldsodefs.h: Likewise.
79380         * sysdeps/sh/ldsodefs.h: Likewise.
79381         * sysdeps/sparc/ldsodefs.h: Likewise.
79382         * sysdeps/x86_64/ldsodefs.h: Likewise.
79384 2012-07-25  Marek Polacek  <polacek@redhat.com>
79386         [BZ #6808]
79387         * math/libm-test.inc (yn_test): Add another test.
79388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79389         to ERANGE when the result is +-Inf.
79390         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79391         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79393         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79395 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79397         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79398         equal to 0.
79399         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79400         clock_t.
79401         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79403 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79405         * configure.in <sysdeps resolving>: Correct printing
79406         Implies_before.
79407         * configure: Regenerate.
79409 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79411         * math/w_ilogb.c: Include <limits.h>.
79412         * math/w_ilogbl.c: Likewise.
79414 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79416         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79417         va_copy.  Document allowing for unavailable va_copy only as
79418         pre-C99 compatibility.
79419         * manual/string.texi (Copying and Concatenation): Use va_copy
79420         instead of __va_copy in concat example.
79422 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79424         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79425         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79426         it if not null.
79428         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79429         with O_NOLINK passed to __file_name_lookup.
79431         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79432         with O_NOLINK passed to __file_name_lookup.
79434         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79435         negative N or less than NGIDS.
79437         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79438         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79439         enough.  Use memcpy instead of strncpy.
79441 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79443         * elf/Makefile (check-data): Remove.
79444         (localplt.data): New vpath directive.
79445         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79446         instead of $(check-data).
79447         * scripts/data/localplt-generic.data: Move to ...
79448         * sysdeps/generic/localplt.data: ... here.
79449         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79450         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79451         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79453         ... here.
79454         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79456         ... here.
79457         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79459         ... here.
79460         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79462         ... here.
79463         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79465         ... here.
79466         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79468         ... here.
79470 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79472         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79473         PPC32 and PPC64 files.
79474         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79475         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79477 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79479         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79480         __makecontext_ret to ...
79481         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79482         ... here and call exit if uc_link is NULL.  New file.
79483         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79484         __makecontext_ret.S.
79485         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79486         __makecontext_ret to ...
79487         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79488         ... here and call exit if uc_link is NULL.  New file.
79489         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79490         __makecontext_ret.S.
79492 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79494         * elf/elf.h (R_390_IRELATIVE): New definition.
79495         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79496         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79497         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79498         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79499         (elf_machine_lazy_rel): Likewise.
79500         * sysdeps/s390/dl-irel.h: New file.
79501         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79502         * sysdeps/s390/s390-64/memset.S: New asm code.
79503         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79504         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79506         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79507         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79508         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79509         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79510         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79511         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79512         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79513         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79514         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79515         * sysdeps/s390/s390-32/memset.S: New asm code.
79516         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79518 2012-07-17  Marek Polacek  <polacek@redhat.com>
79520         [BZ #14349]
79521         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79522         * sysdeps/s390/s390-64/configure.in: Likewise.
79523         * sysdeps/sparc/configure.in: Likewise.
79524         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79525         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79526         * sysdeps/i386/configure.in: Likewise.
79527         * sysdeps/x86_64/configure.in: Likewise.
79528         * sysdeps/sh/configure.in: Likewise.
79529         * sysdeps/s390/s390-32/configure: Regenerated.
79530         * sysdeps/s390/s390-64/configure: Likewise.
79531         * sysdeps/x86_64/configure: Likewise.
79532         * sysdeps/sh/configure: Likewise.
79533         * sysdeps/powerpc/powerpc64/configure: Likewise.
79534         * sysdeps/powerpc/powerpc32/configure: Likewise.
79535         * sysdeps/sparc/configure: Likewise.
79536         * sysdeps/i386/configure: Likewise.
79538         * elf/dl-open.c: Comment fixes.
79540 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79542         * Makefile [CXX] (check-data): Remove.
79543         [CXX] (c++-types.data): New vpath directive.
79544         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79545         vpath.  Do not allow for C++ type data being missing.
79546         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79547         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79548         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79549         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79550         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79551         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79552         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79554         ... here.
79555         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79557         ... here.
79558         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79560         ... here.
79561         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79563         ... here.
79564         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79566         ... here.
79567         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79569         ... here.
79570         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79572         ... here.
79573         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79576         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79577         definitions to architecture-specific files.
79578         (TLS_IE): Likewise.
79579         (TLS_LD): Likewise.
79580         (TLS_GD): Likewise.
79581         * sysdeps/i386/tls-macros.h: New file.
79582         * sysdeps/powerpc/tls-macros.h: Likewise.
79583         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79584         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79585         * sysdeps/sh/tls-macros.h: Likewise.
79586         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79587         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79588         * sysdeps/x86_64/tls-macros.h: Likewise.
79590 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79592         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79593         zero value for regular exit case.
79595         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79596         (__start_context): Preserve zero value for regular exit case.
79598 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79599             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79601         * manual/setjmp.texi (setcontext): Clarify normal process
79602         termination when uc_link is the null pointer.
79603         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79604         exit call.
79606 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79608         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79609         preprocessor.  Test for each exception mask separately.
79611 2012-07-16  Andreas Jaeger  <aj@suse.de>
79613         * po/ru.po: Update from translation team.
79615 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79617         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79618         equal to 0.
79619         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79620         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79621         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79622         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79625 2012-07-13  Andreas Jaeger  <aj@suse.de>
79627         * po/fr.po: Update from translation team.
79629 2012-07-12  Marek Polacek  <polacek@redhat.com>
79631         [BZ #14173]
79632         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79633         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79634         loop condition.
79636 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79638         [BZ #13717]
79639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79640         Change to 2.4.1 where previously 2.4.0.
79641         * sysdeps/unix/sysv/linux/configure: Regenerated.
79642         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79643         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79644         version.
79645         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79646         (__ASSUME_AT_CLKTCK): Remove.
79647         (__ASSUME_AT_PAGESIZE): Likewise.
79648         (__ASSUME_AT_XID): Likewise.
79649         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79650         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79651         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79652         unconditionally.
79653         (HAVE_AUX_PAGESIZE): Likewise.
79654         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79655         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79656         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79658 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79660         [BZ #14307]
79661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79662         the temporary buffer used to invoke __gethostbyname2_r,
79663         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79664         host_data / struct gaih_addrtuple.
79665         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79666         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79667         header file nss/nsswitch.h.
79668         * nss/nsswitch.h (global scope): Add definition of implementation
79669         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79670         resolv/nss_dns/dns-host.c).
79672 2012-07-11  Andreas Jaeger  <aj@suse.de>
79674         * po/fr.po: Update from translation team.
79676         * po/sv.po: Update from translation team
79677         * po/fr.po: Another update from translation team.
79679 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79681         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79682         for subnormals or multiply small sinh result by itself.
79683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79686 2012-07-11  David S. Miller  <davem@davemloft.net>
79688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79690 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79692         [BZ #14347]
79693         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79694         (INTERNAL_MARK): Shift it here.
79696 2012-07-10  Marek Polacek  <polacek@redhat.com>
79698         [BZ #14151]
79699         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79700         libc_cv_asm_global_directive with .globl.
79701         * configure: Regenerated.
79702         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79703         with .globl.
79704         * sysdeps/i386/configure: Regenerated.
79705         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79706         with .globl.
79707         * sysdeps/x86_64/configure: Regenerated.
79708         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79709         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79710         * elf/tst-unique2mod2.c: Likewise.
79711         * elf/tst-unique2mod1.c: Likewise.
79712         * elf/tst-unique1mod2.c: Likewise.
79713         * elf/tst-unique1mod1.c: Likewise.
79714         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79715         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79717         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79718         * sysdeps/mach/sysdep.h: Likewise.
79719         * sysdeps/i386/sysdep.h: Likewise.
79720         * sysdeps/i386/i386-mcount.S: Likewise.
79721         * sysdeps/x86_64/_mcount.S: Likewise.
79722         * sysdeps/x86_64/sysdep.h: Likewise.
79723         * sysdeps/sh/_mcount.S: Likewise.
79724         * sysdeps/sh/sysdep.h: Likewise.
79725         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79726         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79727         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79728         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79729         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79730         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79731         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79732         * locale/localeinfo.h: Likewise.
79733         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79734         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79736 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79738         [BZ #14336]
79739         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79740         system".
79741         * manual/message.texi (The Uniforum approach): Likewise.
79742         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79743         (glibc iconv Implementation): Likewise.
79745 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79747         [BZ #14337]
79748         * math/s_clog.c (__clog): Avoid scaling a value down where that
79749         could result in underflow.
79750         * math/s_clog10.c (__clog10): Likewise.
79751         * math/s_clog10f.c (__clog10f): Likewise.
79752         * math/s_clog10l.c (__clog10l): Likewise.
79753         * math/s_clogf.c (__clogf): Likewise.
79754         * math/s_clogl.c (__clogl): Likewise.
79755         * math/libm-test.inc (clog_test): Add more tests.
79756         (clog10_test): Likewise.
79757         * sysdeps/i386/fpu/libm-test-ulps: Update.
79758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79760 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79762         [BZ #14283]
79763         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79764         by 7 not 8 to examine high bit of fractional part.
79766         [BZ #14042]
79767         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79768         for call to __mcount_internal.
79769         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79770         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79771         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79773 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79775         [BZ #14154]
79776         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79777         approximation for values within 0x1p-13f of an odd multiple of
79778         pi/4.
79779         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79780         exception.  Add more tests.
79781         * sysdeps/i386/fpu/libm-test-ulps: Update.
79783         [BZ #6778]
79784         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79785         inputs and return -1 for them.  Do not check for +Inf in case not
79786         reachable for +Inf.
79787         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79788         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79789         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79790         and return -1 for them.  Do not check for +Inf in case not
79791         reachable for +Inf.
79792         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79793         define.
79794         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79795         and return -1 for them.  Do not check for +Inf in case not
79796         reachable for +Inf.
79797         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79798         spurious underflow.
79799         * sysdeps/i386/fpu/libm-test-ulps: Update.
79800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79802 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79804         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79806 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79808         [BZ #14157]
79809         [BZ #14331]
79810         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79811         could result in spurious underflow.  Scale down values above
79812         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79813         * math/s_csqrtf.c (__csqrtf): Likewise.
79814         * math/s_csqrtl.c (__csqrtl): Likewise.
79815         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79816         spurious underflow.
79817         * sysdeps/i386/fpu/libm-test-ulps: Update.
79818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79820 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79822         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79823         xopen-msg.sed.
79824         * catgets/xopen-msg.awk: New file.
79825         * catgets/xopen-msg.sed: Removed.
79827         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79828         po2text.sed.
79829         * intl/po2test.awk: New file.
79830         * intl/po2test.sed: Removed.
79832 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79834         [BZ #14328]
79835         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79836         or multiply small sinh result by itself.
79837         * math/s_ctanf.c (__ctanf): Likewise.
79838         * math/s_ctanh.c (__ctanh): Likewise.
79839         * math/s_ctanhf.c (__ctanhf): Likewise.
79840         * math/s_ctanhl.c (__ctanhl): Likewise.
79841         * math/s_ctanl.c (__ctanl): Likewise.
79842         * math/libm-test.inc (ctan_test_tonearest): New function.
79843         (ctan_test_towardzero): Likewise.
79844         (ctan_test_downward): Likewise.
79845         (ctan_test_upward): Likewise.
79846         (ctanh_test_tonearest): Likewise.
79847         (ctanh_test_towardzero): Likewise.
79848         (ctanh_test_downward): Likewise.
79849         (ctanh_test_upward): Likewise.
79850         (main): Call these new functions.
79851         * sysdeps/i386/fpu/libm-test-ulps: Update.
79852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79854 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79856         * .gitignore: Delete /ports entry.
79858 2012-07-03  Andreas Jaeger  <aj@suse.de>
79860         * po/bg.po: Update from translation team.
79861         * po/cs.po: Likewise.
79862         * po/de.po: Likewise.
79863         * po/hr.po: Likewise.
79864         * po/nl.pl: Likewise.
79865         * po/pl.po: Likewise.
79866         * po/vi.po: Likewise.
79868 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79870         * Makeconfig [!+link] (+link-before-libc): New variable.
79871         [!+link] (+link-after-libc): Likewise.
79872         [!+link] (+link-tests): Likewise.
79873         [!+link] (+link): Define in terms of $(+link-before-libc) and
79874         $(+link-after-libc).
79875         [!+link-static] (+link-static-before-libc): New variable.
79876         [!+link-static] (+link-static-after-libc): Likewise.
79877         [!+link-static] (+link-static-tests): Likewise.
79878         [!+link-static] (+link-static): Define in terms of
79879         $(+link-static-before-libc) and $(+link-static-after-libc).
79880         [build-shared] (link-libc-before-gnulib): New variable.
79881         [build-shared] (link-libc-tests): Likewise.
79882         [build-shared] (link-libc): Define in terms of
79883         $(link-libc-before-gnulib).
79884         [!build-shared] (link-libc-tests): New variable.
79885         (link-libc-static-tests): New variable.
79886         [!gnulib] (gnulib-arch): New variable.
79887         [!gnulib] (gnulib-tests): Likewise.
79888         [!gnulib] (static-gnulib-arch): Likewise.
79889         [!gnulib] (static-gnulib-tests): Likewise.
79890         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79891         Define with "=" instead of ":=".
79892         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79893         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79894         * Rules (binaries-all-notests): New variable.
79895         (binaries-all-tests): Likewise.
79896         (binaries-static-notests): Likewise.
79897         (binaries-static-tests): Likewise.
79898         (binaries-all): Define using $(binaries-all-notests) and
79899         $(binaries-all-tests).
79900         (binaries-static): Define using $(binaries-static-notests) and
79901         $(binaries-static-tests).
79902         (binaries-shared-tests): New variable.
79903         (binaries-shared-notests): Likewise.
79904         (binaries-shared): Remove variable.
79905         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79906         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79907         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79908         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79909         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79910         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79911         * elf/Makefile (sln-modules): New variable.
79912         (extra-objs): Add $(sln-modules:=.o).
79913         (ldconfig-modules): Add static-stubs.
79914         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79915         * elf/static-stubs.c: New file.
79917         [BZ #14283]
79918         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79919         by 7 not 8 to examine high bit of fractional part.  Use volatile
79920         variables when splitting into final array of floats if
79921         __FLT_EVAL_METHOD__ != 0.
79922         * math/libm-test.inc (cos_test): Add another test.
79923         (sin_test): Likewise.
79924         * sysdeps/i386/fpu/libm-test-ulps: Update.
79926         [BZ #14273]
79927         * math/libm-test.inc (cosh_test): Add more tests.
79929         * version.h (RELEASE): Set to "development".
79930         (VERSION): Set to "2.16.90".
79932 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79934         * NEWS: Update copyright. Remove last-updated date.
79935         Mention math library bug fixes and timezone data changes.
79936         * README: Mention GNU/Hurd, x32, and HPPA support status.
79938 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79940         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79942 2012-06-27  Andreas Jaeger  <aj@suse.de>
79944         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79946 2012-06-25  Andreas Jaeger  <aj@suse.de>
79948         * sysdeps/s390/fpu/libm-test-ulps: Update.
79950 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79951             Thomas Schwinge  <thomas@codesourcery.com>
79953         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79954         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79956         fanotify_mark.
79958 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79960         * sysdeps/mach/start.c: Remove file.
79961         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79962         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79963         * sysdeps/sh/init-first.c: Likewise.
79965         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79966         registers for frame unwinding purposes, add CFI directives.
79967         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79968         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79969         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79970         Likewise.
79972         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79973         __fortify_fail returning.
79974         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79976         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79977         sysdeps/sh/____longjmp_chk.S.
79978         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79979         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79980         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79981         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79983         * sysdeps/sh/abort-instr.h: New file.
79984         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79985         process in case exit returns.
79987         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79988         initialize the GOT register before use.
79990         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79991         calculation of ARGC > 4.
79993         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79994         meaningful names to some local labels.
79996 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79997             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79999         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
80000         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
80001         (__arch_compare_and_exchange_val_16_acq): Likewise.
80002         (__arch_compare_and_exchange_val_32_acq): Likewise.
80003         (atomic_exchange_and_add): Fix gUSA sequence.
80004         (atomic_add): Likewise.
80005         (atomic_add_negative): Likewise.
80006         (atomic_add_zero): Likewise.
80007         (atomic_bit_test_set): Likewise.
80009 2012-06-22  Andreas Schwab  <schwab@redhat.com>
80011         [BZ #13579]
80012         * include/link.h (struct link_map): Add l_free_initfini.
80013         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
80014         l_initfini.
80015         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80016         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
80017         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
80018         set.
80020 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
80022         * configure.in: Use AC_LANG_SOURCE.
80023         * configure: Regenerate.
80025 2012-06-22  Roland McGrath  <roland@hack.frob.com>
80027         * configure.in (libc_cv_localstatedir): New substituted variable.
80028         * configure: Regenerated.
80029         * config.make.in (localstatedir): New variable, substituted from
80030         libc_cv_localstatedir.
80031         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
80032         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
80033         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
80034         * sysdeps/gnu/configure: Regenerated.
80036 2012-06-21  Jeff Law  <law@redhat.com>
80038         [BZ #14277]
80039         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
80040         free.  Simplify list management for _LIBC case.
80042 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
80044         [BZ #14273]
80045         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
80046         Clear sign bit of 64-bit integer value before comparing against
80047         overflow value.
80049         * sysdeps/mach/configure: Regenerated.
80051 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
80053         [BZ #14278]
80054         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
80056 2012-06-21  Jeff Law  <law@redhat.com>
80058         [BZ #13882]
80059         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
80060         uint16_t for elements in the "seen" array to avoid char overflows.
80061         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80062         * elf/dl-open.c (dl_open_worker): Likewise.
80064 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
80066         * scripts/list-sources.sh: Scan PORTS for translations.
80067         * po/libc.pot: Regenerated.
80069 2012-06-21  Andreas Jaeger  <aj@suse.de>
80071         [BZ #12194]
80072         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80073         warning.
80074         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80075         * bits/byteswap-16.h (__bswap_16): Likewise.
80076         * bits/byteswap.h (__bswap_constant_16): Likewise.
80078 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
80080         [BZ #14117]
80081         * sysdeps/i386/fpu_control.h: Removed.
80082         * sysdeps/x86_64/fpu_control.h: Moved to ...
80083         * sysdeps/x86/fpu_control.h: Here.
80085         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80086         (_FPU_SETCW): Likewise.
80088 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
80090         [BZ #14117]
80091         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80092         * sysdeps/x86/fpu/bits/mathinline.h: This.
80093         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80095         [BZ #14050]
80096         [BZ #14117]
80097         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80098         functions if __x86_64__ is defined.
80100 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
80102         * string/endian.h: Add !__ASSEMBLER__ condition for including
80103         conversion interfaces.
80105 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
80107         [BZ #14241]
80108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80109         of ABS(x) in calculating zero to negative powers other than odd
80110         integers.
80111         * math/libm-test.inc (pow_test): Add more tests.
80113 2012-06-15  Andreas Jaeger  <aj@suse.de>
80115         * manual/contrib.texi (Contributors): Update entry of Liubov
80116         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80117         Machado Filho.
80119 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
80121         * string/string.h: Add __wur to GNU version of strerror_r.
80123 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
80125         [BZ #14229]
80126         * string/Makefile (tests): Add tst-strtok_r.
80127         * string/tst-strtok_r.c: New file.
80128         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80129         RAX_LP/RDX_LP on SAVE_PTR.
80131 2012-06-14  Roland McGrath  <roland@hack.frob.com>
80133         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80135 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
80137         * libm_test.inc (csqrt_test): Allow more spurious underflow
80138         exceptions.
80139         (j0_test): Likewise.
80140         (j1_test): Likewise.
80141         (y0_test): Likewise.
80142         (y1_test): Likewise.
80144 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
80146         * po/Makefile (libc.pot): Use UTF-8 charset.
80148 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
80150         [BZ #14210]
80151         Suppress sign-conversion warning from FD_SET.
80152         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80153         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80154         not unsigned long int.
80155         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80157 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
80159         [BZ #14050]
80160         [BZ #14117]
80161         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80162         __extern_always_inline instead of __extern_inline.
80163         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80164         (__signbit): Likewise.
80165         (__signbitl): Support C++ namespace.
80166         (lrintf): New inline function.
80167         (lrint): Likewise.
80168         (llrintf): Likewise.
80169         (llrint): Likewise.
80170         (fmaxf): Likewise.
80171         (fmax): Likewise.
80172         (fminf): Likewise.
80173         (fmin): Likewise.
80174         (rint): Likewise.
80175         (rintf): Likewise.
80176         (ceil): Likewise.
80177         (ceilf): Likewise.
80178         (floor): Likewise.
80179         (floorf): Likewise.
80180         (nearbyint): Likewise.
80181         (nearbyintf): Likewise.
80183 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80185         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80186         non-default versions.
80188 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80190         [BZ #14218]
80191         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80193 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80195         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80196         (FE_UPWARD, FE_DOWNWARD): Don't define.
80197         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80198         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80200         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80201         reading it.
80202         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80203         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80205 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80207         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80208         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80209         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80210         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80212 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80214         [BZ #14117]
80215         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80216         * sysdeps/i386/fpu/Implies: New file.
80217         * sysdeps/x86_64/fpu/Implies: Likewise.
80218         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80219         * sysdeps/x86/fpu/bits/fenv.h: This.
80221         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80222         __SSE_MATH__.
80224 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80226         [BZ #14134]
80227         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80228         character 0xffff that matches the last element of the
80229         conversion table.
80231 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80233         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80234         fmodl commit.
80236 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80238         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80239         values higher than 25.6283.
80241 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80243         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80244         subnormal exponent extraction and add some __builtin_expect.
80245         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80246         Fix for subnormal mantissa calculation.
80248 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80250         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80251         cpu2 is -1 and errno is not ENOSYS.
80253 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80255         [BZ #14117]
80256         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80257         * sysdeps/x86/bits/string.h: This.
80258         * sysdeps/x86_64/bits/string.h: Removed.
80260         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80261         if not compiling for x86-64, but compiling for >= i486.
80263         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80264         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80266         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80267         New macro from Linux kernel 3.4.0.
80268         (FP_XSTATE_MAGIC2): Likewise.
80269         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80270         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80271         (struct _fpx_sw_bytes): New struct.
80272         (struct _xsave_hdr): Likewise.
80273         (struct _ymmh_state): Likewise.
80274         (struct _xstate): Likewise.
80276         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80277         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80278         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80279         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80280         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80281         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80283         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80284         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80285         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80286         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80287         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80288         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80290 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80292         [BZ #13743]
80293         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80294         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80295         (sysdep_headers): Include sys/platform/ppc.h.
80296         * sysdeps/powerpc/test-gettimebase.c: Test for
80297         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80298         * manual/Makefile (appendices): Include platform.texi.
80299         * manual/contrib.texi (Contributors): Update @node pointers.
80300         * manual/maint.texi (Maintenance): Likewise.
80301         (Platform): New node.
80302         * manual/platform.texi: New file.  Document the new features.
80304 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80305             Jakub Jelinek  <jakub@redhat.com>
80307         [BZ #14188]
80308         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80309         where __builtin_expect is unavailable.
80311 2012-06-03  David S. Miller  <davem@davemloft.net>
80313         * stdlib/longlong.h: Updated from GCC.
80315 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80317         [BZ #14042]
80318         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80319         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80320         __mcount_internal.
80321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80322         (GLIBC_2.16): Likewise.
80324 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80326         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80328 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80331         (default-abi): New variable.
80332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80333         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80334         variable.
80335         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80336         Likewise.
80337         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80338         Likewise.
80339         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80340         Likewise.
80342         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80343         definition.  Document in comment.
80345 2012-06-01  David S. Miller  <davem@davemloft.net>
80347         * stdlib/longlong.h: Updated from GCC.
80349 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80351         [BZ #14117]
80352         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80353         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80354         sys/debugreg.h sys/io.h here.
80355         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80356         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80357         sys/io.h.
80358         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80359         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80360         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80361         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80362         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80363         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80365         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80366         Define only if __x86_64__ is defined.
80368 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80370         [BZ #14048]
80371         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80372         Use int64_t for variable i.
80373         * math/libm-test.inc (fmod_test): Add more tests.
80375         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80376         z computation is not scheduled after fetestexcept.
80377         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80378         Use math_force_eval instead of asm to ensure calculation scheduled
80379         before exception test.
80380         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80381         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80383 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80386         computation is not scheduled after fetestexcept.
80388 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80390         [BZ #14117]
80391         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80392         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80394 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80396         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80397         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80399 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80401         [BZ #14117]
80402         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80403         <bits/wordsize.h>.
80404         (__WCHAR_MIN): Support __WORDSIZE == 64.
80405         (__WCHAR_MAX): Likewise.
80407         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80408         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80410         [BZ #14183]
80411         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80412         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80414         [BZ #14117]
80415         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80416         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80418         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80419         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80421         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80422         Defined to 1 if __x86_64__ isn't defined.
80423         (_STAT_VER_LINUX_OLD): New.
80424         (st_atime): Remove duplicate.
80425         (st_mtime): Likewise.
80426         (st_ctime): Likewise.
80428 2012-05-31  David S. Miller  <davem@davemloft.net>
80430         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80431         entries.
80433 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80435         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80436         gen-libm-test.pl.
80438         [BZ #14132]
80439         * elf/dl-reloc.c: Include <_itoa.h>.
80440         (_dl_reloc_bad_type): Remove use of INTUSE.
80441         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80442         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80443         * stdio-common/psiginfo.c (psiginfo): Likewise.
80444         * stdio-common/psignal.c (psignal): Likewise.
80445         * string/strsignal.c (strsignal): Likewise.
80446         * include/signal.h (_sys_siglist): Declare hidden proto.
80447         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80448         INTVARDEF with libc_hidden_data_def.
80449         * stdio-common/itoa-udigits.c: Likewise.
80450         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80451         (_itoa_lower_digits_internal): Remove declaration.
80452         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80453         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80454         (_sys_sigabbrev_internal): Remove aliases.
80455         (_sys_siglist): Define hidden alias.
80457 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80459         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80460         bits/sysctl.h.
80462 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80464         [BZ #14117]
80465         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80466         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80468         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80469         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80470         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80471         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80473         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80475         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80476         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80477         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80479         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80480         with __addr.
80481         (insw): Likewise.
80482         (insl): Likewise.
80483         (outsb): Likewise.
80484         (outsw): Likewise.
80485         (outsl): Likewise.
80487         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80488         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80489         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80491         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80492         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80493         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80494         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80495         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80496         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80498         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80499         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80501         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80502         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80504         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80505         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80506         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80508         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80509         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80510         to ...
80511         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80513         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80514         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80515         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80517         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80518         for x86-64.
80519         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80521 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80523         * math/math.h (M_El): Use two more decimal places.
80524         (M_LOG2El): Likewise.
80525         (M_LOG10El): Likewise.
80526         (M_LN2l): Likewise.
80527         (M_LN10l): Likewise.
80528         (M_PIl): Likewise.
80529         (M_PI_2l): Likewise.
80530         (M_PI_4l): Likewise.
80531         (M_1_PIl): Likewise.
80532         (M_2_PIl): Likewise.
80533         (M_2_SQRTPIl): Likewise.
80534         (M_SQRT2l): Likewise.
80535         (M_SQRT1_2l): Likewise.
80537 2012-05-31  David S. Miller  <davem@davemloft.net>
80539         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80540         values between float registers.
80541         * sysdeps/sparc/sparc64/memset.S: Likewise.
80542         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80544 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80546         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80547         -D_FORTIFY_SOURCE=1.
80548         (CPPFLAGS-tst-longjmp_chk.c): Define.
80549         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80550         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80551         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80552         CFLAGS-tst-wchar-h.c.
80554 2012-05-31  Marek Polacek  <polacek@redhat.com>
80556         [BZ #14132]
80557         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80558         __endmntent_internal): Remove declaration.
80559         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80560         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80561         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80563 2012-05-30  David S. Miller  <davem@davemloft.net>
80565         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80566         (___Q_simulate_exceptions): Use real FP ops rather than writing
80567         into the %fsr.
80568         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80569         Likewise.
80571 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80573         [BZ #14117]
80574         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80575         * sysdeps/x86/bits/xtitypes.h: This.
80577         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80578         * sysdeps/x86/bits/wordsize.h: This.
80580         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80581         * sysdeps/x86/bits/huge_vall.h: This.
80583         * sysdeps/i386/bits/select.h: Removed.
80584         * sysdeps/x86_64/bits/select.h: Renamed to ...
80585         * sysdeps/x86/bits/select.h: This.
80587         * sysdeps/i386/bits/setjmp.h: Removed.
80588         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80589         * sysdeps/x86/bits/setjmp.h: This.
80591         * sysdeps/i386/bits/mathdef.h: Removed.
80592         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80593         * sysdeps/x86/bits/mathdef.h: This.
80595 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80597         [BZ #14132]
80598         * include/sys/socket.h (__connect_internal)
80599         (__libc_sa_len_internal): Remove declaration.
80600         (__connect, __libc_sa_len): Declare hidden_proto.
80601         (SA_LEN): Remove use of INTUSE.
80602         * socket/connect.c: Add libc_hidden_def.
80603         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80604         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80605         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80606         alias.
80607         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80608         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80609         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80610         of adding _internal alias.
80612 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80614         [BZ #14117]
80615         * sysdeps/i386/bits/link.h: Removed.
80616         * sysdeps/i386/bits/linkmap.h: Likewise.
80617         * sysdeps/x86_64/bits/link.h: Renamed to ...
80618         * sysdeps/x86/bits/link.h: This.
80619         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80620         * sysdeps/x86/bits/linkmap.h: This.
80622         * sysdeps/i386/bits/endian.h: Removed.
80623         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80624         * sysdeps/x86/bits/endian.h: This.
80626         * sysdeps/i386/bits/byteswap.h: Removed.
80627         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80628         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80629         * sysdeps/x86/bits/byteswap.h: This.
80630         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80631         * sysdeps/x86/bits/byteswap-16.h: This.
80632         * sysdeps/i386/Implies: Add x86.
80633         * sysdeps/x86_64/Implies: Likewise.
80635 2012-05-30  David S. Miller  <davem@davemloft.net>
80637         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80638         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80639         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80640         (FP_TRAPPING_EXCEPTIONS): Define.
80641         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80642         (FP_TRAPPING_EXCEPTIONS): Define.
80643         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80644         subnormals only when inexact has been signalled or underflow
80645         exceptions are enabled.
80646         (_FP_PACK_CANONICAL): Likewise.
80648 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80650         [BZ #14183]
80651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80652         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80654 2012-05-30  Richard Henderson  <rth@twiddle.net>
80656         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80657         with #ifndef NOT_IN_libc.
80659         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80660         marked to avoid plt entry.
80662 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80664         [BZ #14112]
80665         * Makeconfig (default-abi): New macro.
80666         (abi-includes): Likewise.
80667         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80668         $(abi-$(default-abi)-lib-soname) for soname if defined.
80669         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80670         abi-variants.
80671         * Makefile (installed-stubs): Likewise.
80672         * include/stubs-biarch.h: Removed.
80673         * scripts/lib-names.awk: Only handle one library at a time.
80674         * scripts/soversions.awk: Remove WORDSIZE support.
80675         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80676         entries.
80677         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80678         Removed.
80679         (syscall-list-default-condition): Likewise.
80680         (syscall-list-default-condition): Likewise.
80681         (syscall-list-includes): Likewise.
80682         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80683         syscall-list-* with abi-*.  Handle undefined abi-variants.
80684         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80685         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80686         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80687         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80688         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80689         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80690         Removed.
80691         (syscall-list-32-options): Likewise.
80692         (syscall-list-32-condition): Likewise.
80693         (syscall-list-64-options): Likewise.
80694         (syscall-list-64-condition): Likewise.
80695         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80696         macro.
80697         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80698         Renamed to ...
80699         (abi-*): This.
80700         (abi-64-ld-soname): New macro.
80701         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80702         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80703         Renamed to ...
80704         (abi-*): This.
80705         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80706         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80708 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80710         * sysdeps/unix/sysv/linux/kernel-features.h
80711         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80712         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80713         include <kernel-features.h>.
80714         [!__NR_ftruncate64]: Remove conditional code.
80715         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80716         [__NR_ftruncate64]: Make code unconditional.
80717         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80718         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80719         include <kernel-features.h>.
80720         [!__NR_ftruncate64]: Remove conditional code.
80721         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80722         [__NR_ftruncate64]: Make code unconditional.
80723         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80725         include <kernel-features.h>.
80726         [!__NR_ftruncate64]: Remove conditional code.
80727         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80728         [__NR_ftruncate64]: Make code unconditional.
80729         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80731         include <kernel-features.h>.
80732         [!__NR_ftruncate64]: Remove conditional code.
80733         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80734         [__NR_ftruncate64]: Make code unconditional.
80735         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80737         * configure.in (libc_cv_fpie): Weaken to a compile test using
80738         LIBC_TRY_CC_OPTION.
80739         * configure: Regenerated.
80741 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80747         Refreshed.
80748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80754         Refreshed.
80756 2012-05-27  David S. Miller  <davem@davemloft.net>
80758         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80759         (___Q_zero): New.
80760         (__Q_simulate_exceptions): Return void.  Change to simulate
80761         exceptions by writing into the %fsr.
80762         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80763         (__Qp_handle_exceptions): Likewise.
80764         (numbers): Delete.
80765         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80766         __Qp_handle_exceptions.
80767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80768         __Qp_handle_exceptions.
80769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80770         as unused and give dummy FP_RND_NEAREST initializer.
80771         (FP_INHIBIT_RESULTS): Define.
80772         (___Q_simulate_exceptions): Update declaration.
80773         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80774         formatting.
80775         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80776         as unused and give dummy FP_RND_NEAREST initializer.
80777         (__Qp_handle_exceptions): Update declaration.
80778         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80779         formatting.
80781 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80783         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80784         the temporary FPU control word.
80785         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80786         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80788         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80789         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80790         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80791         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80792         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80793         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80794         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80795         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80797 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80799         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80800         fields.
80802 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80804         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80805         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80806         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80807         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80808         Likewise.
80809         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80810         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80811         Likewise.
80813 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80815         * po/h.po: Update from translation team.
80817 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80819         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80821         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80822         handling of denormals.
80823         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80824         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80825         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80826         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80830         Likewise.
80832 2012-05-26  Marek Polacek  <polacek@redhat.com>
80834         [BZ #14152]
80835         * math/libm-test.inc (fma_test): Don't always expect underflow
80836         exception.
80838 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80840         [BZ #12416]
80841         * elf/tst-execstack.c: Include stackinfo.h.
80842         (do_test): Adjust test case to ensure that pthread_getattr_np
80843         behaviour remains the same after marking stack executable.
80845 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80847         * sysdeps/unix/sysv/linux/kernel-features.h
80848         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80849         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80850         kernel-features.h.
80851         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80852         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80853         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80854         kernel-features.h.
80855         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80856         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80858 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80860         * configure.in: Define the default includes to being none.
80861         * configure: Regenerated.
80863 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80865         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80866         * sysdeps/x86_64/setjmp.S: Likewise.
80867         * sysdeps/i386/bsd-setjmp.S: Likewise.
80868         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80869         * sysdeps/i386/setjmp.S: Likewise.
80870         * sysdeps/i386/__longjmp.S: Likewise.
80871         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80872         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80874         * include/stap-probe.h: New file.
80875         * configure.in: Handle --enable-systemtap.
80876         * configure: Regenerated.
80877         * config.h.in (USE_STAP_PROBE): New #undef.
80878         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80879         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80880         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80882 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80884         [BZ #13717]
80885         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80886         to 2.4.0 where earlier.
80887         * sysdeps/unix/sysv/linux/configure: Regenerated.
80888         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80889         <kernel-features.h>.
80890         [__ASSUME_32BITUIDS]: Make code unconditional.
80891         [!__ASSUME_32BITUIDS]: Remove conditional code.
80892         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80893         <kernel-features.h>.
80894         [__ASSUME_32BITUIDS]: Make code unconditional.
80895         [!__ASSUME_32BITUIDS]: Remove conditional code.
80896         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80897         [__ASSUME_32BITUIDS]: Make code unconditional.
80898         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80899         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80900         <kernel-features.h>.
80901         [__ASSUME_32BITUIDS]: Make code unconditional.
80902         [!__ASSUME_32BITUIDS]: Remove conditional code.
80903         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80904         <kernel-features.h>.
80905         [__ASSUME_32BITUIDS]: Make code unconditional.
80906         [!__ASSUME_32BITUIDS]: Remove conditional code.
80907         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80908         <kernel-features.h>.
80909         [__ASSUME_32BITUIDS]: Make code unconditional.
80910         [!__ASSUME_32BITUIDS]: Remove conditional code.
80911         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80912         <kernel-features.h>.
80913         [__ASSUME_32BITUIDS]: Make code unconditional.
80914         [!__ASSUME_32BITUIDS]: Remove conditional code.
80915         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80916         <kernel-features.h>.
80917         [__ASSUME_32BITUIDS]: Make code unconditional.
80918         [!__ASSUME_32BITUIDS]: Remove conditional code.
80919         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80920         <kernel-features.h>.
80921         [__ASSUME_32BITUIDS]: Make code unconditional.
80922         [!__ASSUME_32BITUIDS]: Remove conditional code.
80923         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80924         <kernel-features.h>.
80925         [__ASSUME_32BITUIDS]: Make code unconditional.
80926         [!__ASSUME_32BITUIDS]: Remove conditional code.
80927         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80928         <kernel-features.h>.
80929         [__ASSUME_32BITUIDS]: Make code unconditional.
80930         [!__ASSUME_32BITUIDS]: Remove conditional code.
80931         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80932         <kernel-features.h>.
80933         [__ASSUME_32BITUIDS]: Make code unconditional.
80934         [!__ASSUME_32BITUIDS]: Remove conditional code.
80935         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80936         <kernel-features.h>.
80937         [__ASSUME_32BITUIDS]: Make code unconditional.
80938         [!__ASSUME_32BITUIDS]: Remove conditional code.
80939         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80940         <kernel-features.h>.
80941         [__NR_setresgid] (__setresgid): Do not declare.
80942         [__ASSUME_32BITUIDS]: Make code unconditional.
80943         [!__ASSUME_32BITUIDS]: Remove conditional code.
80944         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80945         <kernel-features.h>.
80946         [__NR_setresuid] (__setresuid): Do not declare.
80947         [__ASSUME_32BITUIDS]: Make code unconditional.
80948         [!__ASSUME_32BITUIDS]: Remove conditional code.
80949         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80950         <kernel-features.h>.
80951         [__ASSUME_32BITUIDS]: Make code unconditional.
80952         [!__ASSUME_32BITUIDS]: Remove conditional code.
80953         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80954         <kernel-features.h>.
80955         [__ASSUME_32BITUIDS]: Make code unconditional.
80956         [!__ASSUME_32BITUIDS]: Remove conditional code.
80957         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80958         <kernel-features.h>.
80959         [__ASSUME_32BITUIDS]: Make code unconditional.
80960         [!__ASSUME_32BITUIDS]: Remove conditional code.
80961         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80962         <kernel-features.h>.
80963         [__ASSUME_32BITUIDS]: Make code unconditional.
80964         [!__ASSUME_32BITUIDS]: Remove conditional code.
80965         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80966         <kernel-features.h>.
80967         [__ASSUME_32BITUIDS]: Make code unconditional.
80968         [!__ASSUME_32BITUIDS]: Remove conditional code.
80969         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80970         <kernel-features.h>.
80971         [__ASSUME_32BITUIDS]: Make code unconditional.
80972         [!__ASSUME_32BITUIDS]: Remove conditional code.
80973         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80974         <kernel-features.h>.
80975         [__ASSUME_32BITUIDS]: Make code unconditional.
80976         [!__ASSUME_32BITUIDS]: Remove conditional code.
80977         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80978         <kernel-features.h>.
80979         [__ASSUME_32BITUIDS]: Make code unconditional.
80980         [!__ASSUME_32BITUIDS]: Remove conditional code.
80981         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80982         <kernel-features.h>.
80983         [__ASSUME_32BITUIDS]: Make code unconditional.
80984         [!__ASSUME_32BITUIDS]: Remove conditional code.
80985         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80986         <kernel-features.h>.
80987         [__ASSUME_32BITUIDS]: Make code unconditional.
80988         [!__ASSUME_32BITUIDS]: Remove conditional code.
80989         * sysdeps/unix/sysv/linux/kernel-features.h
80990         (__ASSUME_SETRESUID_SYSCALL): Remove.
80991         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80992         (__ASSUME_32BITUIDS): Likewise.
80993         (__ASSUME_LDT_WORKS): Likewise.
80994         (__ASSUME_O_DIRECTORY): Likewise.
80995         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80996         architecture but not kernel version.
80997         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80998         (__ASSUME_MMAP2_SYSCALL): Likewise.
80999         (__ASSUME_STAT64_SYSCALL): Likewise.
81000         (__ASSUME_IPC64): Likewise.
81001         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
81002         <kernel-features.h>.
81003         [__ASSUME_32BITUIDS]: Make code unconditional.
81004         [!__ASSUME_32BITUIDS]: Remove conditional code.
81005         * sysdeps/unix/sysv/linux/opendir.c: Do not include
81006         <kernel-features.h>.
81007         [__ASSUME_O_DIRECTORY]: Make code unconditional.
81008         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
81009         132096]: Remove conditional code.
81010         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
81011         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
81012         <kernel-features.h>.
81013         [__ASSUME_32BITUIDS]: Make code unconditional.
81014         [!__ASSUME_32BITUIDS]: Remove conditional code.
81015         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
81016         <kernel-features.h>.
81017         [__ASSUME_32BITUIDS]: Make code unconditional.
81018         [!__ASSUME_32BITUIDS]: Remove conditional code.
81019         * sysdeps/unix/sysv/linux/setegid.c: Do not include
81020         <kernel-features.h>.
81021         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
81022         unconditional.
81023         (__setresgid): Do not declare.
81024         [__ASSUME_32BITUIDS]: Make code unconditional.
81025         [!__ASSUME_32BITUIDS]: Remove conditional code.
81026         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
81027         <kernel-features.h>.
81028         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
81029         unconditional.
81030         (__setresuid): Do not declare.
81031         [__ASSUME_32BITUIDS]: Make code unconditional.
81032         [!__ASSUME_32BITUIDS]: Remove conditional code.
81033         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
81034         <kernel-features.h>.
81035         [__ASSUME_32BITUIDS]: Make code unconditional.
81036         [!__ASSUME_32BITUIDS]: Remove conditional code.
81037         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
81038         <kernel-features.h>.
81039         [__ASSUME_32BITUIDS]: Make code unconditional.
81040         [!__ASSUME_32BITUIDS]: Remove conditional code.
81042 2012-05-25  Richard Henderson  <rth@twiddle.net>
81044         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
81045         dl_hwcap to ifunc resolver.
81046         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
81047         elf_ifunc_invoke.
81048         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
81049         dl_hwcap to ifunc resolver.
81050         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
81052 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81054         [BZ #14153]
81055         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
81056         for |x| <= 2**-26, not 2**-57.
81057         * math/libm-test.inc (acos_test): Do not allow spurious underflow
81058         exception.
81060 2012-05-24  Jeff Law  <law@redhat.com>
81062         * stdio-common/Makefile (tests): Add bug25.
81063         * stdio-common/bug25.c: New test.
81065 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81067         [BZ #13576]
81068         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81069         multiple of MALLOC_ALIGNMENT in size.
81070         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81072 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81074         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81075         Require >= 256.
81076         (FILENAME_MAX): Use macro-int-constant.
81077         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
81078         (_IOFBF): Use macro-int-constant.
81079         (_IOLBF): Likewise.
81080         (_IONBF): Likewise.
81081         (SEEK_CUR): Likewise.
81082         (SEEK_END): Likewise.
81083         (SEEK_SET): Likewise.
81084         (TMP_MAX): Likewise.
81085         (EOF): Use macro-int-constant.  Require < 0.
81086         (NULL): Use macro-constant.  Require == 0.
81087         (stdin): Require type to be FILE *.
81088         (stdout): Likewise.
81089         (stderr): Likewise.
81090         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81091         macro-int-constant.
81092         (EXIT_SUCCESS): Likewise.
81093         (NULL): Use macro-constant.  Require == 0.
81094         (RAND_MAX): Use macro-int-constant.
81095         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81096         [C99-based standards] (strtof): Require function.
81097         [C99-based standards] (strtold): Likewise.
81098         [C99-based standards] (strtoll): Likewise.
81099         [C99-based standards] (strtoull): Likewise.
81100         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81101         [ISO || ISO99 || ISO11] (limits.h): Likewise.
81102         [ISO || ISO99 || ISO11] (math.h): Likewise.
81103         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81104         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81105         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81107 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
81109         [BZ #14132]
81110         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81111         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81112         * intl/dgettext.c (DCGETTEXT): Likewise.
81113         * intl/gettext.c (DCGETTEXT): Likewise.
81114         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81115         * posix/regex_internal.h (gettext): Likewise.
81116         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81117         Remove declaration.
81118         * include/argz.h (__argz_count_internal)
81119         (__argz_stringify_internal): Remove declaration.
81120         (__argz_count, __argz_stringify): Declare hidden proto.
81121         * intl/dcgettext.c: Remove use of INTDEF.
81122         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81123         * string/argz-stringify.c: Likewise.
81124         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81125         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81126         Declare hidden proto.
81127         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81128         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81129         Declare hidden proto.
81130         * include/stdio.h (__asprintf_internal): Don't declare.
81131         (__asprintf): Don't define as macro.  Declare hidden proto.
81132         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81133         (__fsetlocking): Declare hidden proto.
81134         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81135         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81136         hidden proto.
81137         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81138         (_IO_setlinebuf): Remove use of INTUSE.
81139         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81140         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81141         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81142         Remove declaration.
81143         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81144         (_IO_do_flush): Remove use of INTUSE.
81145         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81146         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81147         (_IO_adjust_column, _IO_least_wmarker)
81148         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81149         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81150         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81151         (_IO_default_doallocate, _IO_wdefault_doallocate)
81152         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81153         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81154         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81155         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81156         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81157         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81158         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81159         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81160         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81161         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81162         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81163         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81164         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81165         proto.
81166         (_IO_flush_all_internal, _IO_adjust_column_internal)
81167         (_IO_default_uflow_internal, _IO_default_finish_internal)
81168         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81169         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81170         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81171         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81172         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81173         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81174         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81175         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81176         (_IO_file_close_internal, _IO_file_close_it_internal)
81177         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81178         (_IO_file_init_internal, _IO_file_attach_internal)
81179         (_IO_file_fopen_internal, _IO_file_read_internal)
81180         (_IO_file_sync_internal, _IO_file_seek_internal)
81181         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81182         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81183         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81184         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81185         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81186         (_IO_list_all_internal, _IO_link_in_internal)
81187         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81188         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81189         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81190         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81191         (_IO_do_write_internal, _IO_padn_internal)
81192         (_IO_getline_info_internal, _IO_getline_internal)
81193         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81194         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81195         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81196         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81197         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81198         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81199         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81200         with libc_hidden_ver, remove use of INTUSE.
81201         * libio/genops.c: Likewise.
81202         * libio/freopen.c: Likewise.
81203         * libio/freopen64.c: Likewise.
81204         * libio/iofclose.c: Likewise.
81205         * libio/iofdopen.c: Likewise.
81206         * libio/iofflush.c: Likewise.
81207         * libio/iofflush_u.c: Likewise.
81208         * libio/iofgets.c: Likewise.
81209         * libio/iofgets_u.c: Likewise.
81210         * libio/iofopen.c: Likewise.
81211         * libio/iofopncook.c: Likewise.
81212         * libio/iofread.c: Likewise.
81213         * libio/iofread_u.c: Likewise.
81214         * libio/ioftell.c: Likewise.
81215         * libio/iofwrite.c: Likewise.
81216         * libio/iogetline.c: Likewise.
81217         * libio/iogets.c: Likewise.
81218         * libio/iogetwline.c: Likewise.
81219         * libio/iopadn.c: Likewise.
81220         * libio/iopopen.c: Likewise.
81221         * libio/ioseekoff.c: Likewise.
81222         * libio/ioseekpos.c: Likewise.
81223         * libio/iosetbuffer.c: Likewise.
81224         * libio/iosetvbuf.c: Likewise.
81225         * libio/ioungetc.c: Likewise.
81226         * libio/ioungetwc.c: Likewise.
81227         * libio/iovdprintf.c: Likewise.
81228         * libio/iovsprintf.c: Likewise.
81229         * libio/iovsscanf.c: Likewise.
81230         * libio/memstream.c: Likewise.
81231         * libio/obprintf.c: Likewise.
81232         * libio/oldfileops.c: Likewise.
81233         * libio/oldiofclose.c: Likewise.
81234         * libio/oldiofdopen.c: Likewise.
81235         * libio/oldiofopen.c: Likewise.
81236         * libio/oldiopopen.c: Likewise.
81237         * libio/oldstdfiles.c: Likewise.
81238         * libio/putc.c: Likewise.
81239         * libio/setbuf.c: Likewise.
81240         * libio/setlinebuf.c: Likewise.
81241         * libio/stdfiles.c: Likewise.
81242         * libio/strops.c: Likewise.
81243         * libio/vasprintf.c: Likewise.
81244         * libio/vscanf.c: Likewise.
81245         * libio/vsnprintf.c: Likewise.
81246         * libio/vswprintf.c: Likewise.
81247         * libio/wfiledoalloc.c: Likewise.
81248         * libio/wfileops.c: Likewise.
81249         * libio/wgenops.c: Likewise.
81250         * libio/wmemstream.c: Likewise.
81251         * libio/wstrops.c: Likewise.
81252         * libio/__fpurge.c: Likewise.
81253         * libio/__fsetlocking.c: Likewise.
81254         * assert/assert.c: Likewise.
81255         * debug/fgets_chk.c: Likewise.
81256         * debug/fgets_u_chk.c: Likewise.
81257         * debug/fread_chk.c: Likewise.
81258         * debug/fread_u_chk.c: Likewise.
81259         * debug/gets_chk.c: Likewise.
81260         * debug/obprintf_chk.c: Likewise.
81261         * debug/vasprintf_chk.c: Likewise.
81262         * debug/vdprintf_chk.c: Likewise.
81263         * debug/vsnprintf_chk.c: Likewise.
81264         * debug/vsprintf_chk.c: Likewise.
81265         * malloc/mtrace.c: Likewise.
81266         * misc/error.c: Likewise.
81267         * misc/syslog.c: Likewise.
81268         * stdio-common/asprintf.c: Likewise.
81269         * stdio-common/fxprintf.c: Likewise.
81270         * stdio-common/getw.c: Likewise.
81271         * stdio-common/isoc99_fscanf.c: Likewise.
81272         * stdio-common/isoc99_scanf.c: Likewise.
81273         * stdio-common/isoc99_vfscanf.c: Likewise.
81274         * stdio-common/isoc99_vscanf.c: Likewise.
81275         * stdio-common/isoc99_vsscanf.c: Likewise.
81276         * stdio-common/printf-prs.c: Likewise.
81277         * stdio-common/printf_fp.c: Likewise.
81278         * stdio-common/printf_fphex.c: Likewise.
81279         * stdio-common/printf_size.c: Likewise.
81280         * stdio-common/putw.c: Likewise.
81281         * stdio-common/scanf.c: Likewise.
81282         * stdio-common/sprintf.c: Likewise.
81283         * stdio-common/tmpfile.c: Likewise.
81284         * stdio-common/vfprintf.c: Likewise.
81285         * stdio-common/vfscanf.c: Likewise.
81286         * stdlib/strfmon_l.c: Likewise.
81287         * sunrpc/openchild.c: Likewise.
81288         * sunrpc/xdr_stdio.c: Likewise.
81289         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81290         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81292 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81294         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81296         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81297         in the third column, to generate for the shared library an IFUNC
81298         that uses _dl_vdso_vsym.
81299         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81300         * Makeconfig (object-suffixes-noshared): New variable.
81302         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81303         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81304         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81305         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81307         [BZ #14132]
81308         * include/sys/time.h (__gettimeofday): Remove macro.
81309         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81310         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81311         Remove INTDEF.
81312         (__gettimeofday): Add libc_hidden_def.
81313         (gettimeofday): Add libc_hidden_weak.
81314         * sysdeps/mach/gettimeofday.c: Likewise.
81315         * sysdeps/posix/gettimeofday.c: Likewise.
81316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81317         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81319         (__gettimeofday_internal): Remove strong_alias.
81320         (__gettimeofday): Add libc_hidden_def.
81321         (gettimeofday): Add libc_hidden_weak.
81322         * sysdeps/unix/syscalls.list (gettimeofday):
81323         Remove __gettimeofday_internal alias.
81325 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81326             H.J. Lu  <hongjiu.lu@intel.com>
81328         [BZ #12495]
81329         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81330         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81331         (largebin_index_32_big): New.
81332         (largebin_index): Use it for 16-byte alignment.
81333         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81334         correction with front_misalign.
81336 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81340         Likewise.
81341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81342         Likewise.
81343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81344         Likewise.
81345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81346         Likewise.
81347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81348         Likewise.
81349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81350         Likewise.
81351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81352         Likewise.
81353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81354         Likewise.
81355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81356         Likewise.
81357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81358         Likewise.
81359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81360         Likewise.
81361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81362         Likewise.
81364         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81365         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81367 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81369         [BZ #10846]
81370         [BZ #14036]
81371         * math/libm-test.inc (exp_test): Add test from bug 14036.
81372         (pow_test): Add test from bug 10846.
81374         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81375         and other flags.
81376         (special_function): Do not include flags in test name.
81377         (parse_args): Likewise.
81378         * sysdeps/i386/fpu/libm-test-ulps: Update.
81379         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81380         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81381         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81384         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81385         exceptions.
81386         * math/libm-test.inc ("Philosophy"): Update comment about
81387         exception testing.
81388         (UNDERFLOW_EXCEPTION): New macro.
81389         (UNDERFLOW_EXCEPTION_OK): Likewise.
81390         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81391         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81392         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81393         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81394         (INVALID_EXCEPTION_OK): Update value.
81395         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81396         (OVERFLOW_EXCEPTION_OK): Likewise.
81397         (IGNORE_ZERO_INF_SIGN): Likewise.
81398         (test_exceptions): Handle underflow exceptions.
81399         (acos_test): Update for underflow exception expectations.
81400         (cexp_test): Likewise.
81401         (clog_test): Likewise.
81402         (clog10_test): Likewise.
81403         (csqrt_test): Likewise.
81404         (ctan_test): Likewise.
81405         (ctanh_test): Likewise.
81406         (exp_test): Likewise.
81407         (exp10_test): Likewise.
81408         (exp2_test): Likewise.
81409         (expm1_test): Likewise.
81410         (fma_test): Likewise.
81411         (j0_test): Likewise.
81412         (jn_test): Likewise.
81413         (nexttoward_test): Likewise.
81414         (pow_test): Likewise.
81415         (scalbn_test): Likewise.
81416         (scalbln_test): Likewise.
81417         (tan_test): Likewise.
81418         (y1_test): Likewise.
81419         * sysdeps/i386/fpu/libm-test-ulps: Update.
81420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81422 2012-05-23  David S. Miller  <davem@davemloft.net>
81424         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81425         (__libc_sigaction): Remove unused local variables.
81427 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81429         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81431 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81433         mktime: avoid signed integer overflow
81434         * time/mktime.c (__mktime_internal): Do not mishandle the case
81435         where diff == INT_MIN.
81437         mktime: simplify computation of average
81438         * time/mktime.c (ranged_convert): Use new time_t_avg function
81439         instead of rolling our own (probably-slower) code.
81441         mktime: do not assume signed right shift propagates sign bit
81442         * time/mktime.c (isdst_differ): New static function.
81443         (__mktime_internal): No need to normalize tm_isdst now.
81444         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81445         tm_isdst values.
81447         mktime: merge another wrapv change from gnulib
81448         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81449         from some compilers.
81451         mktime: remove incorrect attempt at unusual arithmetics
81452         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81453         The code didn't really work on such machines anyway.
81454         (TYPE_MINIMUM): Assume two's complement.
81455         (twos_complement_arithmetic): Verify that long_int and time_t
81456         are two's complement (or unsigned, in the latter case).
81458         mktime: check signed shifts on long_int and time_t, too
81459         * time/mktime.c (SHR): Check that shifts work as desired
81460         on the types long_int and time_t too, as SHR is used on
81461         such types.
81463         mktime: do not assume 'long' is wide enough
81464         * time/mktime.c (verify): Move decl up.
81465         (long_int): New type.
81466         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81467         to remove assumption in the code that 'long' is wide enough to
81468         store year values.  This assumption is not true on x32 and on
81469         some non-glibc platforms.
81471         mktime: merge wrapv change from gnulib
81472         * time/mktime.c (WRAPV): New macro.
81473         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81474         (guess_time_tm, __mktime_internal): Do not assume that signed
81475         integer overflow wraps around; modern compilers generate code
81476         where this assumption is no longer valid.
81478 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81480         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81481         Replace "jmp L(pseudo_end)" with "ret".
81482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81483         Likewise.
81485 2012-05-23  Andreas Jaeger  <aj@suse.de>
81487         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81488         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81490 2012-05-23  Andreas Jaeger  <aj@suse.de>
81491             Maximilian Attems  <max@stro.at>
81493         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81494         New macros.
81496 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81498         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81499         code so that pseudo_end is just ret and the stack pointer is
81500         correct also for static library in error case.
81502 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81504         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81505         move to syscalls.list.
81506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81511         * manual/install.texi (Running make install): Do not mention Linux
81512         kernel version for which pt_chown is not needed.
81513         (Linux): Do not mention problems with nscd with 2.0 kernels.
81514         * INSTALL: Regenerated.
81516 2012-05-23  Andreas Jaeger  <aj@suse.de>
81518         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81519         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81520         macro.
81521         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81522         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81523         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81524         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81525         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81526         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81528         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81529         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81530         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81531         * sysdeps/unix/sysv/linux/bits/in.h
81532         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81534 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81536         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81537         (PREPARE_VERSION): Just use assert instead, it will be elided
81538         under [NDEBUG] anyway.
81540 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81542         * sysdeps/unix/sysv/linux/Makefile: Include
81543         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81544         (sysdep_routines): Remove sysctl.
81545         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81546         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81547         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81548         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81549         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81551 2012-05-22  Andreas Jaeger  <aj@suse.de>
81553         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81554         that pseudo_end is just ret and the stack pointer is correct also
81555         for static library in error case.
81557 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81559         [BZ #14122]
81560         * nss/nsswitch.c (defconfig_entries): New variable.
81561         (__nss_database_lookup): Don't leak defconfig entries.
81562         (nss_parse_service_list): Don't leak on error paths.
81563         (free_database_entries): New function.
81564         (free_defconfig): New function.
81565         (free_mem): Move common code to free_database_entries.
81567 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81570         Add arch_prctl.
81571         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81573         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81574         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81576         New macro.
81577         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81578         (INTERNAL_SYSCALL_TYPES): Likewise.
81579         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81580         (LOAD_REGS_TYPES_[1-6]): Likewise.
81581         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81582         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81584 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81586         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81587         copysignl for GLIBC_2_0.
81588         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81589         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81591         logbl for GLIBC_2_0.
81592         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81593         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81595 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81598         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81600         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81601         Use "neg %eax".
81603         * time/mktime.c: Update copyright years.
81605 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81607         mktime: merge comment-quoting-style change from gnulib
81608         * time/mktime.c: Quote 'like this' in comments.
81609         The GNU coding standards suggest that we no longer quote `like this',
81610         as "`" and "'" are typically rendered asymmetrically nowadays.
81611         The typical gnulib style is to quote 'like this' when quoting
81612         code, and "like this" when quoting English.
81614         * time/mktime.c (compile-command): Add "-I.".
81616         mktime: merge mktime-internal.h change from gnulib
81617         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81619         mktime: merge time_r change from gnulib
81620         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81622         mktime: merge DEBUG change from gnulib
81623         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81624         case system <time.h> has a #define.
81626         mktime: merge <sys/types.h> change from gnulib
81627         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81628         since <time.t> is now guaranteed to define time_t.
81630         mktime: merge HAVE_CONFIG_H change from gnulib
81631         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81633 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81636         Use "neg %eax".
81638         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81639         __rlim_t cast.
81640         (struct rusage): Use anonymous union to pad each field to
81641         __syscall_slong_t.
81643 2012-05-21  David S. Miller  <davem@davemloft.net>
81645         * Makefules (o-iterator): Remove .s cases.
81646         (compile-command.s): Delete.
81647         (COMPILE.s): Delete.
81648         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81650 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81652         * configure.in (libc_cv_predef_stack_protector): Only consider
81653         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81654         * configure: Regenerated.
81656 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81659         New macro.  Use R*LP on int and pointer.
81660         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81661         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81662         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81663         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81665         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81666         [__WORDSIZE_TIME64_COMPAT32] instead of
81667         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81668         (struct utmp): Likewise.
81669         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81670         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81671         Renamed to ...
81672         (__WORDSIZE_TIME64_COMPAT32): This.
81673         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81674         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81675         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81676         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81677         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81678         (__WORDSIZE_TIME64_COMPAT32): New macro.
81680 2012-05-21  Andreas Jaeger  <aj@suse.de>
81682         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81683         only if [SHARED]. Add prototype for __wcschr_ia32.
81685 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81687         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81688         of %rbp unmolested in the jmp_buf while mangling the low bits.
81689         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81690         unmolested high bits of %rbp while demangling the low bits.
81691         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81693 2012-05-21  Andreas Jaeger  <aj@suse.de>
81695         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81696         * sunrpc/svc_simple.c: Use it for registerrpc.
81697         * sunrpc/xcrypt.c: Use it for passwd2des.
81699         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81701 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81703         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81704         Don't define if [__SYSCALL_WORDSIZE != 32].
81705         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81706         New macro.
81708 2012-05-21  Bruno Haible  <bruno@clisp.org>
81709             Andreas Jaeger  <aj@suse.de>
81711         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81712         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81713         inptr and inend for must_buffer_ch.
81714         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81715         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81716         * stdio-common/Makefile (tests): Remove bug15.
81717         (bug15-ENV): Remove macro.
81718         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81719         anymore.
81721 2012-05-19  Andreas Jaeger  <aj@suse.de>
81722             Roland McGrath  <roland@hack.frob.com>
81724         * manual/contrib.texi: Completely rewritten. It contains now an
81725         alphabetical list of contributors and their contributions.
81727 2012-05-21  Richard Henderson  <rth@twiddle.net>
81729         * misc/getauxval.c (__getauxval): Use unsigned long int.
81730         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81731         (getauxval): Use unsigned long int.
81733 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81735         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81737 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81739         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81740         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81741         __alignof__ (long double).
81743 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81747 2012-05-20  Richard Henderson  <rth@twiddle.net>
81749         * misc/getauxval.c: New file.
81750         * misc/sys/auxv.h: New file.
81751         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81752         (routines): Add getauxval.
81753         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81754         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81755         * elf/dl-sysdep.c (_dl_auxv): Remove.
81756         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81757         * elf/dl-support.c (_dl_auxv): New variable.
81758         (_dl_aux_init): Initialize it.
81759         * manual/startup.texi (Auxiliary Vector): New node.
81760         * sysdeps/generic/bits/hwcap.h: New file.
81761         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81762         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81763         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81764         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81765         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81766         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81768         Update.
81769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81778 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81782 2012-05-19  David S. Miller  <davem@davemloft.net>
81784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81786 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81788         [BZ #14123]
81789         * math/s_ccosh.c: Include <float.h>
81790         (__ccosh): Avoid internal overflow calculating sinh and cosh
81791         values before multiplying by sin and cos values.
81792         * math/s_ccoshf.c: Likewise.
81793         * math/s_ccoshl.c: Likewise.
81794         * math/s_csin.c: Likewise.
81795         * math/s_csinf.c: Likewise.
81796         * math/s_csinl.c: Likewise.
81797         * math/s_csinh.c: Likewise.
81798         * math/s_csinhf.c: Likewise.
81799         * math/s_csinhl.c: Likewise.
81800         * math/libm-test.inc (ccos_test): Add more tests.
81801         (ccosh_test): Likewise.
81802         (csin_test): Likewise.
81803         (csinh_test): Likewise.
81804         * sysdeps/i386/fpu/libm-test-ulps: Update.
81805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81807 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81809         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81810         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81812         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81814 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81816         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81817         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81818         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81819         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81820         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81821         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81822         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81823         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81824         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81825         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81826         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81827         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81828         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81829         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81830         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81831         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81832         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81833         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81834         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81835         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81836         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81837         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81838         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81839         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81840         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81841         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81842         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81843         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81844         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81845         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81846         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81848 2012-05-18  Andreas Jaeger  <aj@suse.de>
81850         * csu/.gitignore: Delete.
81852 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81854         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81855         (timex): Use __syscall_slong_t.
81857 2012-05-18  Andreas Jaeger  <aj@suse.de>
81858             Carlos O'Donell  <carlos_odonell@mentor.com>
81860         * manual/install.texi (Configuring and compiling): Update
81861         description about files modified in the source directory.
81862         * INSTALL: Regenerated.
81864 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81866         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81867         value.  Use "or" to set return value to -1.
81868         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81869         negate return value.
81871 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81873         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81874         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81875         failure if the compiler has Graphite support disabled.
81876         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81877         Likewise.
81878         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81879         (CFLAGS-memmove.c): Likewise.
81880         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81881         Likewise.
81883 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81885         * sysdeps/x86_64/x32/_itoa.h: New file.
81887         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81888         getdents system call only if kernel and user dirents have the
81889         same d_ino and d_off.
81891         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81892         LLONG_MAX != LONG_MAX.
81893         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81894         (_fitoa_word): Likewise.
81896         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81897         years.
81898         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81899         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81900         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81902         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81903         include <bits/wordsize.h>.  Check __x86_64__ instead of
81904         __WORDSIZE.
81905         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81906         if __x86_64__ is defined.  Use anonymous union on fpstate.
81908         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81909         anonymous union.
81911 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81913         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81914         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81915         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81916         Refer to _rtld_local_ro instead of _rtld_global_ro.
81917         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81918         Likewise.
81919         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81920         Likewise.
81921         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81922         Likewise.
81923         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81924         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81925         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81927         [BZ #10882]
81928         * sysdeps/powerpc/powerpc32/dl-machine.c
81929         (__elf_machine_runtime_setup) [PROF]: Don't reference
81930         _dl_prof_resolve.
81932 2012-05-18  Andreas Jaeger  <aj@suse.de>
81934         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81935         function only available for GCCs before 3.4 since GCC 3.4
81936         introduced a builtin.
81937         (lrint): Likewise.
81938         (llrintf): Likewise.
81939         (llrint): Likewise.
81940         (fmaxf): Likewise.
81941         (fmax): Likewise.
81942         (fminf): Likewise.
81943         (fmin): Likewise.
81944         (rint): Likewise.
81945         (rintf): Likewise.
81946         (nearbyint): Likewise.
81947         (nearbyintf): Likewise.
81948         (ceil): Likewise.
81949         (ceilf): Likewise.
81950         (floor): Likewise.
81951         (floorf): Likewise.
81953 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81955         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81956         on both fields and cast pointer to __syscall_ulong_t.
81958         * bits/types.h (__fsword_t): New type.
81959         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81960         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81961         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81962         (__FSWORD_T_TYPE): Likewise.
81963         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81964         (__FSWORD_T_TYPE): Likewise.
81965         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81966         (__FSWORD_T_TYPE): Likewise.
81967         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81968         (__FSWORD_T_TYPE): Likewise.
81969         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81970         __SWORD_TYPE with __fsword_t.
81971         (statfs64): Likewise.
81973 2012-05-17  David S. Miller  <davem@davemloft.net>
81975         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81977 2012-05-17  Andreas Jaeger  <aj@suse.de>
81979         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81980         warning.
81982 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81984         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81986 2012-05-17  Andreas Jaeger  <aj@suse.de>
81988         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81989         when it is used.
81991 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81993         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81995 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81997         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81998         * sysdeps/x86_64/tst-mallocalign1.c: New file.
82000 2012-05-17  Andreas Jaeger  <aj@suse.de>
82001             Carlos O'Donell  <carlos_odonell@mentor.com>
82003         [BZ #14059]
82004         * sysdeps/x86_64/multiarch/init-arch.h
82005         (bit_YMM_Usable): Rename to...
82006         (bit_AVX_Usable): ... this.
82007         (bit_FMA4_Usable): New macro.
82008         (bit_XMM_state): New macro.
82009         (bit_YMM_state): New macro.
82010         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
82011         [__ASSEMBLER__] (index_AVX_Usable): ... this.
82012         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
82013         (CPUID_OSXSAVE): New macro.
82014         (CPUID_AVX): New macro.
82015         (CPUID_FMA4): New macro.
82016         (index_YMM_Usable): Rename to...
82017         (index_AVX_Usable): ... this.
82018         (HAS_AVX): Use HAS_ARCH_FEATURE.
82019         (HAS_FMA4): Likewise.
82020         (HAS_YMM_USABLE): Remove.
82021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82022         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
82023         are present.
82024         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
82025         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
82026         * sysdeps/x86_64/multiarch/Makefile: Likewise.
82027         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
82028         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
82030 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
82032         * math/libm-test.c: Support platforms without multiple rounding modes.
82033         * math/bug-nextafter.c: Support platforms without FP exceptions.
82034         * math/bug-nexttoward.c: Likewise.
82035         * math/test-fenv.c: Likewise.
82036         * math/test-misc.c: Likewise.
82037         * stdlib/bug-getcontext.c: Likewise.
82039 2012-05-17  Andreas Jaeger  <aj@suse.de>
82041         * manual/examples/search.c (critter_cmp): Change signature to
82042         avoid warnings.
82043         * manual/string.texi (Collation Functions): Likewise.
82045 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82047         * bits/types.h: Fold copyright years.
82048         * bits/typesizes.h: Likewise.
82049         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
82050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
82051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
82052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
82053         * time/time.h: Likewise.
82055 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
82057         [BZ #208]
82058         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
82059         in instead of returning them.  Return void.
82060         (__libc_mallinfo): Accumulate over all arenas.
82061         (__malloc_stats): Adjust for change in int_mallinfo interface.
82063 2012-05-16  Roland McGrath  <roland@hack.frob.com>
82065         [BZ #10375]
82066         * configure.in (NM): Add AC_CHECK_TOOL for it.
82067         (libc_extra_cflags): New substituted variable.
82068         Check for -fstack-protector being used implicitly.
82069         * configure: Regenerated.
82070         * config.make.in (config-extra-cflags): New variable,
82071         gets @libc_extra_cflags@.
82072         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82074         [BZ #10375]
82075         * configure.in: Check for _FORTIFY_SOURCE being predefined.
82076         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82077         * configure: Regenerated.
82078         * config.make.in (CPPUNDEFS): New substituted variable.
82079         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82080         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82081         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82085         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82086         (mq_attr): Use __syscall_slong_t.
82088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82090         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82091         Check __x86_64__ instead of __WORDSIZE.
82092         (_STAT_VER_LINUX): Likewise.
82093         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
82094         __syscall_ulong_t and __syscall_slong_t.
82095         (stat64): Likewise.
82097 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82099         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82101 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82103         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82105 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82107         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82108         __syscall_ulong_t.
82110         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82111         include <bits/wordsize.h>.  Check __x86_64__ instead of
82112         __WORDSIZE.
82113         (greg_t): Use "__extension__ long long int" if __x86_64__ is
82114         defined.
82115         (mcontext_t): Replace "unsigned long" with "unsigned long long".
82117         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82118         include <bits/wordsize.h>.  Check __x86_64__ instead of
82119         __WORDSIZE.
82120         (user_regs_struct): Use "__extension__ unsigned long long"
82121         instead of "unsigned long" if __x86_64__ is defined.
82122         (user): Likewise.  Pad after pointer field if __ILP32__ is
82123         defined.
82125 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
82127         * configure.in (makeinfo): Require version 4.5 or later.  Allow
82128         versions 5 to 9.
82129         * configure: Regenerated.
82130         * manual/install.texi (texinfo): Increase version requirement to
82131         4.5 or later.
82132         * INSTALL: Regenerated.
82134         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82136 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82138         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82140         * sysdeps/x86_64/x32/ffs.c: New file.
82142         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82143         __syscall_ulong_t.
82144         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82145         defined.  Use __syscall_ulong_t.
82146         (shminfo): Use __syscall_ulong_t.
82147         (shm_info): Likewise.
82149         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82150         __syscall_ulong_t.
82152         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82153         <bits/wordsize.h>.
82154         (msgqnum_t): Use __syscall_ulong_t.
82155         (msglen_t): Likewise.
82156         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
82157         __syscall_ulong_t.
82159         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82160         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82162         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82164         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82165         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82167         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82168         __syscall_slong_t.
82170         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82171         include <bits/wordsize.h>.  Check __x86_64__ instead of
82172         __WORDSIZE.
82174         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82175         "unsigned long long int" if __x86_64__ is defined.
82176         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82178         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82179         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82180         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82182         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82183         <stdint.h>.
82184         (GET_PC): Cast to uintptr_t first.
82185         (GET_FRAME): Likewise.
82186         (GET_STACK): Likewise.
82188         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82189         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82190         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82191         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82192         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82193         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82194         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82195         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82196         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82197         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82198         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82199         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82200         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82202         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82203         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82204         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82205         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82206         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82207         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82208         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82210         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82212         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82213         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82214         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82215         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82216         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82218 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82220         * Makerules (+depfiles): Also collect depfiles from .oS in
82221         $(extra-objs).
82222         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82223         .oS, $(libnldbl-routines)).
82225         * Makerules (native-compile-mkdep-flags): Define.
82226         * sunrpc/Makefile (extra-objs): Add $(addprefix
82227         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82228         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82229         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82230         calling $(make-target-directory).
82232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82234         * bits/types.h (__snseconds_t): Removed.
82235         * time/time.h (struct timespec): Replace __snseconds_t with
82236         __syscall_slong_t.
82237         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82238         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82239         Likewise.
82240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82241         (__SNSECONDS_T_TYPE): Likewise.
82242         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82243         (__SNSECONDS_T_TYPE): Likewise.
82244         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82245         (__SNSECONDS_T_TYPE): Likewise.
82247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82249         * sysdeps/mach/hurd/bits/typesizes.h
82250         (__SYSCALL_SLONG_TYPE): New macro.
82251         (__SYSCALL_ULONG_TYPE): Likewise.
82253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82255         * bits/types.h (__syscall_slong_t): New type.
82256         (__syscall_ulong_t): Likewise.
82258         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82259         (__SYSCALL_ULONG_TYPE): Likewise.
82260         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82261         (__SYSCALL_SLONG_TYPE): Likewise.
82262         (__SYSCALL_ULONG_TYPE): Likewise.
82263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82264         (__SYSCALL_SLONG_TYPE): Likewise.
82265         (__SYSCALL_ULONG_TYPE): Likewise.
82266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82267         (__SYSCALL_SLONG_TYPE): Likewise.
82268         (__SYSCALL_ULONG_TYPE): Likewise.
82270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82272         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82273         Add sigaltstack-offsets.sym.
82274         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82275         <sigaltstack-offsets.h>.
82276         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82277         longjmp_msg pointer.
82278         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82279         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82280         signal stack.
82281         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82283 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82285         * elf/stackguard-macros.h: Remove file.
82286         * sysdeps/generic/stackguard-macros.h: New file.
82287         * sysdeps/i386/stackguard-macros.h: Likewise.
82288         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82289         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82290         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82291         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82292         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82293         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82294         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82295         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82296         <elf/stackguard-macros.h>.
82298         [BZ #14109]
82299         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82300         __aligned__ in attribute.
82301         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82302         (gregset_t): Likewise.
82304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82306         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82307         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82308         * sysdeps/x86_64/x32/Implies-after: New file.
82310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82312         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82313         and access return value for _dl_profile_fixup.  Use R10_LP to
82314         load frame size.
82316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82318         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82322         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82323         * sysdeps/x86_64/x32/sysdep.h: New file.
82325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82327         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82328         * sysdeps/x86_64/setjmp.S: Likewise.
82330 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82332         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82334         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82335         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82336         remove unused global constant.
82338 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82340         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82341         include of <not-cancel.h>.
82343 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82345         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82347 2012-05-15  Jeff Law  <law@redhat.com>
82348             Andreas Jaeger  <aj@suse.de>
82350         [BZ #13594]
82351         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82352         out from...
82353         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82354         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82355         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82356         code changing __hst_map_handle.map.
82358 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82360         * configure.in (sysnames): Look for Implies-before and Implies-after
82361         files.
82362         * configure: Regenerated.
82364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82366         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82367         8-byte data alignment with LP_SIZE alignment.
82369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82371         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82372         into R10_LP.
82374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82376         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82380         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82381         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82382         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82383         Likewise.
82384         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82388         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82389         (stackinfo_sub_sp): Likewise.
82391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82393         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82394         RAX_LP.
82396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82398         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82399         into R*_LP.
82401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82404         sizes into R*_LP.
82406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82408         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82412         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82413         into R11_LP and load __x86_64_shared_cache_size_half into
82414         R8_LP.
82416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82419         R8_LP.
82421 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82424         logb for POWER7.
82425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82426         logbf for POWER7.
82427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82428         logbl for POWER7.
82429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82430         powerpc32/power7/fpu/s_logb.c via #include.
82431         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82432         powerpc32/power7/fpu/s_logbf.c via #include.
82433         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82434         powerpc32/power7/fpu/s_logbl.c via #include.
82436 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82438         * README.libm: Remove file.
82440 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82442         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82443         count for x32.  Use R*_LP and omit operand-size suffix.
82445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82447         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82448         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82449         * sysdeps/x86_64/x32/shlib-versions: New file.
82451 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82453         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82454         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82455         Use _dl_fatal_printf instead.
82457 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82459         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82460         set if not set by the user.  Do not allow for being unset.
82461         * sysdeps/unix/sysv/linux/configure: Regenerated.
82463 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82465         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82466         the `q' suffix from lea and replace .quad with ASM_ADDR.
82468 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82471         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82472         instead of $17.
82473         (PTR_DEMANGLE): Likewise.
82475 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82477         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82478         (LP_OP): Likewise.
82479         (ASM_ADDR): Likewise.
82480         (RAX_LP): Likewise.
82481         (RBP_LP): Likewise.
82482         (RBX_LP): Likewise.
82483         (RCX_LP): Likewise.
82484         (RDI_LP): Likewise.
82485         (RSI_LP): Likewise.
82486         (RSP_LP): Likewise.
82487         (R8_LP): Likewise.
82488         (R9_LP): Likewise.
82489         (R10_LP): Likewise.
82490         (R10_LP): Likewise.
82491         (R11_LP): Likewise.
82492         (R12_LP): Likewise.
82493         (R13_LP): Likewise.
82494         (R14_LP): Likewise.
82495         (R15_LP): Likewise.
82497 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82499         * sysdeps/x86_64/x32/dl-machine.h: New file.
82501 2012-05-14  Andreas Jaeger  <aj@suse.de>
82503         * manual/Makefile (subdir): Remove export of subdir.
82504         (all): Remove target.
82505         (.PHONY): Remove all from list.
82506         (mkinstalldirs): Remove.
82507         (.PHONY): Remove installdirs from list.
82508         ($(inst_infodir)/libc.info): Use make-target-directory.
82509         (installdirs): Remove.
82510         (subdir_%): Remove.
82511         (glibc-targets): Remove.
82512         (lib): Remove.
82513         (stubs): Remove.
82514         ($(objpfx)stubs ../po/manual.pot): Remove.
82515         ($(objpfx)stamp%): Remove.
82516         (make-target-directory): Remove.
82517         (subdir_install): Remove.
82518         (routines): Remove.
82519         (aux): Remove.
82520         (sources): Remove.
82521         (objects): Remove.
82522         (headers): Remove.
82524         [BZ #13750]
82525         * manual/.gitignore: Remove, it's not needed anymore.
82526         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82527         all files in it.
82528         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82529         directory.
82530         (texis): Renamed to $(objpfx)texis.
82531         (texis-path): New, contains path to generated files.
82532         (chapters.%): Use texis-path for complete path, add extra argument
82533         libc-texinfo.sh.
82534         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82535         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82536         (summary,texi, stamp-summary): Use complete path of
82537         files. Generate files in build dir.
82538         (dir-add.texi): Build in build dir.
82539         (libm-err.texi,stamp-libm-err): Likewise.
82540         (version.texi, stamp-version): Likewise.
82541         (.%c.texi): Likewise.
82542         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82543         (mostlyclean): Remove target.
82544         (realclean): Remove target.
82545         (generated): Add new variable with contents from mostlyclean and
82546         realclean, remove entries duplicated in common-mostlyclean, add
82547         stamp-libm-err and stamp-version.
82548         (generated-dirs): Add libc directory.
82549         ($(inst_infodir)/libc.info): Install files from build dir.
82551         * manual/install.texi (Configuring and compiling): Adjust since
82552         the info files are not part of the tar ball anymore.
82554 2012-05-14  Andreas Jaeger  <aj@suse.de>
82556         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82557         variable.
82559 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82561         [BZ #13717]
82562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82563         to 2.2.0 where earlier.
82564         * sysdeps/unix/sysv/linux/configure: Regenerated.
82565         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82566         Remove conditional code.
82567         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82568         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82569         Remove conditional code.
82570         [!__NR_lchown]: Likewise.
82571         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82572         [__NR_lchown]: Likewise.
82573         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82574         comment referencing __ASSUME_LCHOWN_SYSCALL.
82575         * sysdeps/unix/sysv/linux/i386/sigaction.c
82576         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82577         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82578         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82579         Remove conditional code.
82580         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82581         (__protocol_available): Remove #if 0 code.
82582         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82583         conditional code.
82584         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82585         * sysdeps/unix/sysv/linux/kernel-features.h
82586         (__ASSUME_GETCWD_SYSCALL): Don't define.
82587         (__ASSUME_REALTIME_SIGNALS): Likewise.
82588         (__ASSUME_PREAD_SYSCALL): Likewise.
82589         (__ASSUME_PWRITE_SYSCALL): Likewise.
82590         (__ASSUME_POLL_SYSCALL): Likewise.
82591         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82592         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82593         non-SPARC.
82594         (__ASSUME_SIOCGIFNAME): Don't define.
82595         (__ASSUME_MSG_NOSIGNAL): Likewise.
82596         (__ASSUME_SENDFILE): Define unconditionally.
82597         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82598         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82599         conditional code.
82600         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82601         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82602         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82603         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82604         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82605         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82606         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82608         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82609         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82614         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82615         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82620         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82621         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82623         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82626         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82627         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82629         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82631         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82632         Remove conditional code.
82633         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82634         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82635         Remove conditional code.
82636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82637         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82638         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82639         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82640         Remove conditional code.
82641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82642         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82643         Remove conditional code.
82644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82645         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82646         Remove conditional code.
82647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82648         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82649         Remove conditional code.
82650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82651         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82652         Remove conditional code.
82653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82654         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82657         * sysdeps/unix/sysv/linux/sigaction.c
82658         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82659         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82660         * sysdeps/unix/sysv/linux/sigpending.c
82661         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82662         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82663         * sysdeps/unix/sysv/linux/sigprocmask.c
82664         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82665         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82666         * sysdeps/unix/sysv/linux/sigsuspend.c
82667         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82668         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82669         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82670         (__libc_missing_rt_sigs): Remove.
82671         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82672         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82673         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82674         Remove conditional code.
82675         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82676         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82677         return 1.
82678         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82679         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82680         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82681         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82683 2012-05-14  Andreas Jaeger  <aj@suse.de>
82685         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82686         it's not used in glibc.
82687         (__coshm1): Likewise.
82688         (__acosh1p): Likewise.
82689         (__sgn): Likewise.
82691         * manual/string.texi (Copying and Concatenation): Add missing
82692         variable in concat example.
82693         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82697         [BZ #14103]
82698         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82699         __builtin_clzl with __builtin_clzll.
82701 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82703         [BZ #14104]
82704         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82705         libc_freeres_ptr.
82707 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82709         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82710         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82711         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82712         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82714 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82716         * NEWS: Update ia64 info.
82718 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82720         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82721         used as bcopy.
82723 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82725         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82726         * sysdeps/unix/syscalls.list (dup3): Likewise.
82727         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82728         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82730 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82732         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82733         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82735 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82737         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82738         thread pointer.
82739         (TLS_IE): Use mov/add instead of movq/addq to load thread
82740         pointer.
82741         (TLS_GD_PREFIX): New.
82742         (TLS_GD): Use it.
82744 2012-05-11  David S. Miller  <davem@davemloft.net>
82746         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82747         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82748         (_FPU_SETCW): Likewise.
82750 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82752         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82753         is 32-byte aligned.
82755 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82757         [BZ #11837]
82758         * iconvdata/gb18030.c: Update tables.
82759         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82760         characters specially.
82761         (BODY for TO_LOOP): Add encoding of missing ranges.
82763 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82765         [BZ #13673]
82766         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82767         * sysdeps/mach/hurd/dup3.c: Likewise.
82768         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82769         * sysdeps/powerpc/memmove.c:: Likewise.
82771 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82774         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82776 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82778         * elf/elf.h (R_X86_64_RELATIVE64): New.
82779         (R_X86_64_NUM): Updated.
82780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82781         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82782         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82783         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82784         tst-quad1pie tst-quad2pie
82785         (modules-names): Add tst-quadmod1 tst-quadmod2.
82786         ($(objpfx)tst-quad1): New dependency.
82787         ($(objpfx)tst-quad2): Likewise.
82788         ($(objpfx)tst-quad1pie): Likewise.
82789         ($(objpfx)tst-quad2pie): Likewise.
82790         * sysdeps/x86_64/tst-quad1.c: New file.
82791         * sysdeps/x86_64/tst-quad1pie.c: New file.
82792         * sysdeps/x86_64/tst-quad2.c: Likewise.
82793         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82794         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82795         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82796         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82797         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82801         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82802         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82803         * streams/stropts.h (t_scalar_t): Define type.
82805         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82806         (_PATH_PRESERVE): Set to "/var/lib".
82807         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82809         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82810         instead of int.
82812         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82813         if __dir_mkfile succeeded.
82815         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82816         checking for _hurd_dtablesize.  Unlock it right after having
82817         finished _hurd_dtable allocation.
82819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82821         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82822         * sysdeps/mach/hurd/configure: Regenerated.
82823         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82824         special-casing to...
82825         * sysdeps/gnu/configure.in: ... this new file.
82826         * sysdeps/unix/sysv/linux/configure: Regenerated.
82827         * sysdeps/gnu/configure: New generated file.
82829         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82830         for Linux: use nsec instead of usec, as well as:
82831         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82832         members of type struct timespec.
82833         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82834         New macros.
82835         (struct stat64): Likewise.
82836         (_STATBUF_ST_NSEC): New macro.
82837         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82839         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82840         __strtoul_internal rather than strtoul.
82842 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82844         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82845         and reject them.
82847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82849         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82850         which preserves existing values.
82851         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82853 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82855         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82856         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82857         greater than FD_SETSIZE.
82859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82861         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82862         allocated, call __vm_protect to finish enabling the existing space, and
82863         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82864         allocate the remainder.
82866 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82868         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82869         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82871 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82873         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82874         sysdeps/mach/hurd/readlink.c.
82876         * posix/tst-sysconf.c (posix_options): Only use
82877         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82878         _POSIX_SYNCHRONIZED_IO when they are defined
82879         * sysdeps/mach/hurd/bits/posix_opt.h:
82880         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82881         (_XOPEN_REALTIME): Undefine macro.
82882         (_XOPEN_REALTIME_THREADS): Undefine macro.
82883         (_XOPEN_SHM): Undefine macro.
82884         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82885         macro to -1.
82886         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82887         macro to -1.
82888         (_POSIX_ASYNC_IO): Undefine macro.
82889         (_POSIX_PRIORITIZED_IO): Undefine macro.
82890         (_POSIX_SPIN_LOCKS): Define macro to -1.
82892         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82893         SA_NODEFER, SA_RESETHAND.
82894         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82895         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82896         F_DUPFD_CLOEXEC.
82898 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82900         * elf/Makefile (pldd-modules): Define unconditionally.
82902 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82904         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82908         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82909         Return ENOENT when name is empty.
82910         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82914         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82916         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82920         Fix mlock in all cases except non-readable pages.
82921         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82922         instead of VM_PROT_ALL as parameter to __vm_wire function.
82924         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82925         (__mkdir): When path is `/', just fail with EEXIST.
82926         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82930         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82931         <sys/uio.h> (for writev).
82932         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82933         and <sys/param.h> (for MIN).
82935 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82937         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82938         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82939         if interrupted.
82941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82943         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82944         Depend on against $(link-rpcuserlibs).
82946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82948         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82949         (__libc_stack_end): Do not use attribute_relro.
82950         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82951         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82952         to libthread-provided value.
82953         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82954         attribute_relro.
82956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82958         [BZ #3748]
82959         * bits/libc-lock.h (__libc_once_get): New macro.
82960         * sysdeps/mach/bits/libc-lock.h: Likewise.
82961         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82962         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82963         instead of using implementation details.
82965         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82966         * libio/freopen.c: Likewise.
82967         * libio/freopen64.c: Likewise.
82968         * misc/syslog.c: Likewise.
82969         * nscd/connections.c: Likewise.
82970         * nscd/netgroupcache.c: Likewise.
82971         * sysdeps/posix/getcwd.c: Likewise.
82973 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82975         * math/w_ilogbf.c: Add #include <limits.h>.
82977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82979         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82980         path instead of returning without unlocking.
82982         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82983         immediate-write ioctls.
82984         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82986 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82988         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82989         __builtin_frame_address instead of making assumptions about the
82990         location of the return address relative to DATA.  Force early load of
82991         the return address.
82992         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82993         __builtin_frame_address.
82995         dup3 for GNU Hurd.
82996         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82997         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82998         implement dup3 and do some further code clean-ups.
82999         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83000         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
83002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83004         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
83006         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
83007         HURD_CRITICAL_END around holding _hurd_dtable_lock.
83008         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
83009         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
83010         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
83011         d->port.lock.
83013         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
83014         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
83015         when handler == SIG_ERR, not when handler != SIG_ERR.
83017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83019         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
83020         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
83021         definitions.
83023         accept4 for GNU Hurd.
83024         * include/sys/socket.h (__libc_accept4): New prototype.
83025         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
83026         to implement __libc_accept4.
83027         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
83028         __libc_accept4.
83029         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
83031         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
83032         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
83033         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
83034         signal-defines.sym.
83036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83038         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
83040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83042         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
83043         assertion on O_CLOEXEC flag.
83044         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83045         * hurd/intern-fd.c: Likewise.
83046         * hurd/port2fd.c: Likewise.
83048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83050         [BZ #3906]
83051         * bits/in.h (IPV6_PKTINFO): Define new macro.
83052         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
83054 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83056         [BZ #13954]
83057         [BZ #13955]
83058         [BZ #13956]
83059         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
83060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
83061         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
83062         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83064         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83065         * math/libm-test.inc (logb_test) : Additional logb tests.
83067 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
83068             Andreas Jaeger  <aj@suse.de>
83070         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83071         * configure: Regenerated.
83072         * config.h.in (LINK_OBSOLETE_RPC): New macro.
83073         * config.make.in (link-obsolete-rpc): New substituted variable.
83074         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83075         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83076         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83077         (shared-only-routines): Don't set it under [link-obsolete-rpc],
83078         so that libc.a contains the symbols.
83079         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83080         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83081         * sunrpc/auth_none.c: Likewise.
83082         * sunrpc/auth_unix.c: Likewise.
83083         * sunrpc/authdes_prot.c: Likewise.
83084         * sunrpc/authuxprot.c: Likewise.
83085         * sunrpc/clnt_gen.c: Likewise.
83086         * sunrpc/clnt_perr.c: Likewise.
83087         * sunrpc/clnt_raw.c: Likewise.
83088         * sunrpc/clnt_simp.c: Likewise.
83089         * sunrpc/clnt_tcp.c: Likewise.
83090         * sunrpc/clnt_udp.c: Likewise.
83091         * sunrpc/clnt_unix.c: Likewise.
83092         * sunrpc/des_crypt.c: Likewise.
83093         * sunrpc/des_soft.c: Likewise.
83094         * sunrpc/get_myaddr.c: Likewise.
83095         * sunrpc/key_call.c: Likewise.
83096         * sunrpc/key_prot.c: Likewise.
83097         * sunrpc/netname.c: Likewise.
83098         * sunrpc/pm_getmaps.c: Likewise.
83099         * sunrpc/pm_getport.c: Likewise.
83100         * sunrpc/pmap_clnt.c: Likewise.
83101         * sunrpc/pmap_prot.c: Likewise.
83102         * sunrpc/pmap_prot2.c: Likewise.
83103         * sunrpc/pmap_rmt.c: Likewise.
83104         * sunrpc/publickey.c: Likewise.
83105         * sunrpc/rpc_cmsg.c: Likewise.
83106         * sunrpc/rpc_common.c: Likewise.
83107         * sunrpc/rpc_dtable.c: Likewise.
83108         * sunrpc/rpc_prot.c: Likewise.
83109         * sunrpc/rpc_thread.c: Likewise.
83110         * sunrpc/rtime.c: Likewise.
83111         * sunrpc/svc.c: Likewise.
83112         * sunrpc/svc_auth.c: Likewise.
83113         * sunrpc/svc_raw.c: Likewise.
83114         * sunrpc/svc_run.c: Likewise.
83115         * sunrpc/svc_tcp.c: Likewise.
83116         * sunrpc/svc_udp.c: Likewise.
83117         * sunrpc/svc_unix.c: Likewise.
83118         * sunrpc/svcauth_des.c: Likewise.
83119         * sunrpc/xcrypt.c: Likewise.
83120         * sunrpc/xdr.c: Likewise.
83121         * sunrpc/xdr_array.c: Likewise.
83122         * sunrpc/xdr_float.c: Likewise.
83123         * sunrpc/xdr_intXX_t.c: Likewise.
83124         * sunrpc/xdr_mem.c: Likewise.
83125         * sunrpc/xdr_rec.c: Likewise.
83126         * sunrpc/xdr_ref.c: Likewise.
83127         * sunrpc/xdr_sizeof.c: Likewise.
83128         * sunrpc/xdr_stdio.c: Likewise.
83130 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83132         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83133         change.  Update copyright years.
83135 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83137         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83139 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
83140             Joseph Myers  <joseph@codesourcery.com>
83141             Paul Pluzhnikov  <ppluzhnikov@google.com>
83143         [BZ #14012]
83144         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83145         requiring rpcgen.
83146         [cross-compiling] (extra-libs): Likewise.
83147         [cross-compiling] (extra-libs-others): Likewise.
83148         [cross-compiling] (librpcsvc-routines): Likewise.
83149         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83150         [cross-compiling] (omit-deps): Likewise.
83151         (sunrpc-CPPFLAGS): New variable.
83152         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83153         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83154         (cross-rpcgen-objs): New variable.
83155         (extra-objs): Append $(cross-rpcgen-objs).
83156         ($(cross-rpcgen-objs)): New rule.
83157         ($(objpfx)cross-rpcgen): Likewise.
83158         (rpcgen-cmd): Define to use $(built-program-file).  Expand
83159         comment.
83160         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83161         ($(objpfx)x%.stmp): Likewise.
83162         * sunrpc/proto.h [IS_IN_build] (_): Define.
83163         [IS_IN_build] (_libc_intl_domainname): Likewise.
83165 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83167         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83168         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83169         and R_X86_64_TPOFF64.
83171 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83173         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83174         sysdeps/unix/sysv/syscalls.list.
83175         (stime): Likewise.
83176         (utime): Likewise.
83177         * sysdeps/unix/sysv/syscalls.list: Remove file.
83179 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83181         [BZ #3440]
83182         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83183         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83184         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83185         (__LC_IDENTIFICATION): Make these macros useful in #if
83186         expressions, as required by C99.
83188 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83190         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83191         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83192         after this.
83194 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83196         * stdlib/longlong.h: Updated from GCC.
83198 2012-05-09  Andreas Jaeger  <aj@suse.de>
83200         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83201         default is first entry.
83202         (run_mode): Set type.
83203         (main): Remove informal message about syslog.
83204         (options): Fix typo.
83206         [BZ #14053]
83207         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83208         to asm.
83209         (lrint): Likewise.
83210         (llrintf): Likewise.
83211         (llrint): Likewise.
83212         (rint): Likewise.
83213         (rintf): Likewise.
83214         (nearbyint): Likewise.
83215         (nearbyintf): Likewise.
83217 2012-05-09  Andreas Jaeger  <aj@suse.de>
83218             Pedro Alves  <palves@redhat.com>
83220         * nscd/nscd.c (run_mode): Use enum.
83221         (main): Cleanup coding style issue.
83223 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83224             Andreas Jaeger  <aj@suse.de>
83226         * nscd/nscd.c (go_background): Replaced with...
83227         (run_mode): ... this.
83228         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83229         (options): Add -F --foreground.
83230         (main): Implement it.
83231         (parse_opt): Parse it.
83233 2012-05-09  Andreas Jaeger  <aj@suse.de>
83235         [BZ #14083]
83236         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83237         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83238         -Wconversion warning.
83239         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83240         Likewise.
83242 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83244         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83245         == 0.
83246         (LC_ALL): Use macro-int-constant.
83247         (LC_COLLATE): Likewise.
83248         (LC_CTYPE): Likewise.
83249         (LC_MESSAGES): Likewise.
83250         (LC_MONETARY): Likewise.
83251         (LC_NUMERIC): Likewise.
83252         (LC_TIME): Likewise.
83253         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83254         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83256         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83257         Specify type.
83258         [C99-based standards] (float_t): Expect type.
83259         [C99-based standards] (double_t): Expect type.
83260         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83261         type.
83262         [C99-based standards] (HUGE_VALL): Likewise.
83263         [C99-based standards] (INFINITY): Likewise.
83264         [C99-based standards] (NAN): Likewise.
83265         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83266         [C99-based standards] (FP_NAN): Likewise.
83267         [C99-based standards] (FP_NORMAL): Likewise.
83268         [C99-based standards] (FP_SUBNORMAL): Likewise.
83269         [C99-based standards] (FP_ZERO): Likewise.
83270         [C99-based standards] (FP_FAST_FMA): Use
83271         optional-macro-int-constant.  Specify type.  Require == 1.
83272         [C99-based standards] (FP_FAST_FMAF): Likewise.
83273         [C99-based standards] (FP_FAST_FMAL): Likewise.
83274         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83275         [C99-based standards] (FP_ILOGBNAN): Likewise.
83276         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83277         Specify type.
83278         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83279         [C99-based standards] (math_errhandling): Specify type.
83280         [ISO99 || ISO11] (signgam): Do not allow.
83281         [non-C99-based standards] (copysignf): Do not allow.
83282         [non-C99-based standards] (exp2f): Likewise.
83283         [non-C99-based standards] (log2f): Likewise.
83284         [non-C99-based standards] (modff): Allow.
83285         [non-C99-based standards] (erff): Do not allow.
83286         [non-C99-based standards] (erfcf): Likewise.
83287         [non-C99-based standards] (gammaf): Likewise.
83288         [non-C99-based standards] (hypotf): Likewise.
83289         [non-C99-based standards] (j0f): Likewise.
83290         [non-C99-based standards] (j1f): Likewise.
83291         [non-C99-based standards] (jnf): Likewise.
83292         [non-C99-based standards] (lgammaf): Likewise.
83293         [non-C99-based standards] (tgammaf): Likewise.
83294         [non-C99-based standards] (y0f): Likewise.
83295         [non-C99-based standards] (y1f): Likewise.
83296         [non-C99-based standards] (ynf): Likewise.
83297         [non-C99-based standards] (isnanf): Likewise.
83298         [non-C99-based standards] (acoshf): Likewise.
83299         [non-C99-based standards] (asinhf): Likewise.
83300         [non-C99-based standards] (atanhf): Likewise.
83301         [non-C99-based standards] (cbrtf): Likewise.
83302         [non-C99-based standards] (expm1f): Likewise.
83303         [non-C99-based standards] (ilogbf): Likewise.
83304         [non-C99-based standards] (log1pf): Likewise.
83305         [non-C99-based standards] (logbf): Likewise.
83306         [non-C99-based standards] (nextafterf): Likewise.
83307         [non-C99-based standards] (remainderf): Likewise.
83308         [non-C99-based standards] (rintf): Likewise.
83309         [non-C99-based standards] (scalbf): Likewise.
83310         [non-C99-based standards] (copysignl): Likewise.
83311         [non-C99-based standards] (exp2l): Likewise.
83312         [non-C99-based standards] (log2l): Likewise.
83313         [non-C99-based standards] (modfl): Allow.
83314         [non-C99-based standards] (erfl): Do not allow.
83315         [non-C99-based standards] (erfcl): Likewise.
83316         [non-C99-based standards] (gammal): Likewise.
83317         [non-C99-based standards] (hypotl): Likewise.
83318         [non-C99-based standards] (j0l): Likewise.
83319         [non-C99-based standards] (j1l): Likewise.
83320         [non-C99-based standards] (jnl): Likewise.
83321         [non-C99-based standards] (lgammal): Likewise.
83322         [non-C99-based standards] (tgammal): Likewise.
83323         [non-C99-based standards] (y0l): Likewise.
83324         [non-C99-based standards] (y1l): Likewise.
83325         [non-C99-based standards] (ynl): Likewise.
83326         [non-C99-based standards] (isnanl): Likewise.
83327         [non-C99-based standards] (acoshl): Likewise.
83328         [non-C99-based standards] (asinhl): Likewise.
83329         [non-C99-based standards] (atanhl): Likewise.
83330         [non-C99-based standards] (cbrtl): Likewise.
83331         [non-C99-based standards] (expm1l): Likewise.
83332         [non-C99-based standards] (ilogbl): Likewise.
83333         [non-C99-based standards] (log1pl): Likewise.
83334         [non-C99-based standards] (logbl): Likewise.
83335         [non-C99-based standards] (nextafterl): Likewise.
83336         [non-C99-based standards] (remainderl): Likewise.
83337         [non-C99-based standards] (rintl): Likewise.
83338         [non-C99-based standards] (scalbl): Likewise.
83339         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83340         [non-C99-based standards] (FP_*): Do not allow.
83341         [C99-based standards] (FP_*): Change to
83342         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83343         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83344         allow.
83345         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83346         (SIG_ERR): Likewise.
83347         [X/Open-based standards] (SIG_HOLD): Likewise.
83348         (SIG_IGN): Likewise.
83349         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83350         positive value.
83351         (SIGFPE): Likewise.
83352         (SIGILL): Likewise.
83353         (SIGINT): Likewise.
83354         (SIGSEGV): Likewise.
83355         (SIGTER): Likewise.
83356         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83357         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83358         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83359         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83360         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83361         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83362         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83363         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83364         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83365         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83366         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83367         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83368         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83369         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83370         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83371         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83372         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83373         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83374         [X/Open-based standards] (SIGTRAP): Likewise.
83375         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83376         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83377         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83378         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83379         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83380         allow.
83382 2012-05-08  Ian Wienand  <ianw@vmware.com>
83384         [BZ #14080]
83385         * time/tzset.c (__tzset_parse_tz): Update default rules for
83386         daylight time changes in the Energy Policy Act of 2005.
83388 2012-05-09  Andreas Jaeger  <aj@suse.de>
83390         [BZ #13983]
83391         * elf/ldconfig.c (parse_conf): Change string to make clear that
83392         ldconfig only issued a warning if ld.so.conf does not exist.
83394 2012-05-08  David S. Miller  <davem@davemloft.net>
83396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83397         movxtod instead of popping the value on the stack.
83399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83401 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83403         * config.h.in: Add HAVE_ARM_PCS_VFP.
83405 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83407         [BZ #13979]
83408         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83409         checking but the checks are disabled for any reason.
83411 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83413         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83414         and ELF64_R_TYPE with ELFW(R_TYPE).
83416 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83418         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83419         (ulimit): Likewise.
83421         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83422         (settimeofday): Likewise.
83424 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83426         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83427         a struct th_u2 inside the union, and move tu_block/tu_code into
83428         a new th_u3 union of tu_block/tu_code inside of that.  Move
83429         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83430         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83431         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83432         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83433         (th_stuff): Change to th_u1.tu_stuff.
83434         (th_data): Define.
83435         (th_msg): Change to th_u1.th_u2.tu_data.
83437 2012-05-07  David S. Miller  <davem@davemloft.net>
83439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83441         [BZ #14074]
83442         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83443         (SETUP_PIC_REG): Use it.
83444         (SETUP_PIC_REG_LEAF): Use it.
83446 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83448         [BZ #13885]
83449         [BZ #13923]
83450         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83451         USE_AS_EXPM1L.
83452         (EXPL_FINITE): Likewise.
83453         (FLDLOG): Likewise.
83454         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83455         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83456         e_expl.S.
83457         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83458         USE_AS_EXPM1L.
83459         (EXPL_FINITE): Likewise.
83460         (FLDLOG): Likewise.
83461         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83462         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83463         e_expl.S.
83464         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83465         test of -max_value argument for long double.
83466         * sysdeps/i386/fpu/libm-test-ulps: Update.
83467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83469 2012-05-06  David S. Miller  <davem@davemloft.net>
83471         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83472         quad soft-float symbols whose references which are compiler
83473         generated.
83474         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83476 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83478         [BZ #13884]
83479         [BZ #13914]
83480         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83481         USE_AS_EXP10L.
83482         (EXPL_FINITE): Likewise.
83483         (FLDLOG): Likewise.
83484         (c0): Likewise.
83485         (c1): Likewise.
83486         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83487         Adjust comments for base varying.
83488         (__expl_finite): Change alias to EXPL_FINITE.
83489         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83490         e_expl.S.
83491         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83492         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83493         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83494         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83496         USE_AS_EXP10L.
83497         (EXPL_FINITE): Likewise.
83498         (FLDLOG): Likewise.
83499         (c0): Likewise.
83500         (c1): Likewise.
83501         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83502         Adjust comments for base varying.
83503         (__expl_finite): Change alias to EXPL_FINITE.
83504         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83505         tests for bugs.
83506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83508         [BZ #14064]
83509         * math/libm-test.inc (check_float_internal): Correct ulp
83510         calculation for subnormal expected results.
83512 2012-05-06  Andreas Jaeger  <aj@suse.de>
83514         * Makeconfig (+math-flags): New, set to -frounding-math.
83515         (+cflags): Add +math-flags so that all of glibc gets compiled with
83516         it.
83518         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83520 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83522         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83523         Disable one test.
83525         [BZ #13787]
83526         [BZ #13922]
83527         [BZ #14036]
83528         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83529         (__ieee754_expl): Allow for and saturate large arguments.
83530         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83531         (u_threshold): Likewise.
83532         (__exp): Call __ieee754_exp before checking for overflow and
83533         underflow.
83534         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83535         (u_threshold): Likewise.
83536         (__expf): Call __ieee754_expf before checking for overflow and
83537         underflow.
83538         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83539         (u_threshold): Likewise.
83540         (__expl): Call __ieee754_expl before checking for overflow and
83541         underflow.
83542         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83543         (__ieee754_expl): Allow for and saturate large arguments.
83544         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83545         missing overflow exception on overflow.
83546         (expm1_test): Do not allow missing overflow exception on overflow.
83548         * sysdeps/i386/fpu/e_expl.c: Move to ...
83549         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83550         rather than using inline asm.
83551         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83552         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83553         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83555         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83556         (nice): Likewise.
83557         (poll): Likewise.
83558         (signal): Likewise.
83559         (time): Likewise.
83560         (times): Likewise.
83562 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83564         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83565         sysdeps/unix/common/syscalls.list.
83566         (fchmod): Likewise.
83567         (fchown): Likewise.
83568         (ftruncate): Likewise.
83569         (getrusage): Likewise.
83570         (gettimeofday): Likewise.
83571         (setpgid): Likewise.
83572         (setregid): Likewise.
83573         (setreuid): Likewise.
83574         (sigaction): Likewise.
83575         (truncate): Likewise.
83576         (vhangup): Likewise.
83577         * sysdeps/unix/common/syscalls.list: Remove file.
83578         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83579         * sysdeps/unix/sysv/linux/Implies: Likewise.
83581 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83583         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83585         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83586         Moved to ...
83587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83588         Here.
83589         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83590         to ...
83591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83592         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83593         to ...
83594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83595         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83596         to ...
83597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83598         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83599         to ...
83600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83601         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83602         to ...
83603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83604         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83605         to ...
83606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83607         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83608         to ...
83609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83610         Here.
83611         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83612         to ...
83613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83614         Here.
83615         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83616         to ...
83617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83618         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83619         Moved to ...
83620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83621         Here.
83622         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83623         to ...
83624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83626 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83628         * sysdeps/unix/common/bits/dirent.h: Remove file.
83629         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83631         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83632         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83633         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83634         * sysdeps/unix/bsd/isatty.c: Likewise.
83635         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83636         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83637         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83639 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83641         [BZ #13563]
83642         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83643         long double comparison inaccuracies.
83644         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83647 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83649         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83650         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83652 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83654         [BZ #14049]
83655         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83656         nonzero digits before rounding a hex value.
83657         * stdlib/tst-strtod.c (tests): Add another test.
83659 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83661         * sysdeps/s390/fpu/libm-test-ulps: Update.
83663 2012-05-03  Andreas Jaeger  <aj@suse.de>
83665         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83666         does not get optimized out.
83667         (malloc_opt_barrier): New.
83669 2012-05-03  Andreas Jaeger  <aj@suse.de>
83670             Roland McGrath  <roland@hack.frob.com>
83672         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83673         intermediate file deletion.
83674         (generated): Add .symlist files.
83676 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83678         [BZ #13775]
83679         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83680         Redirect under this condition.
83681         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83682         [__USE_GNU] (__dprintf_chk): Not under this condition.
83683         [__USE_GNU] (__vdprintf_chk): Likewise.
83684         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83685         under this condition.
83686         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83687         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83688         [__USE_XOPEN2K8] (vdprintf): Likewise.
83689         [__USE_GNU] (__dprintf_chk): Not under this condition.
83690         [__USE_GNU] (__vdprintf_chk): Likewise.
83691         [__USE_GNU] (dprintf): Likewise.
83692         [__USE_GNU] (vdprintf): Likewise.
83694 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83696         * elf/Makefile (common-generated): Set this instead of generated for
83697         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83698         $(all-built-dso)-derived lists.
83700 2012-05-03  Andreas Jaeger  <aj@suse.de>
83702         * sysdeps/i386/fpu/libm-test-ulps: Update.
83704         * FAQ: Removed.
83705         * FAQ.in: Likewise.
83706         * scripts/gen-FAQ.pl: Likewise.
83707         * manual/install.texi (Installation): Point to online location of
83708         FAQ.
83709         * Makefile (files-for-dist): Remove FAQ.
83710         (FAQ): Remove.
83712 2012-05-02  Allan McRae  <allan@archlinux.org>
83714         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83715         (LDFLAGS-reldepmod5.so): Likewise.
83716         (LDFLAGS-reldep6mod1.so): Likewise.
83717         (LDFLAGS-reldep6mod4.so): Likewise.
83718         (LDFLAGS-reldep8mod3.so): Likewise.
83719         (LDFLAGS-unload4mod1.so): Likewise.
83720         (LDFLAGS-unload4mod2.so): Likewise.
83721         (LDFLAGS-tst-initorder): Likewise.
83722         (LDFLAGS-tst-initordera2.so): Likewise.
83723         (LDFLAGS-tst-initordera3.so): Likewise.
83724         (LDFLAGS-tst-initordera4.so): Likewise.
83725         (LDFLAGS-tst-initorderb2.so): Likewise.
83726         (LDFLAGS-noload): Likewise.
83727         (LDFLAGS-next): Likewise.
83728         (LDFLAGS-order2mod1.so): Likewise.
83729         (LDFLAGS-order2mod2.so): Likewise.
83730         (LDFLAGS-tst-initorder2): Likewise.
83731         (LDFLAGS-tst-initorder2a.so): Likewise.
83732         (LDFLAGS-tst-initorder2b.so): Likewise.
83733         (LDFLAGS-tst-initorder2c.so): Likewise.
83734         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83736 2012-05-02  David S. Miller  <davem@davemloft.net>
83738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83740 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83742         [BZ #14055]
83743         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83745 2012-05-02  Andreas Jaeger  <aj@suse.de>
83747         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83748         since we manipulate rounding mode.
83749         (CPPFLAGS-test-idouble.c): Likewise.
83750         (CPPFLAGS-test-ifloat.c): Likewise.
83751         (CFLAGS-test-ldouble.c): Likewise.
83752         (CFLAGS-test-double.c): Likewise.
83753         (CFLAGS-test-float.c): Likewise.
83754         (CFLAGS-test-misc.c): Likewise.
83755         (CFLAGS-test-test-fenv.c): Likewise.
83757 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83759         [BZ #2550]
83760         [BZ #2570]
83761         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83762         comparisons to determine direction to adjust input.
83764 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83766         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83767         output to the target.
83769         * scripts/localplt.awk: New file.
83770         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83771         (check-localplt-CFLAGS): Variable removed.
83772         ($(all-built-dso:=.jmprel)): New static pattern rule.
83773         (generated): Add those targets.
83774         (localplt-built-dso): New variable.
83775         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83777         * elf/check-localplt.c: File removed.
83779         * scripts/check-execstack.awk: New file.
83780         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83781         (check-execstack-CFLAGS): Variable removed.
83782         ($(objpfx)check-execstack.h): Target removed.
83783         ($(objpfx)execstack-default): New target.
83784         (generated): Add that instead of check-execstack.h.
83785         ($(all-built-dso:=.phdr)): New static pattern rule.
83786         (generated): Add those targets.
83787         * elf/check-execstack.c: File removed.
83789         * scripts/check-textrel.awk: New file.
83790         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83791         (check-textrel-CFLAGS): Variable removed.
83792         (all-built-dso): Use := to define.o
83793         ($(all-built-dso:=.dyn)): New static pattern rule.
83794         (generated): Add those targets.
83795         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83796         * config.make.in (READELF): New substituted variable.
83797         * elf/check-textrel.c: File removed.
83799 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83801         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83802         allow.
83803         * conform/data/ctype.h-data [C99-based standards] (isblank):
83804         Expect function.
83805         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83806         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83807         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83808         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83809         Specify type.  Require positive value.
83810         (EILSEQ): Likewise.
83811         (ERANGE): Likewise.
83812         [ISO || POSIX] (EILSEQ): Do not expect.
83813         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83814         Specify type.  Require positive value.
83815         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83816         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83817         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83818         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83819         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83820         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83821         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83822         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83823         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83824         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83825         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83826         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83827         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83828         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83829         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83830         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83831         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83832         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83833         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83834         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83835         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83836         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83837         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83838         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83839         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83840         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83841         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83842         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83843         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83844         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83845         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83846         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83847         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83848         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83849         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83850         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83851         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83852         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83853         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83854         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83855         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83856         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83857         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83858         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83859         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83860         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83861         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83862         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83863         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83864         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83865         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83866         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83867         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83868         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83869         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83870         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83871         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83872         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83873         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83874         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83875         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83876         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83877         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83878         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83879         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83880         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83881         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83882         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83883         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83884         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83885         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83886         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83887         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83888         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83889         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83890         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83891         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83892         Require >= 2.
83893         (FLT_ROUNDS): Expect as macro, not constant.
83894         (FLT_MANT_DIG): Use macro-int-constant.
83895         (DBL_MANT_DIG): Likewise.
83896         (LDBL_MANT_DIG): Likewise.
83897         (FLT_DIG): Likewise.
83898         (DBL_DIG): Likewise.
83899         (LDBL_DIG): Likewise.
83900         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83901         (DBL_MIN_EXP): Likewise.
83902         (LDBL_MIN_EXP): Likewise.
83903         (FLT_MAX_EXP): Use macro-int-constant.
83904         (DBL_MAX_EXP): Likewise.
83905         (LDBL_MAX_EXP): Likewise.
83906         (FLT_MAX_10_EXP): Likewise.
83907         (DBL_MAX_10_EXP): Likewise.
83908         (LDBL_MAX_10_EXP): Likewise.
83909         (FLT_MAX): Use macro-constant.
83910         (DBL_MAX): Likewise.
83911         (LDBL_MAX): Likewise.
83912         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83913         (DBL_EPSILON): Likewise.
83914         (LDBL_EPSILON): Likewise.
83915         (FLT_MIN): Likewise.
83916         (DBL_MIN): Likewise.
83917         (LDBL_MIN): Likewise.
83918         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83919         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83920         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83921         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83922         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83923         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83924         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83925         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83926         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83927         [ISO11] (FLT_TRUE_MIN): Likewise.
83928         [ISO11] (LDBL_TRUE_MIN): Likewise.
83929         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83930         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83931         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83932         (SCHAR_MAX): Likewise.
83933         (UCHAR_MAX): Likewise.
83934         (CHAR_MIN): Likewise.
83935         (CHAR_MAX): Likewise.
83936         (MB_LEN_MAX): Use macro-int-constant.
83937         (SHRT_MIN): Use macro-int-constant.  Specify type.
83938         (SHRT_MAX): Likewise.
83939         (USHRT_MAX): Likewise.
83940         (INT_MAX): Likewise.
83941         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83942         bound negative.
83943         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83944         bound with "U".
83945         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83946         bound with "L".
83947         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83948         bound negative.  Suffix upper bound with "L".
83949         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83950         bound with "UL".
83951         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83952         Specify type.
83953         [C99-based standards] (LLONG_MAX): Likewise.
83954         [C99-based standards] (ULLONG_MAX): Likewise.
83955         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83956         == 0.
83957         [ISO11] (max_align_t): Require type.
83958         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83960         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83961         from $CFLAGS, without defining away __attribute__ calls.
83962         (checknamespace): Use $CFLAGS_namespace.
83964         * conform/conformtest.pl (@keywords): Only include C99 keywords
83965         for standards based on C99 or C11.
83967         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83968         Disable tests.
83969         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83970         UNIX98]: Likewise.
83972         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83973         usability of symbols in #if.
83975         * conform/conformtest.pl: If macro or constant types start
83976         "promoted:", expect the symbol to be of the following type
83977         promoted by the integer promotions.
83979         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83980         in one place.  Also handle "macro-constant".
83982         * conform/conformtest.pl: Only accept expected macro values with
83983         "==".  Parse all "macro" lines in one place.
83984         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83986         * conform/conformtest.pl: Handle braced types on "constant" lines
83987         instead of handling "typed-constant".
83988         * conform/data/signal.h-data: Use "constant" instead of
83989         "typed-constant".
83991         * conform/conformtest.pl: Handle "optional-" at start of lines in
83992         one place rather than duplicating several cases.  Handle each
83993         format of "macro" line with initial "optional-".
83995         * conform/conformtest.pl: Only accept expected constant or
83996         optional-constant values with "==".  Parse all "constant" lines in
83997         one place.  Parse all "optional-constant" lines in one place.
83998         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83999         * conform/data/fmtmsg.h-data: Likewise.
84000         * conform/data/netinet/in.h-data: Likewise.
84001         * conform/data/tar.h-data: Likewise.
84002         * conform/data/limits.h-data: Use "==" form on "constant" and
84003         "optional-constant" lines.
84005         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
84006         Use -std=c99 for XOPEN2K.
84007         (@knownproblems): Remove.
84008         (newtoken): Don't check %isknown.
84010         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
84011         Do not expect macro.
84012         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
84013         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
84014         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
84015         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
84016         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
84017         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
84018         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
84019         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
84020         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
84021         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
84022         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
84023         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
84024         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
84025         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
84026         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
84027         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
84028         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
84029         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
84030         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
84031         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
84032         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
84033         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
84034         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
84035         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
84036         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
84037         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
84038         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
84039         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
84040         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
84041         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
84042         [XPG3] (acosh): Likewise.
84043         [XPG3] (asinh): Likewise.
84044         [XPG3] (atanh): Likewise.
84045         [XPG3] (cbrt): Likewise.
84046         [XPG3] (expm1): Likewise.
84047         [XPG3] (ilogb): Likewise.
84048         [XPG3] (log1p): Likewise.
84049         [XPG3] (logb): Likewise.
84050         [XPG3] (nextafter): Likewise.
84051         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
84052         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84053         [XPG3] (remainder): Likewise.
84054         [XPG3] (rint): Likewise.
84055         [XPG3 || XPG4 || UNIX98] (round): Likewise.
84056         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
84057         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
84058         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
84059         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
84060         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
84061         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
84062         [UNIX98 || XOPEN2K] (scalb): Expect.
84063         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84064         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84065         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84066         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84067         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84068         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84069         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84070         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84071         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84072         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84073         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84074         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84075         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84076         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84077         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84078         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84079         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84080         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84081         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84082         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84083         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84084         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84085         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84086         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84087         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84088         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84089         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84090         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84091         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84092         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84093         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84094         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84095         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84096         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84097         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84098         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84099         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84100         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84101         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84102         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84103         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84104         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84105         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84106         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84107         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84108         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84109         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84110         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84111         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84112         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84113         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84114         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84115         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84116         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84117         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84118         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84119         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84120         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84121         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84122         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84123         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84124         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84125         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84126         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84127         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84128         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84129         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84130         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84131         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84132         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84133         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84134         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84135         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84136         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84137         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84138         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84139         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84140         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84141         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84142         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84143         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84144         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84145         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84146         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84147         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84148         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84149         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84150         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84151         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84152         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84153         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84154         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84155         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84156         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84157         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84158         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84159         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84160         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84161         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84162         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84163         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84164         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84165         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84166         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84167         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84168         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84169         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84170         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84171         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84172         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84173         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84174         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84175         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84176         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84177         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84178         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84179         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84180         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84181         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84182         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84183         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84184         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84185         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84186         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84187         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84188         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84189         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84190         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84191         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84192         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84193         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84194         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84195         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84196         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84197         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84198         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84199         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84201         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84202         _XOPEN_SOURCE_EXTENDED for XPG4.
84204         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84206         * Makeconfig (localtime): Remove variable.
84207         (inst_localtime-file): Likewise.
84209 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84212         Update.
84213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84214         Update.
84215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84216         Update.
84217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84218         Update.
84219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84220         Update.
84221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84222         Update.
84223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84224         Update.
84225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84226         Update.
84227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84228         Update.
84230 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84232         [BZ #2550]
84233         [BZ #2570]
84234         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84235         comparisons to determine direction to adjust input.
84236         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84237         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84238         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84239         Likewise.
84240         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84241         Likewise.
84242         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84243         Likewise.
84244         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84245         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84246         Likewise.
84247         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84248         Likewise.
84249         * math/libm-test.inc (nexttoward_test): Add more tests.
84251 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84253         [BZ #14040]
84254         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84255         in version GLIBC_2.1, not GLIBC_2.0.
84256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84257         Likewise.
84259 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84261         [BZ #13942]
84262         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84263         (1 - x) * (1 + x).
84264         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84265         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84266         * math/libm-test.inc (acos_test): Add more tests.
84267         (asin_test): Likewise.
84268         * sysdeps/i386/fpu/libm-test-ulps: Update.
84269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84271         [BZ #14034]
84272         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84273         of square root.
84274         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84275         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84276         * math/libm-test.inc (acos_test_tonearest): New function.
84277         (acos_test_towardzero): Likewise.
84278         (acos_test_downward): Likewise.
84279         (acos_test_upward): Likewise.
84280         (asin_test_tonearest): Likewise.
84281         (asin_test_towardzero): Likewise.
84282         (asin_test_downward): Likewise.
84283         (asin_test_upward): Likewise.
84284         (main): Call the new functions.
84285         * sysdeps/i386/fpu/libm-test-ulps: Update.
84286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84288         [BZ #13884]
84289         [BZ #13924]
84290         * math/e_exp10.c: Include <float.h>.
84291         (__ieee754_exp10): Handle underflow here rather than multiplying
84292         large negative argument by M_LN10.
84293         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84294         of __ieee754_expf.
84295         * math/e_exp10l.c: Include <float.h>.
84296         (__ieee754_exp10l): Handle underflow here rather than multiplying
84297         large negative argument by M_LN10l.
84298         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84299         spurious overflow exception on underflow.
84301 2012-04-29  Marek Polacek  <polacek@redhat.com>
84303         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84304         (__fortify_function): New macro.
84305         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84306         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84307         __extern_always_inline.
84308         * libio/bits/stdio2.h: Likewise.
84309         * libio/bits/stdio.h: Likewise.
84310         * string/string.h: Likewise.
84311         * string/bits/string3.h: Likewise.
84312         * include/stdio.h: Likewise.
84313         * stdlib/bits/stdlib.h: Likewise.
84314         * stdlib/stdlib.h: Likewise.
84315         * rt/bits/mqueue2.h: Likewise.
84316         * rt/mqueue.h: Likewise.
84317         * posix/bits/unistd.h: Likewise.
84318         * posix/unistd.h: Likewise.
84319         * io/bits/poll2.h: Likewise.
84320         * io/bits/fcntl2.h: Likewise.
84321         * io/fcntl.h: Likewise.
84322         * io/sys/poll.h: Likewise.
84323         * misc/bits/syslog.h: Likewise.
84324         * misc/bits/syslog-ldbl.h: Likewise.
84325         * misc/sys/syslog.h: Likewise.
84326         * socket/bits/socket2.h: Likewise.
84327         * socket/sys/socket.h: Likewise.
84328         * debug/tst-chk1.c: Likewise.
84329         * wcsmbs/bits/wchar2.h: Likewise.
84330         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84331         * wcsmbs/wchar.h: Likewise.
84333 2012-04-29  Andreas Jaeger  <aj@suse.de>
84335         * Makerules (tests): Remove enable-check-abi protection.
84336         (check-abi-warn): Remove.
84337         (check-abi-%): Remove check-abi-warn usage.
84339         * configure.in: Remove check-abi configure option.
84340         * configure: Regenerated.
84341         * config.make.in (enable-check-abi): Remove.
84343 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84345         [BZ #14033]
84346         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84347         double functions to double *_finite functions.
84349         [BZ #13941]
84350         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84351         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84352         LDBL_MIN_EXP.
84353         * stdio-common/Makefile (tests): Add tst-sprintf3.
84354         * stdio-common/tst-sprintf3.c: New file.
84356         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84357         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84359 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84361         * conform/conformtest.pl: Remove duplicate typed-constant
84362         handling.
84364 2012-04-28  David S. Miller  <davem@davemloft.net>
84366         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84367         (check-abi-%): Remove AWK script prerequisite and explicit
84368         abilist directory.
84369         (check-abi): Rewrite to just diff the symlist with the abilist.
84370         (config-tls, config-abi-config): Delete, no longer used.
84371         (update-abi-%): Remove AWK script and explicit abilist directory.
84372         (update-abi): Rewrite to simply compare and conditionally copy the
84373         symlist and the sysdep abilist file.  Remove update-abi-config
84374         checks.
84375         * abilist/ld.abilist: Remove.
84376         * abilist/libBrokenLocale.abilist: Remove.
84377         * abilist/libanl.abilist: Remove.
84378         * abilist/libcrypt.abilist: Remove.
84379         * abilist/libdl.abilist: Remove.
84380         * abilist/librt.abilist: Remove.
84381         * abilist/libthread_db.abilist: Remove.
84382         * abilist/libutil.abilist: Remove.
84383         * scripts/extract-abilist.awk: Remove.
84384         * scripts/merge-abilist.awk: Remove.
84385         * sysdeps/generic/libcidn.abilist: New file.
84386         * sysdeps/generic/libnss_compat.abilist: New file.
84387         * sysdeps/generic/libnss_db.abilist: New file.
84388         * sysdeps/generic/libnss_dns.abilist: New file.
84389         * sysdeps/generic/libnss_files.abilist: New file.
84390         * sysdeps/generic/libnss_hesiod.abilist: New file.
84391         * sysdeps/generic/libnss_nis.abilist: New file.
84392         * sysdeps/generic/libnss_nisplus.abilist: New file.
84393         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84394         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84395         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84396         file.
84397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84398         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84399         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84400         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84401         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84402         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84403         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84404         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84405         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84406         file.
84407         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84408         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84409         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84410         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84411         file.
84412         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84413         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84414         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84415         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84416         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84417         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84418         file.
84419         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84420         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84421         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84422         file.
84423         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84425         New file.
84426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84427         New file.
84428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84429         New file.
84430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84431         New file.
84432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84433         New file.
84434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84435         New file.
84436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84437         New file.
84438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84439         New file.
84440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84441         New file.
84442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84443         New file.
84444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84445         New file.
84446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84447         New file.
84448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84449         New file.
84450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84451         file.
84452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84453         New file.
84454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84455         New file.
84456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84457         file.
84458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84459         New file.
84460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84461         New file.
84462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84463         file.
84464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84465         New file.
84466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84467         New file.
84468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84469         New file.
84470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84471         New file.
84472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84473         New file.
84474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84475         New file.
84476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84478         file.
84479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84480         New file.
84481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84482         file.
84483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84484         file.
84485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84486         file.
84487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84488         file.
84489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84490         file.
84491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84492         New file.
84493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84494         file.
84495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84496         file.
84497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84498         New file.
84499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84500         file.
84501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84503         file.
84504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84505         New file.
84506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84507         file.
84508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84509         file.
84510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84511         file.
84512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84513         file.
84514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84515         file.
84516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84517         New file.
84518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84519         file.
84520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84521         file.
84522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84523         New file.
84524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84525         file.
84526         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84527         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84528         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84529         file.
84530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84531         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84532         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84533         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84534         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84535         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84536         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84537         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84538         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84539         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84542         file.
84543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84544         New file.
84545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84546         file.
84547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84548         file.
84549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84550         file.
84551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84552         file.
84553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84554         file.
84555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84556         New file.
84557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84558         New file.
84559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84560         file.
84561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84562         New file.
84563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84564         file.
84565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84567         file.
84568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84569         New file.
84570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84571         file.
84572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84573         file.
84574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84575         file.
84576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84577         file.
84578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84579         file.
84580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84581         New file.
84582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84583         New file.
84584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84585         file.
84586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84587         New file.
84588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84589         file.
84591 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84593         * conform/conformtest.pl: Fix typo in handling typed-constant from
84594         allow-header.
84596 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84598         * README: Cut down references to pre-2.6 Linux kernels and
84599         Linuxthreads.  Update lists of configurations in libc and ports
84600         and sort alphabetically.  Say "or newer" with Linux kernel version
84601         requirements.
84603         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84605 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84607         [BZ #887]
84608         * math/libm-test.inc (logb_test_downward): New test to expose
84609         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84610         rounding mode.
84612 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84614         [BZ #14027]
84615         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84616         to be done.
84617         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84618         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84620 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84622         * sysdeps/unix/i386/brk.S: Remove file.
84623         * sysdeps/unix/i386/dl-brk.S: Likewise.
84624         * sysdeps/unix/i386/pipe.S: Likewise.
84625         * sysdeps/unix/i386/sigreturn.S: Likewise.
84626         * sysdeps/unix/i386/syscall.S: Likewise.
84627         * sysdeps/unix/i386/vfork.S: Likewise.
84628         * sysdeps/unix/i386/wait.S: Likewise.
84630         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84631         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84633         * configure.in (arm*-none*): Do not allow without
84634         --enable-hacker-mode.
84635         (netbsd*): Remove case setting base_os.
84636         (386bsd*): Likewise.
84637         (freebsd*): Likewise.
84638         (bsdi*): Likewise.
84639         (osf*): Likewise.
84640         (sunos*): Likewise.
84641         (ultrix*): Likewise.
84642         (newsos*): Likewise.
84643         (dynix*): Likewise.
84644         (*bsd*): Likewise.
84645         (sysv*): Likewise.
84646         (isc*): Likewise.
84647         (esix*): Likewise.
84648         (sco*): Likewise.
84649         (minix*): Likewise.
84650         (irix4*): Likewise.
84651         (irix6*): Likewise.
84652         (solaris[2-9]*): Likewise.
84653         (none): Likewise.
84654         * configure: Regenerated.
84656 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84658         [BZ #11521]
84659         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84660         overflow or cancellation in calculating denominator.
84661         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84662         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84663         down expression to avoid unexpected rounding in newer GCCs.
84664         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84666 2012-04-26  David S. Miller  <davem@davemloft.net>
84668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84669         long-double compat symbols.
84670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84684 2012-04-25  David S. Miller  <davem@davemloft.net>
84686         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84687         HWCAP_* values only after the memory barriers have been defined.
84688         (atomic_full_barrier): Define.
84689         (atomic_read_barrier): Define.
84690         (atomic_write_barrier): Define.
84692 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84694         * shlib-versions: Add libgcc_s version information.
84695         * sysdeps/generic/libgcc_s.h: Remove.
84696         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84697         libgcc_s.h.
84698         * sysdeps/gnu/unwind-resume.c: Likewise.
84699         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84701 2012-04-25  David S. Miller  <davem@davemloft.net>
84703         * sysdeps/unix/sparc/brk.S: Delete.
84704         * sysdeps/unix/sparc/dl-brk.S: Delete.
84705         * sysdeps/unix/sparc/pipe.S: Delete.
84706         * sysdeps/unix/sparc/sysdep.S: Delete.
84707         * sysdeps/unix/sparc/sysdep.h: Delete.
84708         * sysdeps/unix/sparc/vfork.S: Delete.
84709         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84710         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84711         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84712         (ret_ERRVAL, r0, r1, MOVE): Define.
84713         (JUMPTARGET): Remove.
84714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84715         sysdeps/unix/sparc/sysdep.h
84716         (ENTRY, END): Remove.
84717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84719 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84721         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84722         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84723         -DIS_IN_build.
84725         * timezone/README: Update upstream location and email address for
84726         tzcode and tzdata.
84727         * timezone/zdump.c: Update from tzcode 2012b.
84728         * timezone/zic.c: Likewise.
84730         * configure.in (libc_cv_as_needed): Remove test.
84731         * configure: Regenerated.
84732         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84733         conditional definition.
84734         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84735         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84736         * config.make.in (have-as-needed): Remove variable.
84738 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84739             Paul Pluzhnikov  <ppluzhnikov@google.com>
84741         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84742         strings correctly.
84744 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84746         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84747         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84748         * sysdeps/sh/strlen.S: Likewise.
84750 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84752         * sysdeps/unix/fork.S: Remove file.
84753         * sysdeps/unix/i386/fork.S: Likewise.
84754         * sysdeps/unix/sparc/fork.S: Likewise.
84756         * sysdeps/unix/system.c: Remove file.
84757         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84759         * sysdeps/unix/getegid.S: Remove file.
84760         * sysdeps/unix/geteuid.S: Likewise.
84762 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84764         * scripts/check-localplt.awk: New file.
84765         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84766         of diff.
84767         * scripts/data/localplt-generic.data: Add a comment.
84769         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84770         NODE when __dir_mkfile failed.
84771         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84772         Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84774 2012-04-24  Andreas Jaeger  <aj@suse.de>
84776         * Makerules (common-clean): Also remove gen-as-const-headers
84777         files.
84779 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84781         * Makerules (native-compile): Do not change working directory for
84782         build.  Use $(OUTPUT_OPTION) in command.
84783         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84785 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84787         [BZ #13886]
84788         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84789         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84790         * math/libm-test.inc (floor_test): Add more tests.
84791         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84793 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84795         * sysdeps/unix/getdents.c: Remove file.
84796         * sysdeps/unix/sysv/getdents.c: Likewise.
84797         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84799         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84800         sysdeps/unix/mman/syscalls.list.
84801         (mmap): Likewise.
84802         (mprotect): Likewise.
84803         (msync): Likewise.
84804         (munmap): Likewise.
84805         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84806         * sysdeps/unix/mman/syscalls.list: Remove.
84807         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84809         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84810         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84811         * configure: Regenerated.
84812         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84813         $(libgcc_s_suffix).
84814         * config.make.in (libgcc_s_suffix): Remove variable.
84816 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84818         * sysdeps/unix/sysv/gethostname.c: Move to ...
84819         * sysdeps/posix/gethostname.c: ... here.
84821         * sysdeps/unix/execve.S: Remove file.
84823         * sysdeps/unix/_exit.S: Remove file.
84825 2012-04-23  Andreas Jaeger  <aj@suse.de>
84827         [BZ #13739]
84828         * manual/Makefile: Remove make dist support, there's no
84829         need for a stand-alone documentation tar ball.
84830         (TEXI2DVI): Define always, it's not in Makeconfig.
84831         (dist): Removed.
84832         (tar-it): Removed.
84833         (edition): Removed.
84834         (glibc-doc-$(edition).tar): Removed
84835         (%.Z): Removed.
84836         (%.gz): Removed.
84837         (%.uu): Removed.
84838         (ETAGS): Remove, it's in Makeconfig.
84839         (move-if-change): Remove, it's in Makeconfig.
84841 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84843         [BZ #13970]
84844         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84845         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84846         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84847         (strtod_l, strtof_l, strtold_l): Remove __wur.
84848         It is not necessarily an error to ignore strtol's return value.
84849         One can reliably look at the stored endptr to decide whether
84850         the number had valid syntax.
84852 2012-04-21  Andreas Jaeger  <aj@suse.de>
84854         [BZ #13739]
84855         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84857 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84859         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84860         * sysdeps/unix/sysv/Versions: Remove file.
84862 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84864         [BZ #13927]
84865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84867 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84869         [BZ #7064]
84870         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84871         version from __vm86.
84873 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84875         * sysdeps/unix/common/lxstat.c: Remove file.
84876         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84878         * sysdeps/unix/sysv/Makefile: Remove file.
84880         * sysdeps/unix/sysv/direct.h: Remove file.
84882         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84883         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84884         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84885         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84886         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84887         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84888         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84890         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84892         * sysdeps/unix/xmknod.c: Remove file.
84893         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84895         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84897         * sysdeps/unix/sysv/i386/time.S: Remove file.
84899         * sysdeps/unix/fxstat.c: Remove file.
84900         * sysdeps/unix/xstat.c: Likewise.
84901         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84903         * sysdeps/unix/sysv/sigaction.c: Remove file.
84905         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84906         (sysdep_headers): Remove variable.
84907         [termio.h not in sysdep_headers] (generated): Likewise.
84908         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84909         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84910         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84911         * sysdeps/unix/sysv/tcflow.c: Likewise.
84912         * sysdeps/unix/sysv/tcflush.c: Likewise.
84913         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84914         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84915         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84916         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84917         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84919         * sysdeps/unix/siglist.c: Remove file.
84921         * sysdeps/unix/getppid.S: Remove file.
84923         * sysdeps/unix/mkdir.c: Remove file.
84924         * sysdeps/unix/rmdir.c: Likewise.
84926 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84928         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84929         ERR_MAX value.
84930         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84931         errlist-compat value.
84933 2012-04-18  David S. Miller  <davem@davemloft.net>
84935         * sysdeps/generic/memcopy.h (reg_char): Delete.
84936         * debug/strcat_chk.c: Use char, not reg_char.
84937         * debug/strcpy_chk.c: Likewise.
84938         * debug/strncat_chk.c: Likewise.
84939         * debug/strncpy_chk.c: Likewise.
84940         * string/memchr.c: Likewise.
84941         * string/memrchr.c: Likewise.
84942         * string/rawmemchr.c: Likewise.
84943         * string/strcat.c: Likewise.
84944         * string/strchr.c: Likewise.
84945         * string/strchrnul.c: Likewise.
84946         * string/strcmp.c: Likewise.
84947         * string/strcpy.c: Likewise.
84948         * string/strncat.c: Likewise.
84949         * string/strncmp.c: Likewise.
84950         * string/strncpy.c: Likewise.
84952 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84954         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84955         __builtin_memcopy is called when src and dest ranges are known to not
84956         overlap.
84958 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84960         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84961         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84962         fwd_align_merge macro call.
84963         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84964         bwd_align_merge macro call.
84965         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84967 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84969         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84970         bwd_align_merge macros.
84971         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84972         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84973         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84975 2012-04-18  David S. Miller  <davem@davemloft.net>
84977         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84979 2012-04-18  Andreas Jaeger  <aj@suse.de>
84981         [BZ #6794]
84982         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84983         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84984         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84986         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84987         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84988         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84990         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84991         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84992         Adjust for changed ldbl-128 files.
84994         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84995         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84996         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84998 2012-04-17  David S. Miller  <davem@davemloft.net>
85000         * sysdeps/sparc/sparc32/memcopy.h: Delete.
85002 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
85004         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
85005         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
85006         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
85007         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
85008         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
85009         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
85011 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85013         [BZ #6794]
85014         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
85015         * math/libm-test.inc: Add ilogb errno and exception tests.
85016         * math/w_ilogb.c: New file: ilogb wrapper.
85017         * math/w_ilogbf.c: New file: ilogbf wrapper.
85018         * math/w_ilogbl.c: New file: ilogbl wrapper.
85019         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
85020         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
85021         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
85022         exception being thrown with 0.0 as argument.
85023         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
85024         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
85025         exception being thrown with 0.0 as argument.
85026         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
85027         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85028         exception being thrown with 0.0 as argument.
85029         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
85030         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85031         exception being thrown with 0.0 as argument.
85032         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
85033         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
85034         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
85035         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
85036         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
85037         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
85038         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
85039         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
85040         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
85042 2012-04-17  Petr Baudis  <pasky@ucw.cz>
85044         * include/sys/uio.h: Change __vector to __iovec to avoid clash
85045         with altivec.
85047 2012-04-16  Marek Polacek  <polacek@redhat.com>
85049         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
85051 2012-04-16  Marek Polacek  <polacek@redhat.com>
85053         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
85054         operands of fdivp instruction.
85056 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
85058         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
85059         * elf/tst-auditmod3b.c: Likewise.
85060         * elf/tst-auditmod4b.c: Likewise.
85061         * elf/tst-auditmod5b.c: Likewise.
85062         * elf/tst-auditmod6b.c: Likewise.
85063         * elf/tst-auditmod6c.c: Likewise.
85064         * elf/tst-auditmod7b.c: Likewise.
85065         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85066         * sysdeps/x86_64/preconfigure.in: Likewise.
85067         * sysdeps/x86_64/preconfigure: Regenerated.
85069 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
85071         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85072         __ILP32__.
85074 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
85076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85077         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85079 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
85081         [BZ #13973]
85082         * locale/iso-639.def: Fix gl language name. Spotted by
85083         Yaron Shahrabani.
85085 2012-04-12  Roland McGrath  <roland@hack.frob.com>
85087         [BZ #2074]
85088         * libio/libio.h (__io_write_fn): Update comment.
85090 2012-04-12  Petr Baudis  <pasky@ucw.cz>
85092         [BZ #2074]
85093         * stdio.texi (Hook Functions): The user provided writer function
85094         is not allowed to return -1.
85096 2012-04-11  David S. Miller  <davem@davemloft.net>
85098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85100 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
85102         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85103         Add a leading slash to rtkaio.
85105 2012-04-11  Jim Meyering  <meyering@redhat.com>
85107         [BZ #11959]
85108         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85109         It is not necessarily an error to ignore fwrite's return
85110         value.  One can reliably use ferror to test for errors after
85111         the fact.
85113 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85115         * bits/types.h (__snseconds_t): New type.
85116         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85118         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85119         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85120         (__SNSECONDS_T_TYPE): Likewise.
85121         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85122         (__SNSECONDS_T_TYPE): Likewise.
85123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85124         (__SNSECONDS_T_TYPE): Likewise.
85126 2012-04-10  Andreas Jaeger  <aj@suse.de>
85128         [BZ #2636]
85129         * manual/time.texi (Processor Time): Return type of times is
85130         elapsed real time since an arbitrary point in the past.
85131         (CPU Time): Move CLK_TCK from here...
85132         (Processor Time): ...to here.  Correct description.
85133         * manual/conf.texi (Constants for Sysconf): Correct description of
85134         _SC_CLK_TCK.
85136 2012-04-10  David S. Miller  <davem@davemloft.net>
85138         [BZ #13967]
85139         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85140         where the is a gap between DT_REL(A) and DT_JMPREL.
85142 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85144         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85145         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85146         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85148 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
85150         * elf/dl-support.c (_dl_inhibit_cache): New variable.
85151         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85152         (dl_main): Handle --inhibit-cache.
85153         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85154         _dl_inhibit_cache.
85155         * elf/dl-load.c (_dl_map_object): Use it.
85156         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85158 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85160         [BZ #13872]
85161         * sysdeps/i386/fpu/e_powl.S (p78): New object.
85162         (__ieee754_powl): Saturate large exponents rather than testing for
85163         overflow of y*log2(x).
85164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85165         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85166         exceptions.
85168         [BZ #11521]
85169         * math/s_ctan.c: Include <float.h>.
85170         (__ctan): Avoid internal overflow or cancellation in calculating
85171         denominator.
85172         * math/s_ctanf.c: Likewise.
85173         * math/s_ctanl.c: Likewise.
85174         * math/s_ctanh.c: Likewise.
85175         * math/s_ctanhf.c: Likewise.
85176         * math/s_ctanhl.c: Likewise.
85177         * math/libm-test.inc (ctan_test): Add more tests.
85178         (ctanh_test): Likewise.
85179         * sysdeps/i386/fpu/libm-test-ulps: Update.
85180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85182 2012-04-09  Andreas Jaeger  <aj@suse.de>
85184         [BZ #6894]
85185         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85186         is an optional BSD extension.
85188         [BZ #10254]
85189         * manual/stdio.texi (Opening Streams): Document additional fopen
85190         parameters.
85192 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85194         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85195         %eax without telling the compiler.
85197 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85199         [BZ # 13963]
85200         * manual/install.texi: Use sourceware.org.
85202 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85204         [BZ #13873]
85205         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85206         (__ieee754_pow): Generate overflow and underflow using huge*huge
85207         and tiny*tiny rather than just returning constant infinity or zero
85208         for large exponents.
85209         * math/libm-test.inc (pow_test): Require overflow exceptions for
85210         applicable cases of large exponents.
85212         [BZ #706]
85213         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85214         (__ieee754_pow): Use iterative multiplication algorithm only for
85215         integer exponents with absolute value below 1024.  Check for odd
85216         integer exponents when using algorithm for real exponents.
85217         * math/libm-test.inc (pow_test): Add more tests.
85218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85220 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85222         [BZ #13705]
85223         * math/libm-test.inc (exp_test): Do not allow overflow exception
85224         on underflow test.
85226 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85228         [BZ #13705]
85229         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85230         instead of __kernel_standard_f.
85232 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85234         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85235         * sysdeps/x86_64/memset_chk.S: Likewise.
85237 2012-04-08  Andreas Jaeger  <aj@suse.de>
85239         [BZ #10153]
85240         * manual/startup.texi (Environment Access): Describe return value
85241         for putenv and setenv.
85243         [BZ #6895]
85244         * manual/filesys.texi (Directory Entries): Add description for
85245         DT_LNK.
85247         [BZ #6890]
85248         * manual/filesys.texi (Directory Entries): Clarify that it's file
85249         system not operating system in the description of DT_UNKNOWN.
85251         [BZ #6578]
85252         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85254 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85256         [BZ #6649]
85257         * manual/llio.texi (Opening and Closing Files): Add cross
85258         reference to explain mode argument.
85260 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85262         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85263         * sysdeps/x86_64/memset_chk.S: Likewise.
85265 2012-04-07  David S. Miller  <davem@davemloft.net>
85267         * elf/elf.h (R_SPARC_WDISP10): Define.
85268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85269         R_SPARC_SIZE32.
85270         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85271         R_SPARC_SIZE64 and R_SPARC_H34.
85273 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85275         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85276         conditions and remove no longer applicable assertion.
85278 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85280         * bits/byteswap.h: Include <features.h>.
85281         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85282         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85284 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85286         * bits/byteswap.h (__bswap_16): Removed.
85287         Include <bits/byteswap-16.h> to get __bswap_16.
85288         * sysdeps/i386/bits/byteswap.h: Likewise.
85289         * sysdeps/s390/bits/byteswap.h: Likewise.
85290         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85291         * bits/byteswap-16.h: New file.
85292         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85293         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85294         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85295         * string/Makefile (headers): Add bits/byteswap-16.h.
85297 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85299         [BZ #13895]
85300         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85301         extra indirection.
85302         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85303         * nss/tst-nss-static.c: New.
85305 2012-04-06  Robert Millan  <rmh@gnu.org>
85307         [BZ #6486]
85308         * manual/llio.texi (File Position Primitive): lseek
85309         refers to WHENCE when it really means OFFSET.
85311 2012-04-06  Andreas Jaeger  <aj@suse.de>
85313         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85314         strncmp declarations.
85316         * abilist/libc.abilist: Add __poll and __ppoll.
85318 2012-04-05  David S. Miller  <davem@davemloft.net>
85320         * scripts/check-local-headers.sh: Accept a host triplet in the
85321         path matched by the exclude regexp.
85323         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85324         definition.
85325         * sysdeps/powerpc/powerpc32/dl-machine.h
85326         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85327         * sysdeps/s390/s390-32/dl-machine.h
85328         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85329         * sysdeps/sparc/sparc32/dl-machine.h
85330         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85331         * sysdeps/sparc/sparc64/dl-machine.h
85332         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85334         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85335         lazy binding.
85336         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85337         undefined symbol errors.
85339         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85340         DT_NEEDED entries.
85342 2012-04-05  Michael Matz  <matz@suse.de>
85344         [BZ #13592]
85345         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85347 2012-04-05  Andreas Jaeger  <aj@suse.de>
85349         [BZ #13908]
85350         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85351         comment.
85353 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85355         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85356         which ROUND is no valid rounding mode.
85358 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85360         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85361         read again.
85362         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85364 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85366         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85367         an exception using FPU order intentionally.
85369 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85371         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85372         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85373         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85374         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85376 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85378         [BZ #12340]
85379         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85380         EINVAL when BUFLEN is too smal.
85382 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85384         [BZ #13553]
85385         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85386         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85388 2012-04-03  Andreas Jaeger  <aj@suse.de>
85390         [BZ #13938]
85391         * manual/setjmp.texi (System V contexts): Fix sentence.
85393         [BZ #13926]
85394         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85395         New macro for this case.
85396         [!__GNUC__] (__bswap_64): New inline function for this case.
85397         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85398         * bits/byteswap.h: Likewise.
85399         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85400         ull, guard with __GLIBC_HAVE_LONG_LONG.
85402         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85403         __GLIBC_HAVE_LONG_LONG.
85405         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85406         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85408 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85410         [BZ #13691]
85411         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85412         inptr and inend, rather than using last_ch.
85414 2012-04-02  David S. Miller  <davem@davemloft.net>
85416         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85417         * stdio-common/printf-parse.h (read_int): Change return type to
85418         'int', return -1 on INT_MAX overflow.
85419         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85420         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85421         overflows INT_MAX.  Check for overflow of in-format-string precision
85422         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85423         SIZE_MAX not INT_MAX for integer overflow test.
85424         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85425         skip the construct in the format string but do not record anything.
85426         * stdio-common/bug22.c: Adjust to test both width/prevision
85427         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85428         explicitly for proper errno values.
85430 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85432         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85433         CHAR_MAX.
85434         * string/test-strcmp.c [! WIDE]: Likewise.
85435         * time/tst-mktime2.c: Likewise for INT_MAX.
85436         * string/test-string.h: #include <sys/param.h> for MIN.
85438         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85439         * sysdeps/i386/init-first.c (init): Likewise.
85440         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85441         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85442         * sysdeps/sh/init-first.c (init): Likewise.
85444 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85446         * po/ru.po: Update from translation team.
85447         * po/vi.po: Likewise.
85449 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85451         * resolv/nss_dns/dns-host.c: Merge copyright years.
85453 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85455         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85456         Optimize memcpy with prefetch if
85457         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85458         src, dst pointers have unequal 16 byte alignments.
85460 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85462         [BZ #13928]
85463         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85464         from a CNAME entry and return the minimum ttl for the query.
85465         (gaih_getanswer_slice): Likewise.
85467 2012-03-30  Jeff Law  <law@redhat.com>
85469         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85470         due to long keys.
85471         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85472         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85474         * resolv/nss_dns/dns-host.c: Update copyright year.
85476 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85478         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85479         requests to save a system call.  Fix check that all bytes are sent.
85481         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85482         comments for sendmmsg.
85484 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85486         [BZ #13691]
85487         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85488         with only 1 character between 0x0041 and 0x01b0.
85489         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85490         * wcsmbs/tst-mbsnrtowcs.c: New file.
85492 2012-03-29  David S. Miller  <davem@davemloft.net>
85494         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85495         small copies by hand.
85497 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85499         [BZ #13761]
85500         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85501         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85502         group memberships.
85504 2012-03-28  David S. Miller  <davem@davemloft.net>
85506         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85507         that branches into memcpy.
85508         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85511         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85513         bits.
85514         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85515         implementation too.
85516         * sysdeps/sparc/mempcpy.S: New file.
85518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85519         the IFUNC routine in the libc case.
85520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85522         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85523         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85524         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85525         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85526         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85527         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85528         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85529         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85531         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85532         loop to 256 bytes instead of 64 bytes and fix test signedness.
85534         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85535         * sysdeps/sparc/sparc32/Makefile: rather than here...
85536         * sysdeps/sparc/sparc64/Makefile: and here.
85538 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85540         * malloc/mallocbug.c: Avoid warnings about unused variables.
85542 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85544         [BZ #13760]
85545         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85546         in the right place. Discard and retry query if response is
85547         larger than input buffer size.
85549 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85551         [BZ #369]
85552         [BZ #2678]
85553         [BZ #3866]
85554         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85555         x for large integer exponent.
85556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85557         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85558         sign of result as needed afterwards.
85559         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85560         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85561         result for underflowing pow the same as for overflow.
85562         (__kernel_standard_l): Handle powl overflow and underflow here
85563         rather than calling __kernel_standard.
85564         * math/libm-test.inc (pow_test): Add more tests.
85566         [BZ #3868]
85567         [BZ #13879]
85568         [BZ #13910]
85569         [BZ #13911]
85570         [BZ #13912]
85571         [BZ #13913]
85572         [BZ #13915]
85573         [BZ #13916]
85574         [BZ #13917]
85575         [BZ #13918]
85576         [BZ #13919]
85577         [BZ #13920]
85578         [BZ #13921]
85579         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85580         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85581         (__kernel_standard_l): New function.
85582         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85583         __kernel_standard.
85584         * math/w_acosl.c (__acosl): Likewise.
85585         * math/w_asinl.c (__asinl): Likewise.
85586         * math/w_atan2l.c (__atan2l): Likewise.
85587         * math/w_atanhl.c (__atanhl): Likewise.
85588         * math/w_coshl.c (__coshl): Likewise.
85589         * math/w_exp10l.c (__exp10l): Likewise.
85590         * math/w_exp2l.c (__exp2l): Likewise.
85591         * math/w_fmodl.c (__fmodl): Likewise.
85592         * math/w_hypotl.c (__hypotl): Likewise.
85593         * math/w_j0l.c (__j0l, __y0l): Likewise.
85594         * math/w_j1l.c (__j1l, __y1l): Likewise.
85595         * math/w_jnl.c (__jnl, __ynl): Likewise.
85596         * math/w_lgammal.c (__lgammal): Likewise.
85597         * math/w_log10l.c (__log10l): Likewise.
85598         * math/w_log2l.c (__log2l): Likewise.
85599         * math/w_logl.c (__logl): Likewise.
85600         * math/w_powl.c (__powl): Likewise.
85601         * math/w_remainderl.c (__remainderl): Likewise.
85602         * math/w_scalbl.c (sysv_scalbl): Likewise.
85603         * math/w_sinhl.c (__sinhl): Likewise.
85604         * math/w_sqrtl.c (__sqrtl): Likewise.
85605         * math/w_tgammal.c (__tgammal): Likewise.
85606         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85607         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85608         * math/libm-test.inc (acos_test): Add more tests.
85609         (acosh_test): Likewise.
85610         (asin_test): Likewise.
85611         (atanh_test): Likewise.
85612         (exp_test): Likewise.
85613         (exp10_test): Likewise.
85614         (exp2_test): Likewise.
85615         (expm1_test): Likewise.
85616         (lgamma_test): Likewise.
85617         (log_test): Likewise.
85618         (log10_test): Likewise.
85619         (log1p_test): Likewise.
85620         (log2_test): Likewise.
85621         (pow_test): Do not allow some spurious overflow exceptions.
85622         (sqrt_test): Add more tests.
85623         (tgamma_test): Likewise.
85624         (y0_test): Likewise.
85625         (y1_test): Likewise.
85626         (yn_test): Likewise.
85628 2012-03-27  Anton Blanchard  <anton@samba.org>
85630         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85631         MAP_HUGETLB.
85632         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85633         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85634         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85636 2012-03-27  David S. Miller  <davem@davemloft.net>
85638         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85640         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85641         have-as-vis3 check.
85643 2012-03-27  Andreas Jaeger  <aj@suse.de>
85645         * sysdeps/x86_64/elf/configure.in: Moved to ...
85646         * sysdeps/x86_64/configure.in: ... here.
85647         * sysdeps/x86_64/elf/start.S: Moved to ...
85648         * sysdeps/x86_64/start.S: ... here.
85649         * sysdeps/x86_64/elf/configure: Delete.
85651         * sysdeps/x86_64/configure.in: Merge contents from
85652         sysdeps/i386/configure.in (without i686 check).
85654         * sysdeps/i386/elf/Versions: Merge into ...
85655         * sysdeps/i386/Versions: ... this.
85656         * sysdeps/i386/elf/Versions: Delete file.
85657         * sysdeps/i386/elf/start.S: Moved to ...
85658         * sysdeps/i386/start.S: ...here.
85659         * sysdeps/i386/elf/configure.in: Merge into...
85660         * sysdeps/i386/configure.in: ...here.
85661         * sysdeps/i386/elf/configure.in: Delete file.
85662         * sysdeps/i386/elf/configure: Delete file.
85664         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85665         * debug/backtracesyms.c: ... here.
85666         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85667         * debug/backtracesymsfd.c: ... here.
85668         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85669         * sysdeps/generic/ifunc-sel.h: ... here.
85671         * sysdeps/unix/i386/start.c: Delete file.
85672         * sysdeps/unix/sparc/start.c: Delete file.
85673         * sysdeps/unix/start.c: Delete file.
85675         * sysdeps/sh/elf/configure.in: Moved to ...
85676         * sysdeps/sh/configure.in: ... here.
85677         * sysdeps/sh/elf/start.S: Moved to ...
85678         * sysdeps/sh/start.S: ... here.
85679         * sysdeps/sh/elf/configure: Delete file.
85681         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85682         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85683         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85684         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85685         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85686         * sysdeps/powerpc/powerpc64/start.S: here.
85687         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85688         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85689         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85690         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85691         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85693         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85694         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85695         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85696         * sysdeps/powerpc/powerpc32/start.S: ... here.
85697         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85698         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85699         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85701         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85702         * sysdeps/powerpc/ifunc-sel.h: ... here.
85703         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85704         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85706         * sysdeps/sparc/elf/configure.in: Moved to ...
85707         * sysdeps/sparc/configure.in: ... here.
85708         * sysdeps/sparc/elf/configure: Delete file.
85709         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85710         * sysdeps/sparc/sparc32/start.S: ... here.
85711         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85712         * sysdeps/sparc/sparc64/start.S: ... here.
85713         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85714         * sysdeps/sparc/sparc32/Makefile: ... this.
85715         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85716         * sysdeps/sparc/sparc64/Makefile: ... this.
85718         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85719         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85720         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85721         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85722         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85723         * sysdeps/s390/s390-32/setjmp.S: ... here.
85724         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85725         * sysdeps/s390/s390-32/configure.in: ... here.
85726         * sysdeps/s390/s390-32/elf/configure: Delete file.
85727         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85728         * sysdeps/s390/s390-32/start.S: ... here.
85730         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85731         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85732         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85733         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85734         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85735         * sysdeps/s390/s390-64/setjmp.S: ... here.
85736         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85737         * sysdeps/s390/s390-64/configure.in: ... here
85738         * sysdeps/s390/s390-64/elf/configure: Delete file.
85739         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85740         * sysdeps/s390/s390-64/start.S: ... here.
85741         * sysdeps/s390/s390-64/elf/configure: Delete.
85743         * configure.in: Remove support for elf directories in sysdeps.
85745         * configure: Regenerated.
85746         * sysdeps/i386/configure: Regenerated.
85747         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85748         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85749         * sysdeps/s390/s390-32/configure: Regenerated.
85750         * sysdeps/s390/s390-64/configure: Regenerated.
85751         * sysdeps/sh/configure: Regenerated.
85752         * sysdeps/sparc/configure: Regenerated.
85753         * sysdeps/x86_64/configure: Regenerated.
85755 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85760         denormal result into account.
85762 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85764         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85765         Reported by Allan McRae <allan@archlinux.org>.
85767 2012-03-23  Jeff Law  <law@redhat.com>
85769         * nss/getnssent.c (__nss_getent): Fix typo.
85771 2012-03-23  David S. Miller  <davem@davemloft.net>
85773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85775 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85777         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85778         to pad to uint64_t for each field.
85779         (dl_tls_index): Replace unsigned long with uint64_t.
85781 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85782         Paul Pluzhnikov  <ppluzhnikov@google.com>
85784         [BZ #6528]
85785         * grp/Makefile (otherlibs): Don't set it.
85786         * inet/Makefile (otherlibs): Likewise.
85787         * login/Makefile (otherlibs): Likewise.
85788         * nscd/Makefile (otherlibs): Likewise.
85789         * posix/Makefile (otherlibs): Likewise.
85790         * pwd/Makefile (otherlibs): Likewise.
85791         * rt/Makefile (otherlibs): Likewise.
85792         * sunrpc/Makefile (otherlibs): Likewise.
85793         * nss/Makefile (otherlibs): Likewise.
85794         Add libnss_files to routines and static-only-routines.
85795         ($(objpfx)getent): Remove rule.
85796         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85797         static-only-routines.
85799 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85801         [BZ #13892]
85802         * math/s_cexp.c: Include <float.h>.
85803         (__cexp): Handle exp result overflowing not necessarily
85804         overflowing both real and imaginary parts of result.
85805         * math/s_cexpf.c: Likewise.
85806         * math/s_cexpl.c: Likewise.
85807         * math/libm-test.inc (cexp_test): Add more tests.
85808         * sysdeps/i386/fpu/libm-test-ulps: Update.
85809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85811 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85813         * include/link.h (ELFW): New macro.
85814         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85815         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85817 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85819         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85820         with uint64_t.
85822 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85824         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85825         declaration.
85826         (struct La_x32_retval): Likewise.
85828 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85830         * sysdeps/x86_64/preconfigure.in: New file.
85831         * sysdeps/x86_64/preconfigure: New generated file.
85833 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85835         [BZ #13824]
85836         * math/e_exp2l.c: Include <float.h>.
85837         (__ieee754_exp2l): Handle overflow and underflow cases
85838         separately.  Only pass fractional part of argument to
85839         __ieee754_expl.
85840         * math/libm-test.inc (exp2_test): Add more tests.
85842         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85843         negating x to take absolute value.
85844         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85845         Likewise.
85846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85848         Likewise.
85849         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85850         computing low part if x was negated.
85851         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85853 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85855         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85856         la_x32_gnu_pltexit.
85857         (pltexit): Cast int_retval to ptrdiff_t.
85858         * elf/tst-auditmod3b.c: Likewise.
85859         * elf/tst-auditmod4b.c: Likewise.
85860         * elf/tst-auditmod5b.c: Likewise.
85861         * elf/tst-auditmod6b.c: Likewise.
85862         * elf/tst-auditmod6c.c: Likewise.
85863         * elf/tst-auditmod7b.c: Likewise.
85865         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85866         and x32_gnu_pltexit.
85868         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85869         __ELF_NATIVE_CLASS.
85870         (La_x32_regs): New macro.
85871         (La_x32_retval): Likewise.
85872         (la_x32_gnu_pltenter): New function prototype.
85873         (la_x32_gnu_pltexit): Likewise.
85875 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85878         exponent.
85880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85882         * configure.in (libc_cv_cc_nofma): Check for option to disable
85883         generation of FMA instructions.
85884         * configure: Regenerate.
85885         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85886         * sysdeps/ieee754/dbl-64/Makefile: New file.
85887         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85888         Remove brandred-fma4.
85889         (CFLAGS-brandred-fma4.c): Remove.
85890         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85891         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85892         define.
85893         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85894         define.
85896 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85898         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85899         LLONG_MAX != LONG_MAX.
85900         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85901         (_fitoa_word): Likewise.
85902         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85903         LLONG_MAX != LONG_MAX.
85904         * stdio-common/_itowa.h: Include <_itoa.h>.
85905         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85906         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85907         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85908         only if not defined.
85909         (_ITOA_WORD_TYPE): Likewise.
85910         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85911         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85913 2012-03-21  David S. Miller  <davem@davemloft.net>
85915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85917 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85919         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85920         of x86_64 when setting libc_cv_slibdir, libdir and
85921         libc_cv_localedir.
85922         * sysdeps/unix/sysv/linux/configure: Regenerated.
85924 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85926         * manual/lang.texi (Old Varargs): Remove section.
85927         (How Variadic): Update menu.
85928         (va_start): Do not mention varargs.h.
85930 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85931             Joseph Myers  <joseph@codesourcery.com>
85933         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85934         link test.
85935         * configure: Regenerated.
85937 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85939         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85940         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85941         conformtest.pl
85943 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85945         * NOTES: Remove.
85946         * Makefile (files-for-dist): Remove NOTES.
85947         (NOTES): Remove rule.
85948         * README: Don't refer to NOTES.
85949         * manual/creature.texi: Don't include macros.texi.
85950         * manual/intro.texi (creature.texi): Remove comment referring to
85951         NOTES.
85953         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85954         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85955         * configure: Regenerated.
85956         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85957         LIBC_TRY_CC_OPTION.
85958         (libc_cv_as_i686): Likewise.
85959         (libc_cv_cc_avx): Likewise.
85960         (libc_cv_cc_sse2avx): Likewise.
85961         (libc_cv_cc_fma4): Likewise.
85962         (libc_cv_cc_novzeroupper): Likewise.
85963         * sysdeps/i386/configure: Regenerated.
85965         [BZ #13883]
85966         * sysdeps/i386/fpu/s_cexp.S: Remove.
85967         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85968         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85969         * math/libm-test.inc (cexp_test): Add more tests.
85970         * sysdeps/i386/fpu/libm-test-ulps: Update.
85971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85973 2012-03-21  Allan McRae  <allan@archlinux.org>
85975         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85977 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85979         [BZ #13871]
85980         * math/w_exp2.c: Do not include <float.h>.
85981         (o_threshold, u_threshold): Remove.
85982         (__exp2): Calculate result before checking finiteness and calling
85983         __kernel_standard.
85984         * math/w_exp2f.c: Likewise.
85985         * math/w_exp2l.c: Likewise.
85986         * math/libm-test.inc (exp2_test): Require overflow exception for
85987         1e6 input.
85989         [BZ #3866]
85990         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85991         range of signed 64-bit integers before using fistpll.  Remove
85992         checks for whether integers fit in mantissa bits.
85993         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85994         the range of signed 32-bit integers before using fistpl.  Remove
85995         checks for whether integers fit in mantissa bits.
85996         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85997         (__ieee754_powl): Test for y outside the range of signed 64-bit
85998         integers before using fistpll.  Reduce 64-bit values to 63-bit
85999         ones as needed.
86000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
86001         divide-by-zero is raised for zero to large negative powers.
86002         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
86003         (__ieee754_powl): Test for y outside the range of signed 64-bit
86004         integers before using fistpll.  Reduce 64-bit values to 63-bit
86005         ones as needed.
86006         * math/libm-test.inc (pow_test): Add more tests.
86008 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86010         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
86011         <stdio-common/_itoa.h>.
86012         * debug/segfault.c: Likewise.
86013         * elf/dl-cache.c: Likewise.
86014         * elf/dl-minimal.c: Likewise.
86015         * elf/dl-misc.c: Likewise.
86016         * elf/dl-sysdep.c: Likewise.
86017         * elf/dl-version.c: Likewise.
86018         * elf/rtld.c: Likewise.
86019         * hurd/hurdsock.c: Likewise.
86020         * hurd/lookup-retry.c: Likewise.
86021         * malloc/malloc.c: Likewise.
86022         * malloc/mtrace.c: Likewise.
86023         * nscd/nscd_getgr_r.c: Likewise.
86024         * nscd/nscd_getpw_r.c: Likewise.
86025         * nscd/nscd_getserv_r.c: Likewise.
86026         * posix/getopt_init.c: Likewise.
86027         * posix/wordexp.c: Likewise.
86028         * stdio-common/_itoa.c: Likewise.
86029         * stdio-common/printf_fphex.c: Likewise.
86030         * stdio-common/vfprintf.c: Likewise.
86031         * string/_strerror.c: Likewise.
86032         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
86033         * sysdeps/i386/i686/hp-timing.h: Likewise.
86034         * sysdeps/mach/_strerror.c: Likewise.
86035         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
86036         * sysdeps/mach/hurd/sethostid.c: Likewise.
86037         * sysdeps/mach/hurd/xmknodat.c: Likewise.
86038         * sysdeps/mach/xpg-strerror.c: Likewise.
86039         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
86040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
86041         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
86042         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
86043         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
86044         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
86045         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
86046         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
86047         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
86048         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
86049         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
86050         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
86051         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
86052         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
86053         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
86054         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
86055         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
86056         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
86057         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
86058         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
86059         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
86061         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
86063         * stdio-common/_itoa.h: Moved to ...
86064         * sysdeps/generic/_itoa.h: Here.
86066         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86068         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86069         instead of "_itoa.h" and "_itowa.h".
86070         * stdio-common/vfprintf.: Likewise.
86072 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86074         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86075         <bits/wordsize.h>.
86076         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86077         (__signbit): Likewise.
86078         (llrintf): Likewise.
86079         (llrint): Likewise.
86081 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86083         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86084         __WORDSIZE != 64.
86086 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
86088         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86089         OVERFLOW_EXCEPTION_OK.
86090         * math/libm-test.inc ("Philosophy"): Update comment about
86091         exception testing.
86092         (OVERFLOW_EXCEPTION): Define.
86093         (OVERFLOW_EXCEPTION_OK): Likewise.
86094         (INVALID_EXCEPTION_OK): Renumber.
86095         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86096         (IGNORE_ZERO_INF_SIGN): Likewise.
86097         (test_exceptions): Handle FE_OVERFLOW.
86098         (exp10_test): Expect overflow exceptions.
86099         (exp2_test): Likewise.
86100         (expm1_test): Likewise.
86101         (nextafter_test): Likewise.
86102         (pow_test): Likewise.
86103         (scalbn_test): Likewise.
86104         (scalbln_test): Likewise.
86106 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86108         * sysdeps/x86_64/bits/atomic.h
86109         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86110         64bit integer.
86111         (atomic_exchange_acq): Likewise.
86112         (__arch_exchange_and_add_body): Likewise.
86113         (__arch_add_body): Likewise.
86114         (atomic_add_negative): Likewise.
86115         (atomic_add_zero): Likewise.
86117 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86119         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86120         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86122 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86124         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86125         Check __x86_64__ instead of __WORDSIZE.
86127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86129         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86131 2012-03-19  David S. Miller  <davem@davemloft.net>
86133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86135         * sysdeps/sparc/fpu/fenv_private.h: New file.
86136         * sysdeps/sparc/fpu/math_private.h: Use it.
86137         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86138         Remove.
86139         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86140         (libc_feholdexcept_setroundl): Remove.
86141         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86142         Remove.
86143         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86144         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86146 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86148         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86149         int64_t instead of long int.
86150         (INSERT_WORDS64): Likewise.
86152 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86154         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86155         _Unwind_GetCFA return to _Unwind_Ptr first.
86157 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
86159         [BZ #13629]
86160         * math/s_clog.c: Include <float.h>.
86161         (__clog): Scale large or subnormal inputs.
86162         * math/s_clogf.c: Likewise.
86163         * math/s_clogl.c: Likewise.
86164         * math/s_clog10.c: Include <float.h>.
86165         (M_LOG10_2): Define.
86166         (__clog10): Scale large or subnormal inputs.
86167         * math/s_clog10f.c: Likewise.
86168         * math/s_clog10l.c: Likewise.
86169         * math/libm-test.inc (clog_test): Add more tests.
86170         (clog10_test): Likewise.
86171         * sysdeps/i386/fpu/libm-test-ulps: Update.
86172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86174         [BZ #11451]
86175         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86176         x and y.
86177         * math/libm-test.inc (atan2_test): Add another test.
86179         * Makerules (common-objdir-compile): Remove.
86180         * sysdeps/unix/Makefile (config-generated): Do not add
86181         $(unix-generated) to variable.
86182         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86183         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86184         Remove rule.
86185         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86186         Likewise.
86187         [generic bits/local_lim.h] (before-compile): Do not append to
86188         variable.
86189         [generic bits/local_lim.h] (common-generated): Likewise.
86190         [generic sys/param.h] (before-compile): Do not append to variable.
86191         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86192         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86193         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86194         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86195         include.
86196         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86197         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86198         [generic sys/param.h] ($(addprefix
86199         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86200         [generic sys/param.h] (common-generated): Do not append to
86201         variable.
86202         [generic sys/param.h] (sysdep_headers): Likewise.
86203         [generic bits/errno.h] (before-compile): Do not append to
86204         variable.
86205         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86206         rule.
86207         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86208         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86209         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86210         [generic bits/errno.h] (common-generated): Do not append to
86211         variable.
86212         [generic bits/ioctls.h] (before-compile): Do not append to
86213         variable.
86214         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86215         rule.
86216         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86217         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86218         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86219         rule.
86220         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86221         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86222         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86223         [generic bits/ioctls.h] (common-generated): Do not append to
86224         variable.
86225         [generic sys/syscall.h] (syscall.h): Remove variable.
86226         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86227         rule.
86228         [generic sys/syscall.h] (before-compile): Do not append to
86229         variable.
86230         [generic sys/syscall.h] (common-generated): Likewise.
86231         * sysdeps/unix/errnos-tmpl.c: Remove file.
86232         * sysdeps/unix/errnos.awk: Likewise.
86233         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86234         * sysdeps/unix/ioctls.awk: Likewise.
86235         * sysdeps/unix/mk-local_lim.c: Likewise.
86236         * sysdeps/unix/snarf-ioctls: Likewise.
86238 2012-03-19  Richard Henderson  <rth@twiddle.net>
86240         * sysdeps/i386/fpu/fenv_private.h: New file.
86241         * sysdeps/i386/fpu/math_private.h: Use it.
86242         (math_opt_barrier, math_force_eval): Remove.
86243         (libc_feholdexcept_setround_53bit): Remove.
86244         (libc_feupdateenv_53bit): Remove.
86245         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86246         (math_opt_barrier, math_force_eval): Remove.
86247         (libc_feholdexcept): Remove.
86248         (libc_feholdexcept_setround): Remove.
86249         (libc_fetestexcept, libc_fesetenv): Remove.
86250         (libc_feupdateenv_test): Remove.
86251         (libc_feupdateenv, libc_feholdsetround): Remove.
86252         (libc_feresetround): Remove.
86254         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86255         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86257         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86258         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86259         (libc_feupdateenv_testl): New.
86260         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86261         (libc_feupdateenv_testf): New.
86262         (libc_feupdateenv): Use libc_feupdateenv_test.
86263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86264         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86266         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86267         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86268         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86269         (libc_feresetround_noex): New.
86270         (libc_feresetround_noexf): New.
86271         (libc_feresetround_noexl): New.
86272         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86273         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86274         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86275         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86276         SET_RESTORE_ROUND.
86277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86278         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86279         (__cos): Likewise.
86280         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86281         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86282         SET_RESTORE_ROUND_NOEX.
86283         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86284         SET_RESTORE_ROUND_NOEXF.
86285         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86286         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86287         (libc_feholdsetroundf): New.
86288         (libc_feresetround, libc_feresetroundf): New.
86290         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86291         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86292         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86294         * sysdeps/generic/math_private.h: Include <fenv.h>.
86295         (default_libc_feholdexcept): New.
86296         (default_libc_feholdexcept_setround): New.
86297         (default_libc_fesetenv, default_libc_feupdateenv): New.
86298         (libc_feholdexcept): Only define if undefined.
86299         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86300         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86301         (libc_feholdexcept_setroundl): Likewise.
86302         (libc_feholdexcept_setround_53bit): Likewise.
86303         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86304         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86305         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86306         (libc_feupdateenv_53bit): Likewise.
86307         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86308         (libc_feholdexcept): Convert from macro to inline function.
86309         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86310         (libc_fesetenv, libc_feupdateenv): Likewise.
86312         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86313         not previously defined.
86314         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86315         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86316         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86317         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86318         * sysdeps/ieee754/flt-32/math_private.h: New file.
86319         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86320         math_private.h below SET_FLOAT_WORD.
86321         (__isnan, __isinf_ns, __finite): Remove.
86322         (__isnanf, __isinf_nsf, __finitef): Remove.
86324 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86328 2012-03-17  David S. Miller  <davem@davemloft.net>
86330         [BZ #6471]
86331         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86332         for 2.16.
86334 2012-03-16  David S. Miller  <davem@davemloft.net>
86336         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86337         warnings.
86339         [BZ #6471]
86340         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86341         properly.
86342         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86343         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86344         sysdep_routines when subdir is sysvipc.
86345         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86346         __getshmlba helper.
86348         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86350 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86352         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86353         [__LP64__].
86355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86357         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86358         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86359         (__lround): Renamed to ...
86360         (__llround): This.  Replace long int with long long int.
86361         Define lround functions as aliases of llround functions.
86362         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86364 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86366         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86367         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86368         adresses to uintptr_t.  Replace "long int" and "unsigned long
86369         int" with "greg_t" on va_arg.
86371 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86373         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86374         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86376         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86377         Move e_machine check before EI_CLASS check.  Handle x32
86378         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86379         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86380         SKIP_EM_IA_64 and include
86381         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86383         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86384         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86385         (add_system_dir): New macro.
86387         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86388         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86390 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86392         [BZ #2551]
86393         [BZ #2552]
86394         [BZ #2553]
86395         [BZ #2554]
86396         [BZ #2562]
86397         [BZ #2563]
86398         [BZ #2565]
86399         [BZ #2566]
86400         [BZ #2576]
86401         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86402         (y0): Likewise.
86403         * math/w_j0f.c (j0f): Likewise.
86404         (y0f): Likewise.
86405         * math/w_j0l.c (__j0l): Likewise.
86406         (__y0l): Likewise.
86407         * math/w_j1.c (j1): Likewise.
86408         (y1): Likewise.
86409         * math/w_j1f.c (j1f): Likewise.
86410         (y1f): Likewise.
86411         * math/w_j1l.c (__j1l): Likewise.
86412         (__y1l): Likewise.
86413         * math/w_jn.c (jn): Likewise.
86414         (yn): Likewise.
86415         * math/w_jnf.c (jnf): Likewise.
86416         (ynf): Likewise.
86417         * math/w_jnl.c (__jnl): Likewise.
86418         (__ynl): Likewise.
86419         * math/libm-test.inc (j0_test): Add more tests.
86420         (j1_test): Likewise.
86421         (jn_test): Likewise.  Add trailing semicolon to existing test.
86422         (y0_test): Likewise.
86423         (y1_test): Likewise.
86424         * sysdeps/i386/fpu/libm-test-ulps: Update.
86425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86427         [BZ #13851]
86428         [BZ #13854]
86429         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86430         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86431         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86432         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86433         (__tanl): Set errno for infinite argument.
86434         * sysdeps/i386/fpu/mptan.c: Remove.
86435         * sysdeps/i386/fpu/s_tan.S: Likewise.
86436         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86437         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86438         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86439         * math/libm-test.inc (tan_test): Add more tests and enable more
86440         tests for double and long double.
86441         * sysdeps/i386/fpu/libm-test-ulps: Update.
86442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86444 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86446         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86447         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86449 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86451         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86452         * configure.in: Use it for both main tree and add-ons.
86453         * configure: Regenerated.
86455 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86457         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86459 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86461         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86462         in comment.
86464         [BZ #13851]
86465         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86466         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86467         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86468         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86469         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86470         infinite argument.
86471         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86473         != 0 for prec == 2.
86474         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86475         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86476         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86477         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86478         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86479         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86480         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86481         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86482         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86483         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86484         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86485         * math/libm-test.inc (cos_test): Add more tests and enable more
86486         tests for long double.
86487         (sin_test): Likewise.
86488         (sincos_test): Likewise.
86489         * sysdeps/i386/fpu/libm-test-ulps: Update.
86490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86492 2012-03-16  David S. Miller  <davem@davemloft.net>
86494         * sysdeps/sparc/fpu/math_private.h: New file.
86496 2012-03-15  David S. Miller  <davem@davemloft.net>
86498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86499         file.
86500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86502         file.
86503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86509         sysdep routines.
86510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86512         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86513         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86515         * sysdeps/sparc/sparc-ifunc.h: New file.
86516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86517         sparc-ifunc.h
86518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86520         Likewise.
86521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86522         Likewise.
86523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86527         Likewise.
86528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86533         Likewise.
86534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86535         Likewise.
86536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86555         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86558         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86559         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86561 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86563         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86564         scaling.
86565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86567 2012-03-15  Andreas Jaeger  <aj@suse.de>
86569         [BZ #13852]
86570         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86571         ieee754/flt-32 implementation for sin, cos and sincos.
86572         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86573         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86574         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86575         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86576         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86577         ieee754/flt-32 implementation for tan.
86579         * math/libm-test.inc (cos_test): Enable some large input tests for
86580         float as well
86581         (sin_test): Likewise.
86582         (sincos_test): Likewise.
86583         (tan_test): Add tests for large input.
86585         * sysdeps/i386/fpu/libm-test-ulps: Update.
86587 2012-03-15  Andreas Jaeger  <aj@suse.de>
86589         [BZ #13658]
86590         * math/libm-test.inc (cos_test): Add more test cases.
86591         (sin_test): Likewise.
86592         (sincos_test): Likewise.
86594 2012-03-15  Andreas Jaeger  <aj@suse.de>
86596         [BZ #13837]
86597         * math/libm-test.inc (cos_test): Add a test case for large input
86598         value.
86599         (sin_test): Likewise.
86600         (sincos_test): Likewise.
86602 2012-03-15  Andreas Jaeger  <aj@suse.de>
86603             Joseph Myers  <joseph@codesourcery.com>
86605         [BZ #13658]
86606         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86607         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86608         * sysdeps/i386/fpu/branred.c: Likewise.
86609         * sysdeps/i386/fpu/dosincos.c: Likewise.
86610         * sysdeps/i386/fpu/mpa.c: Likewise.
86611         * sysdeps/i386/fpu/s_cos.S: Likewise.
86612         * sysdeps/i386/fpu/s_sin.S: Likewise.
86613         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86614         * sysdeps/i386/fpu/sincos32.c: Likewise.
86616         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86617         Define.
86618         (libc_feupdateenv_53bit): Define.
86619         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86620         Define.
86621         (libc_feupdateenv_53bit): Define.
86623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86624         53 bit (without extend i386 double precision).
86626         * math/libm-test.inc (sincos_test): Add tests for large input.
86627         (sin): Likewise.
86628         (cos): Likewise.
86630         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86632 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86636 2012-03-15  David S. Miller  <davem@davemloft.net>
86638         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86639         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86640         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86641         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86654         file.
86655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86657         file.
86658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86660         file.
86661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86663         file.
86664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86665         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86666         fmin/fmax sysdep routines.
86667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86669 2012-03-14  David S. Miller  <davem@davemloft.net>
86671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86675         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86677         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86678         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86693         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86694         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86697         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86698         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86699         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86700         routines.
86701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86702         file.
86703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86705         file.
86706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86708         file.
86709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86711         file.
86712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86714         file.
86715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86717         file.
86718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86719         file.
86720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86721         file.
86722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86723         file.
86724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86725         New file.
86726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86727         file.
86728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86729         file.
86730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86732         file.
86733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86735         file.
86736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86738         file.
86739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86741         VIS3 routines.
86743         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86744         New file.
86746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86748         * sysdeps/sparc/configure.in: New file.
86749         * sysdeps/sparc/configure: Generate.
86750         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86751         * configure: Regenerate.
86752         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86753         * config.make.in (have-as-vis3): New.
86754         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86755         available use -Av9d instead of -Av9a.
86756         * sysdeps/sparc/sparc64/Makefile: Likewise.
86757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86759         New file.
86760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86761         file.
86762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86763         New file.
86764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86765         file.
86766         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86769         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86770         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86772         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86773         fzeros/fnegs to load 0x80000000 into a float register instead of
86774         using the stack.
86775         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86777 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86780         bits/syscall.h.
86781         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86782         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86783         ($(inst_includedir)/bits/syscall.h): Remove rule.
86784         ($(objpfx)bits/syscall.d): Include instead of
86785         $(objpfx)syscall-list.d.
86786         (generated): Change syscall-list.h and syscall-list.d to
86787         bits/syscall.h and bits/syscall.d.
86789 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86791         [BZ #13846]
86792         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86794 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86796         [BZ #13841]
86797         * math/s_csqrt.c: Include <float.h>.
86798         (__csqrt): Scale large or subnormal inputs.
86799         * math/s_csqrtf.c: Likewise.
86800         * math/s_csqrtl.c: Likewise.
86801         * math/libm-test.inc (csqrt_test): Add more tests.
86802         * sysdeps/i386/fpu/libm-test-ulps: Update.
86803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86805         [BZ #13840]
86806         * math/libm-test.inc (hypot_test): Add more tests.
86808 2012-03-13  David S. Miller  <davem@davemloft.net>
86810         [BZ #13840]
86811         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86812         double-precision for the calculation instead of scaling.
86814 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86816         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86817         manipulate bits before adding and subtracting TWO52[sx].
86818         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86819         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86820         Likewise.
86821         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86823 2012-03-13  David S. Miller  <davem@davemloft.net>
86825         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86826         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86827         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86828         rtld-global-offsets.h
86829         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86831         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86832         large parameters.
86834         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86836         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86837         'err' in the ifdef scope in which it is actually used.
86839         * nss/nss_db/db-init.c: Include string.h
86841 2012-03-12  David S. Miller  <davem@davemloft.net>
86843         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86844         masking out of the most significant byte of random value used.
86845         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86846         Fix coding style in previous change.
86848         * sysdeps/unix/sysv/linux/kernel-features.h
86849         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86850         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86851         expression.
86852         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86853         later.
86855 2012-03-11  David S. Miller  <davem@davemloft.net>
86857         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86858         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86859         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86860         for 'resultvar' otherwise things get truncated on 64-bit.
86862         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86863         Fix masking out of the most significant byte of random value used.
86865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86867 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86871 2012-03-09  David S. Miller  <davem@davemloft.net>
86873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86874         variables with appropriate CPP guards.
86875         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86876         from the frame pointer, not the stack pointer.  Correct layout
86877         comments.  Fix test on resulting framesize and the management of
86878         the outregs buffer for pltexit.  Preserve floating point return
86879         values across _dl_call_pltexit call.
86880         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86881         framesize and the management of the outregs buffer for pltexit.
86882         Preserve floating point return values across _dl_call_pltexit
86883         call.
86884         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86885         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86886         (la_sparc64_gnu_pltexit): New functions.
86887         (print_exit): Fix format string for return register value.
86889 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86891         * sunrpc/Makefile (others): Add rpcgen.
86892         ($(objpfx)rpcgen): Remove special build rule and dependency on
86893         libc.
86894         * sunrpc/rpcgen.c: New file.
86896 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86898         [BZ #13673]
86899         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86900         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86901         * sysdeps/i386/crti.S: Likewise.
86902         * sysdeps/i386/crtn.S: Likewise.
86903         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86904         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86905         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86906         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86907         * sysdeps/sh/crti.S: Likewise.
86908         * sysdeps/sh/crtn.S: Likewise.
86909         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86911         [BZ #13673]
86912         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86913         with URL.
86914         * locale/programs/locfile-kw.gperf: Likewise.
86915         * locale/programs/charmap-kw.h: Regenerated.
86916         * locale/programs/locfile-kw.h: Likewise.
86918         [BZ #13673]
86919         * intl/plural.y: Replace FSF snail mail address with URL.
86920         * intl/plural.c: Regenerated.
86922 2012-03-09  Richard Henderson  <rth@twiddle.net>
86924         * include/math_private.h: Remove file.
86925         * math/math_private.h: Move file ...
86926         * sysdeps/generic/math_private.h: ... here.
86928         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86929         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86930         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86932         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86933         and <math_private.h>.
86934         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86935         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86936         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86937         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86938         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86939         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86940         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86941         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86942         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86943         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86945         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86946         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86947         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86948         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86949         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86950         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86951         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86952         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86953         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86954         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86955         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86956         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86957         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86958         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86959         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86960         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86961         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86962         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86963         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86964         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86965         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86966         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86967         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86968         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86969         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86970         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86971         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86972         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86973         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86974         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86975         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86976         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86977         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86978         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86979         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86980         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86981         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86982         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86983         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86984         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86985         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86986         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86987         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86988         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86989         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86990         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86991         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86992         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86993         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86994         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86995         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86996         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86997         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86998         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86999         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87000         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87001         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87002         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
87003         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
87004         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
87005         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87006         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
87007         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87008         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
87009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
87010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
87011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87012         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
87013         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
87014         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
87015         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
87016         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
87017         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87018         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87019         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
87020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
87021         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
87022         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87023         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87024         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87025         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87026         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87027         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87028         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87029         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87030         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87031         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87032         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87034         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87035         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87036         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87037         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87038         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87039         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87040         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87041         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87042         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87043         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87044         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87045         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87046         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87047         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87048         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
87049         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87050         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87051         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87052         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87053         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87054         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87055         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87056         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87057         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
87058         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87059         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87060         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87061         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
87062         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87063         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87064         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87065         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87066         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87067         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87068         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87069         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87070         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87071         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87072         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87073         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87074         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87075         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87076         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87077         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87078         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87079         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87080         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87081         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87082         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87083         * sysdeps/ieee754/k_standard.c: Likewise.
87084         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87085         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87086         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87087         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87088         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87089         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87090         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87091         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87092         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87093         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87094         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87095         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87096         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87097         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87098         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87099         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87100         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87101         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87102         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87103         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87104         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87105         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87106         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87107         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87108         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87109         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87110         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87111         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87112         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87113         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87114         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87115         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87116         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87117         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87118         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87119         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87120         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87121         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87122         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87123         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87124         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87125         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87126         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87127         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87128         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87129         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87130         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87131         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87132         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87133         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87134         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87135         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87136         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87137         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87138         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87139         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87140         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87141         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87142         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87143         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87144         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87145         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87146         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87147         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87148         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87149         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87150         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87151         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87152         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87153         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87154         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87156         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87157         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87158         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87159         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87160         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87161         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87163         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87164         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87165         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87166         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87167         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87168         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87169         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87170         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87171         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87172         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87174         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87175         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87176         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87177         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87178         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87179         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87180         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87181         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87182         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87183         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87184         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87185         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87186         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87187         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87188         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87189         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87190         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87191         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87192         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87193         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87194         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87195         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87196         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87198         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87199         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87200         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87201         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87202         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87203         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87204         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87205         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87206         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87207         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87208         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87209         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87210         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87211         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87212         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87213         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87214         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87215         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87216         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87217         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87218         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87219         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87220         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87221         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87222         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87223         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87224         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87225         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87226         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87227         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87228         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87229         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87230         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87231         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87232         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87233         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87234         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87235         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87236         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87237         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87238         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87239         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87240         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87241         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87242         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87243         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87244         * sysdeps/ieee754/s_lib_version.c: Likewise.
87245         * sysdeps/ieee754/s_matherr.c: Likewise.
87246         * sysdeps/ieee754/s_signgam.c: Likewise.
87247         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87248         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87249         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87250         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87251         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87252         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87253         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87254         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87255         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87256         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87257         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87258         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87259         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87260         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87261         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87262         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87263         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87264         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87265         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87266         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87267         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87269 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87271         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87272         * sunrpc/rpc_main.c: Likewise.
87273         * sunrpc/rpc_svcout.c: Likewise.
87275 2012-03-09  David S. Miller  <davem@davemloft.net>
87277         * include/math_private.h: New file.
87279 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87281         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87282         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87283         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87284         from <bits/socket_type.h>.
87285         (enum __socket_type): Don't define here.
87286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87288         bits/socket_type.h.
87290         [BZ #13566]
87291         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87292         checking __USE_GNU.
87294         * Makerules ($(inst_includedir)/%.h): New rule.
87295         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87296         (install-others): Remove variable setting.
87297         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87299 2012-03-08  Richard Henderson  <rth@twiddle.net>
87301         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87302         from macro to inline function; merge with the
87303         !__LIBC_INTERNAL_MATH_INLINES version.
87304         (__ieee754_sqrtf): Likewise.
87306         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87307         to inline function.
87308         (__rintf, __floor, __floorf): Likewise.
87310         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87311         macro to inline function.
87312         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87314         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87315         not <math/math_private.h>.
87317 2012-03-08  David S. Miller  <davem@davemloft.net>
87319         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87320         copyright year.
87321         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87323 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87325         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87326         normalization.
87327         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87328         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87330 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87332         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87333         be defined individually, they must be defined as a block.  Define
87334         S for printing a string instead of hidint the different by using a
87335         macro for adding the 'l'.
87336         * stdio-common/tst-fphex-wide.c: Adjust.
87338 2012-03-07  Marek Polacek  <polacek@redhat.com>
87340         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87342 2012-03-08  Marek Polacek  <polacek@redhat.com>
87344         [BZ #13806]
87345         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87346         * stdio-common/tst-fphex.c: Define a few macros to make the
87347         test reusable.  Use them.
87348         * stdio-common/tst-fphex-wide.c: New file.
87350 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87352         [BZ #6911]
87353         * manual/macros.texi (gnusystems): New macro.
87354         (nongnusystems): Likewise.
87355         (gnulinuxhurdsystems): Likewise.
87356         (gnuhurdsystems): Likewise..
87357         (gnulinuxsystems): Likewise.
87358         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87359         variants of the GNU system, not "GNU system".
87360         * manual/conf.texi: Likewise.
87361         * manual/errno.texi: Likewise.  Update example of errno macro
87362         expansion.
87363         * manual/filesys.texi: Likewise.
87364         (getumask): Document as specific to GNU/Hurd.
87365         * manual/install.texi: Likewise.  Reword some references to
87366         GNU/Linux.
87367         * manual/intro.texi: Likewise.
87368         * manual/io.texi: Likewise.
87369         (File Name Portability): Detail which constraints are inapplicable
87370         to all GNU systems and which are only inapplicable to GNU/Hurd.
87371         * manual/job.texi: Likewise.
87372         * manual/llio.texi: Likewise.
87373         (O_NOCTTY): Document as present on GNU/Linux.
87374         * manual/maint.texi: Likewise.
87375         * manual/memory.texi: Likewise.
87376         * manual/pattern.texi: Likewise.
87377         * manual/pipe.texi: Likewise.
87378         * manual/process.texi: Likewise.
87379         * manual/resource.texi: Likewise.
87380         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87381         child on GNU/Hurd.
87382         * manual/setjmp.texi: Likewise.
87383         * manual/signal.texi: Likewise.
87384         * manual/startup.texi: Likewise.
87385         * manual/stdio.texi: Likewise.
87386         * manual/terminal.texi: Likewise.
87387         (ONLCR): Document as POSIX.
87388         (OXTABS): Document availability on GNU/Linux as XTABS.
87389         (ONOEOT): Document availability separately from other bits.
87390         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87391         * manual/time.texi: Likewise.
87392         * manual/users.texi: Likewise.
87393         * INSTALL: Regenerated.
87394         * sysdeps/gnu/errlist.c: Regenerated.
87396         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87397         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87398         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87399         puts.
87400         * configure: Regenerated.
87402 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87404         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87405         default includes instead of AC_HEADER_CHECK.
87406         * sysdeps/i386/configure: Regenerated.
87408         [BZ #10716]
87409         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87410         * math/s_cacoshf.c (__cacoshf): Likewise.
87411         * math/s_cacoshl.c (__cacoshl): Likewise.
87412         * math/s_casinh.c (__casinh): Set signs of result from argument.
87413         * math/s_casinhf.c (__casinhf): Likewise.
87414         * math/s_casinhl.c (__casinhl): Likewise.
87415         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87416         (casinh_test): Add more tests.
87417         * sysdeps/i386/fpu/libm-test-ulps: Update.
87418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87420 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87422         * po/zh_TW.po: Update from translation team.
87424         * login/Makefile (distribute): Remove variable.
87425         * catgets/Makefile: Likewise.
87426         * mach/Makefile: Likewise.
87427         * malloc/Makefile: Likewise.
87428         * misc/Makefile: Likewise.
87429         * iconv/Makefile: Likewise.
87430         * nscd/Makefile: Likewise.
87431         * hurd/Makefile: Likewise.
87432         * manual/Makefile: Likewise.
87433         * locale/Makefile: Likewise.
87434         * intl/Makefile: Likewise.
87435         * conform/Makefile: Likewise.
87436         * nss/Makefile: Likewise.
87437         * time/Makefile: Likewise.
87438         * soft-fp/Makefile: Likewise.
87439         * dirent/Makefile: Likewise.
87440         * gmon/Makefile: Likewise.
87441         * po/Makefile: Likewise.
87442         * rt/Makefile: Likewise.
87443         * socket/Makefile: Likewise.
87444         * math/Makefile: Likewise.
87445         * signal/Makefile: Likewise.
87446         * debug/Makefile: Likewise.
87447         * elf/Makefile: Likewise.
87448         * timezone/Makefile: Likewise.
87449         * stdlib/Makefile: Likewise.
87450         * iconvdata/Makefile: Likewise.
87451         * sunrpc/Makefile: Likewise.
87452         * io/Makefile: Likewise.
87453         * argp/Makefile: Likewise.
87454         * inet/Makefile: Likewise.
87455         * hesiod/Makefile: Likewise.
87456         * grp/Makefile: Likewise.
87457         * csu/Makefile: Likewise.
87458         * wctype/Makefile: Likewise.
87459         * crypt/Makefile: Likewise.
87460         * libio/Makefile: Likewise.
87461         * string/Makefile: Likewise.
87462         * nis/Makefile: Likewise.
87463         * resolv/Makefile: Likewise.
87464         * stdio-common/Makefile: Likewise.
87465         * wcsmbs/Makefile: Likewise.
87466         * dlfcn/Makefile: Likewise.
87467         * posix/Makefile: Likewise.
87469         [BZ #6959]
87470         * timezone/Makefile: Don't install timezone files, just the programs
87471         and scripts.
87473 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87475         * nss/databases.def: Add missing gshadow entry.
87477         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87479 2012-03-06  Marek Polacek  <polacek@redhat.com>
87481         [BZ #13726]
87482         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87483         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87484         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87485         * stdio-common/tst-long-dbl-fphex.c: New file.
87487 2012-03-06  David S. Miller  <davem@davemloft.net>
87489         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87490         (set_obp_int): New function.
87491         (get_obp_int): New function.
87492         (__get_clockfreq_via_dev_openprom): Likewise.
87493         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87494         Avoid unused variable warnings on 'val' and use builtin_expect.
87495         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87496         __builtin_expect.
87497         (INLINE_CLONE_SYSCALL): Likewise.
87499 2012-03-05  David S. Miller  <davem@davemloft.net>
87501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87503 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87507         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87508         only for |x| >= 40.
87509         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87511 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87513         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87514         Replace gettimeofday with __vdso_gettimeofday.
87516         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87517         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87518         __vdso_clock_gettime and __vdso_getcpu.
87520         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87521         time with __vdso_time.
87523 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87525         * manual/lang.texi (size_t): Note types to which size_t may be
87526         equivalent with the GNU C Library, but do not describe when
87527         differences between them are significant.
87529 2012-03-05  Andreas Jaeger  <aj@suse.de>
87531         * sysdeps/i386/fpu/libm-test-ulps: Update.
87533 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87535         [BZ #3976]
87536         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87537         (__ieee754_pow): Save and restore rounding mode and use
87538         round-to-nearest for main computations.
87539         * math/libm-test.inc (pow_test_tonearest): New function.
87540         (pow_test_towardzero): Likewise.
87541         (pow_test_downward): Likewise.
87542         (pow_test_upward): Likewise.
87543         (main): Call the new functions.
87544         * sysdeps/i386/fpu/libm-test-ulps: Update.
87545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87547         [BZ #3976]
87548         * math/libm-test.inc (cosh_test_tonearest): New function.
87549         (cosh_test_towardzero): Likewise.
87550         (cosh_test_downward): Likewise.
87551         (cosh_test_upward): Likewise.
87552         (sinh_test_tonearest): Likewise.
87553         (sinh_test_towardzero): Likewise.
87554         (sinh_test_downward): Likewise.
87555         (sinh_test_upward): Likewise.
87556         (main): Call the new functions.
87557         * sysdeps/i386/fpu/libm-test-ulps: Update.
87558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87560 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87562         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87563         default stack guard is set in last bytes.
87564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87566 2012-03-05  Kees Cook  <keescook@chromium.org>
87568         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87570         [BZ #13656]
87571         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87572         possibly allocate from heap instead of stack.
87573         * stdio-common/bug-vfprintf-nargs.c: New file.
87574         * stdio-common/Makefile (tests): Add nargs overflow test.
87576 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87580 2012-03-03  Marek Polacek  <polacek@redhat.com>
87582         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87583         * math/math_private.h: Likewise.
87584         * stdlib/tst-strtod.c: Likewise.
87585         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87586         * sysdeps/x86_64/bits/atomic.h: Likewise.
87588 2012-03-02  David S. Miller  <davem@davemloft.net>
87590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87594         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87595         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87596         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87597         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87599 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87601         [BZ #13792]
87602         * manual/examples/README: New file, says the example source files
87603         can be used under GPL>=2.
87604         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87605         line containing just "*/".
87606         * manual/examples/add.c: Add copyright header (GPL>=2).
87607         * manual/examples/argp-ex1.c: Likewise.
87608         * manual/examples/argp-ex2.c: Likewise.
87609         * manual/examples/argp-ex3.c: Likewise.
87610         * manual/examples/argp-ex4.c: Likewise.
87611         * manual/examples/atexit.c: Likewise.
87612         * manual/examples/db.c: Likewise.
87613         * manual/examples/dir.c: Likewise.
87614         * manual/examples/dir2.c: Likewise.
87615         * manual/examples/execinfo.c: Likewise.
87616         * manual/examples/filecli.c: Likewise.
87617         * manual/examples/filesrv.c: Likewise.
87618         * manual/examples/fmtmsgexpl.c: Likewise.
87619         * manual/examples/genpass.c: Likewise.
87620         * manual/examples/inetcli.c: Likewise.
87621         * manual/examples/inetsrv.c: Likewise.
87622         * manual/examples/isockad.c: Likewise.
87623         * manual/examples/longopt.c: Likewise.
87624         * manual/examples/memopen.c: Likewise.
87625         * manual/examples/memstrm.c: Likewise.
87626         * manual/examples/mkfsock.c: Likewise.
87627         * manual/examples/mkisock.c: Likewise.
87628         * manual/examples/mygetpass.c: Likewise.
87629         * manual/examples/pipe.c: Likewise.
87630         * manual/examples/popen.c: Likewise.
87631         * manual/examples/rprintf.c: Likewise.
87632         * manual/examples/search.c: Likewise.
87633         * manual/examples/select.c: Likewise.
87634         * manual/examples/setjmp.c: Likewise.
87635         * manual/examples/sigh1.c: Likewise.
87636         * manual/examples/sigusr.c: Likewise.
87637         * manual/examples/stpcpy.c: Likewise.
87638         * manual/examples/strdupa.c: Likewise.
87639         * manual/examples/strftim.c: Likewise.
87640         * manual/examples/strncat.c: Likewise.
87641         * manual/examples/subopt.c: Likewise.
87642         * manual/examples/swapcontext.c: Likewise.
87643         * manual/examples/termios.c: Likewise.
87644         * manual/examples/testopt.c: Likewise.
87645         * manual/examples/testpass.c: Likewise.
87646         * manual/examples/timeval_subtract.c: Likewise.
87648         [BZ #13792]
87649         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87650         function to ...
87651         * manual/timeval_subtract.c.texi: ... here, new file.
87653 2012-03-02  David S. Miller  <davem@davemloft.net>
87655         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87657 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87659         [BZ #3976]
87660         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87661         (__sin): Save and restore rounding mode and use round-to-nearest
87662         for all computations.
87663         (__cos): Save and restore rounding mode and use round-to-nearest
87664         for all computations.
87665         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87666         <fenv.h>.
87667         (tan): Save and restore rounding mode and use round-to-nearest for
87668         all computations.
87669         * math/libm-test.inc (cos_test_tonearest): New function.
87670         (cos_test_towardzero): Likewise.
87671         (cos_test_downward): Likewise.
87672         (cos_test_upward): Likewise.
87673         (sin_test_tonearest): Likewise.
87674         (sin_test_towardzero): Likewise.
87675         (sin_test_downward): Likewise.
87676         (sin_test_upward): Likewise.
87677         (tan_test_tonearest): Likewise.
87678         (tan_test_towardzero): Likewise.
87679         (tan_test_downward): Likewise.
87680         (tan_test_upward): Likewise.
87681         (main): Call the new functions.
87682         * sysdeps/i386/fpu/libm-test-ulps: Update.
87683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87685         [BZ #10135]
87686         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87687         small n, then large n, before computing and testing k+n.
87688         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87689         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87690         Likewise.
87691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87692         Likewise.
87693         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87694         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87695         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87696         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87697         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87698         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87700         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87701         * math/libm-test.inc (scalbn_test): Add more tests.
87702         (scalbln_test): Likewise.
87704         * manual/filesys.texi (mode_t): Describe constraints on size and
87705         signedness, not exact equivalence to a particular type.
87706         (ino_t): Likewise.
87707         (ino64_t): Likewise.
87708         (dev_t): Likewise.
87709         (nlink_t): Likewise.
87710         (blkcnt_t): Likewise.
87711         (blkcnt64_t): Likewise.
87712         * manual/llio.texi (off_t): Likewise.
87714         [BZ #3976]
87715         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87716         (__ieee754_exp): Save and restore rounding mode and use
87717         round-to-nearest for all computations.
87718         * math/libm-test.inc (exp_test_tonearest): New function.
87719         (exp_test_towardzero): Likewise.
87720         (exp_test_downward): Likewise.
87721         (exp_test_upward): Likewise.
87722         (main): Call the new functions.
87723         * sysdeps/i386/fpu/libm-test-ulps: Update.
87724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87726 2012-03-01  Chris Demetriou  <cgd@google.com>
87728         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87729         have predictable order.
87731 2012-03-01  David S. Miller  <davem@davemloft.net>
87733         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87735         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87736         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87737         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87738         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87740         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87741         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87742         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87744         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87745         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87746         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87747         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87748         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87752         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87753         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87754         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87756         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87757         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87758         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87759         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87760         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87761         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87762         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87763         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87764         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87765         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87766         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87767         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87769         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87770         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87772         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87773         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87774         * sysdeps/sparc/elf/configure: Regenerated.
87776 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87778         * configure.in (AS, LD): Require binutils 2.20 or later.
87779         * configure: Regenerated.
87780         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87781         as required minimum version.
87782         * INSTALL: Regenerated.
87784         [BZ #2541]
87785         [BZ #4108]
87786         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87787         before squaring exponent.
87788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87789         bottom long double and 27 bits of top long double before squaring
87790         exponent.
87791         * math/libm-test.inc (erfc_test): Add more tests.
87792         * sysdeps/i386/fpu/libm-test-ulps: Update.
87793         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87796 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87798         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87799         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87800         containing bit-fields.
87801         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87802         * soft-fp/single.h (_FP_UNION_S): Likewise.
87803         * soft-fp/double.h (_FP_UNION_D): Likewise.
87805 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87807         [BZ #13786]
87808         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87809         not include ../strcmp.S.
87810         [USE_AS_STRNCASECMP_L]: Likewise.
87811         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87812         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87813         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87814         (__strncasecmp_l_ia32): Define as alias to
87815         __strncasecmp_l_nonascii.
87817         [BZ #5794]
87818         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87819         * sysdeps/i386/fpu/libm-test-ulps: Update.
87820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87822         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87825 2012-02-29  Jeff Law  <law@redhat.com>
87827         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87828         out of bounds read.
87830 2012-02-29  Marek Polacek  <polacek@redhat.com>
87832         [BZ #13706]
87833         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87834         * elf/Makefile: Add rules to run tst-unused-dep.out.
87836 2012-02-28  David S. Miller  <davem@davemloft.net>
87838         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87839         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87840         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87841         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87842         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87843         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87845 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87847         * math/libm-test.inc (llround_test): Move one test from
87848         lround_test.  Use TEST_f_L in moved test.
87849         (lround_test): Move misplaced test to llround_test.  Add testcase
87850         from bug 2561.
87852 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87854         * sysdeps/x86_64/fpu/e_expf.S: New file.
87855         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87857 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87859         [BZ #13637]
87860         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87861         of remain_len that may cause incomplete multi-byte character and
87862         false match.
87863         * posix/bug-regex33.c: New file.
87864         * posix/Makefile (tests): Add bug-regex33.
87866 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87868         * manual/macros.texi: New file.
87869         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87870         * manual/libc.texinfo: Include macros.texi.
87871         * manual/creatute.texi: Likewise.
87872         * manual/install.texi: Likewise.
87873         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87874         @glibcadj{} in references to the GNU C Library.
87875         * manual/charset.texi: Likewise.
87876         * manual/conf.texi: Likewise.
87877         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87878         when not using those macros.
87879         * manual/creature.texi: Likewise.
87880         * manual/crypt.texi: Likewise.
87881         * manual/errno.texi: Likewise.
87882         * manual/filesys.texi: Likewise.
87883         * manual/header.texi: Likewise.
87884         * manual/install.texi: Likewise.
87885         * manual/intro.texi: Likewise.
87886         * manual/io.texi: Likewise.
87887         * manual/job.texi: Likewise.
87888         * manual/lang.texi: Likewise.
87889         * manual/libc.texiinfo: Likewise.
87890         * manual/llio.texi: Likewise.
87891         * manual/locale.texi: Likewise.
87892         * manual/maint.texi: Likewise.
87893         * manual/math.texi: Likewise.
87894         * manual/memory.texi: Likewise.
87895         * manual/message.texi: Likewise.
87896         * manual/nss.texi: Likewise.
87897         * manual/pattern.texi: Likewise.
87898         * manual/process.texi: Likewise.
87899         * manual/resource.texi: Likewise.
87900         * manual/search.texi: Likewise.
87901         * manual/setjmp.texi: Likewise.
87902         * manual/signal.texi: Likewise.
87903         * manual/socket.texi: Likewise.
87904         * manual/startup.texi: Likewise.
87905         * manual/stdio.texi: Likewise.
87906         * manual/string.texi: Likewise.
87907         * manual/sysinfo.texi: Likewise.
87908         * manual/syslog.texi: Likewise.
87909         * manual/terminal.texi: Likewise.
87910         * manual/time.texi: Likewise.
87911         * manual/users.texi: Likewise.
87912         * INSTALL: Regenerated.
87913         * NOTES: Regenerated.
87914         * sysdeps/gnu/errlist.c: Regenerated.
87916 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87918         * include/dirent.h: Include <dirstream.h> before
87919         <dirent/dirent.h>.
87921 2012-02-28  David S. Miller  <davem@davemloft.net>
87923         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87924         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87925         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87926         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87928 2012-02-27  David S. Miller  <davem@davemloft.net>
87930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87932         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87933         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87936         frame pointer instead of stack pointer relative arg slot.
87937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87938         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87939         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87941 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87943         [BZ #3992]
87944         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87946 2012-02-27  David S. Miller  <davem@davemloft.net>
87948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87952         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87953         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87954         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87955         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87957 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87959         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87960         later.  Allow versions 5-9.
87961         * configure: Regenerated.
87962         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87963         required minimum version and 4.6 as recommended version.  Do not
87964         mention bugs in GCC 2.7 and 2.8.
87965         * INSTALL: Regenerated.
87967 2012-02-27  David S. Miller  <davem@davemloft.net>
87969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87973         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87974         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87975         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87976         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87978         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87979         manipulate bits before adding and subtracting TWO112[sx].
87980         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87982 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87984         [BZ #13775]
87985         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87986         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87987         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87988         being in POSIX, because they are in 1003.1-2008.
87990         * rt/tst-aio.c: Include <fcntl.h>.
87991         * rt/tst-aio7.c: Likewise.
87992         * rt/tst-aio64.c: Likewise.
87994         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87996 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87998         * manual/install.texi (--with-headers): Describe headers as
87999         interface headers, not private headers.
88000         (Specific advice for GNU/Linux systems): Describe use of headers
88001         from "make headers_install", not private headers from older
88002         kernels.
88003         * INSTALL: Regenerated.
88004         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
88005         Change to 2.6.19.
88006         * sysdeps/unix/sysv/linux/configure: Regenerated.
88008         * manual/llio.texi (fclean): Remove documentation.
88010         * manual/Makefile (libc-texi-generated): New variable.  Include
88011         version.texi.
88012         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
88013         $(libc-texi-generated), not duplicated list of files.
88014         (version.texi, stamp-version): New rules.
88015         (realclean): Remove $(libc-texi-generated), not individual files
88016         from that list.  Do not remove dir-add.texinfo.
88017         * manual/libc.texinfo: Comment out uses of edition numbers and
88018         references to printed manual.  Remove last-updated dates.
88019         (EDITION): Comment out.
88020         (ISBN): Likewise.
88021         (VERSION, UPDATED): Remove.
88022         (version.texi): Include.
88024 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
88026         * sysdeps/posix/spawni.c: Include <signal.h>.
88027         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
88028         * sysdeps/pthread/aio_fsync.c: Likewise.
88030 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
88032         * conform/Makefile (tests): Run only when not cross-compiling and
88033         when fast-check is not defined.
88035         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
88036         * conform/data/limits.h-data: Fixes for POSIX2008.
88037         * conform/run-conformtest.sh: Run all tests.
88038         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
88039         headers.
88040         * include/bits/dlfcn.h: Likewise.
88041         * include/langinfo.h: Likewise.
88042         * include/monetary.h: Likewise.
88043         * include/sys/poll.h: Likewise.
88045         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
88046         for __USE_GNU.
88047         * posix/spawn.h: Define __need_sigset_t.
88048         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
88049         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
88050         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
88051         to get sigevent_t only.
88052         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
88053         only for __USE_GNU.
88054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88055         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88056         process_vm_writev only for __USE_GNU.
88057         * termios/termios.h: Declare tcgetsid also for POSIX2008.
88059         * conform/Makefile: For now ignore errors from run-conformtest.
88060         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
88061         POSIX to avoid namespace pollution.  Don't prepend headers.
88062         * conform/data/aio.h-data: Fixes for POSIX testing.
88063         * conform/data/fcntl.h-data: Likewise.
88064         * conform/data/glob.h-data: Likewise.
88065         * conform/data/grp.h-data: Likewise.
88066         * conform/data/pthread.h-data: Likewise.
88067         * conform/data/pwd.h-data: Likewise.
88068         * conform/data/signal.h-data: Likewise.
88069         * conform/data/spawn.h-data: Likewise.
88070         * conform/data/stdio.h-data: Likewise.
88071         * conform/data/stdlib.h-data: Likewise.
88072         * conform/data/stropts.h-data: Likewise.
88073         * conform/data/sys/mman.h-data: Likewise.
88074         * conform/data/sys/stat.h-data: Likewise.
88075         * conform/data/sys/types.h-data: Likewise.
88076         * conform/data/sys/wait.h-data: Likewise.
88077         * conform/data/time.h-data: Likewise.
88078         * conform/data/unistd.h-data: Likewise.
88079         * conform/data/utime.h-data: Likewise.
88081         * io/sys/stat.h: fchmod was always in POSIX.
88082         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88083         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88084         * rt/aio.h: Define __need_timespec before including <time.h>.
88085         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88086         struct.  Add forward declaration of pthread_attr_t and use it in
88087         sigevent.
88088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88089         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88090         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88091         always remove CLK_TCK definition.
88093 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
88095         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88097 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
88099         * conform/run-conformtest.sh: New file.
88100         * conform/Makefile: Run run-conformtest for tests.
88101         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
88102         support.
88104         * conform/data/uchar.h-data: New file.
88105         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88106         * conform/data/arpa/inet.h-data: Likewise.
88107         * conform/data/assert.h-data: Likewise.
88108         * conform/data/complex.h-data: Likewise.
88109         * conform/data/cpio.h-data: Likewise.
88110         * conform/data/ctype.h-data: Likewise.
88111         * conform/data/dirent.h-data: Likewise.
88112         * conform/data/dlfcn.h-data: Likewise.
88113         * conform/data/errno.h-data: Likewise.
88114         * conform/data/fcntl.h-data: Likewise.
88115         * conform/data/float.h-data: Likewise.
88116         * conform/data/fmtmsg.h-data: Likewise.
88117         * conform/data/fnmatch.h-data: Likewise.
88118         * conform/data/ftw.h-data: Likewise.
88119         * conform/data/glob.h-data: Likewise.
88120         * conform/data/grp.h-data: Likewise.
88121         * conform/data/iconv.h-data: Likewise.
88122         * conform/data/inttypes.h-data: Likewise.
88123         * conform/data/langinfo.h-data: Likewise.
88124         * conform/data/libgen.h-data: Likewise.
88125         * conform/data/limits.h-data: Likewise.
88126         * conform/data/locale.h-data: Likewise.
88127         * conform/data/math.h-data: Likewise.
88128         * conform/data/monetary.h-data: Likewise.
88129         * conform/data/mqueue.h-data: Likewise.
88130         * conform/data/ndbm.h-data: Likewise.
88131         * conform/data/net/if.h-data: Likewise.
88132         * conform/data/netdb.h-data: Likewise.
88133         * conform/data/netinet/in.h-data: Likewise.
88134         * conform/data/nl_types.h-data: Likewise.
88135         * conform/data/poll.h-data: Likewise.
88136         * conform/data/pthread.h-data: Likewise.
88137         * conform/data/pwd.h-data: Likewise.
88138         * conform/data/regex.h-data: Likewise.
88139         * conform/data/sched.h-data: Likewise.
88140         * conform/data/search.h-data: Likewise.
88141         * conform/data/semaphore.h-data: Likewise.
88142         * conform/data/setjmp.h-data: Likewise.
88143         * conform/data/signal.h-data: Likewise.
88144         * conform/data/spawn.h-data: Likewise.
88145         * conform/data/stdarg.h-data: Likewise.
88146         * conform/data/stdio.h-data: Likewise.
88147         * conform/data/stdlib.h-data: Likewise.
88148         * conform/data/string.h-data: Likewise.
88149         * conform/data/strings.h-data: Likewise.
88150         * conform/data/stropts.h-data: Likewise.
88151         * conform/data/sys/ipc.h-data: Likewise.
88152         * conform/data/sys/mman.h-data: Likewise.
88153         * conform/data/sys/msg.h-data: Likewise.
88154         * conform/data/sys/resource.h-data: Likewise.
88155         * conform/data/sys/select.h-data: Likewise.
88156         * conform/data/sys/sem.h-data: Likewise.
88157         * conform/data/sys/shm.h-data: Likewise.
88158         * conform/data/sys/socket.h-data: Likewise.
88159         * conform/data/sys/stat.h-data: Likewise.
88160         * conform/data/sys/statvfs.h-data: Likewise.
88161         * conform/data/sys/time.h-data: Likewise.
88162         * conform/data/sys/timeb.h-data: Likewise.
88163         * conform/data/sys/times.h-data: Likewise.
88164         * conform/data/sys/types.h-data: Likewise.
88165         * conform/data/sys/uio.h-data: Likewise.
88166         * conform/data/sys/un.h-data: Likewise.
88167         * conform/data/sys/utsname.h-data: Likewise.
88168         * conform/data/sys/wait.h-data: Likewise.
88169         * conform/data/syslog.h-data: Likewise.
88170         * conform/data/tar.h-data: Likewise.
88171         * conform/data/termios.h-data: Likewise.
88172         * conform/data/utime.h-data: Likewise.
88173         * conform/data/utmpx.h-data: Likewise.
88174         * conform/data/varargs.h-data: Likewise.
88175         * conform/data/wchar.h-data: Likewise.
88176         * conform/data/wctype.h-data: Likewise.
88177         * conform/data/wordexp.h-data: Likewise.
88179         * include/stropts.h: New file.
88180         * include/uchar.h: New file.
88181         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88182         * include/assert.h: Likewise.
88183         * include/ctype.h: Likewise.
88184         * include/dirent.h: Likewise.
88185         * include/dlfcn.h: Likewise.
88186         * include/fcntl.h: Likewise.
88187         * include/fnmatch.h: Likewise.
88188         * include/glob.h: Likewise.
88189         * include/grp.h: Likewise.
88190         * include/libio.h: Likewise.
88191         * include/locale.h: Likewise.
88192         * include/math.h: Likewise.
88193         * include/net/if.h: Likewise.
88194         * include/netdb.h: Likewise.
88195         * include/netinet/in.h: Likewise.
88196         * include/pthread.h: Likewise.
88197         * include/pwd.h: Likewise.
88198         * include/regex.h: Likewise.
88199         * include/sched.h: Likewise.
88200         * include/search.h: Likewise.
88201         * include/setjmp.h: Likewise.
88202         * include/signal.h: Likewise.
88203         * include/stdio.h: Likewise.
88204         * include/stdlib.h: Likewise.
88205         * include/string.h: Likewise.
88206         * include/sys/cdefs.h: Likewise.
88207         * include/sys/mman.h: Likewise.
88208         * include/sys/msg.h: Likewise.
88209         * include/sys/resource.h: Likewise.
88210         * include/sys/select.h: Likewise.
88211         * include/sys/socket.h: Likewise.
88212         * include/sys/stat.h: Likewise.
88213         * include/sys/statvfs.h: Likewise.
88214         * include/sys/time.h: Likewise.
88215         * include/sys/times.h: Likewise.
88216         * include/sys/uio.h: Likewise.
88217         * include/sys/utsname.h: Likewise.
88218         * include/sys/wait.h: Likewise.
88219         * include/termios.h: Likewise.
88220         * include/time.h: Likewise.
88221         * include/ulimit.h: Likewise.
88222         * include/unistd.h: Likewise.
88223         * include/utime.h: Likewise.
88224         * include/wchar.h: Likewise.
88225         * include/wctype.h: Likewise.
88226         * include/wordexp.h: Likewise.
88228         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88230         * time/time.h: TIME_UTC must be a macro.
88231         Make timespec_get available for ISO C11 only as well.
88233 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88235         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88236         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88238 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88240         * configure.in: Use -o not -a in test for unsupported multi-arch.
88242 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88244         * manual/texinfo.tex: Update to version 2012-01-19.16.
88246 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88248         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88250 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88252         [BZ #13738]
88253         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88254         * manual/fdl-1.3.texi: New file.
88255         * manual/fdl-1.1.texi: File removed.
88257         [BZ #13738]
88258         * manual/libc.texinfo (FDL_VERSION): New @set.
88259         Use it for mention of FDL in cover text.
88260         (Documentation License): Use it in @include file name.
88262 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88263             Roland McGrath  <roland@hack.frob.com>
88265         [BZ #5461]
88266         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88267         (not LONG_LONG_MAX and LONG_LONG_MIN.
88268         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88269         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88270         name.
88271         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88273 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88275         [BZ #2547]
88276         [BZ #11365]
88277         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88278         manipulate bits before adding and subtracting TWO23[sx].
88279         * math/libm-test.inc (nearbyint_test): Add more tests.
88281 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88283         [BZ #2548]
88284         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88285         bits before adding and subtracting TWO23[sx].
88286         * math/libm-test.inc (rint_test): Add more tests.
88287         (rint_test_tonearest): Likewise.
88288         (rint_test_towardzero): Likewise.
88289         (rint_test_downward): Likewise.
88290         (rint_test_upward: Likewise.
88292 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88294         [BZ #10110]
88295         * include/stdc-predef.h: New file.  Extracted from features.h.
88296         * include/features.h: Include stdc-predef.h.
88297         * Makefile (headers): Add stdc-predef.h.
88298         * CONFORMANCE (Compiler limitations): Update.
88300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88302         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88304 2012-02-21  David S. Miller  <davem@davemloft.net>
88306         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88307         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88309 2012-02-20  David S. Miller  <davem@davemloft.net>
88311         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88312         using a normal save/restore sequence, rather than allocating a
88313         dummy stack frame just to store a frame pointer and restore.
88314         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88316 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88318         * manual/install.texi: Fix stray word in line-wrapped comment.
88320 2012-02-20  David S. Miller  <davem@davemloft.net>
88322         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88323         both binutils and gcc support GOTDATA.
88325         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88326         "rd %pc" in the PIC register setup sequences.
88328         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88329         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88330         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88331         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88332         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88333         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88334         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88335         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88337         (SYSCALL_ERROR_HANDLER): Likewise.
88338         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88339         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88341         (SYSCALL_ERROR_HANDLER): Likewise.
88343         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88344         (HAVE_GCC_GOTDATA): New.
88345         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88346         relocation support in both binutils and gcc.
88347         * sysdeps/sparc/elf/configure: Regenerate.
88349         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88350         * sysdeps/sparc/sparc32/elf/configure: Delete.
88351         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88352         * sysdeps/sparc/sparc64/elf/configure: Delete.
88353         * sysdeps/sparc/elf/configure.in: New file.
88354         * sysdeps/sparc/elf/configure: Generate.
88356         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88357         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88358         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88359         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88360         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88362 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88364         * manual/install.texi: Do not mention specific glibc version
88365         numbers.
88366         * manual/libc.texinfo (VERSION, UPDATED): Update.
88367         (@copying): Use @copyright{} and range of years.
88369 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88371         [BZ #13695]
88372         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88373         [crti.S not in sysdirs] (generated): Do not append.
88374         [crti.S not in sysdirs] (omit-deps): Likewise.
88375         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88376         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88377         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88378         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88379         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88380         Likewise.
88381         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88382         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88383         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88384         * csu/defs.awk: Remove file.
88385         * sysdeps/generic/initfini.c: Likewise.
88386         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88387         variable.
88388         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88389         Likewise.
88391 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88393         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88394         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88395         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88396         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88397         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88398         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88399         <bits/epoll.h>.
88400         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88401         (__EPOLL_PACKED): Define to empty if not defined by
88402         <bits/epoll.h>.
88403         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88405         bits/epoll.h.
88407 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88409         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88410         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88411         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88412         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88413         <bits/timerfd.h>.
88414         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88416         bits/timerfd.h.
88418 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88420         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88421         in C locale.
88422         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88423         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88424         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88427 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88429         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88430         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88432 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88434         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88435         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88436         defined.
88437         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88438         Likewise.
88439         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88440         entry for 2.16.
88442 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88444         * math/w_acos.c: Use non-signaling floating-point comparisons.
88445         * math/w_acosf.c: Likewise.
88446         * math/w_acosh.c: Likewise.
88447         * math/w_acoshf.c: Likewise.
88448         * math/w_acoshl.c: Likewise.
88449         * math/w_acosl.c: Likewise.
88450         * math/w_asin.c: Likewise.
88451         * math/w_asinf.c: Likewise.
88452         * math/w_asinl.c: Likewise.
88453         * math/w_atanh.c: Likewise.
88454         * math/w_atanhf.c: Likewise.
88455         * math/w_atanhl.c: Likewise.
88456         * math/w_exp2.c: Likewise.
88457         * math/w_exp2f.c: Likewise.
88458         * math/w_exp2l.c: Likewise.
88459         * math/w_j0.c: Likewise.
88460         * math/w_j0f.c: Likewise.
88461         * math/w_j0l.c: Likewise.
88462         * math/w_j1.c: Likewise.
88463         * math/w_j1f.c: Likewise.
88464         * math/w_j1l.c: Likewise.
88465         * math/w_jn.c: Likewise.
88466         * math/w_jnf.c: Likewise.
88467         * math/w_log.c: Likewise.
88468         * math/w_log10.c: Likewise.
88469         * math/w_log10f.c: Likewise.
88470         * math/w_log10l.c: Likewise.
88471         * math/w_log2.c: Likewise.
88472         * math/w_log2f.c: Likewise.
88473         * math/w_log2l.c: Likewise.
88474         * math/w_logf.c: Likewise.
88475         * math/w_logl.c: Likewise.
88476         * math/w_sqrt.c: Likewise.
88477         * math/w_sqrtf.c: Likewise.
88478         * math/w_sqrtl.c: Likewise.
88479         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88480         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88481         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88482         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88483         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88485 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88487         [BZ #9739]
88488         * manual/string.texi (strnlen): Use correct parameter name in
88489         equivalent expression.
88491 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88493         [BZ #11174]
88494         * manual/users.texi (seteuid): Consistently use neweuid for
88495         argument name.
88497 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88499         [BZ #13704]
88500         * manual/nss.texi (Services in the NSS configuration): Correct
88501         list of services in example configuration file.
88503 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88505         [BZ #11322]
88506         * manual/arith.texi: Remove statements about negative zero
88507         behaving identically to zero.
88509 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88511         [BZ #5993]
88512         * manual/install.texi: Do not document upgrading from libc5.
88514 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88516         [BZ #4596]
88517         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88519 2012-02-18  David S. Miller  <davem@davemloft.net>
88521         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88522         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88523         %o7 across the call.
88524         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88525         instead.
88526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88527         SETUP_PIC_REG_LEAF.
88528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88529         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88530         * sysdeps/sparc/crtn.S: Likewise.
88532 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88534         * aout/Makefile: Remove.
88536 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88538         [BZ #13058]
88539         * manual/examples/argp-ex1.c (main): Format definition in GNU
88540         style.
88541         * manual/examples/argp-ex2.c (main): Likewise.
88542         * manual/examples/argp-ex3.c (main): Likewise.
88543         * manual/examples/argp-ex4.c (main): Likewise.
88544         * manual/examples/longopt.c (main): Use new-style prototype
88545         definition.
88546         * manual/examples/strncat.c (main): Specify return type and use
88547         (void) for arguments.
88548         * manual/examples/subopt.c (main): Use char **argv argument.
88550 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88552         [BZ #5077]
88553         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88554         rounding modes.
88556 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88558         [BZ #6907]
88559         * manual/string.texi (strchr): Change when strchrnul is
88560         recommended.
88562 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88564         [BZ #174]
88565         * manual/locale.texi (setlocale): Document LOCPATH.
88567 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88569         [BZ #10210]
88570         * manual/process.texi (execle): Move @dots{} before last argument.
88572 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88574         [BZ #12047]
88575         * manual/charset.texi (Generic Charset Conversion): Fix typo
88576         (LC_TYPE -> LC_CTYPE).
88578 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88580         [BZ #5805]
88581         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88582         (scalbnf): Likewise.
88583         (scalbnl): Likewise.
88584         (scalbln): Likewise.
88585         (scalblnf): Likewise.
88586         (scalblnl): Likewise.
88587         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88588         (vwarnx): Likewise.
88589         (verr): Likewise.
88590         (verrx): Likewise.
88591         * manual/filesys.texi (telldir): Use braces around return type.
88592         * manual/llio.texi (mmap): Add space after comma.
88593         (mmap64): Likewise.
88594         * manual/math.texi (jn): Use @var{} on parameter names.
88595         (jnf): Likewise.
88596         (jnl): Likewise.
88597         (yn): Likewise.
88598         (ynf): Likewise.
88599         (ynl): Likewise.
88600         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88601         line.
88602         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88603         "...".
88604         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88605         (sched_get_priority_max): Likewise.
88606         * manual/signal.texi (sigvec): Add space after comma.
88607         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88608         names.
88609         (if_indextoname): Likewise.
88610         (if_freenameindex): Likewise.
88611         (sendto): Use ',' instead of '.' in prototype.
88612         * manual/startup.texi (syscall): Use @dots{} instead of literal
88613         "...".
88614         * manual/stdio.texi (__fpending): Separate initial words of
88615         paragraph from @deftypefun line.
88616         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88617         "...".
88618         (vsyslog): Use @var{} on parameter names.
88619         * manual/terminal.texi (stty): Use @var{} on parameter names.
88620         * manual/users.texi (getutmp): Use @var{} on parameter names.
88621         (getutmpx): Likewise.
88623 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88625         [BZ #6884]
88626         * manual/stdio.texi (fopen): Fix typos in description of
88627         ",ccs=STRING".
88629 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88631         [BZ #4026]
88632         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88633         get clock_id definition.
88635 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88637         [BZ #4822]
88638         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88639         (madvise): Cast every argument to void on its own.
88641 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88643         [BZ #9902]
88644         * manual/startup.texi (Exit Status): Fix typo.
88646 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88648         [BZ #10140]
88649         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88650         * manual/examples/argp-ex2.c: Likewise.
88651         * manual/examples/argp-ex3.c: Likewise.
88653 2012-02-16  Richard Henderson  <rth@redhat.com>
88655         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88656         * sysdeps/s390/s390-32/initfini.c: Remove.
88657         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88658         * sysdeps/s390/s390-64/initfini.c: Remove.
88660 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88662         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88663         compiler output for sysdeps/generic/initfini.c.
88664         * sysdeps/sh/elf/initfini.c: Remove file.
88666 2012-02-16  David S. Miller  <davem@davemloft.net>
88668         [BZ #11494]
88669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88671         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88672         * sysdeps/sparc/crti.S: New file.
88673         * sysdeps/sparc/crtn.S: New file.
88674         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88675         * sysdeps/sparc/sparc64/Makefile: Likewise.
88677 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88679         [BZ #3335]
88680         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88682 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88684         [BZ #4822]
88685         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88687         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88688         (write, read, close): Likewise.
88689         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88691 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88693         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88694         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88695         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88696         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88697         <bits/signalfd.h>.
88698         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88700         bits/signalfd.h.
88702 2012-02-14  Marek Polacek  <polacek@redhat.com>
88704         * sysdeps/x86_64/crti.S: New file.
88705         * sysdeps/x86_64/crtn.S: New file.
88706         * sysdeps/x86_64/elf/initfini.c: Remove file.
88708 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88710         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88711         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88712         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88713         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88714         <bits/inotify.h>.
88715         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88717         bits/inotify.h.
88719 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88721         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88722         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88723         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88724         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88725         <bits/eventfd.h>.
88726         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88727         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88728         bits/eventfd.h.
88730 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88732         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88733         __feraiseexcept instead of feraiseexcept.
88735         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88736         nanosleep invocations.
88737         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88738         strings, and add error checking for a nanosleep invocations.
88740 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88742         Replace FSF snail mail address with URLs, as per GNU coding standards.
88743         Most of the snail mail addresses were wrong anyway, and omitting
88744         them makes the source code easier to maintain.  Almost all of the
88745         changes are to license notices and to locale LC_IDENTIFICATION
88746         addresses, except for this one:
88747         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88748         not its snail mail address.
88750 2012-02-09  Richard Henderson  <rth@twiddle.net>
88752         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88753         of kernel-features.h.
88755         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88757 2012-02-08  Marek Polacek  <polacek@redhat.com>
88759         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88760         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88761         * sysdeps/gnu/_G_config.h: Likewise.
88762         * sysdeps/generic/_G_config.h: Likewise.
88764 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88766         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88767         tests.
88768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88770         * sysdeps/powerpc/powerpc32/crti.S: New file.
88771         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88772         * sysdeps/powerpc/powerpc64/crti.S: New file.
88773         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88775         * Makeconfig (have-initfini): Don't set.
88776         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88777         * configure.in (nopic_initfini): Don't substitute.
88778         * config.h.in (HAVE_INITFINI): Don't #undef.
88779         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88780         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88782 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88784         Support crti.S and crtn.S provided directly by architectures.
88785         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88786         [crti.S in sysdirs] (omit-deps): Likewise.
88787         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88788         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88789         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88790         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88791         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88792         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88793         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88794         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88795         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88796         compiler output for sysdeps/generic/initfini.c.
88797         * sysdeps/i386/elf/Makefile: Remove file.
88798         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88800 2012-02-07  Marek Polacek  <polacek@redhat.com>
88802         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88803         * sysdeps/gnu/_G_config.h: Likewise.
88804         * sysdeps/mach/hurd/_G_config.h: Likewise.
88806 2012-02-07  Marek Polacek  <polacek@redhat.com>
88808         * math/Makefile (tests): Add tst-CMPLX2.
88809         * math/tst-CMPLX2.c: New file.
88811 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88813         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88815         * math/libm-test.inc (jn_test): Add missing L suffix.
88817 2012-02-06  Marek Polacek  <polacek@redhat.com>
88819         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88820         * sysdeps/i386/fpu/e_powf.S: Likewise.
88821         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88822         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88823         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88824         * sysdeps/i386/fpu/e_pow.S: Likewise.
88825         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88826         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88827         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88828         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88829         * sysdeps/i386/fpu/e_log2.S: Likewise.
88830         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88831         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88832         * sysdeps/i386/fpu/e_powl.S: Likewise.
88833         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88834         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88835         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88836         * sysdeps/i386/fpu/e_logl.S: Likewise.
88837         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88838         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88839         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88840         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88841         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88842         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88843         * sysdeps/i386/fpu/e_log.S: Likewise.
88844         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88845         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88846         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88847         * sysdeps/i386/fpu/e_logf.S: Likewise.
88848         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88849         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88850         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88851         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88852         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88853         * sysdeps/i386/fpu/e_log10.S: Likewise.
88854         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88855         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88856         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88857         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88858         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88859         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88860         * sysdeps/i386/asm-syntax.h: Likewise.
88861         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88862         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88863         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88864         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88865         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88866         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88867         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88868         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88869         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88870         * sysdeps/powerpc/sysdep.h: Likewise.
88871         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88872         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88874 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88876         [BZ #411]
88877         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88879 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88881         * sysdeps/i386/sysdep.h: Include <features.h>.
88882         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88883         version.
88885 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88887         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88888         Define.
88889         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88890         LOAD_PIC_REG_STR.
88892 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88894         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88895         (SETUP_PIC_REG): Use GET_PC_THUNK.
88896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88897         macro.
88899 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88901         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88902         for non-PIC compilation.
88903         (SETUP_PIC_REG): Add .p2align directive.
88904         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88905         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88906         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88907         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88908         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88909         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88910         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88911         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88912         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88913         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88914         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88915         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88916         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88917         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88918         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88919         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88920         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88921         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88922         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88923         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88924         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88925         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88926         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88927         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88928         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88929         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88930         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88931         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88932         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88933         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88934         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88935         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88936         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88937         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88938         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88939         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88940         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88941         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88942         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88943         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88944         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88946 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88948         * math/tst-CMPLX.c: Include <stdio.h>.
88950 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88952         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88953         float.
88954         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88955         * sysdeps/sparc/bits/mathdef.h: Likewise.
88957 2012-01-31  Marek Polacek  <polacek@redhat.com>
88959         * libio/libio.h: Don't define _PARAMS.
88960         * locale/programs/config.h: Don't define PARAMS.
88961         * stdlib/strtol_l.c: Likewise.
88962         (__strtol_l): Remove PARAMS from the prototype.
88964 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88966         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88967         names.  Just use the correct names.  Remove unnecessary wrapper
88968         functions.
88969         * malloc/arena.c: Likewise.
88970         * malloc/hooks.c: Likewise.
88972         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88973         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88974         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88976 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88978         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88979         into tail calls.
88980         (update_get_addr): New function.
88981         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88982         GET_ADDR_MODULE parameter.
88984 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88986         * crypt/cert.c: Remove __STDC__ conditionals.
88987         * crypt/crypt-entry.c: Likewise.
88988         * crypt/crypt_util.c: Likewise.
88989         * libio/filedoalloc.c: Likewise.
88990         * libio/fileops.c: Likewise.
88991         * libio/genops.c: Likewise.
88992         * libio/iofclose.c: Likewise.
88993         * libio/iofdopen.c: Likewise.
88994         * libio/iofopen.c: Likewise.
88995         * libio/iofopen64.c: Likewise.
88996         * libio/iogetdelim.c: Likewise.
88997         * libio/iopopen.c: Likewise.
88998         * libio/obprintf.c: Likewise.
88999         * libio/oldfileops.c: Likewise.
89000         * libio/oldiofclose.c: Likewise.
89001         * libio/oldiofdopen.c: Likewise.
89002         * libio/oldiofopen.c: Likewise.
89003         * libio/oldiopopen.c: Likewise.
89004         * libio/wfiledoalloc.c: Likewise.
89005         * libio/wgenops.c: Likewise.
89006         * locale/programs/xmalloc.c: Likewise.
89007         * misc/syslog.c: Likewise.
89008         * stdio-common/xbug.c: Likewise.
89009         * string/memchr.c: Likewise.
89010         * string/memcmp.c: Likewise.
89011         * string/memrchr.c: Likewise.
89012         * string/rawmemchr.c: Likewise.
89013         * sysdeps/posix/getcwd.c: Likewise.
89014         * time/strftime_l.c: Likewise.
89016 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
89018         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
89019         * config.make.in (config-cflags-sse2avx): Define.
89020         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
89021         Fix typo.
89023 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
89025         * scripts/config.guess: Update from upstream config git repository.
89026         * scripts/config.sub: Likewise.
89028 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
89030         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
89031         (EM_NUM): Update.
89032         (R_TILEPRO_*, R_TILEGX_*): New macros.
89034         * scripts/firstversions.awk: Fix bug in version range handling.
89036         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
89038         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
89040         * include/sys/epoll.h: New file.
89041         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
89042         libc_hidden_def.
89044 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
89046         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
89047         Avoid unnecessary __WORDSIZE == 64 test.
89048         (fmaxf): Use VEX format if possible.
89049         (fmax): Likewise.
89050         (fminf): Likewise.
89051         (fmin): Likewise.
89053         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
89054         * math/math_private.h: Remove libc_fegetround* and
89055         libc_fesetround*.
89056         * sysdeps/i386/configure.in: Check for -msse2avx.
89057         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
89058         also if SSE2AVX is defined.
89059         Remove libc_fegetround* and libc_fesetround*.
89060         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
89061         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
89062         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89063         of HAS_YMM_USABLE.
89064         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89065         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89066         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89067         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89068         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89070         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89072 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89074         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89075         size is not set.
89076         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89078 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
89080         [BZ #13618]
89081         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89082         relocation.
89083         * Makeconfig (libm): Define.
89084         * elf/Makefile: Add rules to build and run tst-relsort1.
89085         * elf/tst-relsort1.c: New file.
89086         * elf/tst-relsort1mod1.c: New file.
89087         * elf/tst-relsort1mod2.c: New file.
89089 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
89091         * math/s_ldexp.c: Remove __STDC__ conditionals.
89092         * math/s_ldexpf.c: Likewise.
89093         * math/s_ldexpl.c: Likewise.
89094         * math/s_nextafter.c: Likewise.
89095         * math/s_nexttowardf.c: Likewise.
89096         * math/s_significand.c: Likewise.
89097         * math/s_significandf.c: Likewise.
89098         * math/s_significandl.c: Likewise.
89099         * math/w_jnl.c: Likewise.
89100         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89101         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89102         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89103         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89104         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89106         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89107         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89108         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89109         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89110         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89111         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89112         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89113         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89114         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89115         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89116         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89117         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89118         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89119         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89120         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89121         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89122         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89123         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89124         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89125         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89126         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89127         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89128         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89129         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89130         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89131         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89132         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89133         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89134         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89135         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89136         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89137         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89138         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89139         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89140         * sysdeps/ieee754/k_standard.c: Likewise.
89141         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89142         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89143         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89144         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89145         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89146         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89147         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89148         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89149         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89150         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89151         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89152         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89153         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89154         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89155         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89156         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89157         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89158         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89159         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89160         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89161         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89162         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89163         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89164         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89165         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89166         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89170         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89171         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89172         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89173         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89174         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89176         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89177         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89178         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89179         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89180         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89181         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89183         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89184         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89185         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89187         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89188         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89189         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89190         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89191         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89192         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89193         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89194         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89195         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89196         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89197         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89198         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89199         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89200         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89201         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89202         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89203         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89204         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89205         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89206         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89207         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89208         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89209         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89210         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89211         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89212         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89213         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89214         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89215         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89216         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89217         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89218         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89219         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89220         * sysdeps/ieee754/s_matherr.c: Likewise.
89221         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89222         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89224         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89226 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89228         * crypt/md5.h: Remove __STDC__ conditionals.
89229         * libio/libioP.h: Likewise.
89230         * locale/programs/config.h: Likewise.
89231         * sysdeps/generic/sysdep.h: Likewise.
89232         * sysdeps/i386/asm-syntax.h: Likewise.
89233         * sysdeps/s390/asm-syntax.h: Likewise.
89234         * sysdeps/unix/sysdep.h: Likewise.
89235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89238 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89240         * libio/libio.h: Remove __STDC__ conditionals.
89241         * malloc/obstack.h: Likewise.
89242         * math/complex.h: Likewise.
89243         * math/math.h: Likewise.
89244         * sysdeps/generic/_G_config.h: Likewise.
89245         * sysdeps/gnu/_G_config.h: Likewise.
89246         * sysdeps/mach/hurd/_G_config.h: Likewise.
89247         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89248         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89249         * sysdeps/sparc/bits/mathdef.h: Likewise.
89251 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89253         [BZ #13583]
89254         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89255         Clean up HAS_* macros.
89256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89257         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89258         possible.
89259         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89260         HAS_AVX.
89261         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89262         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89263         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89264         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89265         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89267 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89269         * elf/tst-unique3.cc (gets): Remove declaration.
89270         * elf/tst-unique3lib.cc (gets): Likewise.
89271         * elf/tst-unique3lib2.cc (gets): Likewise.
89272         * elf/tst-unique4.cc (gets): Likewise.
89274 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89276         * include/stdio.h: Add C++ protection.  Add gets declarations and
89277         definitions.
89278         * debug/tst-chk1.c: Don't declare gets here.
89279         * stdio-common/tst-gets.c: Likewise.
89281 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89283         * posix/glob: Remove directory.
89285 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89287         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89289 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89291         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89292         of the non-standard EPFNOSUPPORT.
89294 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89296         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89297         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89298         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89300 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89302         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89304 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89306         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89307         transient errors.
89308         * nscd/grpcache.c (cache_addgr): Likewise.
89309         * nscd/hstcache.c (cache_addhst): Likewise.
89310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89311         * nscd/pwdcache.c (cache_addpw): Likewise.
89312         * nscd/servicescache.c (cache_addserv): Likewise.
89314 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89316         * malloc/malloc.c: Various cleanups.
89317         * malloc/hooks.c: Likewise.
89319         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89320         * stdlib/bug-fmtmsg1.c: New file.
89322         * stdlib/fmtmsg.c (init): Add missing unlock.
89323         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89325 2012-01-12  Marek Polacek  <polacek@redhat.com>
89327         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89328         and _GNU_SOURCE.
89330 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89332         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89333         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89334         macro to ensure uniqueness of label name.
89335         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89336         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89338 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89340         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89342         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89343         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89344         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89345         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89347 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89349         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89351         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89352         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89353         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89355         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89357         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89358         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89359         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89360         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89362         * math/bits/math-finite.h: Add ldexp support.
89364 2012-01-10  Marek Polacek  <polacek@redhat.com>
89366         * locale/programs/localedef.h (show_archive_content): Add noreturn
89367         attribute.
89369 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89371         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89373 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89375         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89377         * io/Makefile (headers): Add bits/poll2.h.
89379 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89382         typo #include statement.
89384 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89386         * include/sys/cdefs.h: Define __attribute_alloc_size.
89387         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89388         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89389         * elf/pldd.c: Likewise.
89390         * iconv/iconv_charmap.c: Likewise.
89391         * iconv/iconvconfig.c: Likewise.
89392         * iconv/strtab.c: Likewise.
89393         * locale/programs/locale.c: Likewise.
89394         * locale/programs/localedef.h: Likewise.
89395         * locale/programs/simple-hash.c: Likewise.
89396         * nscd/nscd.h: Likewise.
89397         * nss/makedb.c: Likewise.
89398         * sysdeps/generic/ldconfig.h: Likewise.
89399         * locale/programs/localedef.c: Remove xmalloc prototype.
89400         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89402 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89404         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89405         appropriate.
89407 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89409         * math/Makefile (tests): Add tst-CMPLX.
89410         * math/tst-CMPLX.c: New file.
89412         * math/complex.h (CMPLXL): Fix typo.
89414         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89415         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89416         GLIBC_2.16.
89417         * debug/tst-chk1.c: Add poll and ppoll tests.
89418         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89419         * include/sys/poll.h: Add hidden proto for ppoll.
89420         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89421         * sysdeps/mach/hurd/ppoll.c: Likewise.
89422         * io/ppoll.c: Likewise.
89423         * debug/poll_chk.c: New file.
89424         * debug/ppoll_chk.c: New file.
89425         * include/bits/poll2.h: New file.
89426         * io/bits/poll2.h: New file.
89428         [BZ #1350]
89429         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89431         * configure.in: static is always set to yes.  Remove.
89432         * config.make.in: Don't set build-static.
89433         * Makeconfig: Remove use of build-static.
89434         * dlfcn/Makefile: Likewise.
89435         * elf/Makefile: Likewise.
89436         * math/Makefile: Likewise.
89437         * misc/Makefile: Likewise.
89438         * nptl/Makefile: Likewise.
89439         * sysdeps/mach/hurd/Makefile: Likewise.
89441         * configure.in: PWD_P is not used anymore.
89442         * config.make.in: Remove PWD_P entry.
89444         * configure.in: Remove last remnants of RANLIB.
89445         No need to check for signed size_t anymore.
89446         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89447         and IA-64.
89448         Remove __builtin_expect test because we require at least gcc 3.4.
89449         * aclocal.m4: Likewise.
89451         * wcsmbs/mbrtoc16.c: Implement using towc function.
89452         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89453         * wcsmbs/wcsmbsload.c: Likewise.
89454         * iconv/gconv_simple.c: Likewise.
89455         * iconv/gconv_int.h: Likewise.
89456         * iconv/gconv_builtin.h: Likewise.
89457         * iconv/iconv_prog.c: Remove CHAR16 handling.
89459         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89461         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89463         * configure.in: Remove --with-elf and --enable-bounded options.
89464         Dont set base_machine for ia64.  More non-ELF conditions removed.
89465         Remove testing and setting of leading underscore information.
89466         * config.make.in (build-bounded): Set to no.
89467         * config.h.in: Remove NO_UNDERSCORES entry.
89468         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89469         them.
89470         * csu/start.c: Remove !NO_UNDERSCORE code.
89471         * locale/localeinfo.h: Likewise.
89472         * sysdeps/generic/machine-gmon.h: Likewise.
89473         * sysdeps/generic/sysdep.h: Likewise.
89474         * sysdeps/i386/sysdep.h: Likewise.
89475         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89476         * sysdeps/mach/sysdep.h: Likewise.
89477         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89478         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89479         * sysdeps/sh/sysdep.h: Likewise.
89480         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89481         * sysdeps/unix/i386/sysdep.S: Likewise.
89482         * sysdeps/unix/sparc/start.c: Likewise.
89483         * sysdeps/unix/sparc/sysdep.S: Likewise.
89484         * sysdeps/unix/sparc/sysdep.h: Likewise.
89485         * sysdeps/unix/start.c: Likewise.
89486         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89487         * sysdeps/x86_64/sysdep.h: Likewise.
89489 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89491         [BZ #13553]
89492         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89493         for non-gcc.
89494         * argp/argp-fmtstream.h: Use const instead __const.
89495         * argp/argp.h: Likewise.
89496         * assert/assert.h: Likewise.
89497         * bits/fenv.h: Likewise.
89498         * bits/sched.h: Likewise.
89499         * bits/sigset.h: Likewise.
89500         * bits/sigthread.h: Likewise.
89501         * catgets/nl_types.h: Likewise.
89502         * conform/data/pthread.h-data: Likewise.
89503         * crypt/crypt-private.h: Likewise.
89504         * crypt/crypt.h: Likewise.
89505         * crypt/crypt_util.c: Likewise.
89506         * ctype/ctype.h: Likewise.
89507         * debug/execinfo.h: Likewise.
89508         * debug/mbsnrtowcs_chk.c: Likewise.
89509         * debug/mbsrtowcs_chk.c: Likewise.
89510         * debug/wcsnrtombs_chk.c: Likewise.
89511         * debug/wcsrtombs_chk.c: Likewise.
89512         * debug/wcstombs_chk.c: Likewise.
89513         * dirent/dirent.h: Likewise.
89514         * dlfcn/dlfcn.h: Likewise.
89515         * elf/neededtest4.c: Likewise.
89516         * grp/grp.h: Likewise.
89517         * gshadow/gshadow.h: Likewise.
89518         * iconv/gconv.h: Likewise.
89519         * iconv/gconv_int.h: Likewise.
89520         * iconv/gconv_simple.c: Likewise.
89521         * iconv/iconv.h: Likewise.
89522         * iconv/loop.c: Likewise.
89523         * iconv/skeleton.c: Likewise.
89524         * include/aio.h: Likewise.
89525         * include/aliases.h: Likewise.
89526         * include/argz.h: Likewise.
89527         * include/arpa/inet.h: Likewise.
89528         * include/assert.h: Likewise.
89529         * include/dirent.h: Likewise.
89530         * include/dlfcn.h: Likewise.
89531         * include/execinfo.h: Likewise.
89532         * include/fcntl.h: Likewise.
89533         * include/fenv.h: Likewise.
89534         * include/glob.h: Likewise.
89535         * include/grp.h: Likewise.
89536         * include/libintl.h: Likewise.
89537         * include/mntent.h: Likewise.
89538         * include/netdb.h: Likewise.
89539         * include/pwd.h: Likewise.
89540         * include/rpc/netdb.h: Likewise.
89541         * include/sched.h: Likewise.
89542         * include/search.h: Likewise.
89543         * include/shadow.h: Likewise.
89544         * include/signal.h: Likewise.
89545         * include/stdio.h: Likewise.
89546         * include/stdlib.h: Likewise.
89547         * include/string.h: Likewise.
89548         * include/sys/socket.h: Likewise.
89549         * include/sys/stat.h: Likewise.
89550         * include/sys/statfs.h: Likewise.
89551         * include/sys/statvfs.h: Likewise.
89552         * include/sys/syslog.h: Likewise.
89553         * include/sys/time.h: Likewise.
89554         * include/sys/uio.h: Likewise.
89555         * include/time.h: Likewise.
89556         * include/unistd.h: Likewise.
89557         * include/utmp.h: Likewise.
89558         * include/wchar.h: Likewise.
89559         * include/wctype.h: Likewise.
89560         * inet/aliases.h: Likewise.
89561         * inet/arpa/inet.h: Likewise.
89562         * inet/netinet/ether.h: Likewise.
89563         * inet/netinet/in.h: Likewise.
89564         * intl/libintl.h: Likewise.
89565         * io/bits/fcntl2.h: Likewise.
89566         * io/fcntl.h: Likewise.
89567         * io/ftw.h: Likewise.
89568         * io/sys/poll.h: Likewise.
89569         * io/sys/stat.h: Likewise.
89570         * io/sys/statfs.h: Likewise.
89571         * io/sys/statvfs.h: Likewise.
89572         * io/utime.h: Likewise.
89573         * libio/bits/stdio.h: Likewise.
89574         * libio/bits/stdio2.h: Likewise.
89575         * libio/libio.h: Likewise.
89576         * libio/libioP.h: Likewise.
89577         * libio/stdio.h: Likewise.
89578         * locale/lc-ctype.c: Likewise.
89579         * locale/locale.h: Likewise.
89580         * login/utmp.h: Likewise.
89581         * malloc/arena.c: Likewise.
89582         * malloc/malloc.c: Likewise.
89583         * malloc/malloc.h: Likewise.
89584         * malloc/mcheck.c: Likewise.
89585         * malloc/mtrace.c: Likewise.
89586         * math/bits/mathcalls.h: Likewise.
89587         * math/fenv.h: Likewise.
89588         * math/math_private.h: Likewise.
89589         * misc/bits/error.h: Likewise.
89590         * misc/bits/syslog.h: Likewise.
89591         * misc/err.h: Likewise.
89592         * misc/error.h: Likewise.
89593         * misc/fstab.h: Likewise.
89594         * misc/mntent.h: Likewise.
89595         * misc/regexp.h: Likewise.
89596         * misc/search.h: Likewise.
89597         * misc/sgtty.h: Likewise.
89598         * misc/sys/mman.h: Likewise.
89599         * misc/sys/syslog.h: Likewise.
89600         * misc/sys/uio.h: Likewise.
89601         * misc/sys/xattr.h: Likewise.
89602         * misc/ttyent.h: Likewise.
89603         * nis/rpcsvc/ypclnt.h: Likewise.
89604         * nss/nss.h: Likewise.
89605         * posix/bits/unistd.h: Likewise.
89606         * posix/fnmatch.h: Likewise.
89607         * posix/glob.h: Likewise.
89608         * posix/sched.h: Likewise.
89609         * posix/spawn.h: Likewise.
89610         * posix/sys/wait.h: Likewise.
89611         * posix/unistd.h: Likewise.
89612         * posix/wordexp.h: Likewise.
89613         * pwd/pwd.h: Likewise.
89614         * resolv/netdb.h: Likewise.
89615         * resource/sys/resource.h: Likewise.
89616         * rt/aio.h: Likewise.
89617         * rt/bits/mqueue2.h: Likewise.
89618         * rt/mqueue.h: Likewise.
89619         * shadow/shadow.h: Likewise.
89620         * signal/signal.h: Likewise.
89621         * socket/send.c: Likewise.
89622         * socket/sendto.c: Likewise.
89623         * socket/sys/socket.h: Likewise.
89624         * stdio-common/printf.h: Likewise.
89625         * stdlib/bits/stdlib.h: Likewise.
89626         * stdlib/fmtmsg.h: Likewise.
89627         * stdlib/monetary.h: Likewise.
89628         * stdlib/stdlib.h: Likewise.
89629         * stdlib/ucontext.h: Likewise.
89630         * streams/stropts.h: Likewise.
89631         * string/argz.h: Likewise.
89632         * string/bits/string2.h: Likewise.
89633         * string/string.h: Likewise.
89634         * string/strings.h: Likewise.
89635         * sunrpc/rpc/auth.h: Likewise.
89636         * sunrpc/rpc/auth_des.h: Likewise.
89637         * sunrpc/rpc/clnt.h: Likewise.
89638         * sunrpc/rpc/netdb.h: Likewise.
89639         * sunrpc/rpc/pmap_clnt.h: Likewise.
89640         * sunrpc/rpc/xdr.h: Likewise.
89641         * sysdeps/generic/inttypes.h: Likewise.
89642         * sysdeps/generic/net/if.h: Likewise.
89643         * sysdeps/generic/sys/swap.h: Likewise.
89644         * sysdeps/gnu/net/if.h: Likewise.
89645         * sysdeps/gnu/utmpx.h: Likewise.
89646         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89647         * sysdeps/i386/i486/bits/string.h: Likewise.
89648         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89649         * sysdeps/s390/bits/string.h: Likewise.
89650         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89651         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89652         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89653         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89654         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89655         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89656         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89657         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89658         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89659         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89660         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89661         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89662         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89663         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89664         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89665         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89666         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89667         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89668         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89669         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89670         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89671         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89672         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89673         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89674         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89675         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89676         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89677         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89678         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89679         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89680         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89681         * sysvipc/sys/ipc.h: Likewise.
89682         * sysvipc/sys/msg.h: Likewise.
89683         * sysvipc/sys/sem.h: Likewise.
89684         * sysvipc/sys/shm.h: Likewise.
89685         * termios/termios.h: Likewise.
89686         * time/sys/time.h: Likewise.
89687         * time/time.h: Likewise.
89688         * wcsmbs/bits/wchar2.h: Likewise.
89689         * wcsmbs/uchar.h: Likewise.
89690         * wcsmbs/wchar.h: Likewise.
89691         * wctype/wctype.h: Likewise.
89693         [BZ #13551]
89694         * Makeconfig: Remove all but ELF support including AIX support.
89695         * Makerules: Likewise.
89696         * config.h.in: Likewise.
89697         * config.make.in: Likewise.
89698         * configure: Likewise.
89699         * configure.in: Likewise.
89700         * csu/Makefile: Likewise.
89701         * csu/version.c: Likewise.
89702         * debug/Makefile: Likewise.
89703         * dlfcn/Makefile: Likewise.
89704         * elf/Makefile: Likewise.
89705         * extra-lib.mk: Likewise.
89706         * iconv/Makefile: Likewise.
89707         * include/libc-symbols.h: Likewise.
89708         * include/shlib-compat.h: Likewise.
89709         * resolv/Makefile: Likewise.
89710         * resolv/res_libc.c: Likewise.
89711         * rt/Makefile: Likewise.
89712         * sysdeps/i386/asm-syntax.h: Likewise.
89713         * sysdeps/i386/sysdep.h: Likewise.
89714         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89715         * sysdeps/mach/sysdep.h: Likewise.
89716         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89717         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89718         * sysdeps/s390/asm-syntax.h: Likewise.
89719         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89720         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89721         * sysdeps/sh/sysdep.h: Likewise.
89722         * sysdeps/unix/sparc/sysdep.h: Likewise.
89723         * sysdeps/wordsize-32/divdi3.c: Likewise.
89724         * sysdeps/x86_64/sysdep.h: Likewise.
89726         * argp/Versions: Remove _argp_unlock_xxx.
89728         [BZ #13559]
89729         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89730         * abilist/libBrokenLocale.abilist: Likewise.
89731         * abilist/libanl.abilist: Likewise.
89732         * abilist/libc.abilist: Likewise.
89733         * abilist/libcrypt.abilist: Likewise.
89734         * abilist/libdl.abilist: Likewise.
89735         * abilist/libm.abilist: Likewise.
89736         * abilist/libnsl.abilist: Likewise.
89737         * abilist/libpthread.abilist: Likewise.
89738         * abilist/libresolv.abilist: Likewise.
89739         * abilist/librt.abilist: Likewise.
89740         * abilist/libthread_db.abilist: Likewise.
89741         * abilist/libutil.abilist: Likewise.
89742         * abilist/libnss_db.abilist: New file.
89744         * scripts/abilist.awk: Add support for indirect functions.
89746         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89748         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89750         * shlib-versions: Remove entries for ports architectures.
89752         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89753         files in ports.
89754         * elf/stackguard-macros.h: Remove support for IA-64.
89755         * elf/tst-auditmod1.c: Likewise.
89756         * sysdeps/generic/ldsodefs.h: Likewise.
89758         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89759         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89760         configure files.
89762         [BZ #13552]
89763         * configure.in: Remove --enable-omitfp support.
89764         * FAQ.in: Adjust.
89765         * config.make.in: Likewise.
89766         * Makeconfig: Likewise.
89767         * manual/install.texi: Likewise.
89769         In case anyone cares, the IA-64 architecture could move to ports.
89770         * sysdeps/ia64/*: Removed.
89771         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89772         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89774         [BZ #13555]
89775         * configure.in: Remove entries for unsupported architectures.
89777         [BZ #13533]
89778         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89779         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89780         routines.
89781         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89782         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89783         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89784         fall back to using wcrtomb.
89785         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89786         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89787         renaming.
89788         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89789         * wcsmbs/tst-c16c32-1.c: New file.
89791         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89792         local variable.
89794         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89796         * elf/tst-unique3.cc: Add explicit declaration of gets.
89797         * elf/tst-unique3lib.cc: Likewise.
89798         * elf/tst-unique3lib2.cc: Likewise.
89799         * elf/tst-unique4.cc: Likewise.
89801         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89803 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89805         [BZ #13566]
89806         * assert/assert.h (static_assert): Don't define for C++.
89807         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89808         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89810 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89812         * iconv/loop.c (single loop): Fix assertion in storing of
89813         remaining bytes.
89815         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89817 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89819         * posix/getconf.c: Update copyright year.
89820         * nss/getent.c: Likewise.
89821         * nss/makedb.c: Likewise.
89822         * iconv/iconvconfig.c: Likewise.
89823         * iconv/iconv_prog.c: Likewise.
89824         * elf/ldconfig.c: Likewise.
89825         * elf/pldd.c: Likewise.
89826         * elf/sotruss.ksh: Likewise.
89827         * catgets/gencat.c: Likewise.
89828         * csu/version.c: Likewise.
89829         * elf/ldd.bash.in: Likewise.
89830         * elf/sprof.c (print_version): Likewise.
89831         * locale/programs/locale.c: Likewise.
89832         * locale/programs/localedef.c: Likewise.
89833         * login/programs/pt_chown.c: Likewise.
89834         * nscd/nscd.c (print_version): Likewise.
89835         * debug/xtrace.sh: Likewise.
89836         * malloc/memusage.sh: Likewise.
89837         * malloc/mtrace.pl: Likewise.
89838         * debug/catchsegv.sh: Likewise.
89840 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89842         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89843         pure attribute.
89845 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89847         [BZ #13533]
89848         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89849         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89850         transformations.
89851         * iconv/gconv_int.h: Likewise.
89852         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89853         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89854         from libc for GLIBC_2.16.
89855         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89856         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89857         * wcsmbs/uchar.h: Really define mbstate_t.
89858         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89859         * wcsmbs/c16rtomb.c: New file.
89860         * wcsmbs/mbrtoc16.c: New file.
89861         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89862         for C/POSIX locale.
89863         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89864         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89866         * wcsmbs/wchar.h: Add missing __restrict.
89868 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89870         [BZ #13532]
89871         * time/Makefile (routines): Add timespec_get.
89872         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89873         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89874         timespec for ISO C11.
89875         * time/timespec_get.c: New file.
89876         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89877         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89879         [BZ #13531]
89880         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89881         * stdlib/stdlib.h: Declare aligned_alloc.
89882         * Versions.def: Add GLIBC_2.16 for libc.
89883         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89885         [BZ 13527]
89886         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89887         ISO C11.
89889         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89890         code.
89892         [BZ #13528]
89893         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89895         [BZ #13529]
89896         * assert/assert.h (static_assert): Define.
89898         * version.h: Update for 2.16 development version.
89900         [BZ #13526]
89901         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89902         _ISOC11_SOURCE.
89904         * version.h (RELEASE): Bump for 2.15 release.
89905         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89907         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89908         Patch by Marek Polacek <mpolacek@redhat.com>.
89910         * bits/byteswap.h: Protect long long constants with __extension__.
89911         * sysdeps/i386/bits/byteswap.h: Likewise.
89912         * sysdeps/ia64/bits/byteswap.h: Likewise.
89913         * sysdeps/s390/bits/byteswap.h: Likewise.
89914         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89916 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89918         [BZ #13540]
89919         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89920         destination buffer.
89921         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89923 2011-12-23  Marek Polacek  <polacek@redhat.com>
89925         * elf/dl-addr.c (determine_info): Add inline keyword.
89926         * elf/tst-auditmod4b.c (check_avx): Likewise.
89927         * elf/tst-auditmod6b.c (check_avx): Likewise.
89928         * elf/tst-auditmod6c.c (check_avx): Likewise.
89929         * elf/tst-auditmod7b.c (check_avx): Likewise.
89931 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89933         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89934         !__SSE_MATH__.
89936 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89938         [BZ #13540]
89939         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89940         processing for last bytes.
89942 2011-08-06  Bruno Haible  <bruno@clisp.org>
89944         [BZ #13061]
89945         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89946         U+0385, not to U+1FEE.
89948         [BZ #13062]
89949         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89950         entry for U+00A5 U+0301.
89952 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89954         [BZ #13166]
89955         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89956         buffer for the output is too small.
89958         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89959         optimization.
89961         [BZ #13185]
89962         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89963         SSE flags if possible.
89965 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89967         [BZ #13540]
89968         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89969         processing for last bytes.
89971 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89973         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89974         (syscall-list-default-options, syscall-list-default-condition)
89975         (syscall-list-includes): Define.
89976         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89977         list of ABIs and options and #if conditions for each ABI.  Do not
89978         handle common syscalls between ABIs specially.
89979         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89980         Remove.
89981         (syscall-list-variants, syscall-list-32bit-options)
89982         (syscall-list-32bit-condition, syscall-list-64bit-options)
89983         (syscall-list-64bit-condition): Define.
89984         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89985         (syscall-list-variants, syscall-list-32bit-options)
89986         (syscall-list-32bit-condition, syscall-list-64bit-options)
89987         (syscall-list-64bit-condition): Define.
89988         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89989         Remove.
89990         (syscall-list-variants, syscall-list-32bit-options)
89991         (syscall-list-32bit-condition, syscall-list-64bit-options)
89992         (syscall-list-64bit-condition): Define.
89993         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89994         Remove.
89995         (syscall-list-variants, syscall-list-32bit-options)
89996         (syscall-list-32bit-condition, syscall-list-64bit-options)
89997         (syscall-list-64bit-condition): Define.
89999 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
90001         * locale/iso-639.def: Add brx entry.
90003         [BZ #13328]
90004         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
90005         Proposed by Mariusz_Cukr <marcukr@op.pl>.
90007         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
90008         __feraiseexcept_renamed.
90010 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
90012         [BZ #13538]
90013         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
90014         EPOLLET with unsigned values.
90015         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
90016         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
90018         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
90019         to large cancellation.
90020         * math/s_cacoshf.c: Likewise.
90021         * math/s_cacoshl.c: Likewise.
90023 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
90025         [BZ #13305]
90026         [BZ #12786]
90027         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
90028         * math/s_cacoshf.c: Likewise.
90029         * math/s_cacoshl.c: Likewise.
90031 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
90033         [BZ #13439]
90034         * iconv/gconv.h: Define __GCONV_SWAP.
90035         * iconvdata/unicode.c: The swap bit must be stored in __flags.
90036         * iconvdata/utf-16.c: Likewise.
90037         * iconvdata/utf-32.c: Likewise.
90039 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
90041         [BZ #13524]
90042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
90043         numerator after shifting it by one limb.
90045 2011-12-19  Rafael Ăvila de EspĂ­ndola  <rafael.espindola@gmail.com>
90047         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
90048         under [__USE_EXTERN_INLINES].
90050 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
90052         [BZ #13446]
90053         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
90055 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90057         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
90058         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
90059         optimized code.
90060         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
90061         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
90062         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90063         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90064         for strncasecmp/strncasecmp_l compilation.
90065         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90066         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90068 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
90070         [BZ #13484]
90071         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90072         of __asm__.
90074 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
90076         [BZ #13506]
90077         * time/tzfile.c (__tzfile_read): Check values from file header.
90079 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
90081         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90082         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90083         * powerpc/powerpc32/dl-start.S: Likewise.
90084         * powerpc/powerpc32/elf/start.S: Likewise.
90085         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90086         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90087         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90088         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90089         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90090         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90091         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90092         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90093         * powerpc/powerpc32/fpu/s_round.S: Likewise.
90094         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90095         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90096         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90097         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90098         * powerpc/powerpc32/memset.S: Likewise.
90099         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90100         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90101         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90102         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90103         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90104         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90105         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90106         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90107         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90108         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90109         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90110         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90111         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90113 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90115         * math/libm-test.inc: Added more nearbyint tests.
90116         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90117         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90118         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90119         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90121 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
90123         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90124         FD_CLOEXEC.
90126 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90128         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90129         Add wcscpy-ssse3 wcscpy-c.
90130         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90131         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90132         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90133         * sysdeps/x86_64/wcschr.S: New file.
90134         * sysdeps/x86_64/wcsrchr.S: New file.
90135         * string/test-strcmp.c: Remove checking of wcscmp function for
90136         wrong alignments.
90137         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90138         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90139         wcsrchr-sse2 wcsrchr-c.
90140         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90141         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90142         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90143         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90144         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90145         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90146         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90147         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90148         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90149         * wcsmbc/wcschr.c (WCSCHR): New macro.
90151 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90153         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90154         * wcsmbs/test-wcsrchr.c: New file.
90155         * string/test-strrchr.c: Add wcsrchr support.
90156         (WIDE): New macro.
90157         * wcsmbs/test-wcscpy.c: New file.
90158         * string/test-strcpy.c: Add wcscpy support.
90159         (WIDE): New macro.
90161 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
90163         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90164         the inner loop.
90166 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90168         [BZ #13472]
90169         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90171 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90173         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90174         Minor optimizations.
90176         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90177         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90178         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90180 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90182         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90183         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90184         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90185         for gcc to avoid warnings.
90186         * inet/Makefile (tests): Add tst-checks.
90187         * inet/tst-checks.c: New file.
90189         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90190         warning.
90192         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90193         __wmemcmp_sse2.
90195         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90196         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90198         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90200 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90202         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90203         problem.
90205         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90207 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90209         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90210         conditional on GCC version.
90211         (__arch_compare_and_exchange_val_8_acq)
90212         (__arch_compare_and_exchange_val_16_acq)
90213         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90214         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90215         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90217 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90219         * sysdeps/sh/backtrace.c: New file.
90221 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90223         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90224         parenthesis.
90226 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90228         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90229         falling back to utime.
90231 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90233         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90234         expectations for float.
90236 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90238         * locale/weight.h (findidx): Add parameter len.
90239         * locale/weightwc.h (findidx): Likewise.
90240         * posix/fnmatch_loop.c (FCT): Adjust caller.
90241         * posix/regcomp.c (build_equiv_class): Likewise.
90242         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90243         * posix/regexec.c (check_node_accept_bytes): Likewise.
90244         * string/strcoll_l.c (STRCOLL): Likewise.
90245         * string/strxfrm_l.c (STRXFRM): Likewise.
90247 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90249         * Makefile.in: Remove CVSOPT handling.
90250         * configure.in: Remove use of AC_REVISION.
90251         * iconvdata/Makefile (distribute): No need to filter out CVS.
90252         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90253         handling.
90255 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90258         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90259         [USE_AS_STRNCASECMP_L]: Likewise.
90260         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90261         NO_TLS_DIRECT_SEG_REFS.
90262         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90263         Fix argument offsets for non-PIC.
90264         [USE_AS_STRNCASECMP_L]: Likewise.
90265         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90266         NO_TLS_DIRECT_SEG_REFS.
90268 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90270         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90271         O_CLOEXEC.
90272         * locale/loadlocale.c (_nl_load_locale): Likewise.
90274 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90276         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90277         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90278         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90279         (SYSCALL_GETTIME): Set errno on error.
90281         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90282         count references to noai6ai_cached.
90284 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90286         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90288         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90289         FD_CLOEXEC for /proc/self/maps.
90291         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90292         FD_CLOEXEC for /proc/meminfo.
90294         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90295         gai.conf.
90297         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90298         FD_CLOEXEC for given file.
90300         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90302         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90303         FD_CLOEXEC for /etc/hosts.
90304         (_gethtent): Likewise.
90306         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90308         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90309         cancellation and set FD_CLOEXEC for /etc/netgroup.
90311         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90312         reading /etc/publickey.
90314         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90315         allow cancellation when reading /etc/group.
90317         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90318         cancellation.
90319         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90321         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90322         when using data file.
90324         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90326         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90327         (write_nis_obj): Use "c" and "e" in fopen.
90329         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90331         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90333         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90335         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90337         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90338         locale.alias.
90340         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90342         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90344         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90346         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90347         file parsing and set FD_CLOEXEC.
90349 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90351         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90353 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90355         * malloc/arena.c (arena_get2): Don't call reused_arena when
90356         _int_new_arena failed.
90358 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90360         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90361         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90362         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90363         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90364         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90365         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90366         to compile strcasecmp and strncasecmp.
90367         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90368         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90372 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90374         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90375         locale-defines.sym to gen-as-const-headers.
90376         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90377         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90379         to compile strcasecmp and strncasecmp.
90380         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90381         strcasecmp_l and strncasecmp_l.
90382         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90383         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90384         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90385         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90386         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90387         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90388         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90389         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90390         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90391         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90392         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90394 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90396         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90397         result of SYSDEP_GETTIME_CPU to retval.
90398         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90399         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90401         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90402         variable.
90404         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90405         mantissa words.
90406         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90408         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90409         from unused variable.
90411         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90412         DWARF definitions.
90413         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90414         for assembling.
90416         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90417         over namespaces.
90419         * sunrpc/rpc_prot.c (rejected): Fix case value.
90421         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90422         unsigned long long int to avoid warnings in shift.
90424         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90425         of use of trans.
90426         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90427         variable tmp.
90429         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90430         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90431         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90433         * nis/nis_table.c (nis_list): Use variable of correct type for
90434         result of __follow_path call.
90436 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90438         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90439         of math functions ceil, trunc, floor, round, and sqrt, when
90440         avaliable on the platform.
90441         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90442         name clash.
90443         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90444         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90445         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90447 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90449         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90450         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90452 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90454         * include/unistd.h: Fix __readlink return type.
90455         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90457 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90459         * stdlib/ucontext.h: Undo last change for makecontext.
90461 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90463         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90465         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90466         * setjmp/setjmp.h: Mark functions as non-leaf.
90467         * setjmp/bits/setjmp2.h: Likewise.
90468         * stdlib/ucontext.h: Likewise.
90470 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90472         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90473         (reused_arena): Don't check arena limit.
90474         (arena_get2): Atomically check arena limit.
90476 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90478         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90479         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90482         instructions.
90484 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90486         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90487         handler when locking.
90489         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90490         Fix size of allocated buffer.
90492 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90494         [BZ #10103]
90495         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90496         declarations for long double functions.
90497         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90499         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90501 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90503         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90504         installed.
90506         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90507         is disabled.
90509 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90511         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90513 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90515         * include/alloca.h (stackinfo_alloca_round): Define.
90516         (extend_alloca): Use it.
90517         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90518         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90519         here.
90521         * scripts/check-local-headers.sh: Ignore libaudit.h.
90523         * nscd/Makefile (extra-objs): Make recursively expanded.
90525 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90527         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90530         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90531         * posix/tst-rfc3484-2.c: Likewise.
90532         * posix/tst-rfc3484-3.c: Likewise.
90534         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90535         process_vm_writev.
90536         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90537         process_vm_writev.
90538         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90539         process_vm_writev from libc using GLIBC_2.15 version.
90541         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90543 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90545         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90546         stack usage.
90548 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90550         [BZ #13367]
90551         * nss/getent.c (initgroups_keys): Show error message in case no group
90552         names are given.
90554         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90555         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90556         __bump_nl_timestamp.
90557         * nscd/connections (nscd_init): When host database is served open
90558         netlink socket and request notification about configuration changes.
90559         (main_loop_poll): Track netlink file descriptor and bump timestamp
90560         in case data becomes available.
90561         (main_loop_epoll): Likewise.
90562         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90563         (database_pers_head): Add extra_data fileds.
90564         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90565         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90566         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90567         Adjust caller.
90568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90569         in6ai data, call __free_in6ai.
90570         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90571         Add -DHAVE_NETLINK.
90572         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90573         interface information.  Reuse previous data if netlink timestamp
90574         is not changed.
90575         (__bump_nl_timestamp): New function.
90576         (__free_in6ai): New function.
90578 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90580         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90581         close_not_cancel_no_status here.
90582         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90584 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90586         [BZ #13276]
90587         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90588         return value.
90590         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90591         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90592         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90594 2011-07-03  Andreas Jaeger  <aj@suse.de>
90596         [BZ #10709]
90597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90598         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90599         * math/libm-test.inc (sin_test): Add test case.
90601 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90603         [BZ #13337]
90604         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90605         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90607         * elf/chroot_canon.c (chroot_canon): Cleanups.
90609         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90611         [BZ #13335]
90612         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90613         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90615         * string/test-strchr.c: Make usable for strchrnul testing.
90616         * string/test-strchrnul.c: New file.
90617         * string/Makefile (strop-tests): Add strchrnul.
90619         * po/it.po: Update from translation team.
90620         * po/es.po: Likewise.
90622 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90624         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90625         the three constants needed as parameters.  Drop the others.
90626         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90627         __m128i_strloadu_tolower.
90628         Create and initialize variable zero and use it in all the places
90629         where _mm_setzero_si128 was used.
90631         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90632         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90633         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90634         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90635         anymore.
90636         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90637         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90638         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90639         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90640         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90641         __mpranred, __mptan.
90642         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90643         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90644         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90645         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90646         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90647         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90648         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90649         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90650         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90652 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90654         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90655         redefine if SHARED.
90656         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90658         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90659         wide char related routines to wcsmbs subdir.
90661 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90663         [BZ #13344]
90664         * misc/sys/cdefs.h (__THROWNL): Define.
90665         * posix/unistd.h: Use __THREADNL instead of __THREAD
90666         for memory synchronization functions.
90668 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90670         [BZ #13349]
90671         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90672         doesn't exist.
90673         * manual/stdio.texi (Obstack Streams): Node removed.
90675 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90677         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90678         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90679         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90681         * math/math_private.h (math_force_eval): Allow non-addressable
90682         arguments.
90683         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90685 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90687         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90688         file is not needed.
90690         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90691         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90692         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90693         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90694         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90695         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90696         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90697         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90698         Add AVX variants.
90699         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90700         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90701         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90702         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90703         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90704         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90705         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90706         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90707         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90708         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90709         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90710         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90711         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90712         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90713         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90714         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90715         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90716         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90717         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90719         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90720         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90722         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90723         place.  Use VEX encoding when compiling for AVX.
90725 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90727         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90728         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90730         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90732 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90734         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90735         useless if() expression.
90736         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90737         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90738         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90739         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90740         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90741         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90742         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90743         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90744         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90745         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90746         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90747         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90748         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90749         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90750         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90751         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90752         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90753         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90754         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90756         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90758 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90760         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90761         condition.
90762         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90764 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90766         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90767         .text section.  Avoid duplicate constants.
90768         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90769         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90770         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90772         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90774         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90775         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90776         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90777         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90778         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90779         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90780         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90781         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90782         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90783         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90784         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90785         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90786         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90788         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90789         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90790         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90791         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90792         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90793         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90794         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90795         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90796         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90797         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90798         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90799         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90800         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90801         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90802         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90803         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90804         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90805         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90806         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90807         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90808         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90809         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90810         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90811         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90812         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90814 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90816         * sysdeps/x86_64/dla.h: Move to ...
90817         * sysdeps/x86_64/fpu/dla.h: ...here.
90818         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90819         situations.  Use __builtin_fma only for gcc 4.6 and up.
90821         * config.make.in: Add have-mfma4 entry.
90822         * configure.in: Substitute libc_cv_cc_fma4.
90823         * math/Makefile (dbl-only-routines): Add sincostab.
90824         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90825         Use __sincostab not sincos.
90826         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90827         name is a macro.
90828         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90830         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90831         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90832         using __copysign.
90833         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90834         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90835         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90836         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90837         and __inv.
90838         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90839         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90840         __copysign.
90841         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90842         define aliases when function name is a macro.
90843         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90844         sysdeps/ieee754/dbl-64/sincos.tbl.
90845         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90846         fma4-enabled routines.
90847         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90848         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90849         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90850         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90851         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90852         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90853         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90854         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90855         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90856         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90857         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90858         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90859         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90860         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90861         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90862         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90863         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90864         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90865         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90866         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90867         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90868         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90869         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90870         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90871         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90872         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90874         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90875         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90876         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90878         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90879         rename.
90880         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90881         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90882         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90883         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90884         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90885         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90886         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90887         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90889 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90891         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90893 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90895         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90897         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90898         prediction.
90899         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90901         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90902         Remove unused variable magic_bits.
90903         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90905         * string/strnlen.c: Define and use STRNLEN macro.
90906         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90907         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90908         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90909         * wcsmbs/wcslen.c: Define and use WCSLEN.
90910         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90911         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90912         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90913         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90914         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90915         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90916         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90918 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90921         strnlen-sse2-no-bsf.
90922         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90923         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90924         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90925         Add strnlen support.
90926         (USE_AS_STRNLEN): New macro.
90927         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90928         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90929         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90930         * sysdeps/x86_64/wcslen.S: New file.
90932 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90934         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90935         XMM-moves are used for copying on small sizes.
90937 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90939         * wcsmbs/Makefile (strop-tests): Add wcschr.
90940         * wcsmbs/test-wcschr.c: New file.
90941         * string/test-strchr.c: Update.
90942         Add wcschr support.
90943         (WIDE): New macro.
90945 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90947         * wcsmbs/Makefile (strop-tests): Add wcslen.
90948         * wcsmbs/test-wcslen.c: New file.
90949         * string/test-strlen.c: Update.
90950         Add wcslen support.
90951         (WIDE): New macro.
90953 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90955         * po/it.po: Update from translation team.
90957 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90959         * sysdeps/x86_64/wcscmp.S: Update.
90960         Fix wrong comparison semantics.
90961         wcscmp shall use signed comparison not unsigned.
90962         Don't use substraction to avoid overflow bug.
90963         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90964         * wcsmbc/wcscmp.c: Likewise.
90965         * string/test-strcmp.c: Likewise.
90966         Add new tests to check cases with negative values.
90968 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90970         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90971         * sysdeps/x86_64/dla.h: ...here.  New file.
90972         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90974         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90977         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90982 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90985         __ynl_finite aliases.
90987 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90991         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90992         define DLA_FMA.
90993         [DLA_FMA] (EMULV): Use DLA_FMA.
90994         [DLA_FMA] (MUL12): Use EMULV.
90995         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90996         that are not needed.
90997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90998         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91000         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91001         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91002         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91003         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91005 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
91007         * math/s_nan.c: Undef __nan.
91008         * math/s_nanf.c: Undef __nanf.
91009         * math/s_nanl.c: Undef __nanl.
91010         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
91011         "math_private.h".
91013 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
91015         * math/s_catan.c: Add branch predictions.
91016         * math/s_catanf.c: Likewise.
91017         * math/s_catanh.c: Likewise.
91018         * math/s_catanhf.c: Likewise.
91019         * math/s_catanhl.c: Likewise.
91020         * math/s_catanl.c: Likewise.
91021         * math/s_cexp.c: Likewise.
91022         * math/s_cexpf.c: Likewise.
91023         * math/s_cexpl.c: Likewise.
91024         * math/s_clog.c: Likewise.
91025         * math/s_clog10.c: Likewise.
91026         * math/s_clog10f.c: Likewise.
91027         * math/s_clog10l.c: Likewise.
91028         * math/s_clogf.c: Likewise.
91029         * math/s_clogl.c: Likewise.
91030         * math/s_csqrt.c: Likewise.
91031         * math/s_csqrtf.c: Likewise.
91032         * math/s_csqrtl.c: Likewise.
91033         * math/s_ctanf.c: Likewise.
91034         * math/s_ctanh.c: Likewise.
91035         * math/s_ctanhf.c: Likewise.
91036         * math/s_ctanhl.c: Likewise.
91037         * math/s_ctanl.c: Likewise.
91039         * math/math_private.h: Define __nan, __nanf, __nanl.
91040         * math/s_cacosh.c: Include <math_private.h>.
91041         * math/s_cacoshl.c: Likewise.
91042         * math/s_casinh.c: Likewise.
91043         * math/s_casinhf.c: Likewise.
91044         * math/s_casinhl.c: Likewise.
91045         * math/s_ccos.c: Rely entire on ccosh.
91046         * math/s_ccosf.c: Rely entire on ccoshf.
91047         * math/s_ccosl.c: Rely entirely on ccoshl.
91048         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
91049         Remove tests for FE_INVALID.
91050         * math/s_ccoshf.c: Likewise.
91051         * math/s_ccoshl.c: Likewise.
91052         * math/s_csin.c: Likewise.
91053         * math/s_csinf.c: Likewise.
91054         * math/s_csinh.c Likewise.
91055         * math/s_csinhf.c: Likewise.
91056         * math/s_csinhl.c: Likewise.
91057         * math/s_csinl.c: Likewise.
91058         * math/s_ctan.c: Likewise.
91059         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
91060         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
91061         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
91063 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
91065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91066         compilation problems.
91068         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91069         __builtin_expect.
91071 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
91073         * sysdeps/i386/configure.in: Test for -mfma4 option.
91074         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91075         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91076         COMMON_CPUID_INDEX_80000001.
91077         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91078         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91079         use it if FMA3 is not supported.
91080         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91082         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91083         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91085 2011-10-20  Andreas Schwab  <schwab@redhat.com>
91087         [BZ #12892]
91088         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91089         it would create a cycle with a link time dependency.
91091 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
91093         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91094         instruction.
91095         * string/Makefile (strop-tests): Add rawmemchr.
91096         * string/test-rawmemchr.c: New file.
91098         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91099         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
91100         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
91101         when compiling str{,n}casecmp and when AVX is available.  Hook up
91102         new optimized code in initializers.
91104 2011-10-19  Andreas Schwab  <schwab@redhat.com>
91106         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91107         __feraiseexcept instead of feraiseexcept.
91109 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
91111         * math/math_private.h: Define defaults for libc_fetestexcept and
91112         libc_feupdateenv.
91113         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91114         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91115         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91116         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91117         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91118         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91119         libc_fetestexcept and libc_feupdateenv.
91121         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91122         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91123         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91124         * sysdeps/x86_64/fpu/math_private.h: Define special version of
91125         libc_feholdexcept_setround.
91127         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91128         Add s_nearbyint-c and s_nearbyintf-c.
91129         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91130         nearbyintf inlines.
91131         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91132         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91133         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91134         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91136         * math/math_private.h: Define defaults for libc_fegetround,
91137         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91138         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91139         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91140         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91141         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91142         standard functions.
91143         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91144         Remove comments and hacks for old compiler versions.
91145         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91146         libc_fegetround, libc_fesetround, libc_feholdexcept, and
91147         libc_feholdexceptl.
91149 2011-10-18  Andreas Schwab  <schwab@redhat.com>
91151         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91152         (__feraiseexcept_renamed): Add __NTH.
91153         (feraiseexcept): Add __NTH.  Rename local variables to fix
91154         namespace violations.
91156 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
91158         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91160         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91162         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91163         recently added interfaces.
91164         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91166         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91167         about macro parameter expansion.
91169         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91170         __NO_MATH_INLINES is defined.  Cleanups.
91172         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91173         and __floorf is target has SSE4.1.
91174         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91175         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91176         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91177         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91179         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91180         name.
91181         (floorf): Likewise.
91183         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91185 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91187         * misc/sys/cdefs.h: Fix last change.
91189         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91190         database lookup.
91192 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91194         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91196         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91197         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91198         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91199         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91200         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91201         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91202         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91203         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91204         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91205         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91206         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91207         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91208         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91209         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91210         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91211         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91212         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91213         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91214         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91215         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91216         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91217         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91219         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91220         ceil, ceilf, floor, floorf.
91222         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91223         Perform IRELATIVE relocations last.
91225         * elf/do-rel.h: Add another parameter nrelative, replacing the
91226         local variable with the same name.  Change name of the function
91227         to end in Rel or Rela (uppercase).
91228         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91229         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91230         elf_dynamic_do_##reloc function.
91232 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91234         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91235         is sufficient, at least on modern CPUs.
91237         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91239         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91240         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91242         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91243         __expl_finite.
91244         * math/bits/math-finite.h: Add entries for exp.
91245         * math/e_expl.c: Add __*_finite alias.
91246         * sysdeps/i386/fpu/e_exp.S: Likewise.
91247         * sysdeps/i386/fpu/e_expf.S: Likewise.
91248         * sysdeps/i386/fpu/e_expl.c: Likewise.
91249         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91250         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91251         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91253         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91254         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91255         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91257         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91258         is sufficient, at least on modern CPUs.
91260         * ctype/ctype-info.c (__ctype_init): Define.
91261         * include/ctype.h (__ctype_init): Declare.
91262         (__ctype_b_loc): The variable is always initialized.
91263         (__ctype_toupper_loc): Likewise.
91264         (__ctype_tolower_loc): Likewise.
91265         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91266         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91268 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91270         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91272         * configure.in: Also look in $cxxmachine/include for C++ system
91273         headers.
91275 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91277         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91278         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91279         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91280         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91281         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91282         (USE_AS_WMEMCMP): New macro.
91283         Fixing indents.
91284         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91285         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91286         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91287         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91289         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91290         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91291         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91292         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91293         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91294         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91295         (USE_AS_WMEMCMP): New macro.
91296         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91297         * sysdeps/string/test-memcmp.c: Update.
91298         Fix simple_wmemcmp.
91299         Add new tests.
91300         * wcsmbs/wmemcmp.c: Update.
91301         (WMEMCMP): New macro.
91302         Fix overflow bug.
91304 2011-10-12  Andreas Jaeger  <aj@suse.de>
91306         [BZ #13268]
91307         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91309 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91311         * libio/iofwide.c (do_length): Avoid warning.
91313         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91315 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91317         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91319         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91320         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91321         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91322         * sysdeps/i386/i686/fpu/e_log.S: New file.
91323         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91324         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91326         * ctype/ctype.h: Add support for inlined isXXX functions when
91327         compiling C++ code.
91329 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91331         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91333         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91335 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91337         [BZ #13291]
91338         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91340 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91342         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91343         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91344         feraiseexcept.
91346         * sysdeps/x86_64/memrchr.S: Check for zero size.
91348         * string/stratcliff.c: Add memrchr tests.
91350 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91353         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91354         rawmemchr-sse2 rawmemchr-sse2-bsf.
91355         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91356         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91357         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91358         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91359         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91360         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91361         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91362         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91363         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91364         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91365         * string/memrchr.c (MEMRCHR): New macro.
91367 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91369         Add integration with gcc's -ffinite-math-only and optimize wrapper
91370         functions in libm.
91371         * Versions.def: Define GLIBC_2.15 version for libm.
91372         * math/Makefile (headers): Add bits/math-finite.h.
91373         * math/bits/math-finite.h: New file.
91374         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91375         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91376         * math/e_acoshl.c: Add __*_finite alias.
91377         * math/e_acosl.c: Likewise.
91378         * math/e_asinl.c: Likewise.
91379         * math/e_atan2l.c: Likewise.
91380         * math/e_atanhl.c: Likewise.
91381         * math/e_coshl.c: Likewise.
91382         * math/e_exp10.c: Likewise.
91383         * math/e_exp10f.c: Likewise.
91384         * math/e_exp10l.c: Likewise.
91385         * math/e_exp2l.c: Likewise.
91386         * math/e_fmodl.c: Likewise.
91387         * math/e_gammal_r.c: Likewise.
91388         * math/e_hypotl.c: Likewise.
91389         * math/e_j0l.c: Likewise.
91390         * math/e_j1l.c: Likewise.
91391         * math/e_jnl.c: Likewise.
91392         * math/e_lgammal_r.c: Likewise.
91393         * math/e_log10l.c: Likewise.
91394         * math/e_log2l.c: Likewise.
91395         * math/e_logl.c: Likewise.
91396         * math/e_powl.c: Likewise.
91397         * math/e_sinhl.c: Likewise.
91398         * math/e_sqrtl.c: Likewise.
91399         * math/e_scalb.c: Completely rewritten and optimized.
91400         * math/e_scalbf.c: Likewise.
91401         * math/e_scalbl.c: Likewise.
91402         * math/w_acos.c: Likewise.
91403         * math/w_acosf.c: Likewise.
91404         * math/w_acosl.c: Likewise.
91405         * math/w_acosh.c: Likewise.
91406         * math/w_acoshf.c: Likewise.
91407         * math/w_acoshl.c: Likewise.
91408         * math/w_asin.c: Likewise.
91409         * math/w_asinf.c: Likewise.
91410         * math/w_asinl.c: Likewise.
91411         * math/w_atan2.c: Likewise.
91412         * math/w_atan2f.c: Likewise.
91413         * math/w_atan2l.c: Likewise.
91414         * math/w_atanh.c: Likewise.
91415         * math/w_atanhf.c: Likewise.
91416         * math/w_atanhl.c: Likewise.
91417         * math/w_exp10.c: Likewise.
91418         * math/w_exp10f.c: Likewise.
91419         * math/w_exp10l.c: Likewise.
91420         * math/w_fmod.c: Likewise.
91421         * math/w_fmodf.c: Likewise.
91422         * math/w_fmodl.c: Likewise.
91423         * math/w_j0.c: Likewise.
91424         * math/w_j0f.c: Likewise.
91425         * math/w_j0l.c: Likewise.
91426         * math/w_j1.c: Likewise.
91427         * math/w_j1f.c: Likewise.
91428         * math/w_j1l.c: Likewise.
91429         * math/w_jn.c: Likewise.
91430         * math/w_jnf.c: Likewise.
91431         * math/w_log.c: Likewise.
91432         * math/w_logf.c: Likewise.
91433         * math/w_logl.c: Likewise.
91434         * math/w_log10.c: Likewise.
91435         * math/w_log10f.c: Likewise.
91436         * math/w_log10l.c: Likewise.
91437         * math/w_log2.c: Likewise.
91438         * math/w_log2f.c: Likewise.
91439         * math/w_log2l.c: Likewise.
91440         * math/w_pow.c: Likewise.
91441         * math/w_powf.c: Likewise.
91442         * math/w_powl.c: Likewise.
91443         * math/w_remainder.c: Likewise.
91444         * math/w_remainderf.c: Likewise.
91445         * math/w_remainderl.c: Likewise.
91446         * math/w_scalb.c: Likewise.
91447         * math/w_scalbf.c: Likewise.
91448         * math/w_scalbl.c: Likewise.
91449         * math/w_sqrt.c: Likewise.
91450         * math/w_sqrtf.c: Likewise.
91451         * math/w_sqrtl.c: Likewise.
91452         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91453         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91454         used.
91455         * math/math_private.h: Declare __kernel_standard_f.
91456         * math/w_cosh.c: Remove cruft and optimize a bit.
91457         * math/w_coshf.c: Likewise.
91458         * math/w_coshl.c: Likewise.
91459         * math/w_exp2.c: Likewise.
91460         * math/w_exp2f.c: Likewise.
91461         * math/w_exp2l.c: Likewise.
91462         * math/w_hypot.c: Likewise.
91463         * math/w_hypotf.c: Likewise.
91464         * math/w_hypotl.c: Likewise.
91465         * math/w_lgamma.c: Likewise.
91466         * math/w_lgamma_r.c: Likewise.
91467         * math/w_lgammaf.c: Likewise.
91468         * math/w_lgammaf_r.c: Likewise.
91469         * math/w_lgammal.c: Likewise.
91470         * math/w_lgammal_r.c: Likewise.
91471         * math/w_sinh.c: Likewise.
91472         * math/w_sinhf.c: Likewise.
91473         * math/w_sinhl.c: Likewise.
91474         * math/w_tgamma.c: Likewise.
91475         * math/w_tgammaf.c: Likewise.
91476         * math/w_tgammal.c: Likewise.
91477         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91478         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91479         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91480         Minor optimizations.  Pretty printing.  Remove cruft.
91481         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91482         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91483         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91484         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91485         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91486         * sysdeps/i386/fpu/e_asin.S: Likewise.
91487         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91488         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91489         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91490         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91491         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91492         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91493         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91494         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91495         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91496         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91497         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91498         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91499         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91500         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91501         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91502         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91503         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91504         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91505         * sysdeps/i386/fpu/e_log.S: Likewise.
91506         * sysdeps/i386/fpu/e_log10.S: Likewise.
91507         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91508         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91509         * sysdeps/i386/fpu/e_log2.S: Likewise.
91510         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91511         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91512         * sysdeps/i386/fpu/e_logf.S: Likewise.
91513         * sysdeps/i386/fpu/e_logl.S: Likewise.
91514         * sysdeps/i386/fpu/e_pow.S: Likewise.
91515         * sysdeps/i386/fpu/e_powf.S: Likewise.
91516         * sysdeps/i386/fpu/e_powl.S: Likewise.
91517         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91518         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91519         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91520         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91521         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91522         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91523         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91524         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91525         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91526         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91527         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91529         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91530         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91531         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91532         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91533         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91534         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91535         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91536         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91537         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91538         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91539         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91540         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91541         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91542         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91543         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91544         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91546         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91547         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91548         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91549         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91550         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91551         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91552         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91553         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91554         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91555         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91556         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91557         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91558         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91560         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91561         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91562         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91563         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91564         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91565         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91566         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91567         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91568         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91569         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91570         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91571         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91572         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91573         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91574         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91575         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91576         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91577         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91578         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91579         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91580         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91581         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91582         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91583         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91584         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91585         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91586         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91587         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91588         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91589         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91590         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91592         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91594         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91596         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91597         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91598         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91600         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91602         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91603         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91604         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91605         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91606         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91607         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91608         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91609         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91610         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91611         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91612         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91613         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91614         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91615         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91616         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91617         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91618         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91619         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91620         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91621         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91622         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91623         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91624         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91625         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91626         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91627         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91628         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91629         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91630         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91631         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91632         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91633         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91634         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91635         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91636         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91637         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91638         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91639         (__isnanf): Likewise.
91640         (__isinf_ns): Likewise.
91641         (__isinf_nsf): Likewise.
91642         (__finite): Likewise.
91643         (__finitef): Likewise.
91644         (__ieee754_sqrt): Define as macro.
91645         (__ieee754_sqrtf): Define as macro.
91646         (__ieee754_sqrtl): Define as macro.
91647         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91648         inlined copy.
91649         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91650         __FINITE_MATH_ONLY__ consistent.
91651         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91653 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91655         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91656         of rawmemchr.
91658         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91660 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91662         * po/ja.po: Update from translation team.
91664 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91666         * locale/programs/locarchive.c (prepare_address_space): New function.
91667         (create_archive, enlarge_archive, open_archive): Use it.
91669         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91670         inside [SHARED], where it is used.
91672         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91674         * nss/getent.c (netgroup_keys): Remove unused variable.
91675         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91677 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91679         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91680         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91681         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91682         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91683         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91684         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91685         * math/Makefile (libm-calls): Add s_isinf_ns.
91686         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91687         * math/multc3.c: Likewise.
91688         * math/s_casin.c: Likewise.
91689         * math/s_casinf.c: Likewise.
91690         * math/s_casinl.c: Likewise.
91691         * math/s_ccos.c: Likewise.
91692         * math/s_ccosf.c: Likewise.
91693         * math/s_ccosl.c: Likewise.
91694         * math/s_ctan.c: Likewise.
91695         * math/s_ctanf.c: Likewise.
91696         * math/s_ctanh.c: Likewise.
91697         * math/s_ctanhf.c: Likewise.
91698         * math/s_ctanhl.c: Likewise.
91699         * math/s_ctanl.c: Likewise.
91700         * math/w_fmod.c: Likewise.
91701         * math/w_fmodf.c: Likewise.
91702         * math/w_fmodl.c: Likewise.
91703         * math/w_remainder.c: Likewise.
91704         * math/w_remainderf.c: Likewise.
91705         * math/w_remainderl.c: Likewise.
91706         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91707         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91708         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91710         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91711         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91712         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91713         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91715         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91716         of the number.
91717         * stdio-common/printf_fphex.c: Likewise.
91718         * stdio-common/printf_size.c: Likewise.
91720         * math/e_exp10.c: Include math_private.h using <...> not "...".
91721         * math/e_exp10f.c: Likewise.
91722         * math/e_exp10l.c: Likewise.
91723         * math/e_exp2l.c: Likewise.
91724         * math/e_j0l.c: Likewise.
91725         * math/e_j1l.c: Likewise.
91726         * math/e_jnl.c: Likewise.
91727         * math/e_lgammal_r.c: Likewise.
91728         * math/e_rem_pio2l.c: Likewise.
91729         * math/e_scalb.c: Likewise.
91730         * math/e_scalbf.c: Likewise.
91731         * math/e_scalbl.c: Likewise.
91732         * math/k_cosl.c: Likewise.
91733         * math/k_sinl.c: Likewise.
91734         * math/k_tanl.c: Likewise.
91735         * math/s_cacoshf.c: Likewise.
91736         * math/s_catan.c: Likewise.
91737         * math/s_catanf.c: Likewise.
91738         * math/s_catanh.c: Likewise.
91739         * math/s_catanhf.c: Likewise.
91740         * math/s_catanhl.c: Likewise.
91741         * math/s_catanl.c: Likewise.
91742         * math/s_ccosh.c: Likewise.
91743         * math/s_ccoshf.c: Likewise.
91744         * math/s_ccoshl.c: Likewise.
91745         * math/s_cexp.c: Likewise.
91746         * math/s_cexpf.c: Likewise.
91747         * math/s_cexpl.c: Likewise.
91748         * math/s_clog.c: Likewise.
91749         * math/s_clog10.c: Likewise.
91750         * math/s_clog10f.c: Likewise.
91751         * math/s_clog10l.c: Likewise.
91752         * math/s_clogf.c: Likewise.
91753         * math/s_clogl.c: Likewise.
91754         * math/s_csin.c: Likewise.
91755         * math/s_csinf.c: Likewise.
91756         * math/s_csinh.c: Likewise.
91757         * math/s_csinhf.c: Likewise.
91758         * math/s_csinhl.c: Likewise.
91759         * math/s_csinl.c: Likewise.
91760         * math/s_csqrt.c: Likewise.
91761         * math/s_csqrtf.c: Likewise.
91762         * math/s_csqrtl.c: Likewise.
91763         * math/s_ctan.c: Likewise.
91764         * math/s_ctanf.c: Likewise.
91765         * math/s_ctanh.c: Likewise.
91766         * math/s_ctanhf.c: Likewise.
91767         * math/s_ctanhl.c: Likewise.
91768         * math/s_ctanl.c: Likewise.
91769         * math/s_ldexp.c: Likewise.
91770         * math/s_ldexpf.c: Likewise.
91771         * math/s_ldexpl.c: Likewise.
91772         * math/s_significand.c: Likewise.
91773         * math/s_significandf.c: Likewise.
91774         * math/s_significandl.c: Likewise.
91775         * math/w_acos.c: Likewise.
91776         * math/w_acosf.c: Likewise.
91777         * math/w_acosh.c: Likewise.
91778         * math/w_acoshf.c: Likewise.
91779         * math/w_acoshl.c: Likewise.
91780         * math/w_acosl.c: Likewise.
91781         * math/w_asin.c: Likewise.
91782         * math/w_asinf.c: Likewise.
91783         * math/w_asinl.c: Likewise.
91784         * math/w_atan2.c: Likewise.
91785         * math/w_atan2f.c: Likewise.
91786         * math/w_atan2l.c: Likewise.
91787         * math/w_atanh.c: Likewise.
91788         * math/w_atanhf.c: Likewise.
91789         * math/w_atanhl.c: Likewise.
91790         * math/w_cosh.c: Likewise.
91791         * math/w_coshf.c: Likewise.
91792         * math/w_coshl.c: Likewise.
91793         * math/w_dremf.c: Likewise.
91794         * math/w_exp10.c: Likewise.
91795         * math/w_exp10f.c: Likewise.
91796         * math/w_exp10l.c: Likewise.
91797         * math/w_exp2.c: Likewise.
91798         * math/w_exp2f.c: Likewise.
91799         * math/w_fmod.c: Likewise.
91800         * math/w_fmodf.c: Likewise.
91801         * math/w_fmodl.c: Likewise.
91802         * math/w_hypot.c: Likewise.
91803         * math/w_hypotf.c: Likewise.
91804         * math/w_hypotl.c: Likewise.
91805         * math/w_j0.c: Likewise.
91806         * math/w_j0f.c: Likewise.
91807         * math/w_j0l.c: Likewise.
91808         * math/w_j1.c: Likewise.
91809         * math/w_j1f.c: Likewise.
91810         * math/w_j1l.c: Likewise.
91811         * math/w_jn.c: Likewise.
91812         * math/w_jnf.c: Likewise.
91813         * math/w_jnl.c: Likewise.
91814         * math/w_lgamma.c: Likewise.
91815         * math/w_lgamma_r.c: Likewise.
91816         * math/w_lgammaf.c: Likewise.
91817         * math/w_lgammaf_r.c: Likewise.
91818         * math/w_lgammal.c: Likewise.
91819         * math/w_lgammal_r.c: Likewise.
91820         * math/w_log.c: Likewise.
91821         * math/w_log10.c: Likewise.
91822         * math/w_log10f.c: Likewise.
91823         * math/w_log10l.c: Likewise.
91824         * math/w_log2.c: Likewise.
91825         * math/w_log2f.c: Likewise.
91826         * math/w_log2l.c: Likewise.
91827         * math/w_logf.c: Likewise.
91828         * math/w_logl.c: Likewise.
91829         * math/w_pow.c: Likewise.
91830         * math/w_powf.c: Likewise.
91831         * math/w_powl.c: Likewise.
91832         * math/w_remainder.c: Likewise.
91833         * math/w_remainderf.c: Likewise.
91834         * math/w_remainderl.c: Likewise.
91835         * math/w_scalb.c: Likewise.
91836         * math/w_scalbf.c: Likewise.
91837         * math/w_scalbl.c: Likewise.
91838         * math/w_sinh.c: Likewise.
91839         * math/w_sinhf.c: Likewise.
91840         * math/w_sinhl.c: Likewise.
91841         * math/w_sqrt.c: Likewise.
91842         * math/w_sqrtf.c: Likewise.
91843         * math/w_sqrtl.c: Likewise.
91844         * math/w_tgamma.c: Likewise.
91845         * math/w_tgammaf.c: Likewise.
91846         * math/w_tgammal.c: Likewise.
91848         * po/ja.po: Update from translation team.
91850 2011-09-29  Andreas Jaeger  <aj@suse.de>
91852         [BZ #13179]
91853         * sunrpc/netname.c (netname2host): Fix logic.
91855         [BZ #6779]
91856         [BZ #6783]
91857         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91858         correctly.
91859         * math/w_remainder.c (__remainder): Likewise.
91860         * math/w_remainderf.c (__remainderf): Likewise.
91861         * math/libm-test.inc (remainder_test): Add test cases.
91863 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91865         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91866         sdiv_qrnnd.
91868 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91870         * string/test-memcmp.c: Avoid unncessary #defines.
91871         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91873 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91875         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91876         Use new sse2 version for core i3 - i7 as it's faster
91877         than sse42 version.
91878         (bit_Prefer_PMINUB_for_stringop): New.
91879         * sysdeps/x86_64/rawmemchr.S: Update.
91880         Replace with faster SSE2 version.
91881         * sysdeps/x86_64/memrchr.S: New file.
91882         * sysdeps/x86_64/memchr.S: Update.
91883         Replace with faster SSE2 version.
91885 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91887         * elf/dl-load.c (lose): Add cast to avoid warning.
91889 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91891         * po/ca.po: Update from translation team.
91893         * inet/getnetgrent_r.c: Hook up nscd.
91894         * nscd/Makefile (routines): Add nscd_netgroup.
91895         (nscd-modules): Add netgroupcache.
91896         (CFLAGS-netgroupcache.c): Define.
91897         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91898         (cache_search): Add const to second parameter.
91899         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91900         INNETGR.
91901         (dbs): Add netgrdb entry.
91902         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91903         (verify_persistent_db): Handle netgrdb.
91904         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91905         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91906         GETFDNETGR.
91907         (netgroup_response_header): Define.
91908         (innetgroup_response_header): Define.
91909         (datahead): Add netgroup_response_header and innetgroup_response_header
91910         elements.
91911         * nscd/nscd.conf: Add entries for netgroup cache.
91912         * nscd/nscd.h (dbtype): Add netgrdb.
91913         (_PATH_NSCD_NETGROUP_DB): Define.
91914         (netgroup_iov_disabled): Declare.
91915         (xmalloc, xcalloc, xrealloc): Move declarations here.
91916         (cache_search): Adjust prototype.
91917         Add netgroup-related prototypes.
91918         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91919         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91920         (__nscd_innetgr): Declare.
91921         * nscd/selinux.c (perms): Use access_vector_t as element type and
91922         add netgroup-related initializers.
91923         * nscd/netgroupcache.c: New file.
91924         * nscd/nscd_netgroup.c: New file.
91925         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91926         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91927         For four parameters use innetgr.
91928         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91929         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91930         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91931         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91933         * nscd/connections.c (register_traced_file): Don't register file
91934         for disabled databases.
91936 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91938         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91940         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91941         from tree and freeing node.
91943 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91945         * nss/nsswitch.c (__nss_database_lookup): Handle
91946         nss_parse_service_list out of memory case.
91948 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91950         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91951         out of memory case.
91953 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91955         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91956         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91957         pass it down.
91958         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91959         elf_machine_rela, elf_machine_lazy_rel.
91960         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91961         (ELF_DYNAMIC_DO_REL): Likewise.
91962         (ELF_DYNAMIC_DO_RELA): Likewise.
91963         (ELF_DYNAMIC_RELOCATE): Likewise.
91964         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91965         to ELF_DYNAMIC_DO_REL.
91966         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91967         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91968         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91969         elf_machine_rela.
91970         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91971         skip_ifunc, don't call ifunc function if non-zero.
91972         (elf_machine_rela): Likewise.
91973         (elf_machine_lazy_rel): Likewise.
91974         (elf_machine_lazy_rela): Likewise.
91975         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91976         (elf_machine_lazy_rel): Likewise.
91977         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91978         Likewise.
91979         (elf_machine_lazy_rel): Likewise.
91980         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91981         Likewise.
91982         (elf_machine_lazy_rel): Likewise.
91983         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91984         (elf_machine_lazy_rel): Likewise.
91985         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91986         (elf_machine_lazy_rel): Likewise.
91987         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91988         (elf_machine_lazy_rel): Likewise.
91989         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91990         (elf_machine_lazy_rel): Likewise.
91991         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91992         (elf_machine_lazy_rel): Likewise.
91993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91994         (elf_machine_lazy_rel): Likewise.
91996 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91998         * nss/nss_files/files-init.c (_nss_files_init): Use static
91999         initialization for all the *_traced_file variables.
92001 2011-09-28  Andreas Schwab  <schwab@redhat.com>
92003         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92005 2011-09-27  Roland McGrath  <roland@hack.frob.com>
92007         [BZ #13226]
92008         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
92010 2011-09-27  Andreas Schwab  <schwab@redhat.com>
92012         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
92013         Reread the line before reparsing it.
92015 2011-09-26  Andreas Schwab  <schwab@redhat.com>
92017         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
92019 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
92020             Maxim Kuvyrkov  <maxim@codesourcery.com>
92021             Joseph Myers  <joseph@codesourcery.com>
92023         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
92024         if needed for __stack_chk_guard.
92026 2011-09-19  Roland McGrath  <roland@hack.frob.com>
92028         * sysdeps/posix/spawni.c (script_execute): Always define it.
92029         It will be optimized away if unused.
92030         (maybe_script_execute): New function.
92031         (__spawni): Call it.
92033         * Makerules: Don't include tls.make.
92034         (config-tls): Always set to thread.
92035         * tls.make.c: File removed.
92037 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
92039         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
92040         * config.make.in (CPPFLAGS-config): New substituted variable.
92042 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
92044         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
92046         [BZ #13192]
92047         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
92048         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
92050 2011-09-15  Roland McGrath  <roland@hack.frob.com>
92052         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
92053         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
92054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92055         (CALL_FAIL): Likewise.
92056         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
92057         (CALL_FAIL): Macro removed.
92058         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
92060 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
92062         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92063         for __FINITE_MATH_ONLY__ == 1.
92065 2011-09-15  Andreas Schwab  <schwab@redhat.com>
92067         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92068         __ieee754_sqrt instead of sqrt.
92069         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92070         __ieee754_sqrtf instead of sqrtf.
92071         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92072         __floorf instead of floorf.
92073         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92074         __floorf, __truncf instead of floorf, truncf.
92076 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
92078         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92080         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92081         __extern_always_inline.
92082         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92083         32-bit.
92085 2011-09-14  Andreas Schwab  <schwab@redhat.com>
92087         * elf/rtld.c (dl_main): Also relocate in dependency order when
92088         doing symbol dependency testing.
92090 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
92092         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92093         Always define `refsym'.
92095 2011-09-13  Andreas Schwab  <schwab@redhat.com>
92097         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92098         (__FD_ELT): Renamed from __FDELT.
92099         * misc/bits/select2.h (__FD_ELT): Likewise.
92100         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92101         __FD_MASK instead of __FDELT, __FDMASK.
92102         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92103         Likewise.
92104         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92105         Likewise.
92107         * elf/Makefile (gen-ldd): Fix pattern.
92109         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92110         (init_tls): Likewise.
92112 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
92114         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92116 2011-09-12  Andreas Schwab  <schwab@redhat.com>
92118         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92119         `struct cmsghdr *' instead of `void *'.
92120         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92121         Likewise.
92123 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
92125         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92126         if non-absolute.
92127         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92128         ldd_rewrite_script.
92130 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
92132         * configure.in: Remove --with-tls option.
92133         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92134         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92135         out in case it is missing.
92136         * sysdeps/ia64/elf/configure.in: Likewise.
92137         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92138         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92139         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92140         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92141         * sysdeps/sh/elf/configure.in: Likewise.
92142         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92143         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92144         * sysdeps/x86_64/elf/configure.in: Likewise.
92145         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92146         * sysdeps/mach/hurd/tls.h: Likewise.
92148         [BZ #13067]
92149         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92151         [BZ #13090]
92152         * configure.in: Fix use of AC_INIT.
92154         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92156 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
92158         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92159         __set_errno.
92160         * malloc/hooks.c: Likewise.
92162         [BZ #11929]
92163         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
92164         variables statically.
92165         (narenas): Initialize.
92166         (list_lock): Initialize.
92167         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92168         initializtion of main_arena and list_lock.  Small cleanups.
92169         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92170         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92171         Add initializers to main_arena and mp_.
92172         (malloc_state): Remove pagesize member.  Change all users to use
92173         GLRO(dl_pagesize).
92175         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92176         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92177         is always initialized.
92179         * malloc/malloc.c: Removed unused configurations and dead code.
92180         * malloc/arena.c: Likewise.
92181         * malloc/hooks.c: Likewise.
92182         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92184         * include/tls.h: Removed.  USE___THREAD must always be defined.
92185         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92186         * elf/dl-libc.c: Likewise.
92187         * elf/dl-tsd.c: Likewise.
92188         * include/errno.h: Likewise.
92189         * include/netdb.h: Likewise.
92190         * include/resolv.h: Likewise.
92191         * inet/herrno-loc.c: Likewise.
92192         * inet/herrno.c: Likewise.
92193         * malloc/arena.c: Likewise.
92194         * malloc/hooks.c: Likewise.
92195         * malloc/malloc.c: Likewise.
92196         * resolv/res-state.c: Likewise.
92197         * resolv/res_libc.c: Likewise.
92198         * sysdeps/i386/dl-machine.h: Likewise.
92199         * sysdeps/ia64/dl-machine.h: Likewise.
92200         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92201         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92202         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92203         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92204         * sysdeps/sh/dl-machine.h: Likewise.
92205         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92206         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92207         * sysdeps/unix/i386/sysdep.S: Likewise.
92208         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92209         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92214         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92216         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92218         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92219         * sysdeps/x86_64/dl-machine.h: Likewise.
92220         * tls.make.c: Likewise.
92222         * configure.in: Remove --with-__thread option.  Make tests for
92223         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92224         tls_model attribute fail if no support is available.  Remove
92225         USE_IN_LIBIO.
92226         * Makeconfig: Adjust for dropped configure option.  All features are
92227         now mandatory.
92228         * Makerules: Likewise.
92229         * Versions.def: Likewise.
92230         * argp/argp-fmtstream.c: Likewise.
92231         * argp/argp-fmtstream.h: Likewise.
92232         * argp/argp-help.c: Likewise.
92233         * assert/assert.c: Likewise.
92234         * config.h.in: Likewise.
92235         * config.make.in: Likewise.
92236         * configure: Likewise.
92237         * configure.in: Likewise.
92238         * csu/Versions: Likewise.
92239         * csu/init.c: Likewise.
92240         * elf/tst-audit2.c: Likewise.
92241         * elf/tst-tls10.c: Likewise.
92242         * elf/tst-tls10.h: Likewise.
92243         * elf/tst-tls11.c: Likewise.
92244         * elf/tst-tls12.c: Likewise.
92245         * elf/tst-tls14.c: Likewise.
92246         * elf/tst-tlsmod11.c: Likewise.
92247         * elf/tst-tlsmod12.c: Likewise.
92248         * elf/tst-tlsmod13.c: Likewise.
92249         * elf/tst-tlsmod13a.c: Likewise.
92250         * elf/tst-tlsmod14a.c: Likewise.
92251         * elf/tst-tlsmod15b.c: Likewise.
92252         * elf/tst-tlsmod16a.c: Likewise.
92253         * elf/tst-tlsmod16b.c: Likewise.
92254         * elf/tst-tlsmod7.c: Likewise.
92255         * elf/tst-tlsmod8.c: Likewise.
92256         * elf/tst-tlsmod9.c: Likewise.
92257         * gmon/gmon.c: Likewise.
92258         * grp/fgetgrent_r.c: Likewise.
92259         * grp/putgrent.c: Likewise.
92260         * hurd/fopenport.c: Likewise.
92261         * include/libc-symbols.h: Likewise.
92262         * include/tls.h: Likewise.
92263         * intl/gettextP.h: Likewise.
92264         * intl/loadinfo.h: Likewise.
92265         * locale/global-locale.c: Likewise.
92266         * locale/localeinfo.h: Likewise.
92267         * mach/devstream.c: Likewise.
92268         * malloc/arena.c: Likewise.
92269         * malloc/set-freeres.c: Likewise.
92270         * misc/err.c: Likewise.
92271         * misc/getttyent.c: Likewise.
92272         * misc/mntent_r.c: Likewise.
92273         * posix/getopt.c: Likewise.
92274         * posix/wordexp.c: Likewise.
92275         * pwd/fgetpwent_r.c: Likewise.
92276         * resolv/Versions: Likewise.
92277         * resolv/res_hconf.c: Likewise.
92278         * shadow/fgetspent_r.c: Likewise.
92279         * shadow/putspent.c: Likewise.
92280         * stdio-common/printf_fphex.c: Likewise.
92281         * stdio-common/tmpfile.c: Likewise.
92282         * stdlib/abort.c: Likewise.
92283         * stdlib/fmtmsg.c: Likewise.
92284         * sunrpc/auth_unix.c: Likewise.
92285         * sunrpc/clnt_perr.c: Likewise.
92286         * sunrpc/clnt_tcp.c: Likewise.
92287         * sunrpc/clnt_udp.c: Likewise.
92288         * sunrpc/clnt_unix.c: Likewise.
92289         * sunrpc/openchild.c: Likewise.
92290         * sunrpc/svc_simple.c: Likewise.
92291         * sunrpc/svc_tcp.c: Likewise.
92292         * sunrpc/svc_udp.c: Likewise.
92293         * sunrpc/svc_unix.c: Likewise.
92294         * sunrpc/xdr.c: Likewise.
92295         * sunrpc/xdr_array.c: Likewise.
92296         * sunrpc/xdr_rec.c: Likewise.
92297         * sunrpc/xdr_ref.c: Likewise.
92298         * sunrpc/xdr_stdio.c: Likewise.
92300 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92302         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92304 2011-07-03  Andreas Jaeger  <aj@suse.de>
92306         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92307         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92308         regenerate with gen-libm-tests.pl.
92310 2010-05-12  Petr Baudis  <pasky@suse.cz>
92312         [BZ #11589]
92313         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92314         around j0() zero points by switching to j1().
92315         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92316         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92318         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92320 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92322         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92323         instead of 0.
92324         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92325         instead of 0.
92326         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92327         Patch in part by Pavel Roskin <proski@gnu.org>.
92329         [BZ #13138]
92330         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92331         realloc.
92332         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92333         Free memory block if necessary.
92335         [BZ #12847]
92336         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92337         be NULL.  Don't lock in this case.
92339 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92341         * elf/elf.h (ELFOSABI_GNU): New macro.
92342         (ELFOSABI_LINUX): Define to that.
92344 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92346         * string/strncat.c (strncat): Undef the symbol in case it has been
92347         defined in bits/string.h.
92349 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92351         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92353         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92354         link map.
92356 2011-08-17  Andreas Jaeger  <aj@suse.de>
92358         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92360 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92361             Ian Lance Taylor  <iant@google.com>
92363         * math/libm-test.inc (lround_test): New testcase.
92364         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92366 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92368         * Makefile: Remove support for automatic cvs check-ins.
92369         * Makerules: Likewise.
92370         * config.make.in: Likewise.
92371         * configure.in: Likewise.
92372         * intl/Makefile: Likewise.
92373         * locale/Makefile: Likewise.
92374         * po/Makefile: Likewise.
92375         * posix/Makefile: Likewise.
92376         * sysdeps/gnu/Makefile: Likewise.
92377         * sysdeps/mach/hurd/Makefile: Likewise.
92378         * sysdeps/sparc/sparc32/Makefile: Likewise.
92380         [BZ #13118]
92381         * posix/Makefile (bug-regex32-ENV): Define.
92382         Patch by John Stanley <jpsinthemix@verizon.net>.
92384         * misc/Makefile (headers): Add bits/select2.h.
92385         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92386         * misc/bits/select2.h: New file.
92387         * include/bits/select2.h: New file.
92388         * debug/Makefile (routines): Add fdelt_chk.
92389         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92390         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92391         FD_ISSET.
92392         * debug/fdelt_chk.c: New file.
92394         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92395         * wcsmbs/test-wmemcmp.c: Likewise.
92396         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92397         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92399 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92401         * string/Makefile (strop-tests): Add memcmp.
92402         * string/test-wmemcmp.c: New file.
92403         * string/test-memcmp.c: Add wmemcmp support.
92405 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92407         [BZ #13153]
92408         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92409         2011-07-19 change.
92411         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92412         garbage value in a __mach_port_mod_refs call in the cases of the
92413         task-self and thread-self ports.
92415 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92417         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92419 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92421         * elf/dl-load.c (lose): Check for non-null L.
92423 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92425         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92427         * elf/dl-libc.c (dlerror_run): Pass back error code from
92428         dl_catch_error.
92430         [BZ #13123]
92431         * elf/dl-load.c (lose): Free l_origin if it is valid.
92433         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92434         names.
92435         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92436         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92437         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92438         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92439         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92440         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92442 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92444         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92445         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92446         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92447         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92448         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92449         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92450         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92451         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92452         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92453         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92455 2011-08-15  Alan Modra  <amodra@gmail.com>
92457         [BZ #13092]
92458         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92459         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92460         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92461         ppc_mcount to static-only-routines.
92462         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92463         __mcount_internal.
92464         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92465         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92467 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92469         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92470         for finite and infinity parameters.
92472 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92474         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92475         and add nop instructions for throughput optimization.
92476         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92478 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92480         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92481         aligned copy for power7 with vector-scalar instructions.
92482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92484 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92487         AVX check.
92489 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92491         [BZ #13144]
92492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92493         last change.
92495 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92497         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92498         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92499         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92500         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92501         clock_gettime.
92503 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92505         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92506         Forgot to demangle the pointer.
92508         * sysdeps/i386/sysdep.h: Define atom_text_section.
92509         * sysdeps/x86_64/sysdep.h: Likewise.
92510         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92511         section with atom_text_section.
92512         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92513         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92514         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92515         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92516         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92518         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92519         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92520         already be defined.  Change to take two parameters and don't assign
92521         result to variable.  Adjust all users.
92522         Define INTERNAL_GETTIME if not already defined.
92523         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92524         call.
92525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92526         HAVE_CLOCK_GETTIME_VSYSCALL.
92527         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92530         gettimeofday vsyscall, just use time.
92532 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92534         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92535         <errno.h>.
92537 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92539         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92540         syscall on x86-64.
92541         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92542         syscall.
92543         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92545         syscall if possible.
92547 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92549         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92550         e_ident.  Don't pass to find_mapsXX.
92551         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92553 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92556         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92557         * sysdeps/x86_64/multiarch/strchr.S: Update.
92558         Check bit_slow_BSF bit.
92559         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92560         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92561         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92563 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92565         [BZ #13134]
92566         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92567         before glibc 2.15.
92568         (tryshell): Define.
92569         (__spawni): Change last parameter to be flag.  Test
92570         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92571         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92572         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92573         * posix/spawni.c: Likewise.
92574         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92575         * posix/spawnp.c: Likewise.  Change normal version to use
92576         SPAWN_XFLAGS_USE_PATH.
92577         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92578         SPAWN_XFLAGS_TRY_SHELL.
92580         [BZ #13150]
92581         * posix/glob.h: Remove gcc 1.x support.
92583         [BZ #13068]
92584         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92586 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92588         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92589         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92590         strrchr-sse2-bsf
92591         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92592         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92593         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92594         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92595         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92596         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92598 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92600         * sysdeps/x86_64/wcscmp.S: New file.
92602         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92603         wcscmp-c wcscmp-sse2
92604         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92605         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92606         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92607         * wcsmbs/wcscmp.c: Allow renaming.
92609 2011-09-05  David S. Miller  <davem@davemloft.net>
92611         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92612         stack slot, rather than the struct return pointer slot.
92613         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92614         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92616         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92618 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92620         * po/ja.po: Update from translation team.
92622         [BZ #13144]
92623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92624         kernel in 64-bit binaries.
92626 2011-09-01  David S. Miller  <davem@davemloft.net>
92628         * elf/elf.h (HWCAP_SPARC_*): Move to..
92629         * sysdeps/sparc/sysdep.h: this new file and add new values.
92630         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92631         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92632         _DL_HWCAP_COUNT to 24.
92633         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92634         entries.
92635         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92636         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92637         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92639         instead of magic constants.
92640         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92642 2011-08-31  David S. Miller  <davem@davemloft.net>
92644         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92645         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92646         Reimplement to do errno handling inline.
92647         (SYSCALL_ERROR_HANDLER): New macro.
92648         (__SYSCALL_STRING): Do not do errno handling in asm.
92649         (__CLONE_SYSCALL_STRING): Delete.
92650         (__INTERNAL_SYSCALL_STRING): Delete.
92651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92652         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92653         (PSEUDO): Reimplement to do errno handling inline.
92654         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92655         (SYSCALL_ERROR_HANDLER): New macro.
92656         (__SYSCALL_STRING): Do not do errno handling in asm.
92657         (__CLONE_SYSCALL_STRING): Delete.
92658         (__INTERNAL_SYSCALL_STRING): Delete.
92659         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92660         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92661         i386.
92662         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92663         (inline_syscall*): Add 'err' argument.
92664         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92665         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92666         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92667         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92669         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92670         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92672 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92674         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92676 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92678         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92679         directive.
92681 2011-08-24  David S. Miller  <davem@davemloft.net>
92683         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92685 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92687         * elf/Makefile: Add rules to build and run unload8 test.
92688         * elf/unload8.c: New file.
92689         * elf/unload8mod1.c: New file.
92690         * elf/unload8mod1x.c: New file.
92691         * elf/unload8mod2.c: New file.
92692         * elf/unload8mod3.c: New file.
92694         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92695         it wasn't used.
92697 2011-08-23  David S. Miller  <davem@davemloft.net>
92699         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92700         subtract stack bias.
92701         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92702         %sp not %fp in calculations.
92703         (_JMPBUF_UNWINDS_ADJ): Likewise.
92705         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92706         (aio_suspend): Call it to force an exception region around the
92707         AIO_MISC_WAIT() invocation.
92709 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92711         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92712         backslash.
92714 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92716         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92717         protection macro.
92718         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92719         and <dl-machine.h>.
92720         (Elf64_FuncDesc): Remove.
92722 2011-08-22  David S. Miller  <davem@davemloft.net>
92724         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92725         sigaltstack check, add missing cfi directives.
92726         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92727         missing cfi directives, and sigaltstack handling.
92729 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92731         [BZ #11724]
92732         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92733         object is seen twice.
92734         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92736         * elf/Makefile (distribute): Add tst-initorder2.c.
92737         (tests): Add tst-initorder2.
92738         (modules-names): Add tst-initorder2a tst-initorder2b
92739         tst-initorder2c tst-initorder2d.  Add rules to build them.
92740         ($(objpfx)tst-initorder2.out): New rule.
92741         * elf/tst-initorder2.c: New file.
92742         * elf/tst-initorder2.exp: New file.
92744 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92746         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92748         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92749         dependencies back to end of function.
92751         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92752         $(elfobjdir)/ld.so.
92754 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92756         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92757         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92759         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92760         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92761         of __vdso_gettimeofday.
92762         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92763         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92764         attribute_hidden.
92765         (_libc_vdso_platform_setup): Remove initialization of
92766         __vdso_gettimeofday and __vdso_time.
92768 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92770         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92771         and fgetc_unlocked.
92772         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92773         getc_unlocked.
92775         * elf/dl-open.c (add_to_global): Report additions to the global scope
92776         for LD_DEBUG=scopes.
92777         (dl_open_worker): Also print scope of newly loaded dependencies.
92778         (_dl_show_scope): Indicate if there is no scope.
92780         [BZ #13114]
92781         * stdio-common/Makefile (tests): Add bug24.
92782         * stdio-common/bug24.c: New file.
92784 2011-08-19  Andreas Jaeger  <aj@suse.de>
92786         [BZ #13114]
92787         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92788         non-existant file when using close-on-exec mode.
92790 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92793         the very first instruction.
92795         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92796         the CFI state in the end.
92797         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92798         inclusion of dl-trampoline.h.
92799         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92801 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92803         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92804         expectations for long double.
92806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92807         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92809 2011-08-14  David S. Miller  <davem@davemloft.net>
92811         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92812         artificual limit depends upon the system page size.
92814 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92816         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92817         * resolv/Makefile: Define CFLAGS-libresolv.
92819 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92821         * nss/makedb.c (compute_tables): Make variables used in nested
92822         function static.
92824 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92826         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92827         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92828         if buffer was too small.
92830         * elf/pldd.c (main): Attach to all threads in the process.
92831         Rewrite /proc handling to use *at functions.
92833 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92835         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92836         specifies first scope to show.
92837         (dl_open_worker): Update callers.  Move printing scope of new
92838         object to before the relocation.
92839         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92840         * sysdeps/generic/ldsodefs.h: Update declaration.
92842         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92843         string for the scope number.
92845 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92847         * nscd/servicescache.c (cache_addserv): Make sure written is always
92848         initialized.
92850 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92852         * sysdeps/i386/i486/bits/atomic.h
92853         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92854         statement expression, so as to suppress "set but not used" warning.
92855         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92857         * string/strncat.c (STRNCAT): Use prototype definition.
92859         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92860         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92861         -Iprograms here.
92862         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92863         (localedef-modules): Add localedef.
92864         (locale-modules): Add locale.
92866         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92867         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92868         to avoid a warning.
92870 2011-08-14  David S. Miller  <davem@davemloft.net>
92872         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92873         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92875 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92877         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92878         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92879         * elf/rtld.c (dl_main): Set l_name of vDSO.
92880         Call _dl_show_scope when DL_DEBUG_SCOPES.
92881         (process_dl_debug): Recognize scopes flag and also set it for all.
92882         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92883         Declare _dl_show_scope.
92885         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92886         (do_dlopen): Pass caller_dlopen to dl_open.
92887         (__libc_dlopen_mode): Initialize caller_dlopen.
92889         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92890         of libc.  Make tolower call locale-independent.  Optimize a bit by
92891         using isdigit instead of isalnum.
92892         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92894 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92896         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92897         was a dependency or dynamically loaded.
92899 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92901         * intl/l10nflist.c: Allow architecture-specific pop function.
92902         * sysdeps/x86_64/l10nflist.c: New file.
92904         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92905         classification.
92907 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92909         * include/dirent.h: Add libc_hidden_proto for scandirat and
92910         scandirat64.  Don't declare __scandirat64.
92911         * dirent/scandirat.c: Add libc_hidden_def.
92912         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92913         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92915 2011-08-10  David S. Miller  <davem@davemloft.net>
92917         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92918         enum.
92919         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92920         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92923 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92925         * Versions.def [libc]: Add GLIBC_2.15.
92926         * dirent/Makefile (routines): Add scandirat and scandirat64.
92927         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92928         GLIBC_2.15.
92929         * dirent/dirent.h: Declare scandirat and scandirat64.
92930         * dirent/scandirat.c: New file.
92931         * dirent/scandirat64.c: New file.
92932         * sysdeps/wordsize-64/scandirat.c: New file.
92933         * sysdeps/wordsize-64/scandirat64.c: New file.
92934         * dirent/opendir.c: Define opendirat.
92935         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92936         using scandirat.
92937         * dirent/scandir64.c: Adjust for scandir.c change.
92938         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92939         __scandirat64, and __scandir_cancel_handler.
92940         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92941         additional parameter and use openat instead of open (outside of ld.so).
92942         Add new __opendir as wrapper around __opendirat.
92943         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92944         here without requiring old scandirat implementation.
92946 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92948         * dirent/scandir.c (cancel_handler): Renamed to
92949         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92950         defined.  Adjust users.
92951         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92952         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92954 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92956         * string/test-string.h (IMPL): Use __STRING to expand name and then
92957         stringify it.
92959         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92960         of cleanups.
92962 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92964         * string/Makefile: Update.
92965         (strop-tests): Append strncat.
92966         * string/test-wcscmp.c: New file.
92967         New comprehensive test for wcscmp.
92968         * string/test-strcmp.c: Update.
92969         (WIDE): New define.
92971 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92973         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92974         line.
92976 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92979         encoding to ACE if AI_IDN.
92981 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92983         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92984         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92986 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92988         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92989         Fix overflow bug in strncat.
92990         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92992         * string/test-strncat.c: Update.
92993         Add new tests for checking overflow bugs.
92995 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92997         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92998         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92999         * sysdeps/i386/i686/multiarch/strcat.S: New file.
93000         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
93001         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
93002         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
93003         * sysdeps/i386/i686/multiarch/strncat.S: New file.
93004         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
93005         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
93007         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
93008         (USE_AS_STRCAT): Define.
93009         Add strcat and strncat support.
93010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
93012 2011-07-25  Andreas Schwab  <schwab@redhat.com>
93014         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
93015         __n bigger than INT_MAX+1.
93016         (__strncmp_g): Likewise.
93018 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
93020         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
93021         * libio/stido.h: Likewise.
93023         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
93024         (AF_NFC): Define.
93025         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
93026         (AF_NFC): Define.
93028         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
93029         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93030         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93031         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
93032         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93034         [BZ #13021]
93035         * scripts/test-installation.pl: Don't expect libnss_test1 to be
93036         installed.
93038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
93039         typo.
93040         (_dl_x86_64_save_sse): Likewise.
93042 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
93044         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
93045         OSXSAVE.
93046         (_dl_x86_64_save_sse): Likewise.
93048         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
93050         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
93052 2011-07-21  Andreas Schwab  <schwab@redhat.com>
93054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
93055         change.
93056         (_dl_x86_64_save_sse): Use correct AVX check.
93058 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
93060         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
93061         bug in strncpy/strncat.
93062         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
93064 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
93066         * string/tester.c (test_strcat): Add tests for different alignments
93067         of source and destination.
93068         (test_strncat): Likewise.
93070 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93072         [BZ #12852]
93073         * posix/glob.c (glob): Check passed in values before using them in
93074         expressions to avoid some overflows.
93075         (glob_in_dir): Likewise.
93077         [BZ #13007]
93078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93079         check for AVX enablement so that we don't crash with old kernels and
93080         new hardware.
93081         * elf/tst-audit4.c: Add same checks here.
93082         * elf/tst-audit6.c: Likewise.
93084         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93086 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
93088         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93090 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93092         * po/cs.po: Update from translation team.
93093         * po/bg.po: Likewise.
93095 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
93097         * misc/sys/cdefs.h: Add support for const attribute.
93098         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93099         to gnu_dev_{major,minor,makedev} functions.
93101 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
93103         * intl/dcigettext.c (get_output_charset): Add missing bracket.
93105 2011-07-20  Andreas Schwab  <schwab@redhat.com>
93107         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93108         strlen results.
93110 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93113         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93114         register in order to avoid conflicts with the soft frame pointer
93115         being held in r11 when necessary.
93116         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93117         (INTERNAL_VSYSCALL_NCS): Likewise.
93119 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
93121         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93122         * elf/dl-fini.c (_dl_fini): Adjust caller.
93123         * elf/dl-close.c (_dl_close_worker): Likewise.
93124         * sysdeps/generic/ldsodefs.h: Adjust declaration.
93126 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93128         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93129         "aux_cache->nlibs < 0".
93131         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93132         in the reload-count case.
93134 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93137         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93138         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93139         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93140         * sysdeps/x86_64/multiarch/strcat.S: New file.
93141         * sysdeps/x86_64/multiarch/strncat.S: New file.
93142         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93143         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93144         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93145         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93146         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93147         (USE_AS_STRCAT): Define.
93148         Add strcat and strncat support.
93149         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93150         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93151         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93152         * string/strncat.c: Update.
93153         (USE_AS_STRNCAT): Define.
93154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93155         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93156         and i7.
93157         * sysdeps/x86_64/multiarch/init-arch.h
93158         (bit_Prefer_PMINUB_for_stringop): New.
93159         (index_Prefer_PMINUB_for_stringop): Likewise.
93160         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93161         bit_Prefer_PMINUB_for_stringop.
93163 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93165         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93166         buffer64.
93167         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93168         of casting of buffer.
93169         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93170         buffer32 and buffer64.
93171         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93172         writes instead of casting of buffer.
93173         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93174         buffer32.
93175         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93176         casting of buffer.
93178 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93180         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93182 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93184         * nscd/nscd.c (termination_handler): Don't do anything for a database
93185         if it has not yet been initialized.
93187 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93189         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93191 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93193         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93195 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93197         * po/nl.po: Update from translation team.
93198         * po/sv.po: Likewise.
93200 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93202         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93203         now disallowed by GCC.
93205         * configure.in (use-default-link): Default to yes if a test -shared
93206         link meets our qualifications.
93207         * configure: Regenerated.
93209         * config.make.in (output-format): New variable.
93210         * configure.in: Check for ld --print-output-format support.
93211         * configure: Regenerated.
93212         * Makerules ($(common-objpfx)format.lds)
93213         [$(output-format) != unknown]: Just use $(output-format),
93214         instead of the linker-script munging.
93216 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93218         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93219         of $(common-objpfx)shlib.lds.
93220         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93222         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93223         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93225         * configure.in (-z relro check): Adjust test code to add a large
93226         writable data section after it.
93227         * configure: Regenerated.
93229 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93231         * configure.in (-z relro check): Fix test code to make the variable
93232         truly const.
93233         * configure: Regenerated.
93235 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93237         * nscd/nscd.h (struct traced_file): Define.
93238         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93239         elements.  Add traced_files.
93240         (inotify_fd): Declare.
93241         (register_traced_file): Declare.
93242         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93243         (inotify_fd): Export.
93244         (resolv_conf_descr): Remove.
93245         (nscd_init): Move inotify descriptor creation to main.
93246         Don't register files for notification here.
93247         (register_traced_file): New function.
93248         (invalidate_cache): Don't use reset_res to determine whether to call
93249         res_init, go through the list of registered files.
93250         (main_loop_poll): The inotify descriptors are now stored in the
93251         structures for the traced files.
93252         (main_loop_epoll): Likewise.
93253         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93254         to __nss_disable_nscd.
93255         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93256         for a database anymore.  Check the records for all the registered
93257         files instead.
93258         * nss/Makefile (libnss_files-routines): Add files-init.
93259         (libnss_db-routines): Add db-init.
93260         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93261         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93262         * nss/nss_db/db-init.c: New file.
93263         * nss/nss_files/files-init.c: New file.
93264         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93265         __nss_lookup_function.
93266         (__nss_lookup_function): Call nss_load_library.
93267         (nss_load_all_libraries): New function.
93268         (__nss_disable_nscd): Take parameter with callback function for files
93269         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93270         used for the cached services.
93271         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93272         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93273         options for features to all the files in nscd.
93275         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93277 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93279         * csu/elf-init.c (__libc_csu_init): Comment typo.
93281 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93283         * po/pl.po: Update from translation team.
93284         * po/ja.po: Likewise.
93285         * po/ru.po: Likewise.
93286         * po/ko.po: Likewise.
93287         * po/fr.po: Likewise.
93289 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93291         * configure.in (.ctors/.dtors header and trailer check):
93292         Use an empirical test on a built program.
93293         * configure: Regenerated.
93295         * configure.in (-z relro check): Use an empirical test on a built DSO.
93296         Detect, but do not require, on ia64.
93297         * configure: Regenerated.
93299         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93300         Update tests that use readelf to use $READELF instead.
93301         * configure: Regenerated.
93303 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93305         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93306         if the result is not used.
93308 2011-07-05  Andreas Jaeger  <aj@suse.de>
93310         [BZ #9696]
93311         * stdlib/tst-strtod.c: Add testcase.
93313 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93315         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93316         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93317         The latter has a higher limit.  Take additional parameter to pass to
93318         the new function.
93319         (__pathconf): Pass file to __statfs_link_max.
93320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93321         __statfs_link_max.
93322         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93323         __statfs_link_max.
93325         [BZ #12868]
93326         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93328         Handle Lustre.
93329         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93330         (__statfs_filesize_max): Likewise.
93331         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93333 2011-07-05  Andreas Jaeger  <aj@suse.de>
93335         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93337 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93339         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93340         `status' variable.
93341         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93342         Likewise.
93344 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93346         * Makefile (strop-tests): Add strncat.
93347         * string/test-strncat.c: New file.
93349 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93351         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93353 2011-06-21  Andreas Jaeger  <aj@suse.de>
93355         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93356         Copy rule from iconvdata/Makefile.
93358 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93360         [BZ #12922]
93361         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93362         but no long options are defined, just return 'W'.
93364 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93366         [BZ #9696]
93367         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93369 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93371         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93372         netgroups to read.
93373         (innetgr): Likewise.
93375 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93377         * config.make.in (install_root): Default to $(DESTDIR).
93379 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93381         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93383 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93385         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93387         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93388         containing directory rather than embedding absolute directory names.
93390         * scripts/check-local-headers.sh: Rewritten using awk.
93391         Match by word, not by line.  Print error messages for matches.
93392         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93394         * Makerules [shlib-lds-flags empty]:
93395         ($(common-objpfx)libc_pic.opts): New target.
93396         ($(common-objpfx)libc_pic.os.clean): New target.
93397         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93399         * config.make.in (OBJCOPY): New variable.
93400         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93401         * configure: Regenerated.
93403         * config.make.in (use-default-link): New variable.
93404         * configure.in (use_default_link): Grok --with-default-link to set it.
93405         * configure: Regenerated.
93406         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93407         (shlib-lds, shlib-lds-flags): Define to empty.
93409         * Makerules (shlib-lds): New variable.
93410         (shlib-lds-flags): New variable.
93411         (build-shlib, build-moduile, build-module-asneeded): Use it.
93412         ($(common-objpfx)libc.so): Use $(shlib-lds).
93413         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93414         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93416         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93417         DT_FLAGS/DT_FLAGS_1 with zero flags.
93419         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93420         linker script munging.
93422 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93424         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93425         as 128-bit value.
93426         * crypt/sha512.c (sha512_process_block): Perform total addition using
93427         128-bit if possible.
93428         (__sha512_finish_ctx): Likewise.
93429         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93430         as 64-bit value.
93431         * crypt/sha256.c (SWAP64): Define.
93432         (sha256_process_block): Perform total addition using 64-bit if
93433         possible.
93434         (__sha256_finish_ctx): Likewise.
93436 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93438         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93439         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93440         * nscd/hstcache.c (cache_addhst): Likewise.
93441         * nscd/grpcache.c (cache_addgr): Likewise.
93442         * nscd/aicache.c (addhstaiX): Likewise.
93443         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93445 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93447         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93448         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93449         * nscd/hstcache.c (cache_addhst): Likewise.
93450         * nscd/grpcache.c (cache_addgr): Likewise.
93451         * nscd/aicache.c (addhstaiX): Likewise.
93453 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93455         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93456         domain only when needed.
93458 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93461         is always restored.
93463 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93465         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93466         are re-adding the entry.
93467         * nscd/servicescache.c (cache_addserv): Likewise.
93469 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93471         * sysdeps/generic/dl-irel.h: fix protection against multiple
93472         inclusions.
93473         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93475 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93477         [BZ #12935]
93478         * malloc/memusage.sh: Fix quoting in message.
93479         * debug/xtrace.sh: Likewise.
93481         * configure.in: Remove support for --experimental-malloc option, make
93482         it the default.
93483         * config.make.in: Likewise.
93484         * malloc/Makefile: Likewise.
93486 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93488         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93489         two-byte characters.
93491 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93493         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93494         AC_CACHE_CHECK invocation.
93495         * configure: Regenerated.
93497         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93499 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93501         [BZ #12350]
93502         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93503         bit from old_res_options.
93505         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93507         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93508         value type for setfct.
93510 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93512         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93513         __gettimeofday instead of gettimeofday.
93515 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93517         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93519 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93521         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93523         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93524         info.
93526 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93529         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93530         strcpy-sse2-unaligned strncpy-sse2-unaligned
93531         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93532         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93533         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93534         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93535         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93536         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93537         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93538         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93539         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93540         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93541         (STRCPY): Support SSE2 and SSSE3 versions.
93543 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93545         [BZ #12874]
93546         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93547         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93548         kernels which artificially limit size of requests.
93550 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93552         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93553         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93554         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93555         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93556         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93557         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93558         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93559         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93560         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93562         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93563         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93564         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93565         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93566         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93568         Enable unaligned load optimization for Intel Core i3, i5 and i7
93569         processors.
93570         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93571         Define.
93572         (index_Fast_Unaligned_Load): Define.
93573         (HAS_FAST_UNALIGNED_LOAD): Define.
93575 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93577         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93579 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93581         [BZ #12907]
93582         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93583         until it is clear that the information is realy needed.
93584         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93586 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93590 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93593         /sys/devices/system/cpu/online if it is usable.
93595         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93596         reading the information from the /proc filesystem to once a second.
93598 2011-06-21  Andreas Jaeger  <aj@suse.de>
93600         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93601         NULL after inclusion of kernel headers.
93603 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93605         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93606         calls to internal_setent.
93608         [BZ #12885]
93609         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93610         addresses using gethostbyname4_r ignore IPv4 addresses.
93612         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93613         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93615         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93617 2011-06-20  David S. Miller  <davem@davemloft.net>
93619         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93620         inclusions.
93621         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93623         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93624         (elf_irel): Use it.
93625         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93626         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93627         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93628         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93629         * sysdeps/x86_64/dl-irel.h: Likewise.
93631         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93632         * elf/dl-sym.c: Likewise.
93634 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93636         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93637         need to dereference resplen2.
93639 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93641         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93643 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93645         * Makeconfig: Define vardbdir and inst_vardbdir.
93646         * nss/Makefile: Add rules to install db-Makefile.
93648         * nss/nss_db/db-XXX.c: Cleanup.
93650         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93651         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93652         GLIBC_PRIVATE.
93653         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93654         * nss/makedb.c: Implement -g option to specify that value strings
93655         are generated and should not be added to table iterated over for
93656         get*ent calls.
93657         * nss/nss_db/db-initgroups.c: New file.
93659         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93660         interface.
93662         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93663         (internal_getgrouplist): Adjust to name change.
93664         Update use_initgroups_entry if this is not the first call.
93665         * nss/databases.def: Add initgroups entry.
93667         * nss/makedb.c (compute_tables): Check result of multiple hash table
93668         sizes to minimize maximum chain length.
93670 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93672         * Versions.def: Add entry for libnss_db.
93673         * shlib-versions: Likewise.
93674         * nss/Makefile: Add rules to build libnss_db.
93675         * nss/Versions: Add libnss_db information.  Organize libnss_files
93676         entries better.
93677         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93678         makedb progra.  Some minor improvements to generate smaller files.
93679         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93680         here from...
93681         * nss/makedb.c: ...here.
93682         Improve database format to be smaller and require less memory at
93683         runtime.
93684         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93685         db anymore.
93686         * nss/nss_db/db-netgrp.c: Likewise.
93687         * nss/nss_db/db-open.c: Likewise.
93688         * nss/nss_files/flies-XXX.x: Adjust comments.
93689         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93690         * nss/nss_files/files-grp.c: Likewise.
93691         * nss/nss_files/files-hosts.c: Likewise.
93692         * nss/nss_files/files-network.c: Likewise.
93693         * nss/nss_files/files-proto.c: Likewise.
93694         * nss/nss_files/files-pwd.c: Likewise.
93695         * nss/nss_files/files-rpc.c: Likewise.
93696         * nss/nss_files/files-service.c: Likewise.
93697         * nss/nss_files/files-sgrp.c: Likewise.
93698         * nss/nss_files/files-spwd.c: Likewise.
93699         * nss/nss_db/db-alias.c: Removed.
93700         * nss/nss_db/dummy-db.h: Removed.
93702 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93704         * nss/makedb.c: Rewritten to not use database library.
93705         * nss/Makefile: Update to build new makedb program.
93707 2011-06-14  Andreas Jaeger  <aj@suse.de>
93709         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93710         memset declaration.
93712 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93715         tmpbuf.
93717 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93719         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93720         * elf/Makefile ($(objpfx)ld.so): Likewise.
93722         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93723         Don't list ld.so twice in dependencies.
93725         * posix/bug-regex31.c: Include <stdlib.h>.
93727         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93729         * nis/nss_compat/compat-spwd.c
93730         (getspent_next_nss_netgr): Remove unused variable.
93731         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93733         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93734         nonmembers" output to use the right array.
93736         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93738         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93740         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93741         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93742         * catgets/gencat.c (read_input_file): Likewise.
93743         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93745         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93746         variable definition inside #if's controlling its use.
93748         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93750         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93752         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93754         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93755         unreachable code.
93757         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93759         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93760         * configure: Regenerated.
93762         * Makerules: Revert last change.
93763         * elf/Makefile: Likewise.
93765 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93767         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93768         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93769         (reloc-link): Likewise.
93771 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93773         * elf/Makefile: Add rules to build pldd.
93774         * elf/pldd.c: New file.
93775         * elf/pldd-xx.c: New file.
93777 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93779         * version.h: Update for 2.15 development version.
93781 2011-06-07  David S. Miller  <davem@davemloft.net>
93783         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93784         ifuncs.
93785         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93786         elf_machine_lazy_rel): Likewise.
93787         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93788         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93789         elf_machine_lazy_rel): Likewise.
93790         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93791         dl_hwcap via passed in argument.
93792         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93793         Likewise.
93795 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93797         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93799 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93801         [BZ #12849]
93802         * manual/fdl-1.1.texi: New file, verbatim from:
93803         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93804         * manual/lgpl-2.1.texi: New file, verbatim from:
93805         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93806         * manual/Makefile (licenses): New variable, list those new file names.
93807         (texis): Use it.
93808         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93810         * manual/fdl.texi: File removed.
93811         * manual/lesser.texi: File removed.
93812         * manual/libc.texinfo (Copying, Documentation License):
93813         Use new @include file names, put @appendix directive before @include.
93815 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93817         [BZ #12841]
93818         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93819         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93820         (mq_open): Add __NTH.
93822 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93825         Assume Intel Core i3/i5/i7 processor if AVX is available.
93827 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93829         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93830         typo.
93832 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93834         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93835         memory.  Use alloca_account.  Fix memory leak when retrying.
93837 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93839         * version.h (RELEASE): Bump for 2.14 release.
93840         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93842         * config.make.in (RANLIB): Remove entry.
93844 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93846         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93847         (libc.pot): Work around missing support for .ksh extension in xgettext.
93849         [BZ #12684]
93850         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93851         if both request failed.
93852         (send_dg): In case of server errors clear resplen or *resplen2.
93854         [BZ #12454]
93855         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93856         when there are multiple maps.
93857         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93858         (_dl_fini): Remove test here.
93860         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93862 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93864         [BZ #12350]
93865         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93866         bit from old_res_options.
93867         (gaih_inet): Likewise.
93869         [BZ #11099]
93870         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93871         as signed.
93873         * resolv/res_init.c (res_setoptions): Make the code more compact.
93875         [BZ #11558]
93876         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93877         set RES_USEVC.
93879         [BZ #11634]
93880         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93882         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93884         [BZ #11781]
93885         * malloc/malloc.h: Declare malloc hook variables as volatile.
93887         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93888         in last patch.
93890         [BZ #11799]
93891         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93892         raise in the comment.
93893         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93895         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93897 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93899         [BZ #12811]
93900         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93901         grow the buffers more if it already has to be sufficient.
93902         (build_wcs_upper_buffer): Likewise.
93903         * posix/regexec.c (check_matching): Likewise.
93904         (clean_state_log_if_needed): Likewise.
93905         (extend_buffers): Don't enlarge buffers beyond size of the input
93906         buffer.
93907         Patches mostly by Emil Wojak <emil@wojak.eu>.
93908         * posix/bug-regex32.c: New file.
93909         * posix/Makefile (tests): Add bug-regex32.
93911         * locale/findlocale.c (_nl_find_locale): Return right away if
93912         _nl_explode_name failed.
93913         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93915         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93917         * debug/xtrace.sh: Unify messages.
93918         * malloc/memusage.sh: Likewise.
93920         [BZ #12813]
93921         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93922         time symbol from vDSO.  Substitute with vsyscall if not available.
93923         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93924         __vdso_time.
93926         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93927         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93928         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93929         Add sendmmsg and internal_sendmmsg.
93930         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93931         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93932         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93934         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93935         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93936         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93938 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93940         [BZ #12813]
93941         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93942         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93943         available.
93944         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93945         __vdso_getcpu.
93947         [BZ #12814]
93948         * iconvdata/Makefile (tests): Add bug-iconv9.
93949         * iconvdata/bug-iconv9.c: New file.
93951 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93953         [BZ #12814]
93954         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93956 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93958         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93959         (struct user_regs_struct): Change intcs field back to cs.
93961 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93963         * po/ja.po: Update from translation team.
93965 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93967         [BZ #12795]
93968         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93969         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93971 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93973         * stdlib/longlong.h: Update from GCC.
93975 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93977         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93978         parameter name.
93979         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93980         Add parameter name.
93981         (__sysconf): Pass it down.
93983 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93985         [BZ #12671]
93986         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93987         some situations.
93988         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93989         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93990         add in in __libc_use_alloca calls.  Adjust callers.
93991         (glob): Use malloc in some situations.
93993         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93994         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93995         pltexit.
93997 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93999         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
94000         and CLOCK_BOOTTIME_ALARM.
94002         [BZ #12782]
94003         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
94004         is returned.
94006         * string/_strerror.c (__strerror_r): Print negative errors as signed
94007         numbers.
94009         [BZ #12777]
94010         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
94011         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
94012         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
94014         * configure.in: Fix typo in redirection and correct removal of test
94015         files in two cases.
94017         [BZ #12788]
94018         * locale/setlocale.c (new_composite_name): Fix test to check for
94019         identical name of all categories.
94021         [BZ #12792]
94022         * libio/filedoalloc.c (local_isatty): New function.
94023         (_IO_file_doallocate): Use local_isatty.
94024         * stdio-common/perror.c (perror): In case a new stream is used
94025         forward the stream error.
94026         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
94027         error flag.
94029 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
94031         [BZ #11884]
94032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
94033         alloca.
94034         * include/alloca.h (extend_alloca_account): Define.
94036         [BZ #11857]
94037         * posix/regex.h: Fix comments with documentation of user-accessible
94038         fields after compilation and describe correct free'ing of pattern
94039         after re_compile_pattern.
94040         Patch by Reuben Thomas <rrt@sc3d.org>.
94042 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
94044         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
94045         and -mno-altivec to prevent the compiler from using Altivec and/or
94046         VSX instructions when the corresponding registers are not available.
94048 2011-05-19  Andreas Schwab  <schwab@redhat.com>
94050         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
94052 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
94054         * libio/freopen.c (freopen): Use __dup2, not dup2.
94055         * libio/freopen64.c (freopen64): Likewise.
94057 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
94059         [BZ #12775]
94060         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
94061         * math/Makefile (tests): Add test-powl.
94062         (CFLAGS-test-powl.c): Define.
94063         * math/test-powl.c: New file.
94065 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
94067         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
94069 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
94071         [BZ #11837]
94072         * iconvdata/gb18030.c: Update to GB18020-2005.
94074 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
94076         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94077         RE_SYNTAX_POSIX_AWK): Update to match recent development.
94078         Patch by Aharon Robbins <arnold@skeeve.com>.
94080         [BZ #11892]
94081         * stdlib/putenv.c (putenv): Don't always create copy of the variable
94082         on the stack.
94084         [BZ #11895]
94085         * misc/pselect.c (__pselect): Handle timeout value errors hidden
94086         through underflows.
94088         [BZ #12766]
94089         * misc/error.c (error_at_line): Ensure file_name and old_file_name
94090         point to strings before performing equality test for error_one_per_line
94091         mode.
94093         [BZ #11697]
94094         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94096         [BZ #11820]
94097         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94098         (struct user_fpregs_struct): Avoid __uint*_t types.
94100         [BZ #6420]
94101         * malloc/mtrace.c (tr_where): Add additional parameter to point to
94102         symbol info.  Use it instead of calling _dl_addr locally.
94103         (lock_and_info): New function.
94104         (tr_freehook): Call lock_and_info and pass symbol info as additional
94105         parameter to tr_where.
94106         (tr_mallochook): Likewise.
94107         (tr_reallochook): Likewise.
94108         (tr_memalignhook): Likewise.
94110         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
94111         used and couldn't be at all thread-safe.
94113 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
94115         * libio/freopen.c (freopen): Don't close old file descriptor
94116         before the new one is opened.  Instead dup the new file descriptor
94117         to the old one after the new stream is created.
94118         * libio/freopen64.c (freopen64): Likewise.
94119         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94120         * libio/fileops.c (_IO_new_file_close_it): Handle new
94121         _IO_FLAGS2_NOCLOSE flag.
94122         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94123         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94124         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94125         _IO_FLAGS2_NOCLOSE flag.
94126         * include/unistd.h: Add hidden_proto for dup3.
94127         Define __have_dup3.
94128         * io/dup3.c: Define hidden symbol.
94129         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94131         [BZ #7101]
94132         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94133         when an incomplete long option is used.
94134         * posix/tst-getopt_long1.c: New file.
94135         * posix/Makefile (tests): Add tst-getopt_long1.
94137         [BZ #10138]
94138         * scripts/config.guess: Update from autoconf-2.68.
94139         * scripts/config.sub: Likewise.
94141         [BZ #10157]
94142         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94143         tests into ...
94144         (has_cpuclock): ...this.  New function.
94145         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94146         macro here based on has_cpuclock code.
94148         [BZ #10149]
94149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94150         First byte (not low byte) is now always NUL.
94151         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94153         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94154         Use non-cancelable interfaces.
94156         [BZ #9809]
94157         * locale/iso-639.def: Add entry for Sorani.
94159         [BZ #11901]
94160         * include/stdlib.h: Move include protection to the right place.
94161         Define abort_msg_s.  Declare __abort_msg with it.
94162         * stdlib/abort.c (__abort_msg): Adjust type.
94163         * assert/assert.c (__assert_fail_base): New function.  Majority
94164         of code from __assert_fail.  Allocate memory for __abort_msg with
94165         mmap.
94166         (__assert_fail): Now call __assert_fail_base.
94167         * assert/assert-perr.c: Remove bulk of implementation.  Use
94168         __assert_fail_base.
94169         * include/assert.hL Declare __assert_fail_base.
94170         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94171         mmap.
94172         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94174 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94176         [BZ #11952]
94177         [BZ #12453]
94178         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94179         until all modules are registered in the DTV.
94180         * elf/Makefile: Add rules to build and run tst-tls19.
94181         * elf/tst-tls19.c: New file.
94182         * elf/tst-tls19mod1.c: New file.
94183         * elf/tst-tls19mod2.c: New file.
94184         * elf/tst-tls19mod3.c: New file.
94185         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94187         [BZ #12083]
94188         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94189         correctly.
94191         [BZ #12601]
94192         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94193         two-byte sequence errors.
94194         * iconvdata/Makefile (tests): Add bug-iconv8.
94195         * iconvdata/bug-iconv8.c: New file.
94197         [BZ #12626]
94198         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94199         buf2 definition.
94201         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94203         [BZ #12432]
94204         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94205         (dummy_getcfa): New function.
94206         (init): Get _Unwind_GetCFA address, use dummy if not found.
94207         (backtrace_helper): In recursion check, also check whether CFA changes.
94208         (__backtrace): Completely initialize arg.
94210         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94211         storing incomplete byte sequence in state object.  Avoid testing for
94212         guaranteed too small input if we know there is enough data available.
94214 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94216         * Makeconfig (+link-pie): Indent.
94217         * Rules (binaries-pie): Define if $(have-fpie) and
94218         $(build-shared).
94219         (binaries-shared): Also filter out $(binaries-pie).
94220         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94221         * nscd/Makefile (others-pie): Add nscd.
94222         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94223         ($(objpfx)nscd): Remove command override.
94224         * login/Makefile (others-pie): Add pt_chown.
94225         ($(objpfx)pt_chown): Remove command override.
94226         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94227         remove command overrides.
94229 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94231         * libio/tst_putwc.c: Fix error messages.
94233         [BZ #12724]
94234         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94235         currently writing and seek to current position when not.
94236         * libio/Makefile (tests): Add bug-fclose1.
94237         * libio/bug-fclose1.c: New file.
94239 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94241         [BZ #12511]
94242         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94243         don't set DF_1_NODELETE here.
94244         (do_lookup_x): When entering new entry test for copy relocation
94245         and if necessary set DF_1_NODELETE flag.
94246         * elf/tst-unique4.cc: New file.
94247         * elf/tst-unique4.h: New file.
94248         * elf/tst-unique4lib.cc: New file.
94249         * elf/Makefile: Add rules to build and run tst-unique4.
94250         Patch by Piotr Bury <pbury@goahead.com>.
94252 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94254         [BZ #12052]
94255         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94257         [BZ #12625]
94258         * misc/mntent_r.c (addmntent): Flush the stream after the output
94260         [BZ #12393]
94261         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94262         (is_trusted_path_normalize): Skip initial colon.  Append slash
94263         to empty buffer.  Duplicate is_trusted_path code but allow
94264         constructed patch to be prefix.
94265         (is_dst): Allow $ORIGIN followed by /.
94266         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94267         Correct testing of result of is_trusted_path_normalize
94268         (decompose_rpath): Fix warning.
94270 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94272         [BZ #11257]
94273         * grp/initgroups.c (internal_getgrouplist): When we found the service
94274         list through the initgroups entry in nsswitch.conf do not always
94275         continue on a successful lookup.  Don't always use the
94276         __nss_group_database value if it is set.
94277         * nss/nsswitch.conf (initgroups): Change action for successful db
94278         lookup to continue for compatibility.
94280 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94282         [BZ #11532]
94283         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94284         and CP774 modules.
94285         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94286         and CP774 modules.
94287         * iconvdata/tst-tables.sh: Likewise.
94288         * iconvdata/cp770.c: New file.
94289         * iconvdata/cp771.c: New file.
94290         * iconvdata/cp772.c: New file.
94291         * iconvdata/cp773.c: New file.
94292         * iconvdata/cp774.c: New file.
94293         * iconvdata/testdata/CP770: New file.
94294         * iconvdata/testdata/CP770..UTF8: New file.
94295         * iconvdata/testdata/CP771: New file.
94296         * iconvdata/testdata/CP771..UTF8: New file.
94297         * iconvdata/testdata/CP772: New file.
94298         * iconvdata/testdata/CP772..UTF8: New file.
94299         * iconvdata/testdata/CP773: New file.
94300         * iconvdata/testdata/CP773..UTF8: New file.
94301         * iconvdata/testdata/CP774: New file.
94302         * iconvdata/testdata/CP774..UTF8: New file.
94304         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94305         END CHARMAP line.
94306         * iconvdata/gen-8bit-gap.sh: Likewise.
94307         * iconvdata/gen-8bit.sh: Likewise.
94309         * locale/iso-639.def: Add ary entry.
94311         [BZ #11258]
94312         * locale/C-translit.h.in: Add U20A1 transliteration.
94314         [BZ #12178]
94315         * locale/iso-639.def: Add wae entry.
94316         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94318         [BZ #12545]
94319         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94320         for n.
94322         [BZ #12711]
94323         * locale/C-translit.h.in: Add entry for U20B9.
94324         Patch by pravin.d.s@gmail.com.
94326 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94328         [BZ #12713]
94329         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94330         ENAMETOOLONG use generic getcwd.
94331         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94332         in rtld.  Use *stat64.
94333         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94334         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94335         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94336         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94337         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94338         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94339         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94340         __fstatat64 macros.
94341         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94342         * dirent/rewinddir.c: Add libc_hidden_def.
94343         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94344         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94346         * include/dirent.h (__alloc_dir): Add flags parameter.
94347         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94348         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94349         __alloc_dir.
94350         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94351         from fdopendir if O_CLOEXEC is already set.
94353 2011-03-15  Alan Modra  <amodra@gmail.com>
94355         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94356         l_tls_firstbyte_offset non-zero.  Save padding offset in
94357         l_tls_firstbyte_offset for later use.
94358         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94359         freeing static tls block.
94361 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94363         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94364         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94365         being defined by the kernel headers.
94367 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94369         [BZ #12734]
94370         * resolv/resolv.h: Define RES_NOTLDQUERY.
94371         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94372         no-tld-query and set RES_NOTLDQUERY.
94373         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94374         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94375         modern BIND to search name as TLD unless forbidden.
94377 2011-05-07  Petr Baudis  <pasky@suse.cz>
94378             Ulrich Drepper  <drepper@gmail.com>
94380         [BZ #12393]
94381         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94382         (is_trusted_path): ...to here.
94383         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94384         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94385         using is_trusted_path_normalize() in setuid scripts.
94387 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94389         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94390         __BEGIN/__END_DECLS.
94392 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94394         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94395         NSS_STATUS_NOTFOUND if no record was found.
94397 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94399         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94400         (headers-not-in-tirpc): Remove rpc/netdb.h
94401         * resolv/netdb.h: Revert last change.
94403 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94405         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94406         circular dependency between libgcc.a and libc.a.
94408 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94410         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94411         * nis/Makefile: Don't install rpcsvc/*.
94412         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94413         instead of <rpc/types.h>.
94414         (MAXHOSTNAMELEN): Define.
94416 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94418         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94420 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94422         [BZ #12714]
94423         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94424         gethostbyname4_r when IPv6 results are possible.
94426 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94428         [BZ #12723]
94429         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94430         _PC_PIPE_BUF handling.
94432 2011-04-30  Bruno Haible  <bruno@clisp.org>
94434         [BZ #12717]
94435         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94436         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94437         to 'int'.
94438         * inet/getnameinfo.c (getnameinfo): Likewise.
94440 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94442         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94443         to groups setting in database lookup.
94444         * nss/nsswitch.conf: Add initgroups entry.
94446 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94448         [BZ #12685]
94449         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94450         mode string.
94451         Patch by Eric Blake <eblake@redhat.com>.
94453 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94455         * sunrpc/Makefile (need-export-routines): Add svc_run.
94456         (routines): Remove svc_run.
94457         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94458         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94459         * sunrpc/svc_run.c (svc_run): Likewise.
94460         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94462 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94464         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94465         problem in reallocation in last patch.
94467 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94469         * sunrpc/Makefile: Move inclusion of Rules.
94471 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94473         * nss/nss_files/files-initgroups.c: New file.
94474         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94475         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94476         _nss_files_initgroups_dyn.
94478 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94480         * elf/elf.h (R_ARM_IRELATIVE): Define.
94482 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94484         * po/ru.po: Update from translation team.
94486 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94488         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94489         dependencies.
94491 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94493         [BZ #12653]
94494         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94495         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94496         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94498         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94500 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94502         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94503         differing bytes.
94504         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94505         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94506         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94508 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94510         [BZ #12420]
94511         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94512         storing it.
94513         * stdlib/bug-getcontext.c: New file.
94514         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94516 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94518         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94519         instructions into .machine "z9-109".
94520         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94521         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94523 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94525         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94526         between environment variables and auxiliary vector.
94528 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94530         * Makefile: Add rules to build linkobj/libc.so.
94531         * include/libc-symbols.h: Define libc_hidden_nolink.
94532         * include/rpc/auth.h: Mark functions which are to be hidden.
94533         * include/rpc/auth_des.h: Likewise.
94534         * include/rpc/auth_unix.h: Likewise.
94535         * include/rpc/clnt.h: Likewise.
94536         * include/rpc/des_crypt.h: Likewise.
94537         * include/rpc/key_prot.h: Likewise.
94538         * include/rpc/pmap_clnt.h: Likewise.
94539         * include/rpc/pmap_prot.h: Likewise.
94540         * include/rpc/pmap_rmt.h: Likewise.
94541         * include/rpc/rpc_msg.h: Likewise.
94542         * include/rpc/svc.h: Likewise.
94543         * include/rpc/svc_auth.h: Likewise.
94544         * include/rpc/xdr.h: Likewise.
94545         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94546         * nss/Makefile: Likewise.
94547         * sunrpc/Makefile: Don't install headers.  Build library with normal
94548         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94549         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94550         for the compat linking library.  Remove use of INTDEF/INTUSE.
94551         * sunrpc/auth_none.c: Likewise.
94552         * sunrpc/auth_unix.c: Likewise.
94553         * sunrpc/authdes_prot.c: Likewise.
94554         * sunrpc/authuxprot.c: Likewise.
94555         * sunrpc/clnt_gen.c: Likewise.
94556         * sunrpc/clnt_perr.c: Likewise.
94557         * sunrpc/clnt_raw.c: Likewise.
94558         * sunrpc/clnt_simp.c: Likewise.
94559         * sunrpc/clnt_tcp.c: Likewise.
94560         * sunrpc/clnt_udp.c: Likewise.
94561         * sunrpc/clnt_unix.c: Likewise.
94562         * sunrpc/des_crypt.c: Likewise.
94563         * sunrpc/des_soft.c: Likewise.
94564         * sunrpc/get_myaddr.c: Likewise.
94565         * sunrpc/key_call.c: Likewise.
94566         * sunrpc/key_prot.c: Likewise.
94567         * sunrpc/netname.c: Likewise.
94568         * sunrpc/pm_getmaps.c: Likewise.
94569         * sunrpc/pm_getport.c: Likewise.
94570         * sunrpc/pmap_clnt.c: Likewise.
94571         * sunrpc/pmap_prot.c: Likewise.
94572         * sunrpc/pmap_prot2.c: Likewise.
94573         * sunrpc/pmap_rmt.c: Likewise.
94574         * sunrpc/publickey.c: Likewise.
94575         * sunrpc/rpc_cmsg.c: Likewise.
94576         * sunrpc/rpc_common.c: Likewise.
94577         * sunrpc/rpc_dtable.c: Likewise.
94578         * sunrpc/rpc_prot.c: Likewise.
94579         * sunrpc/rpc_thread.c: Likewise.
94580         * sunrpc/rtime.c: Likewise.
94581         * sunrpc/svc.c: Likewise.
94582         * sunrpc/svc_auth.c: Likewise.
94583         * sunrpc/svc_authux.c: Likewise.
94584         * sunrpc/svc_raw.c: Likewise.
94585         * sunrpc/svc_run.c: Likewise.
94586         * sunrpc/svc_simple.c: Likewise.
94587         * sunrpc/svc_tcp.c: Likewise.
94588         * sunrpc/svc_udp.c: Likewise.
94589         * sunrpc/svc_unix.c: Likewise.
94590         * sunrpc/svcauth_des.c: Likewise.
94591         * sunrpc/xcrypt.c: Likewise.
94592         * sunrpc/xdr.c: Likewise.
94593         * sunrpc/xdr_array.c: Likewise.
94594         * sunrpc/xdr_float.c: Likewise.
94595         * sunrpc/xdr_intXX_t.c: Likewise.
94596         * sunrpc/xdr_mem.c: Likewise.
94597         * sunrpc/xdr_rec.c: Likewise.
94598         * sunrpc/xdr_ref.c: Likewise.
94599         * sunrpc/xdr_sizeof.c: Likewise.
94600         * sunrpc/xdr_stdio.c: Likewise.
94602 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94604         [BZ #12650]
94605         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94606         * sysdeps/ia64/dl-tls.h: Likewise.
94607         * sysdeps/powerpc/dl-tls.h: Likewise.
94608         * sysdeps/s390/dl-tls.h: Likewise.
94609         * sysdeps/sh/dl-tls.h: Likewise.
94610         * sysdeps/sparc/dl-tls.h: Likewise.
94611         * sysdeps/x86_64/dl-tls.h: Likewise.
94612         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94614 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94616         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94617         rpath element also skip the following colon.
94618         (expand_dynamic_string_token): Add is_path parameter and pass
94619         down to DL_DST_REQUIRED and _dl_dst_substitute.
94620         (decompose_rpath): Call expand_dynamic_string_token with
94621         non-zero is_path.  Ignore empty rpaths.
94622         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94623         with zero is_path.
94625 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94628         Make cancelable.
94630 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94632         [BZ #12655]
94633         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94634         Patch by Filipe David Manana <fdmanana@apache.org>.
94636 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94638         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94639         Maintain aligned stack.
94640         (CHECK_RSP): Remove unused macro.
94642 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94644         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94645         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94647 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94649         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94651         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94653 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94655         [BZ #12518]
94656         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94657         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94658         * sysdeps/x86_64/memmove.c: New file.
94659         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94660         (memcpy): Renamed to ...
94661         (__new_memcpy): This.
94662         (memcpy): Provide GLIBC_2_14 memcpy.
94663         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94664         (memcpy): Provide GLIBC_2_2_5 memcpy.
94666 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94668         [BZ #12631]
94669         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94671 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94673         * misc/syncfs.c: New file.
94674         * misc/Makefile (routines): Add syncfs.
94675         * posix/unistd.h: Declare syncfs.
94676         * sysdeps/unix/syscalls.list: Add syncfs.
94678 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94680         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94681         open_by_handle_at.
94682         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94683         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94684         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94685         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94687         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94690 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94692         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94693         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94694         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94695         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94696         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94697         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94698         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94700         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94701         sync_file_range.c with -fexceptions.
94702         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94703         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94704         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94705         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94706         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94707         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94708         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94709         sync_file_range as cancellation point
94710         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94711         now a wrapper around __call_sync_file_range with cancellation handling.
94712         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94713         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94714         function name to __call_sync_file_range.
94715         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94716         Add call_sync_file_range.
94718 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94721         bits/timex.h.
94723 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94725         * iconv/iconv.h: Fix typo in comment.
94726         * io/fcntl.h: Likewise.
94727         * libio/stdio.h: Likewise.
94728         * posix/spawn.h: Likewise.
94729         * posix/unistd.h: Likewise.
94730         * stdlib/stdlib.h: Likewise.
94731         * time/time.h: Likewise.
94732         * wcsmbs/wchar.h: Likewise.
94734         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94735         open_by_handle): Add.
94736         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94737         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94738         Augment a few comments.
94739         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94741         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94743         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94744         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94745         open_by_handle.
94747         * io/fcntl.h (AT_EMPTY_PATH): Define.
94749 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94751         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94752         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94753         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94754         to...
94755         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94756         * Versions.def: Add GLIBC_2.14.
94757         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94758         Export.
94760 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94762         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94763         round counter.
94764         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94766 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94768         [BZ #12597]
94769         * string/test-strncmp.c (do_page_test): New function.
94770         (check2): Likewise.
94771         (test_main): Call check2.
94772         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94774 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94776         [BZ #12587]
94777         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94778         Handle cache information in CPU leaf 4.
94779         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94781 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94783         [BZ #12583]
94784         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94785         character representation.
94786         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94788 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94790         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94791         END(__isnan) to END(__isnanf) to match function entry point/label
94792         EALIGN(__isnanf,...).
94794 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94796         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94798 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94800         [BZ #12510]
94801         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94802         copy from the symbol referenced in the relocation to initialize the
94803         used variable.
94804         Patch by Piotr Bury <pbury@goahead.com>.
94805         * elf/Makefile: Add rules to build and tst-unique3.
94806         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94807         * elf/tst-unique3.cc: New file.
94808         * elf/tst-unique3.h: New file.
94809         * elf/tst-unique3lib.cc: New file.
94810         * elf/tst-unique3lib2.cc: New file.
94812         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94814 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94816         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94817         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94818         to _start.
94820 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94822         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94823         to-be-loaded object along a path to loader is ld.so.
94825 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94826             Ulrich Drepper  <drepper@gmail.com>
94828         * sysdeps/x86_64/memset.S: After aligning destination, code
94829         branches to different locations depending on the value of
94830         misalignment, when multiarch is enabled. Fix this.
94832 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94834         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94835         Set _x86_64_preferred_memory_instruction for AMD processsors.
94836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94837         Set bit_Prefer_SSE_for_memop for AMD processors.
94839 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94841         * libio/fmemopen.c (fmemopen): Optimize a bit.
94843 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94845         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94847 2011-03-03  Roland McGrath  <roland@redhat.com>
94849         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94851 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94853         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94854         __bzero_ultra1 instead of __memset_ultra1.
94856 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94857             Ulrich Drepper  <drepper@gmail.com>
94859         [BZ #12509]
94860         * include/link.h (struct link_map): Add l_orig_initfini.
94861         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94862         returning unsuccessfully.
94863         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94864         close of a file loaded at startup, restore the original l_initfini
94865         list.
94866         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94867         list, store the pointer.
94868         * elf/Makefile ($(objpfx)noload-mem): New rule.
94869         (noload-ENV): Define.
94870         (tests): Add $(objpfx)noload-mem.
94871         * elf/noload.c: Include <memcheck.h>.
94872         (main): Call mtrace.  Close all opened handles.
94874 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94876         [BZ #12454]
94877         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94878         dependencies are missing.
94880 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94882         Fix __if_freereq crash: Unlike the generic version which uses free,
94883         Hurd needs munmap.
94884         * sysdeps/mach/hurd/ifreq.h: New file.
94886 2011-01-27  Petr Baudis  <pasky@suse.cz>
94887             Ulrich Drepper  <drepper@gmail.com>
94889         [BZ 12445]#
94890         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94891         to extend_alloca().
94892         * stdio-common/bug23.c: New file.
94893         * stdio-common/Makefile (tests): Add bug23.
94895 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94896             Ulrich Drepper  <drepper@gmail.com>
94898         [BZ #12489]
94899         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94900         before performing relro protection.  At old place add assertion
94901         to make sure nothing changed.
94903 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94904             Glauber de Oliveira Costa  <glommer@gmail.com>
94906         * elf/elf.h: Add new ARM TLS relocs.
94908 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94911         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94912         cast from r3.
94913         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94914         'tests' variable.
94915         * sysdeps/wordsize-64/tst-writev.c: New file.
94917 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94919         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94920         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94921         insns in _dl_start to prevent a TOC reference before relocs are
94922         resolved.
94924 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94926         [BZ #12469]
94927         * Makeconfig: Remove RANLIB definition.
94928         * Makerules: Don't use RANLIB.
94929         * aclocal.m4: Remove ranlib test.
94930         * configure.in: No need to check for ranlib.
94931         * elf/rtld-Rules: Don't use RANLIB.
94933 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94935         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94936         protection macro.
94937         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94938         inclusion protection macro.
94940         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94941         SIGRTMIN and SIGRTMAX and print information in that case only when
94942         SIGRTMIN is defined.
94944 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94946         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94947         arginfo fn returning -1.
94949         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94950         and thousands string is zero terminated.
94952 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94955         sysdeps/unix/sysv/linux/bits/socket.h.
94957 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94959         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94960         (__CPU_COUNT): Remove old macros.
94961         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94962         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94963         (__CPU_ALLOC, __CPU_FREE): Add macros.
94964         (__sched_cpualloc, __sched_cpufree): Add declarations.
94966 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94968         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94969         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94970         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94971         (readdhstai): Return value of addhstaiX call.
94972         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94973         (addgrbyX): Return value returned by cache_addgr.
94974         (readdgrbyname): Return value returned by addgrbyX.
94975         (readdgrbygid): Likewise.
94976         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94977         (addpwbyX): Return value returned by cache_addpw.
94978         (readdpwbyname): Return value returned by addhstbyX.
94979         (readdpwbyuid): Likewise.
94980         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94981         (addservbyX): Return value returned by cache_addserv.
94982         (readdservbyname): Return value returned by addservbyX:
94983         (readdservbyport): Likewise.
94984         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94985         (addhstbyX): Return value returned by cache_addhst.
94986         (readdhstbyname): Return value returned by addhstbyX.
94987         (readdhstbyaddr): Likewise.
94988         (readdhstbynamev6): Likewise.
94989         (readdhstbyaddrv6): Likewise.
94990         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94991         (readdinitgroups): Return value returned by addinitgroupsX.
94992         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94993         (prune_cache): Keep track of timeout value of re-added entries.
94994         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94995         * nscd/nscd.h: Adjust prototypes of readd* functions.
94997 2011-02-04  Roland McGrath  <roland@redhat.com>
94999         * nis/nis_server.c (nis_servstate): Use the right name for 0.
95000         (nis_stats): Likewise.
95001         * nis/nis_modify.c (nis_modify): Likewise.
95002         * nis/nis_remove.c (nis_remove): Likewise.
95003         * nis/nis_add.c (nis_add): Likewise.
95005         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
95007         * posix/fnmatch_loop.c: Add some consts.
95009         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
95011 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
95013         [BZ #12460]
95014         * config.make.in (config-cflags-novzeroupper): Define.
95015         * configure.in: Substitute libc_cv_cc_novzeroupper.
95016         * elf/Makefile (AVX-CFLAGS): Define.
95017         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
95018         (CFLAGS-tst-auditmod4a.c): Likewise.
95019         (CFLAGS-tst-auditmod4b.c): Likewise.
95020         (CFLAGS-tst-auditmod6b.c): Likewise.
95021         (CFLAGS-tst-auditmod6c.c): Likewise.
95022         (CFLAGS-tst-auditmod7b.c): Likewise.
95023         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
95025 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
95027         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
95028         function to the callback.
95029         Patch partly by Jiri Olsa <jolsa@redhat.com>.
95031 2011-02-02  Andreas Schwab  <schwab@redhat.com>
95033         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
95034         of errno.
95036 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
95038         [BZ #11724]
95039         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
95040         of constructors.
95041         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
95042         of destructors.
95043         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
95045         [BZ #11724]
95046         * elf/Makefile: Add rules to build and run new test.
95047         * elf/tst-initorder.c: New file.
95048         * elf/tst-initorder.exp: New file.
95049         * elf/tst-initordera1.c: New file.
95050         * elf/tst-initordera2.c: New file.
95051         * elf/tst-initordera3.c: New file.
95052         * elf/tst-initordera4.c: New file.
95053         * elf/tst-initorderb1.c: New file.
95054         * elf/tst-initorderb2.c: New file.
95055         * elf/tst-order-a1.c: New file.
95056         * elf/tst-order-a2.c: New file.
95057         * elf/tst-order-a3.c: New file.
95058         * elf/tst-order-a4.c: New file.
95059         * elf/tst-order-b1.c: New file.
95060         * elf/tst-order-b2.c: New file.
95061         * elf/tst-order-main.c: New file.
95062         New test case by George Gensure <werkt0@gmail.com>.
95064 2010-10-01  Andreas Schwab  <schwab@redhat.com>
95066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95067         decoding ACE if AI_CANONIDN.
95069 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
95071         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95073 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
95075         * version.h (RELEASE): Bump for 2.13 release.
95076         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95078         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95080         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95081         MADV_NOHUGEPAGE.
95082         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95083         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95084         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95085         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95086         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95087         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95089         * posix/getconf.c: Update copyright year.
95090         * catgets/gencat.c: Likewise.
95091         * csu/version.c: Likewise.
95092         * debug/catchsegv.sh: Likewise.
95093         * debug/xtrace.sh: Likewise.
95094         * elf/ldconfig.c: Likewise.
95095         * elf/ldd.bash.in: Likewise.
95096         * elf/sprof.c (print_version): Likewise.
95097         * iconv/iconv_prog.c: Likewise.
95098         * iconv/iconvconfig.c: Likewise.
95099         * locale/programs/locale.c: Likewise.
95100         * locale/programs/localedef.c: Likewise.
95101         * malloc/memusage.sh: Likewise.
95102         * malloc/mtrace.pl: Likewise.
95103         * nscd/nscd.c (print_version): Likewise.
95104         * nss/getent.c: Likewise.
95106         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95107         PF_CAIF, and PF_ALG.
95108         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95110 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
95112         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95113         (modules-names): Use them.
95114         (ifunc-test-modules, ifunc-pie-tests): Define.
95115         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95116         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95117         (test-extras): Likewise.
95118         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95119         $(compile-command.c).
95120         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95121         (all-built-dso): Define.
95122         (check-textrel.out, check-execstack.out): Depend on it.
95124         * configure.in: Don't override --enable-multi-arch.
95126 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
95128         [BZ #6812]
95129         * nscd/hstcache.c (tryagain): Define.
95130         (cache_addhst): Return tryagain not notfound for temporary errors.
95131         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95132         failed.
95134 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
95136         [BZ #10563]
95137         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95138         to make the syscall.
95139         * sysdeps/unix/sysv/linux/setgroups.c: New file.
95141         [BZ #12378]
95142         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95143         and fall back to matching as normal character if the string ends before
95144         the matching ']' is found.  This is what POSIX requires.
95145         * posix/testfnm.c: Adjust test result.
95146         * posix/globtest.sh: Adjust test result.  Add new test.
95147         * posix/tst-fnmatch.input: Likewise.
95148         * posix/tst-fnmatch2.c: Add new test.
95150 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
95152         * elf/Makefile (check-execstack): Revert last change.  Depend on
95153         check-execstack.h.
95154         (check-execstack.h): New target.
95155         (generated): Add check-execstack.h.
95156         * elf/check-execstack.c: Include "check-execstack.h".
95157         (main): Revert last change.
95158         (handle_file): Return zero if GNU_STACK is absent and
95159         DEFAULT_STACK_PERMS doesn't include PF_X.
95161 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
95163         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95164         in child fails because the descriptor is already closed.
95165         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95166         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95167         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95169         [BZ #12397]
95170         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95171         syscall.
95173         [BZ #10484]
95174         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95175         temporary buffer used to handle multi lookups locally.
95176         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95178 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95180         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95181         loader is ld.so.
95183 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95185         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95186         alignment for SSE2.
95188 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95190         [BZ #12394]
95191         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95192         characters.  When rounding increased number of integer digits recompute
95193         number of groups.
95194         * stdio-common/tst-grouping.c: New file.
95195         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95197 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95199         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95200         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95202         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95203         void.
95204         * bits/select.h: Likewise.
95206 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95208         * po/ja.po: Update from translation team.
95210 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95212         [BZ #11155]
95213         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95214         implementation just like for lxstat, fxstatat, et al.
95216 2010-12-27  Jim Meyering  <meyering@redhat.com>
95218         [BZ #12348]
95219         * posix/regexec.c (build_trtable): Return failure indication upon
95220         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95222 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95224         [BZ #12201]
95225         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95226         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95227         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95228         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95230         [BZ #12207]
95231         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95233         [BZ #12204]
95234         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95235         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95237 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95239         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95240         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95241         script has SORT_BY_INIT_PRIORITY.
95242         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95243         NO_CTORS_DTORS_SECTIONS is defined.
95244         * elf/soinit.c: Likewise.
95245         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95246         NO_CTORS_DTORS_SECTIONS is defined.
95247         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95248         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95249         * sysdeps/sh/init-first.c: Likewise.
95250         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95252 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95254         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95255         always use the slow path.
95257 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95259         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95260         similar rule which adds the sysdep directories to the header search in
95261         order to pick up the correct platform stackinfo.h.
95262         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95263         perform test if it is, otherwise return successfully without testing.
95264         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95265         DEFAULT_STACK_PERMS define in stackinfo.h.
95266         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95267         defined in stackinfo.h.
95268         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95269         DEFAULT_STACK_PERMS defined in stackinfo.h.
95270         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95271         * sysdeps/ia64/stackinfo.h: Likewise.
95272         * sysdeps/s390/stackinfo.h: Likewise.
95273         * sysdeps/sh/stackinfo.h: Likewise.
95274         * sysdeps/sparc/stackinfo.h: Likewise.
95275         * sysdeps/x86_64/stackinfo.h: Likewise.
95276         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95277         PF_X for powerpc64.  Retain PF_X for powerpc32.
95279 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95281         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95282         accurately.
95283         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95284         GETDENTS_64BIT_ALIGNED.
95286 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95288         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95290 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95292         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95293         _GNU_SOURCE.
95295         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95296         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95297         Remove __restrict.
95298         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95299         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95301 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95303         [BZ #11655]
95304         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95305         are initialized.
95307 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95309         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95311 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95313         * po/it.po: Update from translation team.
95315 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95318         unused codes.
95320 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95322         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95324 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95326         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95327         specially.
95328         (gaih_getanswer_slice): Likewise.
95330 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95332         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95334 2010-05-31  Petr Baudis  <pasky@suse.cz>
95336         [BZ #11149]
95337         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95338         silently even in the chroot mode.
95340 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95342         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95343         last patch a bit.  Pretty printing
95345 2010-05-31  Petr Baudis <pasky@suse.cz>
95347         [BZ #10085]
95348         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95349         initialization of skip_initgroups_dyn.
95351 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95353         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95354         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95356 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95358         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95360 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95362         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95363         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95364         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95365         ($(objpfx)tst-fnmatch-mem): New rule.
95366         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95367         * posix/tst-fnmatch.c (main): Call mtrace.
95369 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95372         Support Intel processor model 6 and model 0x2c.
95374 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95376         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95377           signed comparison.
95379 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95381         [BZ #12205]
95382         * string/test-strncasecmp.c (check_result): New function.
95383         (do_one_test): Use it.
95384         (check1): New function.
95385         (test_main): Use it.
95386         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95387         Support strcasecmp and strncasecmp.
95389 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95391         [BZ #12194]
95392         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95393         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95395 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95397         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95398         IFUNC support.
95399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95400         memset-x86-64.
95401         * sysdeps/x86_64/multiarch/bzero.S: New file.
95402         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95403         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95404         * sysdeps/x86_64/multiarch/memset.S: New file.
95405         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95407         Set bit_Prefer_SSE_for_memop for Intel processors.
95408         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95409         Define.
95410         (index_Prefer_SSE_for_memop): Define.
95411         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95413 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95415         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95416         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95418 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95420         [BZ #12191]
95421         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95422         (__x86_64_raw_data_cache_size_half): Likewise.
95423         (__x86_64_raw_shared_cache_size): Likewise.
95424         (__x86_64_raw_shared_cache_size_half): Likewise.
95426         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95427         (__x86_64_raw_data_cache_size_half): Likewise.
95428         (__x86_64_raw_shared_cache_size): Likewise.
95429         (__x86_64_raw_shared_cache_size_half): Likewise.
95430         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95431         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95432         and __x86_64_raw_shared_cache_size_half.  Round
95433         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95434         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95435         to multiple of 256 bytes.
95437 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95439         [BZ #12167]
95440         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95441         of inacessible symlinks.  Verify result of symlink before returning it.
95442         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95443         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95445 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95447         * math/math.h (isinf): Fix typo in comment.
95449 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95451         * po/da.po: Update from translation team.
95453 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95455         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95456         is added to the list.
95458 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95459             Ulrich Drepper  <drepper@gmail.com>
95461         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95462         the global list here.  Move code to...
95463         (_dl_add_to_namespace_list): ...here.  New function.
95464         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95465         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95466         * elf/dl-load.c (lose): Don't remove the element from the list.
95467         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95468         (_dl_map_object): Likewise.
95470 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95472         [BZ #12159]
95473         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95474         into all bytes of SSE register.
95475         Patch by Richard Li <richardpku@gmail.com>.
95477 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95479         [BZ #12140]
95480         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95481         perturbing.
95483 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95485         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95486         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95487         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95488         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95490         submachine.
95491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95493 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95495         * include/dlfcn.h (__RTLD_SECURE): Define.
95496         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95497         mode & __RTLD_SECURE instead.
95498         (open_path): Rename preloaded parameter to secure.
95499         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95500         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95501         * elf/dl-deps.c (openaux): Likewise.
95502         * elf/rtld.c (struct map_args): Remove is_preloaded.
95503         (map_doit): Don't use it.
95504         (dl_main): Likewise.
95505         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95506         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95508 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95510         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95511         (sysd-rules-targets): Remove duplicates.
95512         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95513         rtld-%.$o dependency.
95515 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95517         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95518         _dl_map_object do it.
95520 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95522         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95523         fast fma builtins, define the macros in the C99 standard.
95524         (FP_FAST_FMAF): Likewise.
95525         (FP_FAST_FMAL): Likewise.
95526         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95528         * bits/mathdef.h: Update copyright year.
95529         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95531 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95533         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95534         builtins, define the macros in the C99 standard.
95535         (FP_FAST_FMAF): Likewise.
95536         (FP_FAST_FMAL): Likewise.
95537         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95538         multiply/add.
95539         (FP_FAST_FMAF): Likewise.
95541 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95543         [BZ #3268]
95544         * math/libm-test.inc (fma_test): Some new testcases.
95545         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95546         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95547         y and infinite z.  Do multiplication by C already in long double.
95548         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95550         y and infinite z.  Do bitwise or of inexact bit into u.d.
95551         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95552         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95553         * sysdeps/i386/fpu/s_fma.S: Removed.
95554         * sysdeps/i386/fpu/s_fmal.S: Removed.
95556 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95558         [BZ #3268]
95559         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95561         computation is not scheduled after fetestexcept.  Fix value
95562         of minimum denormal long double.
95564 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95566         [BZ #3268]
95567         * math/libm-test.inc (fma_test): Add some more tests.
95568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95569         correctly.
95571 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95573         * scripts/data/localplt-s390-linux-gnu.data: New file.
95574         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95576 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95578         [BZ #3268]
95579         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95580         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95581         instead of dbl-64.
95582         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95583         inlines.
95584         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95586         if one of x and y is very large and the other is subnormal.
95587         * sysdeps/s390/fpu/s_fmaf.c: New file.
95588         * sysdeps/s390/fpu/s_fma.c: New file.
95589         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95590         * sysdeps/powerpc/fpu/s_fma.S: New file.
95591         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95592         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95593         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95595 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95597         [BZ #3268]
95598         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95599         fma tests.
95600         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95601         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95602         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95603         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95604         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95605         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95606         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95608 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95610         [BZ #12078]
95611         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95612         * posix/bug-regex31.input: Add test case.
95614 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95616         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95617         * posix/bug-regex31.input: New file.
95619         [BZ #12078]
95620         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95621         (parse_sub_exp): Fix last change, use postorder.
95623         * posix/bug-regex31.c: New file.
95624         * posix/Makefile: Add rules to build and run bug-regex31.
95626         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95628         [BZ #12078]
95629         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95631         [BZ #12108]
95632         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95633         to have entries in sys_siglist.
95635         [BZ #12093]
95636         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95637         be NULL.
95639 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95641         [BZ #3268]
95642         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95643         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95644         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95645         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95646         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95647         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95648         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95649         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95650         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95651         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95652         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95653         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95654         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95655         * math/ftestexcept.c (fetestexcept): Likewise.
95656         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95657         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95658         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95659         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95660         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95661         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95662         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95664 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95666         [BZ #12107]
95667         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95668         newline.
95670 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95672         * string/bug-strstr1.c: New file.
95673         * string/Makefile: Add rules to build and run bug-strstr1.
95675 2010-10-05  Eric Blake  <eblake@redhat.com>
95677         [BZ #12092]
95678         * string/str-two-way.h (two_way_long_needle): Always clear memory
95679         when skipping input due to the shift table.
95681 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95683         [BZ #12005]
95684         * malloc/mcheck.c: Handle large requests.
95686         [BZ #12077]
95687         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95688         for strncmp and strncasecmp.
95689         * string/stratcliff.c: Add tests for strcmp and strncmp.
95690         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95692 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95694         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95695         __set_fpscr.
95697 2010-09-30  Andreas Jaeger  <aj@suse.de>
95699         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95700         (CGROUP_SUPER_MAGIC): Define.
95701         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95702         Handle btrfs and cgroup file systems.
95703         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95704         Likewise.
95706 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95708         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95709         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95711 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95713         [BZ #12067]
95714         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95715         trying to locate the ELF header.
95717 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95719         [BZ #11611]
95720         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95721         Mask out sign-bit copies when constructing f_fsid.
95723 2010-09-24  Petr Baudis <pasky@suse.cz>
95725         * debug/stack_chk_fail_local.c: Add missing licence exception.
95726         * debug/warning-nop.c: Likewise.
95728 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95730         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95731         implementing getdents64 using getdents syscall, set d_type if
95732         __ASSUME_GETDENTS32_D_TYPE.
95734 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95736         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95737         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95739 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95741         [BZ #12037]
95742         * posix/unistd.h: Undo change of feature selection for ftruncate from
95743         2010-01-11.
95745 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95747         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95748         detection.
95750 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95752         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95753         fanotify_mark.
95754         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95756 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95758         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95759         variables after CHECK_SP call.
95760         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95762 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95763             Ulrich Drepper  <drepper@redhat.com>
95765         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95766         re-relocationg ld.so.
95767         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95768         _dl_init_paths call.
95769         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95770         here anymore.
95772 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95774         * resolv/res_init.c (__res_vinit): Count the default server we added.
95776 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95777             Ulrich Drepper  <drepper@redhat.com>
95779         [BZ #11968]
95780         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95781         (____longjmp_chk): Use %ebx for saving value across system call.
95782         Add unwind info.
95784 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95786         * manual/Makefile: Don't mix pattern rules with normal rules.
95788 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95790         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95791         operation.
95792         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95793         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95794         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95795         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95797         Likewise.
95799 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95801         [BZ #11979]
95802         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95803         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95805 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95807         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95808         * sysdeps/x86_64/addmul_1.S: Likewise.
95809         * sysdeps/x86_64/lshift.S: Likewise.
95810         * sysdeps/x86_64/mul_1.S: Likewise.
95811         * sysdeps/x86_64/rshift.S: Likewise.
95812         * sysdeps/x86_64/sub_n.S: Likewise.
95813         * sysdeps/x86_64/submul_1.S: Likewise.
95815 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95817         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95818         Define __sched_param instead of SCHED_* and sched_param when
95819         <bits/sched.h> is included with __need_schedparam defined.
95820         * bits/sched.h [__need_schedparam]
95821         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95822         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95823         (__defined_schedparam): Define to 1.
95824         (__sched_param): New structure, identical to sched_param.
95825         (__need_schedparam): Undefine.
95827 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95829         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95830         (epoll_create1): Declare.
95832         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95834 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95836         [BZ #7066]
95837         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95838         shifting retval into place.
95840 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95842         * nis/rpcsvc/nis.h: Update copyright notice.
95843         * nis/rpcsvc/nis.x: Likewise.
95844         * nis/rpcsvc/nis_callback.h: Likewise.
95845         * nis/rpcsvc/nis_callback.x: Likewise.
95846         * nis/rpcsvc/nis_object.x: Likewise.
95847         * nis/rpcsvc/nis_tags.h: Likewise.
95848         * nis/rpcsvc/yp.h: Likewise.
95849         * nis/rpcsvc/yp.x: Likewise.
95850         * nis/rpcsvc/ypupd.h: Likewise.
95851         * nis/yp_xdr.c: Likewise.
95852         * nis/ypupdate_xdr.c: Likewise.
95854         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95855         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95856         (pmap_getport): Use __libc_rpc_getport.
95857         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95858         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95859         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95861 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95864         fanotify_mark.
95866 2010-08-27  Roland McGrath  <roland@redhat.com>
95868         * sysdeps/i386/i686/multiarch/Makefile
95869         (CFLAGS-varshift.c): New variable.
95871 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95873         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95874         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95876         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95878         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95880 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95882         * sysdeps/x86_64/strlen.S: Unroll the loop.
95883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95884         strlen-sse2 strlen-sse2-bsf.
95885         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95886         __strlen_no_bsf if bit_Slow_BSF is set.
95887         (__strlen_sse42): Removed.
95888         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95889         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95891 2010-08-25  Roland McGrath  <roland@redhat.com>
95893         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95894         * sysdeps/x86_64/multiarch/varshift.c: New file.
95895         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95896         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95897         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95898         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95900 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95903         strlen-sse2 strlen-sse2-bsf.
95904         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95905         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95906         (__strlen_sse2): Removed.
95907         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95908         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95910         bit_Slow_BSF for Atom.
95911         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95912         (index_Slow_BSF): Define.
95913         (HAS_SLOW_BSF): Define.
95915 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95917         [BZ #10851]
95918         * resolv/res_init.c (__res_vinit): When no server address at all
95919         is given default to loopback.
95921 2010-08-24  Roland McGrath  <roland@redhat.com>
95923         * configure.in: Remove config-name.h generation.
95924         * configure: Regenerated.
95925         * config-name.in: File removed.
95926         * scripts/config-uname.sh: New file.
95927         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95928         ($(objdir)config-name.h): New target.
95930         * sunrpc/rpc_parse.h: Avoid nested comment.
95932 2010-08-24  Richard Henderson  <rth@redhat.com>
95933             Ulrich Drepper  <drepper@redhat.com>
95934             H.J. Lu  <hongjiu.lu@intel.com>
95936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95938         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95939         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95940         _mm_alignr_epi8 with _mm_loadu_si128.
95941         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95942         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95943         (__m128i_shift_right): Removed.
95944         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95945         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95946         * sysdeps/x86_64/multiarch/varshift.h: New file.
95947         * sysdeps/x86_64/multiarch/varshift.S: New file.
95949 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95951         * configure.in: Move assembler checks to before sysdep dir checking.
95953 2010-08-20  Petr Baudis  <pasky@suse.cz>
95955         * LICENSES: Sync the sunrpc license.
95957 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95959         * sunrpc/auth_des.c: Update copyright notice once again.
95960         * sunrpc/auth_none.c: Likewise.
95961         * sunrpc/auth_unix.c: Likewise.
95962         * sunrpc/authdes_prot.c: Likewise.
95963         * sunrpc/authuxprot.c: Likewise.
95964         * sunrpc/bindrsvprt.c: Likewise.
95965         * sunrpc/clnt_gen.c: Likewise.
95966         * sunrpc/clnt_perr.c: Likewise.
95967         * sunrpc/clnt_raw.c: Likewise.
95968         * sunrpc/clnt_simp.c: Likewise.
95969         * sunrpc/clnt_tcp.c: Likewise.
95970         * sunrpc/clnt_udp.c: Likewise.
95971         * sunrpc/clnt_unix.c: Likewise.
95972         * sunrpc/des_crypt.c: Likewise.
95973         * sunrpc/des_soft.c: Likewise.
95974         * sunrpc/get_myaddr.c: Likewise.
95975         * sunrpc/getrpcport.c: Likewise.
95976         * sunrpc/key_call.c: Likewise.
95977         * sunrpc/key_prot.c: Likewise.
95978         * sunrpc/openchild.c: Likewise.
95979         * sunrpc/pm_getmaps.c: Likewise.
95980         * sunrpc/pm_getport.c: Likewise.
95981         * sunrpc/pmap_clnt.c: Likewise.
95982         * sunrpc/pmap_prot.c: Likewise.
95983         * sunrpc/pmap_prot2.c: Likewise.
95984         * sunrpc/pmap_rmt.c: Likewise.
95985         * sunrpc/rpc/auth.h: Likewise.
95986         * sunrpc/rpc/auth_unix.h: Likewise.
95987         * sunrpc/rpc/clnt.h: Likewise.
95988         * sunrpc/rpc/des_crypt.h: Likewise.
95989         * sunrpc/rpc/key_prot.h: Likewise.
95990         * sunrpc/rpc/netdb.h: Likewise.
95991         * sunrpc/rpc/pmap_clnt.h: Likewise.
95992         * sunrpc/rpc/pmap_prot.h: Likewise.
95993         * sunrpc/rpc/pmap_rmt.h: Likewise.
95994         * sunrpc/rpc/rpc.h: Likewise.
95995         * sunrpc/rpc/rpc_des.h: Likewise.
95996         * sunrpc/rpc/rpc_msg.h: Likewise.
95997         * sunrpc/rpc/svc.h: Likewise.
95998         * sunrpc/rpc/svc_auth.h: Likewise.
95999         * sunrpc/rpc/types.h: Likewise.
96000         * sunrpc/rpc/xdr.h: Likewise.
96001         * sunrpc/rpc_clntout.c: Likewise.
96002         * sunrpc/rpc_cmsg.c: Likewise.
96003         * sunrpc/rpc_common.c: Likewise.
96004         * sunrpc/rpc_cout.c: Likewise.
96005         * sunrpc/rpc_dtable.c: Likewise.
96006         * sunrpc/rpc_hout.c: Likewise.
96007         * sunrpc/rpc_main.c: Likewise.
96008         * sunrpc/rpc_parse.c: Likewise.
96009         * sunrpc/rpc_parse.h: Likewise.
96010         * sunrpc/rpc_prot.c: Likewise.
96011         * sunrpc/rpc_sample.c: Likewise.
96012         * sunrpc/rpc_scan.c: Likewise.
96013         * sunrpc/rpc_scan.h: Likewise.
96014         * sunrpc/rpc_svcout.c: Likewise.
96015         * sunrpc/rpc_tblout.c: Likewise.
96016         * sunrpc/rpc_util.c: Likewise.
96017         * sunrpc/rpc_util.h: Likewise.
96018         * sunrpc/rpcinfo.c: Likewise.
96019         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
96020         * sunrpc/rpcsvc/key_prot.x: Likewise.
96021         * sunrpc/rpcsvc/klm_prot.x: Likewise.
96022         * sunrpc/rpcsvc/mount.x: Likewise.
96023         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
96024         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
96025         * sunrpc/rpcsvc/rex.x: Likewise.
96026         * sunrpc/rpcsvc/rstat.x: Likewise.
96027         * sunrpc/rpcsvc/rusers.x: Likewise.
96028         * sunrpc/rpcsvc/sm_inter.x: Likewise.
96029         * sunrpc/rpcsvc/spray.x: Likewise.
96030         * sunrpc/rpcsvc/yppasswd.x: Likewise.
96031         * sunrpc/rtime.c: Likewise.
96032         * sunrpc/svc.c: Likewise.
96033         * sunrpc/svc_auth.c: Likewise.
96034         * sunrpc/svc_authux.c: Likewise.
96035         * sunrpc/svc_raw.c: Likewise.
96036         * sunrpc/svc_run.c: Likewise.
96037         * sunrpc/svc_simple.c: Likewise.
96038         * sunrpc/svc_tcp.c: Likewise.
96039         * sunrpc/svc_udp.c: Likewise.
96040         * sunrpc/svc_unix.c: Likewise.
96041         * sunrpc/svcauth_des.c: Likewise.
96042         * sunrpc/xcrypt.c: Likewise.
96043         * sunrpc/xdr.c: Likewise.
96044         * sunrpc/xdr_array.c: Likewise.
96045         * sunrpc/xdr_float.c: Likewise.
96046         * sunrpc/xdr_mem.c: Likewise.
96047         * sunrpc/xdr_rec.c: Likewise.
96048         * sunrpc/xdr_ref.c: Likewise.
96049         * sunrpc/xdr_sizeof.c: Likewise.
96050         * sunrpc/xdr_stdio.c: Likewise.
96052         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
96053         handling.
96055 2010-08-19  Andreas Schwab  <schwab@redhat.com>
96057         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
96059 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
96061         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
96062         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96063         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96064         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96065         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96066         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96067         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96068         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96069         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96070         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96071         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96072         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96073         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96074         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96076 2010-07-26  Anton Blanchard  <anton@samba.org>
96078         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96079         * malloc/arena.c (heap_trim): Likewise.
96081 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
96083         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96084         here.  Not...
96085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96086         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96088 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
96090         * sysdeps/i386/elf/Makefile: New file.
96092 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96094         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96095         from fanotify_init.
96096         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96099 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
96101         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96102         of strncasecmp_l.
96103         * sysdeps/multiarch/strcmp.S: Likewise.
96105 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
96107         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96108         strncase_l-nonascii.
96109         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96110         Add strncase_l-ssse3.
96111         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96112         * sysdeps/x86_64/strcmp.S: Likewise.
96113         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96114         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96115         * sysdeps/x86_64/strncase.S: New file.
96116         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96117         * sysdeps/x86_64/strncase_l.S: New file.
96118         * string/Makefile (strop-tests): Add strncasecmp.
96119         * string/test-strncasecmp.c: New file.
96121         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96122         warning.
96124         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96125         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96127 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96129         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96131 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
96133         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96134         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96135         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96137 2010-05-01  Alan Modra  <amodra@gmail.com>
96139         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96140         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96141         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96142         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96143         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96144         tidying.  Don't tail-call __sigjmp_save for static lib.
96145         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96146         save location.
96147         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96148         (CALL_MCOUNT): Add eh info, and nop after bl.
96149         (TAIL_CALL_SYSCALL_ERROR): New macro.
96150         (PSEUDO_RET): Use it.
96151         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96152         Correct save location of integer regs and cr.
96153         (_dl_profile_resolve): Correct cr save location.  Delete nops
96154         after bl when SHARED.  Reduce cfi size a little by better
96155         placement of cfi directives.
96156         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96157         make a stack frame.  Instead use parm save area as a temp.
96158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96159         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
96160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96161         Don't make a stack frame for parent, use parm save area.
96162         Increase child stack frame to 112 bytes.  Don't save unused reg,
96163         and adjust reg usage.  Set up cfi on error recovery and
96164         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96166         (__makecontext): Add dummy nop after jump to exit.
96167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96168         Use correct parm save area and cr save, reduce stack frame.
96169         Correct cfi for possible PSEUDO_RET frame setup.
96170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96171         Branch to local label emitted by PSEUDO_RET rather than
96172         __syscall_error.
96174 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96176         [BZ #11904]
96177         * locale/programs/locale.c (print_assignment): New function.
96178         (show_locale_vars): Use it.
96180 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96182         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96183         field.
96184         (struct statfs64): Likewise.
96185         (_STATFS_F_FLAGS): Define.
96186         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96187         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96188         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96189         (ST_VALID): Define locally.
96190         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96191         __statvfs_getflags, use the provided value.
96192         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96193         __ASSUME_STATFS_F_FLAGS.
96195         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96197         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96198         Add sys/fanotify.h.
96199         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96200         fanotify_mask for GLIBC_2.13.
96201         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96202         fanotify_init and fanotify_mark.
96203         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96204         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96206         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96207         Add prlimit.
96208         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96209         prlimit64 for GLIBC_2.13.
96210         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96211         prlimit64.
96212         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96213         syscall.
96214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96215         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96216         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96217         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96219         add prlimit alias.
96220         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96222         [BZ #11903]
96223         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96224         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96226         * nss/Makefile: Add rules to build and run tst-nss-test1.
96227         * shlib-versions: Add entry for libnss_test1.
96228         * nss/nss_test1.c: New file.
96229         * nss/tst-nss-test1.c: New file.
96231         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96232         (__nss_configure_lookup): Set appropriate entry in
96233         __nss_configure_lookup to true.
96234         * nss/nsswitch.h: Define enum with indeces of databases in
96235         databases and __nss_database_custom arrays.  Declare
96236         __nss_database_custom.
96237         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96238         to avoid using nscd when custom rules are installed.
96239         * nss/getXXbyYY_r.c: Likewise.
96240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96242         * nss/nss_files/files-parse.c: Whitespace fixes.
96244 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96246         [BZ #11883]
96247         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96248         * posix/fnmatch_loop.c: Likewise.
96250 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96252         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96253         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96254         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96255         * Versions.def [GLIBC_2.13]: Add.
96257 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96259         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96260         Also fail if tpwd after pwuid call is NULL.
96262 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96264         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96265         when converting to ms.
96267 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96269         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96270         EOPNOTSUPP errors with ENOTTY.
96271         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96272         EOPNOTSUPP errors with ENOTTY.
96274 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96276         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96277         Add strcasecmp_l-ssse3.
96278         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96279         strcasecmp.
96280         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96281         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96282         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96284 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96286         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96288         * string/Makefile (strop-tests): Add strcasecmp.
96289         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96290         strcasecmp_l-nonascii.
96291         (gen-as-const-headers): Add locale-defines.sym.
96292         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96293         * sysdeps/x86_64/strcasecmp.S: New file.
96294         * sysdeps/x86_64/strcasecmp_l.S: New file.
96295         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96296         * sysdeps/x86_64/locale-defines.sym: New file.
96297         * string/test-strcasecmp.c: New file.
96299         * string/test-strcasestr.c: Test both ends of the range of characters.
96300         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96302 2010-07-29  Roland McGrath  <roland@redhat.com>
96304         [BZ #11856]
96305         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96307 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96309         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96310         for ld.so.
96312 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96314         * manual/memory.texi (Malloc Tunable Parameters): Document
96315         M_PERTURB.
96317 2010-07-26  Roland McGrath  <roland@redhat.com>
96319         [BZ #11840]
96320         * configure.in (-fgnu89-inline check): Set and substitute
96321         gnu89_inline, not libc_cv_gnu89_inline.
96322         * configure: Regenerated.
96323         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96325 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96327         * string/test-strnlen.c: New file.
96328         * string/Makefile (strop-tests): Add strnlen.
96329         * string/tester.c (test_strnlen): Add a few more test cases.
96330         * string/tst-strlen.c: Better error reporting.
96332         * sysdeps/x86_64/strnlen.S: New file.
96334 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96336         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96337         lower-latency instructions.
96339 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96341         * string/test-strcasestr.c: New file.
96342         * string/test-strstr.c: New file.
96343         * string/Makefile (strop-tests): Add strstr and strcasestr.
96344         * string/str-two-way.h: Don't undefine MAX.
96345         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96347 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96350         strcasestr-nonascii.
96351         (CFLAGS-strcasestr-nonascii.c): Define.
96352         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96353         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96354         Remove unused attribute.
96356 2010-07-20  Roland McGrath  <roland@redhat.com>
96358         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96359         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96360         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96361         like LD_HWCAP_MASK can disable hwcaps.
96363 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96365         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96367 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96369         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96370         call in strcasestr.
96371         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96372         __strcasestr_sse42_nonascii.
96373         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96374         strcasestr-nonascii.c.
96375         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96377 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96379         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96380         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96381         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96382         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96384 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96386         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96387         fcntl.
96389 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96391         [BZ #11577]
96392         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96393         dl_signal_cerror.
96395 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96397         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96398         _PC_PIPE_BUF using F_GETPIPE_SZ.
96400 2010-07-05  Roland McGrath  <roland@redhat.com>
96402         * manual/arith.texi (Rounding Functions): Fix rint description
96403         implicit in round description.
96405 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96407         * elf/Makefile: Fix linking for a few tests to make recent linker
96408         happy.
96410 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96412         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96413         $(common-objpfx)libc_nonshared.a.
96415 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96417         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96418         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96419         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96420         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96421         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96422         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96423         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96424         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96439         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96440         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96441         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96442         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96443         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96444         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96445         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96446         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96447         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96448         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96449         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96450         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96466 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96468         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96469         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96470         * string/memmove.c (memmove): Renamed to ...
96471         (MEMMOVE): ...this.  Default to memmove.
96472         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96473         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96474         (END_CHK): Define.
96475         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96476         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96477         mempcpy-ssse3-back memmove-ssse3-back.
96478         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96479         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96480         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96481         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96482         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96483         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96484         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96485         * sysdeps/x86_64/multiarch/memmove.c: New file.
96486         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96487         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96488         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96489         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96490         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96491         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96492         Define.
96493         (index_Fast_Copy_Backward): Define.
96494         (HAS_ARCH_FEATURE): Define.
96495         (HAS_FAST_REP_STRING): Define.
96496         (HAS_FAST_COPY_BACKWARD): Define.
96498 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96500         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96501         Restore proper fallback handling.
96503 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96505         [BZ #11701]
96506         * posix/group_member.c (__group_member): Correct checking loop.
96508         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96509         OOM in getpwuid_r correctly.  Return error number when the caller
96510         should return, otherwise -1.
96511         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96512         call returning > 0 value.
96513         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96515 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96517         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96518         libc_nonshared.a from targets in modules-names.
96520 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96522         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96523         requires it.
96525 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96527         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96528         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96529         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96530         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96532 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96534         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96536 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96538         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96539         and F_GETPIPE_SZ.
96540         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96541         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96542         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96544         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96545         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96547 2010-06-14  Roland McGrath  <roland@redhat.com>
96549         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96551 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96553         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96554         __REDIRECT followed by __THROW.
96555         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96556         * posix/getopt.h (getopt): Likewise.
96558 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96560         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96561         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96562         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96563         in AT_FLAGS.
96564         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96565         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96567 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96569         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96571 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96573         [BZ #11640]
96574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96575         Properly check family and model.
96577 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96579         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96581 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96583         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96585 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96587         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96588         symbol reference.
96590 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96592         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96593         symbol reference.
96595 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96597         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96598         and internal_recvmmsg.
96599         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96600         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96601         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96602         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96604         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96605         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96606         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96608 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96610         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96612 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96614         POWER7 optimizations.
96615         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96616         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96618 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96620         * version.h: Update for 2.13 development version.
96622 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96624         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96625         exceptions.  Return 0.
96627 2010-05-07  Roland McGrath  <roland@redhat.com>
96629         * elf/ldconfig.c (main): Add a const.
96631 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96633         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96634         (args_options): Add no-idn option.
96635         (ahosts_keys_int): Add idn_flags to ai_flags.
96636         (parse_option): Handle 'i' option to clear idn_flags.
96638         * malloc/malloc.c (_int_free): Possible race in the most recently
96639         added check.  Only act on the data if no current modification
96640         happened.
96642 See ChangeLog.17 for earlier changes.